Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/clang.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-166875-10280/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/clang.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: %patchN is deprecated (6 usages found), use %patch N (or %patch -P N) Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/clang-17.0.6-2.ocs23.src.rpm RPM build warnings: %patchN is deprecated (6 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/clang.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-166875-10280/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/clang.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: %patchN is deprecated (6 usages found), use %patch N (or %patch -P N) Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.AuaYIl + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf clang-tools-extra-17.0.6.src + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/clang-tools-extra-17.0.6.src.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd clang-tools-extra-17.0.6.src + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #3000 (0001-clang-tools-extra-Make-test-dependency-on-LLVMHello-.patch): + echo 'Patch #3000 (0001-clang-tools-extra-Make-test-dependency-on-LLVMHello-.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p2 --fuzz=0 patching file test/CMakeLists.txt patching file test/clang-tidy/CTTestTidyModule.cpp patching file test/lit.cfg.py patching file test/lit.site.cfg.py.in + rm test/clang-tidy/checkers/altera/struct-pack-align.cpp + pathfix.py -i /usr/bin/python3 -p -n -k -as clang-tidy/tool/ clang-include-fixer/find-all-symbols/tool/run-find-all-symbols.py recursedown('clang-tidy/tool/') clang-tidy/tool/clang-tidy-diff.py: updating clang-tidy/tool/run-clang-tidy.py: updating clang-include-fixer/find-all-symbols/tool/run-find-all-symbols.py: updating + cd /builddir/build/BUILD + rm -rf clang-17.0.6.src + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/clang-17.0.6.src.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd clang-17.0.6.src + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #3001 (0010-PATCH-clang-Produce-DWARF4-by-default.patch): + echo 'Patch #3001 (0010-PATCH-clang-Produce-DWARF4-by-default.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p2 --fuzz=0 patching file lib/Driver/ToolChain.cpp patching file test/CodeGen/dwarf-version.c patching file test/Driver/as-options.s patching file test/Driver/cl-options.c Hunk #1 succeeded at 575 (offset 6 lines). patching file test/Driver/clang-g-opts.c patching file test/Driver/ve-toolchain.c patching file test/Driver/ve-toolchain.cpp Patch #3002 (0003-PATCH-clang-Don-t-install-static-libraries.patch): + echo 'Patch #3002 (0003-PATCH-clang-Don-t-install-static-libraries.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p2 --fuzz=0 patching file cmake/modules/AddClang.cmake Hunk #1 succeeded at 114 (offset 1 line). Patch #3003 (cfg.patch): + echo 'Patch #3003 (cfg.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p2 --fuzz=0 patching file include/clang/Analysis/CFG.h patching file lib/Analysis/CFG.cpp Hunk #2 succeeded at 1325 (offset -25 lines). Hunk #3 succeeded at 1841 (offset -25 lines). Hunk #4 succeeded at 1859 (offset -25 lines). Hunk #5 succeeded at 1871 (offset -25 lines). Hunk #6 succeeded at 1905 (offset -25 lines). Hunk #7 succeeded at 2078 (offset -25 lines). Hunk #8 succeeded at 2136 (offset -25 lines). Hunk #9 succeeded at 5275 (offset -24 lines). Hunk #10 succeeded at 5819 (offset -24 lines). patching file lib/Analysis/PathDiagnostic.cpp Hunk #1 succeeded at 565 (offset -2 lines). patching file lib/StaticAnalyzer/Core/ExprEngine.cpp patching file test/Analysis/scopes-cfg-output.cpp Patch #3004 (tsa.patch): + echo 'Patch #3004 (tsa.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p2 --fuzz=0 patching file include/clang/Analysis/Analyses/ThreadSafetyCommon.h patching file lib/Analysis/ThreadSafety.cpp Hunk #2 succeeded at 2415 (offset -3 lines). patching file lib/Analysis/ThreadSafetyCommon.cpp patching file test/Sema/warn-thread-safety-analysis.c Patch #5000 (clang-16.0.6-add-OpenCloudOS-support.patch): + echo 'Patch #5000 (clang-16.0.6-add-OpenCloudOS-support.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file lib/Driver/ToolChains/Gnu.cpp Hunk #1 succeeded at 2298 (offset 225 lines). Hunk #2 succeeded at 2328 (offset 229 lines). Hunk #3 succeeded at 2395 (offset 233 lines). Hunk #4 succeeded at 2405 (offset 233 lines). + 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.2eS8ky + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd clang-17.0.6.src + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized' + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized' + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/cmake -S . -B aarch64-OpenCloudOS-linux-gnu -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_DO_STRIP:BOOL=OFF -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON -G Ninja -DLLVM_PARALLEL_LINK_JOBS=1 -DLLVM_LINK_LLVM_DYLIB:BOOL=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo -DPYTHON_EXECUTABLE=/usr/bin/python3 -DCMAKE_SKIP_RPATH:BOOL=ON -DCLANG_INCLUDE_TESTS:BOOL=ON -DLLVM_EXTERNAL_CLANG_TOOLS_EXTRA_SOURCE_DIR=../clang-tools-extra-17.0.6.src -DLLVM_EXTERNAL_LIT=/usr/bin/lit -DLLVM_MAIN_SRC_DIR=/usr/share/llvm/src -DLLVM_LIBDIR_SUFFIX=64 -DLLVM_TABLEGEN_EXE:FILEPATH=/usr/bin/llvm-tblgen -DLLVM_COMMON_CMAKE_UTILS=/usr/share/llvm/cmake -DCLANG_ENABLE_ARCMT:BOOL=ON -DCLANG_ENABLE_STATIC_ANALYZER:BOOL=ON -DCLANG_INCLUDE_DOCS:BOOL=ON -DCLANG_PLUGIN_SUPPORT:BOOL=ON -DENABLE_LINKER_BUILD_ID:BOOL=ON -DLLVM_ENABLE_EH=ON -DLLVM_ENABLE_RTTI=ON -DPPC_LINUX_DEFAULT_IEEELONGDOUBLE=ON -DCLANG_LINK_CLANG_DYLIB=ON -DLLVM_ENABLE_NEW_PASS_MANAGER=ON -DLLVM_ENABLE_SPHINX=ON -DSPHINX_WARNINGS_AS_ERRORS=OFF -DLLVM_BUILD_DOCS=ON -DCLANG_BUILD_EXAMPLES:BOOL=OFF -DBUILD_SHARED_LIBS=OFF '-DCLANG_REPOSITORY_STRING=OpenCloudOS 17.0.6-2.ocs23' -DCLANG_DEFAULT_UNWINDLIB=libgcc -- The C compiler identification is GNU 12.3.1 -- The CXX compiler identification is GNU 12.3.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Could NOT find FFI (missing: FFI_LIBRARIES HAVE_FFI_CALL) -- Looking for histedit.h -- Looking for histedit.h - found -- Found LibEdit: /usr/include (found version "2.11") -- Performing Test Terminfo_LINKABLE -- Performing Test Terminfo_LINKABLE - Success -- Found Terminfo: /usr/lib64/libtinfo.so -- Found ZLIB: /usr/lib64/libz.so (found version "1.2.13") -- Linker detection: GNU ld -- Performing Test C_SUPPORTS_FPIC -- Performing Test C_SUPPORTS_FPIC - Success -- Performing Test CXX_SUPPORTS_FPIC -- Performing Test CXX_SUPPORTS_FPIC - Success -- Building with -fPIC -- Performing Test C_SUPPORTS_FNO_SEMANTIC_INTERPOSITION -- Performing Test C_SUPPORTS_FNO_SEMANTIC_INTERPOSITION - Success -- Performing Test CXX_SUPPORTS_FNO_SEMANTIC_INTERPOSITION -- Performing Test CXX_SUPPORTS_FNO_SEMANTIC_INTERPOSITION - Success -- Performing Test SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG -- Performing Test SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG - Success -- Performing Test C_SUPPORTS_WERROR_DATE_TIME -- Performing Test C_SUPPORTS_WERROR_DATE_TIME - Success -- Performing Test CXX_SUPPORTS_WERROR_DATE_TIME -- Performing Test CXX_SUPPORTS_WERROR_DATE_TIME - Success -- Performing Test C_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW -- Performing Test C_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW - Failed -- Performing Test CXX_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW -- Performing Test CXX_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW - Failed -- Performing Test C_SUPPORTS_CMAKE_CXX_FLAGS -- Performing Test C_SUPPORTS_CMAKE_CXX_FLAGS - Success -- Performing Test CXX_SUPPORTS_CMAKE_CXX_FLAGS -- Performing Test CXX_SUPPORTS_CMAKE_CXX_FLAGS - Success -- Performing Test CXX_SUPPORTS_MISSING_FIELD_INITIALIZERS_FLAG -- Performing Test CXX_SUPPORTS_MISSING_FIELD_INITIALIZERS_FLAG - Success -- Performing Test C_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG -- Performing Test C_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG - Success -- Performing Test CXX_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG -- Performing Test CXX_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG - Success -- Performing Test C_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG -- Performing Test C_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG - Failed -- Performing Test CXX_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG -- Performing Test CXX_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG - Failed -- Performing Test CXX_SUPPORTS_CLASS_MEMACCESS_FLAG -- Performing Test CXX_SUPPORTS_CLASS_MEMACCESS_FLAG - Success -- Performing Test CXX_SUPPORTS_REDUNDANT_MOVE_FLAG -- Performing Test CXX_SUPPORTS_REDUNDANT_MOVE_FLAG - Success -- Performing Test CXX_SUPPORTS_PESSIMIZING_MOVE_FLAG -- Performing Test CXX_SUPPORTS_PESSIMIZING_MOVE_FLAG - Success -- Performing Test CXX_SUPPORTS_NOEXCEPT_TYPE_FLAG -- Performing Test CXX_SUPPORTS_NOEXCEPT_TYPE_FLAG - Success -- Performing Test CXX_WONT_WARN_ON_FINAL_NONVIRTUALDTOR -- Performing Test CXX_WONT_WARN_ON_FINAL_NONVIRTUALDTOR - Failed -- Performing Test CXX_SUPPORTS_SUGGEST_OVERRIDE_FLAG -- Performing Test CXX_SUPPORTS_SUGGEST_OVERRIDE_FLAG - Success -- Performing Test CXX_WSUGGEST_OVERRIDE_ALLOWS_ONLY_FINAL -- Performing Test CXX_WSUGGEST_OVERRIDE_ALLOWS_ONLY_FINAL - Success -- Performing Test C_WCOMMENT_ALLOWS_LINE_WRAP -- Performing Test C_WCOMMENT_ALLOWS_LINE_WRAP - Failed -- Performing Test C_SUPPORTS_STRING_CONVERSION_FLAG -- Performing Test C_SUPPORTS_STRING_CONVERSION_FLAG - Failed -- Performing Test CXX_SUPPORTS_STRING_CONVERSION_FLAG -- Performing Test CXX_SUPPORTS_STRING_CONVERSION_FLAG - Failed -- Performing Test CXX_SUPPORTS_MISLEADING_INDENTATION_FLAG -- Performing Test CXX_SUPPORTS_MISLEADING_INDENTATION_FLAG - Success -- Performing Test C_SUPPORTS_CTAD_MAYBE_UNSPPORTED_FLAG -- Performing Test C_SUPPORTS_CTAD_MAYBE_UNSPPORTED_FLAG - Failed -- Performing Test CXX_SUPPORTS_CTAD_MAYBE_UNSPPORTED_FLAG -- Performing Test CXX_SUPPORTS_CTAD_MAYBE_UNSPPORTED_FLAG - Success -- Performing Test LINKER_SUPPORTS_COLOR_DIAGNOSTICS -- Performing Test LINKER_SUPPORTS_COLOR_DIAGNOSTICS - Failed -- Performing Test C_SUPPORTS_FNO_FUNCTION_SECTIONS -- Performing Test C_SUPPORTS_FNO_FUNCTION_SECTIONS - Success -- Performing Test C_SUPPORTS_FFUNCTION_SECTIONS -- Performing Test C_SUPPORTS_FFUNCTION_SECTIONS - Success -- Performing Test CXX_SUPPORTS_FFUNCTION_SECTIONS -- Performing Test CXX_SUPPORTS_FFUNCTION_SECTIONS - Success -- Performing Test C_SUPPORTS_FDATA_SECTIONS -- Performing Test C_SUPPORTS_FDATA_SECTIONS - Success -- Performing Test CXX_SUPPORTS_FDATA_SECTIONS -- Performing Test CXX_SUPPORTS_FDATA_SECTIONS - Success -- Looking for os_signpost_interval_begin -- Looking for os_signpost_interval_begin - not found -- Performing Test HAVE_CXX_ATOMICS_WITHOUT_LIB -- Performing Test HAVE_CXX_ATOMICS_WITHOUT_LIB - Success -- Performing Test HAVE_CXX_ATOMICS64_WITHOUT_LIB -- Performing Test HAVE_CXX_ATOMICS64_WITHOUT_LIB - Success -- Performing Test LLVM_HAS_ATOMICS -- Performing Test LLVM_HAS_ATOMICS - Success -- Found Python3: /usr/bin/python3.11 (found version "3.11.6") found components: Interpreter -- Looking for sys/resource.h -- Looking for sys/resource.h - found -- Clang version: 17.0.6 -- Performing Test CXX_SUPPORTS_NO_NESTED_ANON_TYPES_FLAG -- Performing Test CXX_SUPPORTS_NO_NESTED_ANON_TYPES_FLAG - Failed -- Could NOT find Git (missing: GIT_EXECUTABLE) -- Looking for include file sys/inotify.h -- Looking for include file sys/inotify.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Sphinx enabled. -- Found Sphinx: /usr/bin/sphinx-build -- Configuring done (7.7s) -- Generating done (0.7s) CMake Warning: Manually-specified variables were not used by the project: CMAKE_CXX_FLAGS_RELEASE CMAKE_C_FLAGS_RELEASE CMAKE_Fortran_FLAGS_RELEASE CMAKE_INSTALL_DO_STRIP CMAKE_VERBOSE_MAKEFILE INCLUDE_INSTALL_DIR LIB_INSTALL_DIR LIB_SUFFIX LLVM_ENABLE_NEW_PASS_MANAGER PYTHON_EXECUTABLE SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu + /usr/bin/cmake --build aarch64-OpenCloudOS-linux-gnu -j8 --verbose [1/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangDataCollectorsEmitter.cpp.o -MF utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangDataCollectorsEmitter.cpp.o.d -o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangDataCollectorsEmitter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/utils/TableGen/ClangDataCollectorsEmitter.cpp [2/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangCommentHTMLTagsEmitter.cpp.o -MF utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangCommentHTMLTagsEmitter.cpp.o.d -o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangCommentHTMLTagsEmitter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/utils/TableGen/ClangCommentHTMLTagsEmitter.cpp [3/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT utils/TableGen/CMakeFiles/clang-tblgen.dir/ASTTableGen.cpp.o -MF utils/TableGen/CMakeFiles/clang-tblgen.dir/ASTTableGen.cpp.o.d -o utils/TableGen/CMakeFiles/clang-tblgen.dir/ASTTableGen.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/utils/TableGen/ASTTableGen.cpp [4/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangCommentHTMLNamedCharacterReferenceEmitter.cpp.o -MF utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangCommentHTMLNamedCharacterReferenceEmitter.cpp.o.d -o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangCommentHTMLNamedCharacterReferenceEmitter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/utils/TableGen/ClangCommentHTMLNamedCharacterReferenceEmitter.cpp [5/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangCommentCommandInfoEmitter.cpp.o -MF utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangCommentCommandInfoEmitter.cpp.o.d -o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangCommentCommandInfoEmitter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/utils/TableGen/ClangCommentCommandInfoEmitter.cpp [6/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangASTNodesEmitter.cpp.o -MF utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangASTNodesEmitter.cpp.o.d -o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangASTNodesEmitter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/utils/TableGen/ClangASTNodesEmitter.cpp [7/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangSACheckersEmitter.cpp.o -MF utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangSACheckersEmitter.cpp.o.d -o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangSACheckersEmitter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/utils/TableGen/ClangSACheckersEmitter.cpp [8/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangOpcodesEmitter.cpp.o -MF utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangOpcodesEmitter.cpp.o.d -o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangOpcodesEmitter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/utils/TableGen/ClangOpcodesEmitter.cpp [9/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangASTPropertiesEmitter.cpp.o -MF utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangASTPropertiesEmitter.cpp.o.d -o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangASTPropertiesEmitter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/utils/TableGen/ClangASTPropertiesEmitter.cpp [10/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangSyntaxEmitter.cpp.o -MF utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangSyntaxEmitter.cpp.o.d -o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangSyntaxEmitter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/utils/TableGen/ClangSyntaxEmitter.cpp [11/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangTypeNodesEmitter.cpp.o -MF utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangTypeNodesEmitter.cpp.o.d -o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangTypeNodesEmitter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/utils/TableGen/ClangTypeNodesEmitter.cpp [12/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangOptionDocEmitter.cpp.o -MF utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangOptionDocEmitter.cpp.o.d -o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangOptionDocEmitter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/utils/TableGen/ClangOptionDocEmitter.cpp [13/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangOpenCLBuiltinEmitter.cpp.o -MF utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangOpenCLBuiltinEmitter.cpp.o.d -o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangOpenCLBuiltinEmitter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/utils/TableGen/ClangOpenCLBuiltinEmitter.cpp [14/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /usr/bin/llvm-tblgen -gen-opt-parser-defs -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Driver/Options.td --write-if-changed -o include/clang/Driver/Options.inc -d include/clang/Driver/Options.inc.d [15/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/__clang_cuda_builtin_vars.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/__clang_cuda_builtin_vars.h [16/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/__clang_cuda_cmath.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/__clang_cuda_cmath.h [17/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/__clang_cuda_complex_builtins.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/__clang_cuda_complex_builtins.h [18/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/__clang_cuda_device_functions.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/__clang_cuda_device_functions.h [19/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/__clang_cuda_intrinsics.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/__clang_cuda_intrinsics.h [20/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/__clang_cuda_libdevice_declares.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/__clang_cuda_libdevice_declares.h [21/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/__clang_cuda_math.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/__clang_cuda_math.h [22/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/__clang_cuda_math_forward_declares.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/__clang_cuda_math_forward_declares.h [23/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/__clang_cuda_runtime_wrapper.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/__clang_cuda_runtime_wrapper.h [24/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/__clang_cuda_texture_intrinsics.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/__clang_cuda_texture_intrinsics.h [25/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/__clang_hip_cmath.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/__clang_hip_cmath.h [26/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/__clang_hip_libdevice_declares.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/__clang_hip_libdevice_declares.h [27/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/__clang_hip_math.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/__clang_hip_math.h [28/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/__clang_hip_runtime_wrapper.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/__clang_hip_runtime_wrapper.h [29/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/__clang_hip_stdlib.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/__clang_hip_stdlib.h [30/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/__wmmintrin_aes.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/__wmmintrin_aes.h [31/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/__wmmintrin_pclmul.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/__wmmintrin_pclmul.h [32/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/adxintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/adxintrin.h [33/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/altivec.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/altivec.h [34/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/ammintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/ammintrin.h [35/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/amxcomplexintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/amxcomplexintrin.h [36/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/amxfp16intrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/amxfp16intrin.h [37/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/amxintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/amxintrin.h [38/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/avx2intrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx2intrin.h [39/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/avx512bf16intrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512bf16intrin.h [40/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/avx512bitalgintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512bitalgintrin.h [41/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/avx512bwintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512bwintrin.h [42/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/avx512cdintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512cdintrin.h [43/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/avx512dqintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512dqintrin.h [44/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/avx512erintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512erintrin.h [45/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/avx512fintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512fintrin.h [46/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/avx512fp16intrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512fp16intrin.h [47/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/avx512ifmaintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512ifmaintrin.h [48/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/avx512ifmavlintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512ifmavlintrin.h [49/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/avx512pfintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512pfintrin.h [50/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/avx512vbmi2intrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512vbmi2intrin.h [51/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/avx512vbmiintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512vbmiintrin.h [52/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/avx512vbmivlintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512vbmivlintrin.h [53/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/avx512vlbf16intrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512vlbf16intrin.h [54/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/avx512vlbitalgintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512vlbitalgintrin.h [55/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/avx512vlbwintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512vlbwintrin.h [56/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/avx512vlcdintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512vlcdintrin.h [57/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/avx512vldqintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512vldqintrin.h [58/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/avx512vlfp16intrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512vlfp16intrin.h [59/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/avx512vlintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512vlintrin.h [60/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/avx512vlvbmi2intrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512vlvbmi2intrin.h [61/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/avx512vlvnniintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512vlvnniintrin.h [62/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/avx512vlvp2intersectintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512vlvp2intersectintrin.h [63/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/avx512vnniintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512vnniintrin.h [64/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/avx512vp2intersectintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512vp2intersectintrin.h [65/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/avx512vpopcntdqintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512vpopcntdqintrin.h [66/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/avx512vpopcntdqvlintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avx512vpopcntdqvlintrin.h [67/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/avxifmaintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avxifmaintrin.h [68/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT utils/TableGen/CMakeFiles/clang-tblgen.dir/TableGen.cpp.o -MF utils/TableGen/CMakeFiles/clang-tblgen.dir/TableGen.cpp.o.d -o utils/TableGen/CMakeFiles/clang-tblgen.dir/TableGen.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/utils/TableGen/TableGen.cpp [69/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/avxintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avxintrin.h [70/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/avxneconvertintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avxneconvertintrin.h [71/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/avxvnniint16intrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avxvnniint16intrin.h [72/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/avxvnniintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avxvnniintrin.h [73/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/avxvnniint8intrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/avxvnniint8intrin.h [74/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/bmi2intrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/bmi2intrin.h [75/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/bmiintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/bmiintrin.h [76/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/cet.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/cet.h [77/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/builtins.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/builtins.h [78/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/cetintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/cetintrin.h [79/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/cldemoteintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/cldemoteintrin.h [80/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/clflushoptintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/clflushoptintrin.h [81/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/clwbintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/clwbintrin.h [82/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/clzerointrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/clzerointrin.h [83/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/cmpccxaddintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/cmpccxaddintrin.h [84/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/crc32intrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/crc32intrin.h [85/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/cpuid.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/cpuid.h [86/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/cuda_wrappers/algorithm /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/cuda_wrappers/algorithm [87/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/cuda_wrappers/bits/basic_string.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/cuda_wrappers/bits/basic_string.h [88/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/cuda_wrappers/bits/basic_string.tcc /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/cuda_wrappers/bits/basic_string.tcc [89/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/cuda_wrappers/bits/shared_ptr_base.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/cuda_wrappers/bits/shared_ptr_base.h [90/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/cuda_wrappers/cmath /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/cuda_wrappers/cmath [91/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/cuda_wrappers/complex /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/cuda_wrappers/complex [92/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/cuda_wrappers/new /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/cuda_wrappers/new [93/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/emmintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/emmintrin.h [94/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/enqcmdintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/enqcmdintrin.h [95/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/f16cintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/f16cintrin.h [96/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/fma4intrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/fma4intrin.h [97/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/fmaintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/fmaintrin.h [98/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/fxsrintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/fxsrintrin.h [99/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/gfniintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/gfniintrin.h [100/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/hexagon_circ_brev_intrinsics.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/hexagon_circ_brev_intrinsics.h [101/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/hexagon_types.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/hexagon_types.h [102/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/hexagon_protos.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/hexagon_protos.h [103/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/hlsl.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/hlsl.h [104/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/hresetintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/hresetintrin.h [105/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/htmintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/htmintrin.h [106/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/htmxlintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/htmxlintrin.h [107/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/ia32intrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/ia32intrin.h [108/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/hvx_hexagon_protos.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/hvx_hexagon_protos.h [109/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/immintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/immintrin.h [110/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/intrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/intrin.h [111/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/keylockerintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/keylockerintrin.h [112/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/invpcidintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/invpcidintrin.h [113/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/larchintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/larchintrin.h [114/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/llvm_libc_wrappers/stdio.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/llvm_libc_wrappers/stdio.h [115/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/lwpintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/lwpintrin.h [116/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/lzcntintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/lzcntintrin.h [117/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/mm3dnow.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/mm3dnow.h [118/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/mm_malloc.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/mm_malloc.h [119/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/mmintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/mmintrin.h [120/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/movdirintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/movdirintrin.h [121/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangDiagnosticsEmitter.cpp.o -MF utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangDiagnosticsEmitter.cpp.o.d -o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangDiagnosticsEmitter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/utils/TableGen/ClangDiagnosticsEmitter.cpp [122/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/msa.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/msa.h [123/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/nmmintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/nmmintrin.h [124/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/mwaitxintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/mwaitxintrin.h [125/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/opencl-c.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/opencl-c.h [126/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/openmp_wrappers/math.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/openmp_wrappers/math.h [127/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/pconfigintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/pconfigintrin.h [128/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/pkuintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/pkuintrin.h [129/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/pmmintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/pmmintrin.h [130/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/ppc_wrappers/bmi2intrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/ppc_wrappers/bmi2intrin.h [131/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/ppc_wrappers/bmiintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/ppc_wrappers/bmiintrin.h [132/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/popcntintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/popcntintrin.h [133/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/ppc_wrappers/emmintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/ppc_wrappers/emmintrin.h [134/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/ppc_wrappers/mm_malloc.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/ppc_wrappers/mm_malloc.h [135/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/ppc_wrappers/immintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/ppc_wrappers/immintrin.h [136/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/ppc_wrappers/mmintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/ppc_wrappers/mmintrin.h [137/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/ppc_wrappers/pmmintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/ppc_wrappers/pmmintrin.h [138/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/ppc_wrappers/smmintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/ppc_wrappers/smmintrin.h [139/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/ppc_wrappers/tmmintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/ppc_wrappers/tmmintrin.h [140/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/ppc_wrappers/x86gprintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/ppc_wrappers/x86gprintrin.h [141/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/ppc_wrappers/x86intrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/ppc_wrappers/x86intrin.h [142/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/ppc_wrappers/xmmintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/ppc_wrappers/xmmintrin.h [143/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/prfchwintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/prfchwintrin.h [144/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/prfchiintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/prfchiintrin.h [145/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/ptwriteintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/ptwriteintrin.h [146/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/raointintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/raointintrin.h [147/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/rdpruintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/rdpruintrin.h [148/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/rdseedintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/rdseedintrin.h [149/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/s390intrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/s390intrin.h [150/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/rtmintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/rtmintrin.h [151/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/serializeintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/serializeintrin.h [152/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/sha512intrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/sha512intrin.h [153/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/sgxintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/sgxintrin.h [154/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/shaintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/shaintrin.h [155/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/sm3intrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/sm3intrin.h [156/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/sm4intrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/sm4intrin.h [157/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/tbmintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/tbmintrin.h [158/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/tmmintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/tmmintrin.h [159/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/smmintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/smmintrin.h [160/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/tsxldtrkintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/tsxldtrkintrin.h [161/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/uintrintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/uintrintrin.h [162/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/vaesintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/vaesintrin.h [163/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/vecintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/vecintrin.h [164/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/velintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/velintrin.h [165/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/velintrin_gen.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/velintrin_gen.h [166/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/vpclmulqdqintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/vpclmulqdqintrin.h [167/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/velintrin_approx.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/velintrin_approx.h [168/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/waitpkgintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/waitpkgintrin.h [169/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/wbnoinvdintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/wbnoinvdintrin.h [170/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/wasm_simd128.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/wasm_simd128.h [171/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/wmmintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/wmmintrin.h [172/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/x86gprintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/x86gprintrin.h [173/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/x86intrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/x86intrin.h [174/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/xmmintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/xmmintrin.h [175/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/xopintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/xopintrin.h [176/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/xsavecintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/xsavecintrin.h [177/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/xsaveintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/xsaveintrin.h [178/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/xsaveoptintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/xsaveoptintrin.h [179/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/xtestintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/xtestintrin.h [180/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/xsavesintrin.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/xsavesintrin.h [181/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis/plugins/SampleAnalyzer && /usr/bin/python3.11 -c "import sys; lines = [' ' + l.rstrip() for l in sys.stdin] + [' local: *;']; print('LLVM_17 {'); print(' global:') if len(lines) > 1 else None; print(';\\n'.join(lines) + '\\n};')" < /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/plugins/SampleAnalyzer/SampleAnalyzerPlugin.exports > SampleAnalyzerPlugin.exports [182/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis/plugins/CheckerDependencyHandling && /usr/bin/python3.11 -c "import sys; lines = [' ' + l.rstrip() for l in sys.stdin] + [' local: *;']; print('LLVM_17 {'); print(' global:') if len(lines) > 1 else None; print(';\\n'.join(lines) + '\\n};')" < /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/plugins/CheckerDependencyHandling/CheckerDependencyHandlingAnalyzerPlugin.exports > CheckerDependencyHandlingAnalyzerPlugin.exports [183/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis/plugins/CheckerOptionHandling && /usr/bin/python3.11 -c "import sys; lines = [' ' + l.rstrip() for l in sys.stdin] + [' local: *;']; print('LLVM_17 {'); print(' global:') if len(lines) > 1 else None; print(';\\n'.join(lines) + '\\n};')" < /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/plugins/CheckerOptionHandling/CheckerOptionHandlingAnalyzerPlugin.exports > CheckerOptionHandlingAnalyzerPlugin.exports [184/2013] cd /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/FlowSensitive && /usr/bin/python3.11 /builddir/build/BUILD/clang-17.0.6.src/utils/bundle_resources.py /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis/FlowSensitive/HTMLLogger.inc HTMLLogger.html HTMLLogger.css HTMLLogger.js [185/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/scan-build && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/tools/scan-build/bin/scan-build /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/ [186/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/scan-build && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/libexec && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/tools/scan-build/libexec/c++-analyzer /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/libexec/ [187/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/scan-build && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/share/man/man1 && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/tools/scan-build/man/scan-build.1 /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/share/man/man1/ [188/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/scan-build && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/libexec && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/tools/scan-build/libexec/ccc-analyzer /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/libexec/ [189/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/scan-build && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/share/scan-build && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/tools/scan-build/share/scan-build/scanview.css /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/share/scan-build/ [190/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/scan-build && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/share/scan-build && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/tools/scan-build/share/scan-build/sorttable.js /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/share/scan-build/ [191/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/scan-build-py && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/tools/scan-build-py/bin/analyze-build /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/ [192/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/scan-build-py && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/tools/scan-build-py/bin/intercept-build /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/ [193/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/scan-build-py && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/tools/scan-build-py/bin/scan-build /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/scan-build-py [194/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/scan-build-py && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/libear && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/tools/scan-build-py/lib/libear/__init__.py /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/libear/ [195/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/scan-build-py && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/libear && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/tools/scan-build-py/lib/libear/config.h.in /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/libear/ [196/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/scan-build-py && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/libear && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/tools/scan-build-py/lib/libear/ear.c /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/libear/ [197/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/scan-build-py && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/libscanbuild && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/tools/scan-build-py/lib/libscanbuild/__init__.py /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/libscanbuild/ [198/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/scan-build-py && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/libscanbuild && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/tools/scan-build-py/lib/libscanbuild/analyze.py /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/libscanbuild/ [199/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/scan-build-py && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/libscanbuild && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/tools/scan-build-py/lib/libscanbuild/arguments.py /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/libscanbuild/ [200/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/scan-build-py && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/libscanbuild && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/tools/scan-build-py/lib/libscanbuild/clang.py /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/libscanbuild/ [201/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/scan-build-py && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/libscanbuild && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/tools/scan-build-py/lib/libscanbuild/compilation.py /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/libscanbuild/ [202/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/scan-build-py && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/libscanbuild && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/tools/scan-build-py/lib/libscanbuild/intercept.py /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/libscanbuild/ [203/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/scan-build-py && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/libscanbuild && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/tools/scan-build-py/lib/libscanbuild/report.py /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/libscanbuild/ [204/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/scan-build-py && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/libscanbuild && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/libscanbuild/resources && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/tools/scan-build-py/lib/libscanbuild/resources/scanview.css /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/libscanbuild/resources [205/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/scan-build-py && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/libscanbuild && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/libscanbuild/resources && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/tools/scan-build-py/lib/libscanbuild/resources/selectable.js /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/libscanbuild/resources [206/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/scan-build-py && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/libscanbuild && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/libscanbuild/resources && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/tools/scan-build-py/lib/libscanbuild/resources/sorttable.js /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/libscanbuild/resources [207/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/scan-build-py && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/libscanbuild && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/tools/scan-build-py/lib/libscanbuild/shell.py /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/libscanbuild/ [208/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/scan-build-py && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/libexec && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/tools/scan-build-py/libexec/analyze-c++ /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/libexec/ [209/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/scan-build-py && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/libexec && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/tools/scan-build-py/libexec/analyze-cc /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/libexec/ [210/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/scan-build-py && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/libexec && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/tools/scan-build-py/libexec/intercept-cc /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/libexec/ [211/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/scan-build-py && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/libexec && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/tools/scan-build-py/libexec/intercept-c++ /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/libexec/ [212/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/scan-view && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/tools/scan-view/bin/scan-view /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/ [213/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/scan-view && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/share/scan-view && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/tools/scan-view/share/Reporter.py /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/share/scan-view/ [214/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/scan-view && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/share/scan-view && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/tools/scan-view/share/bugcatcher.ico /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/share/scan-view/ [215/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/scan-view && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/share/scan-view && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/tools/scan-view/share/ScanView.py /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/share/scan-view/ [216/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/scan-view && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/share/scan-view && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/tools/scan-view/share/startfile.py /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/share/scan-view/ [217/2013] cd /builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/tool && /usr/bin/python3.11 /builddir/build/BUILD/clang-17.0.6.src/utils/bundle_resources.py /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/tool/HTMLForestResources.inc HTMLForest.css HTMLForest.js HTMLForest.html [218/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/docs && /usr/bin/cmake -E copy_directory /builddir/build/BUILD/clang-17.0.6.src/docs /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/docs && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/docs/../CodeOwners.rst /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/docs [219/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT utils/TableGen/CMakeFiles/clang-tblgen.dir/RISCVVEmitter.cpp.o -MF utils/TableGen/CMakeFiles/clang-tblgen.dir/RISCVVEmitter.cpp.o.d -o utils/TableGen/CMakeFiles/clang-tblgen.dir/RISCVVEmitter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/utils/TableGen/RISCVVEmitter.cpp [220/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/misc/ConfusableTable -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/ConfusableTable -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/misc/ConfusableTable/CMakeFiles/clang-tidy-confusable-chars-gen.dir/BuildConfusableTable.cpp.o -MF tools/extra/clang-tidy/misc/ConfusableTable/CMakeFiles/clang-tidy-confusable-chars-gen.dir/BuildConfusableTable.cpp.o.d -o tools/extra/clang-tidy/misc/ConfusableTable/CMakeFiles/clang-tidy-confusable-chars-gen.dir/BuildConfusableTable.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/ConfusableTable/BuildConfusableTable.cpp [221/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT utils/TableGen/CMakeFiles/clang-tblgen.dir/SveEmitter.cpp.o -MF utils/TableGen/CMakeFiles/clang-tblgen.dir/SveEmitter.cpp.o.d -o utils/TableGen/CMakeFiles/clang-tblgen.dir/SveEmitter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/utils/TableGen/SveEmitter.cpp [222/2013] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/extra/clang-tidy/misc/ConfusableTable/CMakeFiles/clang-tidy-confusable-chars-gen.dir/BuildConfusableTable.cpp.o -o bin/clang-tidy-confusable-chars-gen /usr/lib64/libLLVM-17.so && : [223/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/misc && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tidy-confusable-chars-gen /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/ConfusableTable/confusables.txt /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/misc/Confusables.inc [224/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Support -I/builddir/build/BUILD/clang-17.0.6.src/lib/Support -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Support/CMakeFiles/obj.clangSupport.dir/RISCVVIntrinsicUtils.cpp.o -MF lib/Support/CMakeFiles/obj.clangSupport.dir/RISCVVIntrinsicUtils.cpp.o.d -o lib/Support/CMakeFiles/obj.clangSupport.dir/RISCVVIntrinsicUtils.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Support/RISCVVIntrinsicUtils.cpp [225/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT utils/TableGen/CMakeFiles/clang-tblgen.dir/NeonEmitter.cpp.o -MF utils/TableGen/CMakeFiles/clang-tblgen.dir/NeonEmitter.cpp.o.d -o utils/TableGen/CMakeFiles/clang-tblgen.dir/NeonEmitter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/utils/TableGen/NeonEmitter.cpp [226/2013] : && /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 && : [227/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangAttrEmitter.cpp.o -MF utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangAttrEmitter.cpp.o.d -o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangAttrEmitter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/utils/TableGen/ClangAttrEmitter.cpp [228/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/utils/TableGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT utils/TableGen/CMakeFiles/clang-tblgen.dir/MveEmitter.cpp.o -MF utils/TableGen/CMakeFiles/clang-tblgen.dir/MveEmitter.cpp.o.d -o utils/TableGen/CMakeFiles/clang-tblgen.dir/MveEmitter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/utils/TableGen/MveEmitter.cpp [229/2013] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections lib/Support/CMakeFiles/obj.clangSupport.dir/RISCVVIntrinsicUtils.cpp.o utils/TableGen/CMakeFiles/clang-tblgen.dir/ASTTableGen.cpp.o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangASTNodesEmitter.cpp.o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangASTPropertiesEmitter.cpp.o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangAttrEmitter.cpp.o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangCommentCommandInfoEmitter.cpp.o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangCommentHTMLNamedCharacterReferenceEmitter.cpp.o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangCommentHTMLTagsEmitter.cpp.o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangDataCollectorsEmitter.cpp.o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangDiagnosticsEmitter.cpp.o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangOpcodesEmitter.cpp.o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangOpenCLBuiltinEmitter.cpp.o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangOptionDocEmitter.cpp.o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangSACheckersEmitter.cpp.o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangSyntaxEmitter.cpp.o utils/TableGen/CMakeFiles/clang-tblgen.dir/ClangTypeNodesEmitter.cpp.o utils/TableGen/CMakeFiles/clang-tblgen.dir/MveEmitter.cpp.o utils/TableGen/CMakeFiles/clang-tblgen.dir/NeonEmitter.cpp.o utils/TableGen/CMakeFiles/clang-tblgen.dir/RISCVVEmitter.cpp.o utils/TableGen/CMakeFiles/clang-tblgen.dir/SveEmitter.cpp.o utils/TableGen/CMakeFiles/clang-tblgen.dir/TableGen.cpp.o -o bin/clang-tblgen /usr/lib64/libLLVMSupport.a /usr/lib64/libLLVMTableGen.a /usr/lib64/libLLVMSupport.a -lrt -ldl -lm /usr/lib64/libz.so /usr/lib64/libtinfo.so /usr/lib64/libLLVMDemangle.a && : [230/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-stmt-nodes -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/../Basic/StmtNodes.td --write-if-changed -o include/clang/AST/StmtNodes.inc -d include/clang/AST/StmtNodes.inc.d [231/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-decl-nodes -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/../Basic/DeclNodes.td --write-if-changed -o include/clang/AST/DeclNodes.inc -d include/clang/AST/DeclNodes.inc.d [232/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-type-nodes -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/../Basic/TypeNodes.td --write-if-changed -o include/clang/AST/TypeNodes.inc -d include/clang/AST/TypeNodes.inc.d [233/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-basic-reader -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/PropertiesBase.td --write-if-changed -o include/clang/AST/AbstractBasicReader.inc -d include/clang/AST/AbstractBasicReader.inc.d [234/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-basic-writer -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/PropertiesBase.td --write-if-changed -o include/clang/AST/AbstractBasicWriter.inc -d include/clang/AST/AbstractBasicWriter.inc.d [235/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-attr-node-traverse -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/../Basic/Attr.td --write-if-changed -o include/clang/AST/AttrNodeTraverse.inc -d include/clang/AST/AttrNodeTraverse.inc.d [236/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-type-reader -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/TypeProperties.td --write-if-changed -o include/clang/AST/AbstractTypeReader.inc -d include/clang/AST/AbstractTypeReader.inc.d [237/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-attr-text-node-dump -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/../Basic/Attr.td --write-if-changed -o include/clang/AST/AttrTextNodeDump.inc -d include/clang/AST/AttrTextNodeDump.inc.d [238/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-attr-ast-visitor -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/../Basic/Attr.td --write-if-changed -o include/clang/AST/AttrVisitor.inc -d include/clang/AST/AttrVisitor.inc.d [239/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-attr-classes -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/../Basic/Attr.td --write-if-changed -o include/clang/AST/Attrs.inc -d include/clang/AST/Attrs.inc.d [240/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-comment-nodes -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/../Basic/CommentNodes.td --write-if-changed -o include/clang/AST/CommentNodes.inc -d include/clang/AST/CommentNodes.inc.d [241/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-type-writer -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/TypeProperties.td --write-if-changed -o include/clang/AST/AbstractTypeWriter.inc -d include/clang/AST/AbstractTypeWriter.inc.d [242/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-comment-html-tags -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/CommentHTMLTags.td --write-if-changed -o include/clang/AST/CommentHTMLTags.inc -d include/clang/AST/CommentHTMLTags.inc.d [243/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-comment-html-tags-properties -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/CommentHTMLTags.td --write-if-changed -o include/clang/AST/CommentHTMLTagsProperties.inc -d include/clang/AST/CommentHTMLTagsProperties.inc.d [244/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-comment-html-named-character-references -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/CommentHTMLNamedCharacterReferences.td --write-if-changed -o include/clang/AST/CommentHTMLNamedCharacterReferences.inc -d include/clang/AST/CommentHTMLNamedCharacterReferences.inc.d [245/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-comment-command-info -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/CommentCommands.td --write-if-changed -o include/clang/AST/CommentCommandInfo.inc -d include/clang/AST/CommentCommandInfo.inc.d [246/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-attr-impl -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/../Basic/Attr.td --write-if-changed -o include/clang/AST/AttrImpl.inc -d include/clang/AST/AttrImpl.inc.d [247/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-comment-command-list -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/CommentCommands.td --write-if-changed -o include/clang/AST/CommentCommandList.inc -d include/clang/AST/CommentCommandList.inc.d [248/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-data-collectors -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/StmtDataCollectors.td --write-if-changed -o include/clang/AST/StmtDataCollectors.inc -d include/clang/AST/StmtDataCollectors.inc.d [249/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-diags-defs -clang-component=Common -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/Diagnostic.td --write-if-changed -o include/clang/Basic/DiagnosticCommonKinds.inc -d include/clang/Basic/DiagnosticCommonKinds.inc.d [250/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-diags-defs -clang-component=Analysis -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/Diagnostic.td --write-if-changed -o include/clang/Basic/DiagnosticAnalysisKinds.inc -d include/clang/Basic/DiagnosticAnalysisKinds.inc.d [251/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-diags-defs -clang-component=CrossTU -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/Diagnostic.td --write-if-changed -o include/clang/Basic/DiagnosticCrossTUKinds.inc -d include/clang/Basic/DiagnosticCrossTUKinds.inc.d [252/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-diags-defs -clang-component=AST -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/Diagnostic.td --write-if-changed -o include/clang/Basic/DiagnosticASTKinds.inc -d include/clang/Basic/DiagnosticASTKinds.inc.d [253/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-diags-defs -clang-component=Lex -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/Diagnostic.td --write-if-changed -o include/clang/Basic/DiagnosticLexKinds.inc -d include/clang/Basic/DiagnosticLexKinds.inc.d [254/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-diags-defs -clang-component=Frontend -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/Diagnostic.td --write-if-changed -o include/clang/Basic/DiagnosticFrontendKinds.inc -d include/clang/Basic/DiagnosticFrontendKinds.inc.d [255/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-diags-defs -clang-component=Comment -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/Diagnostic.td --write-if-changed -o include/clang/Basic/DiagnosticCommentKinds.inc -d include/clang/Basic/DiagnosticCommentKinds.inc.d [256/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-attr-list -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/../../ -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/Attr.td --write-if-changed -o include/clang/Basic/AttrList.inc -d include/clang/Basic/AttrList.inc.d [257/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-diags-defs -clang-component=Driver -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/Diagnostic.td --write-if-changed -o include/clang/Basic/DiagnosticDriverKinds.inc -d include/clang/Basic/DiagnosticDriverKinds.inc.d [258/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-attr-subject-match-rule-list -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/../../ -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/Attr.td --write-if-changed -o include/clang/Basic/AttrSubMatchRulesList.inc -d include/clang/Basic/AttrSubMatchRulesList.inc.d [259/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-attr-token-kinds -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/../../ -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/Attr.td --write-if-changed -o include/clang/Basic/AttrTokenKinds.inc -d include/clang/Basic/AttrTokenKinds.inc.d [260/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-diags-defs -clang-component=Parse -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/Diagnostic.td --write-if-changed -o include/clang/Basic/DiagnosticParseKinds.inc -d include/clang/Basic/DiagnosticParseKinds.inc.d [261/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-diags-defs -clang-component=Refactoring -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/Diagnostic.td --write-if-changed -o include/clang/Basic/DiagnosticRefactoringKinds.inc -d include/clang/Basic/DiagnosticRefactoringKinds.inc.d [262/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-attr-has-attribute-impl -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/../../ -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/Attr.td --write-if-changed -o include/clang/Basic/AttrHasAttributeImpl.inc -d include/clang/Basic/AttrHasAttributeImpl.inc.d [263/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-diags-defs -clang-component=Serialization -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/Diagnostic.td --write-if-changed -o include/clang/Basic/DiagnosticSerializationKinds.inc -d include/clang/Basic/DiagnosticSerializationKinds.inc.d [264/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-diag-groups -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/Diagnostic.td --write-if-changed -o include/clang/Basic/DiagnosticGroups.inc -d include/clang/Basic/DiagnosticGroups.inc.d [265/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-arm-neon-sema -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/arm_fp16.td --write-if-changed -o include/clang/Basic/arm_fp16.inc -d include/clang/Basic/arm_fp16.inc.d [266/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-diags-index-name -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/Diagnostic.td --write-if-changed -o include/clang/Basic/DiagnosticIndexName.inc -d include/clang/Basic/DiagnosticIndexName.inc.d [267/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-diags-defs -clang-component=Sema -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/Diagnostic.td --write-if-changed -o include/clang/Basic/DiagnosticSemaKinds.inc -d include/clang/Basic/DiagnosticSemaKinds.inc.d [268/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-arm-neon-sema -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/arm_neon.td --write-if-changed -o include/clang/Basic/arm_neon.inc -d include/clang/Basic/arm_neon.inc.d [269/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-arm-mve-builtin-def -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/arm_mve.td --write-if-changed -o include/clang/Basic/arm_mve_builtins.inc -d include/clang/Basic/arm_mve_builtins.inc.d [270/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-arm-mve-builtin-aliases -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/arm_mve.td --write-if-changed -o include/clang/Basic/arm_mve_builtin_aliases.inc -d include/clang/Basic/arm_mve_builtin_aliases.inc.d [271/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-arm-sme-builtins -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/arm_sme.td --write-if-changed -o include/clang/Basic/arm_sme_builtins.inc -d include/clang/Basic/arm_sme_builtins.inc.d [272/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-arm-sve-typeflags -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/arm_sve.td --write-if-changed -o include/clang/Basic/arm_sve_typeflags.inc -d include/clang/Basic/arm_sve_typeflags.inc.d [273/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-arm-mve-builtin-sema -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/arm_mve.td --write-if-changed -o include/clang/Basic/arm_mve_builtin_sema.inc -d include/clang/Basic/arm_mve_builtin_sema.inc.d [274/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-arm-sme-builtin-codegen -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/arm_sme.td --write-if-changed -o include/clang/Basic/arm_sme_builtin_cg.inc -d include/clang/Basic/arm_sme_builtin_cg.inc.d [275/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-arm-sme-sema-rangechecks -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/arm_sme.td --write-if-changed -o include/clang/Basic/arm_sme_sema_rangechecks.inc -d include/clang/Basic/arm_sme_sema_rangechecks.inc.d [276/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-arm-cde-builtin-def -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/arm_cde.td --write-if-changed -o include/clang/Basic/arm_cde_builtins.inc -d include/clang/Basic/arm_cde_builtins.inc.d [277/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-arm-cde-builtin-codegen -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/arm_cde.td --write-if-changed -o include/clang/Basic/arm_cde_builtin_cg.inc -d include/clang/Basic/arm_cde_builtin_cg.inc.d [278/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-arm-cde-builtin-sema -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/arm_cde.td --write-if-changed -o include/clang/Basic/arm_cde_builtin_sema.inc -d include/clang/Basic/arm_cde_builtin_sema.inc.d [279/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-arm-cde-builtin-aliases -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/arm_cde.td --write-if-changed -o include/clang/Basic/arm_cde_builtin_aliases.inc -d include/clang/Basic/arm_cde_builtin_aliases.inc.d [280/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-riscv-sifive-vector-builtins -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/riscv_sifive_vector.td --write-if-changed -o include/clang/Basic/riscv_sifive_vector_builtins.inc -d include/clang/Basic/riscv_sifive_vector_builtins.inc.d [281/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-riscv-sifive-vector-builtin-codegen -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/riscv_sifive_vector.td --write-if-changed -o include/clang/Basic/riscv_sifive_vector_builtin_cg.inc -d include/clang/Basic/riscv_sifive_vector_builtin_cg.inc.d [282/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-arm-mve-builtin-codegen -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/arm_mve.td --write-if-changed -o include/clang/Basic/arm_mve_builtin_cg.inc -d include/clang/Basic/arm_mve_builtin_cg.inc.d [283/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-riscv-sifive-vector-builtin-sema -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/riscv_sifive_vector.td --write-if-changed -o include/clang/Basic/riscv_sifive_vector_builtin_sema.inc -d include/clang/Basic/riscv_sifive_vector_builtin_sema.inc.d [284/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-attr-parser-string-switches -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Parse/../../ -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Parse -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Parse/../Basic/Attr.td --write-if-changed -o include/clang/Parse/AttrParserStringSwitches.inc -d include/clang/Parse/AttrParserStringSwitches.inc.d [285/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-attr-subject-match-rules-parser-string-switches -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Parse/../../ -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Parse -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Parse/../Basic/Attr.td --write-if-changed -o include/clang/Parse/AttrSubMatchRulesParserStringSwitches.inc -d include/clang/Parse/AttrSubMatchRulesParserStringSwitches.inc.d [286/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-attr-template-instantiate -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/../../ -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/../Basic/Attr.td --write-if-changed -o include/clang/Sema/AttrTemplateInstantiate.inc -d include/clang/Sema/AttrTemplateInstantiate.inc.d [287/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-attr-parsed-attr-list -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/../../ -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/../Basic/Attr.td --write-if-changed -o include/clang/Sema/AttrParsedAttrList.inc -d include/clang/Sema/AttrParsedAttrList.inc.d [288/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-attr-parsed-attr-kinds -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/../../ -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/../Basic/Attr.td --write-if-changed -o include/clang/Sema/AttrParsedAttrKinds.inc -d include/clang/Sema/AttrParsedAttrKinds.inc.d [289/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-attr-spelling-index -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/../../ -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/../Basic/Attr.td --write-if-changed -o include/clang/Sema/AttrSpellingListIndex.inc -d include/clang/Sema/AttrSpellingListIndex.inc.d [290/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-attr-parsed-attr-impl -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/../../ -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/../Basic/Attr.td --write-if-changed -o include/clang/Sema/AttrParsedAttrImpl.inc -d include/clang/Sema/AttrParsedAttrImpl.inc.d [291/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-arm-sve-builtin-codegen -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/arm_sve.td --write-if-changed -o include/clang/Basic/arm_sve_builtin_cg.inc -d include/clang/Basic/arm_sve_builtin_cg.inc.d [292/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-attr-pch-read -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Serialization/../../ -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Serialization -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Serialization/../Basic/Attr.td --write-if-changed -o include/clang/Serialization/AttrPCHRead.inc -d include/clang/Serialization/AttrPCHRead.inc.d [293/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-syntax-node-list -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Tooling/Syntax -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Tooling/Syntax/Nodes.td --write-if-changed -o include/clang/Tooling/Syntax/Nodes.inc -d include/clang/Tooling/Syntax/Nodes.inc.d [294/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-arm-sve-builtins -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/arm_sve.td --write-if-changed -o include/clang/Basic/arm_sve_builtins.inc -d include/clang/Basic/arm_sve_builtins.inc.d [295/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-sa-checkers -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Checkers/Checkers.td --write-if-changed -o include/clang/StaticAnalyzer/Checkers/Checkers.inc -d include/clang/StaticAnalyzer/Checkers/Checkers.inc.d [296/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-arm-sve-sema-rangechecks -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/arm_sve.td --write-if-changed -o include/clang/Basic/arm_sve_sema_rangechecks.inc -d include/clang/Basic/arm_sve_sema_rangechecks.inc.d [297/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-syntax-node-classes -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Tooling/Syntax -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Tooling/Syntax/Nodes.td --write-if-changed -o include/clang/Tooling/Syntax/NodeClasses.inc -d include/clang/Tooling/Syntax/NodeClasses.inc.d [298/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-attr-pch-write -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Serialization/../../ -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Serialization -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Serialization/../Basic/Attr.td --write-if-changed -o include/clang/Serialization/AttrPCHWrite.inc -d include/clang/Serialization/AttrPCHWrite.inc.d [299/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/arm64intr.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/arm64intr.h [300/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/arm_acle.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/arm_acle.h [301/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/arm_cmse.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/arm_cmse.h [302/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/arm_neon_sve_bridge.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/arm_neon_sve_bridge.h [303/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-riscv-vector-builtins -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/riscv_vector.td --write-if-changed -o include/clang/Basic/riscv_vector_builtins.inc -d include/clang/Basic/riscv_vector_builtins.inc.d [304/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/armintr.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/armintr.h [305/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/riscv_ntlh.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/riscv_ntlh.h [306/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-riscv-vector-builtin-sema -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/riscv_vector.td --write-if-changed -o include/clang/Basic/riscv_vector_builtin_sema.inc -d include/clang/Basic/riscv_vector_builtin_sema.inc.d [307/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-arm-bf16 -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/ -I /builddir/build/BUILD/clang-17.0.6.src/lib/Headers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/arm_bf16.td --write-if-changed -o lib/Headers/arm_bf16.h -d lib/Headers/arm_bf16.h.d [308/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-arm-cde-header -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/ -I /builddir/build/BUILD/clang-17.0.6.src/lib/Headers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/arm_cde.td --write-if-changed -o lib/Headers/arm_cde.h -d lib/Headers/arm_cde.h.d [309/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-arm-fp16 -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/ -I /builddir/build/BUILD/clang-17.0.6.src/lib/Headers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/arm_fp16.td --write-if-changed -o lib/Headers/arm_fp16.h -d lib/Headers/arm_fp16.h.d [310/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-arm-sme-header -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/ -I /builddir/build/BUILD/clang-17.0.6.src/lib/Headers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/arm_sme.td --write-if-changed -o lib/Headers/arm_sme_draft_spec_subject_to_change.h -d lib/Headers/arm_sme_draft_spec_subject_to_change.h.d [311/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-riscv-vector-header -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/ -I /builddir/build/BUILD/clang-17.0.6.src/lib/Headers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/riscv_vector.td --write-if-changed -o lib/Headers/riscv_vector.h -d lib/Headers/riscv_vector.h.d [312/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-arm-mve-header -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/ -I /builddir/build/BUILD/clang-17.0.6.src/lib/Headers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/arm_mve.td --write-if-changed -o lib/Headers/arm_mve.h -d lib/Headers/arm_mve.h.d [313/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-riscv-vector-builtin-codegen -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/riscv_vector.td --write-if-changed -o include/clang/Basic/riscv_vector_builtin_cg.inc -d include/clang/Basic/riscv_vector_builtin_cg.inc.d [314/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-arm-sve-header -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/ -I /builddir/build/BUILD/clang-17.0.6.src/lib/Headers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/arm_sve.td --write-if-changed -o lib/Headers/arm_sve.h -d lib/Headers/arm_sve.h.d [315/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic && /usr/bin/cmake -DNAMES="LLVM;CLANG" -DLLVM_SOURCE_DIR= -DCLANG_SOURCE_DIR= -DCLANG_VC_REPOSITORY= -DCLANG_VC_REVISION= -DHEADER_FILE=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic/VCSVersion.inc -DLLVM_VC_REPOSITORY= -DLLVM_VC_REVISION= -P /usr/lib64/cmake/llvm/GenerateVersionFromVCS.cmake [316/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-arm-neon -I /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/ -I /builddir/build/BUILD/clang-17.0.6.src/lib/Headers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/arm_neon.td --write-if-changed -o lib/Headers/arm_neon.h -d lib/Headers/arm_neon.h.d [317/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/__stddef_max_align_t.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/__stddef_max_align_t.h [318/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers/arm_bf16.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/arm_bf16.h [319/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers/arm_cde.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/arm_cde.h [320/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers/arm_fp16.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/arm_fp16.h [321/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers/arm_mve.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/arm_mve.h [322/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers/arm_neon.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/arm_neon.h [323/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers/arm_sme_draft_spec_subject_to_change.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/arm_sme_draft_spec_subject_to_change.h [324/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers/arm_sve.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/arm_sve.h [325/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/float.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/float.h [326/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/hlsl/hlsl_basic_types.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/hlsl/hlsl_basic_types.h [327/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/hlsl/hlsl_intrinsics.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/hlsl/hlsl_intrinsics.h [328/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/inttypes.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/inttypes.h [329/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/iso646.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/iso646.h [330/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/limits.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/limits.h [331/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/llvm_libc_wrappers/ctype.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/llvm_libc_wrappers/ctype.h [332/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/llvm_libc_wrappers/inttypes.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/llvm_libc_wrappers/inttypes.h [333/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/llvm_libc_wrappers/stdlib.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/llvm_libc_wrappers/stdlib.h [334/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/llvm_libc_wrappers/string.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/llvm_libc_wrappers/string.h [335/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/module.modulemap /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/module.modulemap [336/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/opencl-c-base.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/opencl-c-base.h [337/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/openmp_wrappers/__clang_openmp_device_functions.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/openmp_wrappers/__clang_openmp_device_functions.h [338/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/openmp_wrappers/cmath /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/openmp_wrappers/cmath [339/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/openmp_wrappers/complex /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/openmp_wrappers/complex [340/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/openmp_wrappers/complex.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/openmp_wrappers/complex.h [341/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/openmp_wrappers/complex_cmath.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/openmp_wrappers/complex_cmath.h [342/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/openmp_wrappers/new /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/openmp_wrappers/new [343/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers/riscv_vector.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/riscv_vector.h [344/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/sifive_vector.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/sifive_vector.h [345/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/stdalign.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/stdalign.h [346/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/stdarg.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/stdarg.h [347/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/stdatomic.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/stdatomic.h [348/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/stdbool.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/stdbool.h [349/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/stddef.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/stddef.h [350/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/stdint.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/stdint.h [351/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/stdnoreturn.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/stdnoreturn.h [352/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/tgmath.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/tgmath.h [353/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/unwind.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/unwind.h [354/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/vadefs.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/vadefs.h [355/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Headers && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/lib/Headers/varargs.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64/../lib64/clang/17/include/varargs.h [356/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/APINotes -I/builddir/build/BUILD/clang-17.0.6.src/lib/APINotes -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/APINotes/CMakeFiles/obj.clangAPINotes.dir/APINotesTypes.cpp.o -MF lib/APINotes/CMakeFiles/obj.clangAPINotes.dir/APINotesTypes.cpp.o.d -o lib/APINotes/CMakeFiles/obj.clangAPINotes.dir/APINotesTypes.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/APINotes/APINotesTypes.cpp [357/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/CLWarnings.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/CLWarnings.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/CLWarnings.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/CLWarnings.cpp [358/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/CharInfo.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/CharInfo.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/CharInfo.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/CharInfo.cpp [359/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Lex/CMakeFiles/obj.clangLex.dir/HeaderMap.cpp.o -MF lib/Lex/CMakeFiles/obj.clangLex.dir/HeaderMap.cpp.o.d -o lib/Lex/CMakeFiles/obj.clangLex.dir/HeaderMap.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Lex/HeaderMap.cpp [360/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Lex/CMakeFiles/obj.clangLex.dir/DependencyDirectivesScanner.cpp.o -MF lib/Lex/CMakeFiles/obj.clangLex.dir/DependencyDirectivesScanner.cpp.o.d -o lib/Lex/CMakeFiles/obj.clangLex.dir/DependencyDirectivesScanner.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Lex/DependencyDirectivesScanner.cpp [361/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Builtins.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Builtins.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Builtins.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Builtins.cpp [362/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/CodeGenOptions.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/CodeGenOptions.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/CodeGenOptions.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/CodeGenOptions.cpp [363/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Cuda.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Cuda.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Cuda.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Cuda.cpp [364/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/DiagnosticOptions.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/DiagnosticOptions.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/DiagnosticOptions.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/DiagnosticOptions.cpp [365/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/ExpressionTraits.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/ExpressionTraits.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/ExpressionTraits.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/ExpressionTraits.cpp [366/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/APINotes -I/builddir/build/BUILD/clang-17.0.6.src/lib/APINotes -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/APINotes/CMakeFiles/obj.clangAPINotes.dir/APINotesYAMLCompiler.cpp.o -MF lib/APINotes/CMakeFiles/obj.clangAPINotes.dir/APINotesYAMLCompiler.cpp.o.d -o lib/APINotes/CMakeFiles/obj.clangAPINotes.dir/APINotesYAMLCompiler.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/APINotes/APINotesYAMLCompiler.cpp [367/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/FileEntry.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/FileEntry.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/FileEntry.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileEntry.cpp [368/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/DarwinSDKInfo.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/DarwinSDKInfo.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/DarwinSDKInfo.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/DarwinSDKInfo.cpp [369/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Lex/CMakeFiles/obj.clangLex.dir/InitHeaderSearch.cpp.o -MF lib/Lex/CMakeFiles/obj.clangLex.dir/InitHeaderSearch.cpp.o.d -o lib/Lex/CMakeFiles/obj.clangLex.dir/InitHeaderSearch.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Lex/InitHeaderSearch.cpp [370/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/FileSystemStatCache.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/FileSystemStatCache.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/FileSystemStatCache.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileSystemStatCache.cpp [371/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/LangOptions.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/LangOptions.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/LangOptions.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/LangOptions.cpp [372/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/LangStandards.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/LangStandards.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/LangStandards.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/LangStandards.cpp [373/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/FileManager.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/FileManager.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/FileManager.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp [374/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/MakeSupport.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/MakeSupport.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/MakeSupport.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/MakeSupport.cpp [375/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Diagnostic.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Diagnostic.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Diagnostic.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Diagnostic.cpp [376/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/ObjCRuntime.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/ObjCRuntime.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/ObjCRuntime.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/ObjCRuntime.cpp [377/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/OperatorPrecedence.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/OperatorPrecedence.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/OperatorPrecedence.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/OperatorPrecedence.cpp [378/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/ParsedAttrInfo.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/ParsedAttrInfo.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/ParsedAttrInfo.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/ParsedAttrInfo.cpp [379/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Lex/CMakeFiles/obj.clangLex.dir/HeaderSearch.cpp.o -MF lib/Lex/CMakeFiles/obj.clangLex.dir/HeaderSearch.cpp.o.d -o lib/Lex/CMakeFiles/obj.clangLex.dir/HeaderSearch.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Lex/HeaderSearch.cpp [380/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/OpenMPKinds.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/OpenMPKinds.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/OpenMPKinds.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/OpenMPKinds.cpp [381/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/OpenCLOptions.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/OpenCLOptions.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/OpenCLOptions.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/OpenCLOptions.cpp [382/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/IdentifierTable.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/IdentifierTable.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/IdentifierTable.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/IdentifierTable.cpp [383/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/SanitizerSpecialCaseList.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/SanitizerSpecialCaseList.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/SanitizerSpecialCaseList.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/SanitizerSpecialCaseList.cpp [384/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/NoSanitizeList.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/NoSanitizeList.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/NoSanitizeList.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/NoSanitizeList.cpp [385/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/ProfileList.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/ProfileList.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/ProfileList.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/ProfileList.cpp [386/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Sanitizers.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Sanitizers.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Sanitizers.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Sanitizers.cpp [387/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Module.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Module.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Module.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Module.cpp [388/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Stack.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Stack.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Stack.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Stack.cpp [389/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/SourceLocation.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/SourceLocation.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/SourceLocation.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/SourceLocation.cpp [390/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/TargetID.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/TargetID.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/TargetID.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/TargetID.cpp [391/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/TargetInfo.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/TargetInfo.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/TargetInfo.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/TargetInfo.cpp [392/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Sarif.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Sarif.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Sarif.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Sarif.cpp [393/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/ARC.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/ARC.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/ARC.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Targets/ARC.cpp [394/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/AMDGPU.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/AMDGPU.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/AMDGPU.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Targets/AMDGPU.cpp [395/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/SourceManager.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/SourceManager.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/SourceManager.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/SourceManager.cpp [396/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/AArch64.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/AArch64.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/AArch64.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Targets/AArch64.cpp [397/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/DiagnosticIDs.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/DiagnosticIDs.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/DiagnosticIDs.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/DiagnosticIDs.cpp [398/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/BPF.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/BPF.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/BPF.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Targets/BPF.cpp [399/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/DirectX.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/DirectX.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/DirectX.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Targets/DirectX.cpp [400/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/CSKY.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/CSKY.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/CSKY.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Targets/CSKY.cpp [401/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/ARM.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/ARM.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/ARM.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Targets/ARM.cpp [402/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/Lanai.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/Lanai.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/Lanai.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Targets/Lanai.cpp [403/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Attributes.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Attributes.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Attributes.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Attributes.cpp [404/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/Hexagon.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/Hexagon.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/Hexagon.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Targets/Hexagon.cpp [405/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/Le64.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/Le64.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/Le64.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Targets/Le64.cpp [406/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/AVR.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/AVR.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/AVR.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Targets/AVR.cpp [407/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/MSP430.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/MSP430.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/MSP430.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Targets/MSP430.cpp [408/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/LoongArch.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/LoongArch.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/LoongArch.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Targets/LoongArch.cpp [409/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/OSTargets.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/OSTargets.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/OSTargets.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Targets/OSTargets.cpp [410/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/M68k.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/M68k.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/M68k.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Targets/M68k.cpp [411/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/NVPTX.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/NVPTX.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/NVPTX.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Targets/NVPTX.cpp [412/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/PNaCl.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/PNaCl.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/PNaCl.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Targets/PNaCl.cpp [413/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/Mips.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/Mips.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/Mips.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Targets/Mips.cpp [414/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/SPIR.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/SPIR.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/SPIR.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Targets/SPIR.cpp [415/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/Sparc.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/Sparc.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/Sparc.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Targets/Sparc.cpp [416/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/TCE.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/TCE.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/TCE.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Targets/TCE.cpp [417/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/SystemZ.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/SystemZ.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/SystemZ.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Targets/SystemZ.cpp [418/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/TokenKinds.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/TokenKinds.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/TokenKinds.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/TokenKinds.cpp [419/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/TypeTraits.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/TypeTraits.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/TypeTraits.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/TypeTraits.cpp [420/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Version.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Version.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Version.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Version.cpp [421/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/RISCV.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/RISCV.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/RISCV.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Targets/RISCV.cpp [422/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/VE.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/VE.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/VE.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Targets/VE.cpp [423/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/PPC.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/PPC.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/PPC.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Targets/PPC.cpp [424/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/XRayInstr.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/XRayInstr.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/XRayInstr.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/XRayInstr.cpp [425/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/WebAssembly.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/WebAssembly.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/WebAssembly.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Targets/WebAssembly.cpp [426/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/XCore.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/XCore.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/XCore.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Targets/XCore.cpp [427/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Warnings.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Warnings.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Warnings.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Warnings.cpp [428/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Targets.cpp [429/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/XRayLists.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/XRayLists.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/XRayLists.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/XRayLists.cpp [430/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/lib/Basic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/X86.cpp.o -MF lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/X86.cpp.o.d -o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/X86.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/Targets/X86.cpp [431/2013] : && /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 && : [432/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Lex/CMakeFiles/obj.clangLex.dir/MacroArgs.cpp.o -MF lib/Lex/CMakeFiles/obj.clangLex.dir/MacroArgs.cpp.o.d -o lib/Lex/CMakeFiles/obj.clangLex.dir/MacroArgs.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Lex/MacroArgs.cpp [433/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Lex/CMakeFiles/obj.clangLex.dir/PPCallbacks.cpp.o -MF lib/Lex/CMakeFiles/obj.clangLex.dir/PPCallbacks.cpp.o.d -o lib/Lex/CMakeFiles/obj.clangLex.dir/PPCallbacks.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Lex/PPCallbacks.cpp [434/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Lex/CMakeFiles/obj.clangLex.dir/MacroInfo.cpp.o -MF lib/Lex/CMakeFiles/obj.clangLex.dir/MacroInfo.cpp.o.d -o lib/Lex/CMakeFiles/obj.clangLex.dir/MacroInfo.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Lex/MacroInfo.cpp [435/2013] : && /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 && : [436/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Lex/CMakeFiles/obj.clangLex.dir/PPCaching.cpp.o -MF lib/Lex/CMakeFiles/obj.clangLex.dir/PPCaching.cpp.o.d -o lib/Lex/CMakeFiles/obj.clangLex.dir/PPCaching.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Lex/PPCaching.cpp [437/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Lex/CMakeFiles/obj.clangLex.dir/PPConditionalDirectiveRecord.cpp.o -MF lib/Lex/CMakeFiles/obj.clangLex.dir/PPConditionalDirectiveRecord.cpp.o.d -o lib/Lex/CMakeFiles/obj.clangLex.dir/PPConditionalDirectiveRecord.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Lex/PPConditionalDirectiveRecord.cpp [438/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Lex/CMakeFiles/obj.clangLex.dir/Lexer.cpp.o -MF lib/Lex/CMakeFiles/obj.clangLex.dir/Lexer.cpp.o.d -o lib/Lex/CMakeFiles/obj.clangLex.dir/Lexer.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Lex/Lexer.cpp [439/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Lex/CMakeFiles/obj.clangLex.dir/LiteralSupport.cpp.o -MF lib/Lex/CMakeFiles/obj.clangLex.dir/LiteralSupport.cpp.o.d -o lib/Lex/CMakeFiles/obj.clangLex.dir/LiteralSupport.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Lex/LiteralSupport.cpp [440/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Lex/CMakeFiles/obj.clangLex.dir/PPExpressions.cpp.o -MF lib/Lex/CMakeFiles/obj.clangLex.dir/PPExpressions.cpp.o.d -o lib/Lex/CMakeFiles/obj.clangLex.dir/PPExpressions.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Lex/PPExpressions.cpp [441/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Lex/CMakeFiles/obj.clangLex.dir/PreprocessingRecord.cpp.o -MF lib/Lex/CMakeFiles/obj.clangLex.dir/PreprocessingRecord.cpp.o.d -o lib/Lex/CMakeFiles/obj.clangLex.dir/PreprocessingRecord.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Lex/PreprocessingRecord.cpp [442/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Lex/CMakeFiles/obj.clangLex.dir/PPLexerChange.cpp.o -MF lib/Lex/CMakeFiles/obj.clangLex.dir/PPLexerChange.cpp.o.d -o lib/Lex/CMakeFiles/obj.clangLex.dir/PPLexerChange.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Lex/PPLexerChange.cpp [443/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Lex/CMakeFiles/obj.clangLex.dir/ModuleMap.cpp.o -MF lib/Lex/CMakeFiles/obj.clangLex.dir/ModuleMap.cpp.o.d -o lib/Lex/CMakeFiles/obj.clangLex.dir/ModuleMap.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Lex/ModuleMap.cpp [444/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Lex/CMakeFiles/obj.clangLex.dir/ScratchBuffer.cpp.o -MF lib/Lex/CMakeFiles/obj.clangLex.dir/ScratchBuffer.cpp.o.d -o lib/Lex/CMakeFiles/obj.clangLex.dir/ScratchBuffer.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Lex/ScratchBuffer.cpp [445/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Lex/CMakeFiles/obj.clangLex.dir/PPDirectives.cpp.o -MF lib/Lex/CMakeFiles/obj.clangLex.dir/PPDirectives.cpp.o.d -o lib/Lex/CMakeFiles/obj.clangLex.dir/PPDirectives.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Lex/PPDirectives.cpp [446/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Lex/CMakeFiles/obj.clangLex.dir/PPMacroExpansion.cpp.o -MF lib/Lex/CMakeFiles/obj.clangLex.dir/PPMacroExpansion.cpp.o.d -o lib/Lex/CMakeFiles/obj.clangLex.dir/PPMacroExpansion.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Lex/PPMacroExpansion.cpp [447/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Lex/CMakeFiles/obj.clangLex.dir/PreprocessorLexer.cpp.o -MF lib/Lex/CMakeFiles/obj.clangLex.dir/PreprocessorLexer.cpp.o.d -o lib/Lex/CMakeFiles/obj.clangLex.dir/PreprocessorLexer.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Lex/PreprocessorLexer.cpp [448/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Lex/CMakeFiles/obj.clangLex.dir/Pragma.cpp.o -MF lib/Lex/CMakeFiles/obj.clangLex.dir/Pragma.cpp.o.d -o lib/Lex/CMakeFiles/obj.clangLex.dir/Pragma.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Lex/Pragma.cpp [449/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Lex/CMakeFiles/obj.clangLex.dir/TokenConcatenation.cpp.o -MF lib/Lex/CMakeFiles/obj.clangLex.dir/TokenConcatenation.cpp.o.d -o lib/Lex/CMakeFiles/obj.clangLex.dir/TokenConcatenation.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Lex/TokenConcatenation.cpp [450/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Lex/CMakeFiles/obj.clangLex.dir/TokenLexer.cpp.o -MF lib/Lex/CMakeFiles/obj.clangLex.dir/TokenLexer.cpp.o.d -o lib/Lex/CMakeFiles/obj.clangLex.dir/TokenLexer.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Lex/TokenLexer.cpp [451/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/lib/Lex -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Lex/CMakeFiles/obj.clangLex.dir/Preprocessor.cpp.o -MF lib/Lex/CMakeFiles/obj.clangLex.dir/Preprocessor.cpp.o.d -o lib/Lex/CMakeFiles/obj.clangLex.dir/Preprocessor.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Lex/Preprocessor.cpp [452/2013] : && /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 && : [453/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Parse -I/builddir/build/BUILD/clang-17.0.6.src/lib/Parse -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Parse/CMakeFiles/obj.clangParse.dir/ParseAST.cpp.o -MF lib/Parse/CMakeFiles/obj.clangParse.dir/ParseAST.cpp.o.d -o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseAST.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp [454/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Parse -I/builddir/build/BUILD/clang-17.0.6.src/lib/Parse -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Parse/CMakeFiles/obj.clangParse.dir/ParseCXXInlineMethods.cpp.o -MF lib/Parse/CMakeFiles/obj.clangParse.dir/ParseCXXInlineMethods.cpp.o.d -o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseCXXInlineMethods.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseCXXInlineMethods.cpp [455/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Parse -I/builddir/build/BUILD/clang-17.0.6.src/lib/Parse -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Parse/CMakeFiles/obj.clangParse.dir/ParseHLSL.cpp.o -MF lib/Parse/CMakeFiles/obj.clangParse.dir/ParseHLSL.cpp.o.d -o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseHLSL.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseHLSL.cpp [456/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Parse -I/builddir/build/BUILD/clang-17.0.6.src/lib/Parse -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Parse/CMakeFiles/obj.clangParse.dir/ParseInit.cpp.o -MF lib/Parse/CMakeFiles/obj.clangParse.dir/ParseInit.cpp.o.d -o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseInit.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseInit.cpp [457/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Parse -I/builddir/build/BUILD/clang-17.0.6.src/lib/Parse -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Parse/CMakeFiles/obj.clangParse.dir/ParseExpr.cpp.o -MF lib/Parse/CMakeFiles/obj.clangParse.dir/ParseExpr.cpp.o.d -o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseExpr.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseExpr.cpp [458/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Parse -I/builddir/build/BUILD/clang-17.0.6.src/lib/Parse -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Parse/CMakeFiles/obj.clangParse.dir/ParseExprCXX.cpp.o -MF lib/Parse/CMakeFiles/obj.clangParse.dir/ParseExprCXX.cpp.o.d -o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseExprCXX.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseExprCXX.cpp [459/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Parse -I/builddir/build/BUILD/clang-17.0.6.src/lib/Parse -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Parse/CMakeFiles/obj.clangParse.dir/ParseDeclCXX.cpp.o -MF lib/Parse/CMakeFiles/obj.clangParse.dir/ParseDeclCXX.cpp.o.d -o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseDeclCXX.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseDeclCXX.cpp [460/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Parse -I/builddir/build/BUILD/clang-17.0.6.src/lib/Parse -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Parse/CMakeFiles/obj.clangParse.dir/ParseDecl.cpp.o -MF lib/Parse/CMakeFiles/obj.clangParse.dir/ParseDecl.cpp.o.d -o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseDecl.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseDecl.cpp [461/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Parse -I/builddir/build/BUILD/clang-17.0.6.src/lib/Parse -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Parse/CMakeFiles/obj.clangParse.dir/ParseObjc.cpp.o -MF lib/Parse/CMakeFiles/obj.clangParse.dir/ParseObjc.cpp.o.d -o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseObjc.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseObjc.cpp [462/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-opcodes -I /builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Opcodes.td --write-if-changed -o lib/AST/Opcodes.inc -d lib/AST/Opcodes.inc.d [463/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-attr-doc-table -I /builddir/build/BUILD/clang-17.0.6.src/lib/AST/../../include/ -I /builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/lib/AST/../../include/clang/Basic/Attr.td --write-if-changed -o lib/AST/AttrDocTable.inc -d lib/AST/AttrDocTable.inc.d [464/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Parse -I/builddir/build/BUILD/clang-17.0.6.src/lib/Parse -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Parse/CMakeFiles/obj.clangParse.dir/ParseTentative.cpp.o -MF lib/Parse/CMakeFiles/obj.clangParse.dir/ParseTentative.cpp.o.d -o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseTentative.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseTentative.cpp [465/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Parse -I/builddir/build/BUILD/clang-17.0.6.src/lib/Parse -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Parse/CMakeFiles/obj.clangParse.dir/ParseOpenMP.cpp.o -MF lib/Parse/CMakeFiles/obj.clangParse.dir/ParseOpenMP.cpp.o.d -o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseOpenMP.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseOpenMP.cpp [466/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Parse -I/builddir/build/BUILD/clang-17.0.6.src/lib/Parse -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Parse/CMakeFiles/obj.clangParse.dir/ParsePragma.cpp.o -MF lib/Parse/CMakeFiles/obj.clangParse.dir/ParsePragma.cpp.o.d -o lib/Parse/CMakeFiles/obj.clangParse.dir/ParsePragma.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParsePragma.cpp [467/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Parse -I/builddir/build/BUILD/clang-17.0.6.src/lib/Parse -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Parse/CMakeFiles/obj.clangParse.dir/ParseTemplate.cpp.o -MF lib/Parse/CMakeFiles/obj.clangParse.dir/ParseTemplate.cpp.o.d -o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseTemplate.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseTemplate.cpp [468/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Parse -I/builddir/build/BUILD/clang-17.0.6.src/lib/Parse -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Parse/CMakeFiles/obj.clangParse.dir/ParseStmt.cpp.o -MF lib/Parse/CMakeFiles/obj.clangParse.dir/ParseStmt.cpp.o.d -o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseStmt.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseStmt.cpp [469/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/APValue.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/APValue.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/APValue.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/APValue.cpp [470/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Parse -I/builddir/build/BUILD/clang-17.0.6.src/lib/Parse -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Parse/CMakeFiles/obj.clangParse.dir/ParseStmtAsm.cpp.o -MF lib/Parse/CMakeFiles/obj.clangParse.dir/ParseStmtAsm.cpp.o.d -o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseStmtAsm.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseStmtAsm.cpp [471/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/ASTConsumer.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/ASTConsumer.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/ASTConsumer.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/ASTConsumer.cpp [472/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/ASTConcept.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/ASTConcept.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/ASTConcept.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/ASTConcept.cpp [473/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Parse -I/builddir/build/BUILD/clang-17.0.6.src/lib/Parse -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Parse/CMakeFiles/obj.clangParse.dir/Parser.cpp.o -MF lib/Parse/CMakeFiles/obj.clangParse.dir/Parser.cpp.o.d -o lib/Parse/CMakeFiles/obj.clangParse.dir/Parser.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/Parser.cpp [474/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/AttrDocTable.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/AttrDocTable.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/AttrDocTable.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/AttrDocTable.cpp [475/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/ASTTypeTraits.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/ASTTypeTraits.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/ASTTypeTraits.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/ASTTypeTraits.cpp [476/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/ASTDiagnostic.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/ASTDiagnostic.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/ASTDiagnostic.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/ASTDiagnostic.cpp [477/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/CommentBriefParser.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/CommentBriefParser.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/CommentBriefParser.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/CommentBriefParser.cpp [478/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/CommentCommandTraits.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/CommentCommandTraits.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/CommentCommandTraits.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/CommentCommandTraits.cpp [479/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/ASTStructuralEquivalence.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/ASTStructuralEquivalence.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/ASTStructuralEquivalence.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/ASTStructuralEquivalence.cpp [480/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/Comment.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/Comment.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/Comment.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Comment.cpp [481/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/CommentLexer.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/CommentLexer.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/CommentLexer.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/CommentLexer.cpp [482/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/CommentParser.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/CommentParser.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/CommentParser.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/CommentParser.cpp [483/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/ASTDumper.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/ASTDumper.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/ASTDumper.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/ASTDumper.cpp [484/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/ASTImporterLookupTable.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/ASTImporterLookupTable.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/ASTImporterLookupTable.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/ASTImporterLookupTable.cpp [485/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/ComparisonCategories.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/ComparisonCategories.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/ComparisonCategories.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/ComparisonCategories.cpp [486/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/DataCollection.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/DataCollection.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/DataCollection.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/DataCollection.cpp [487/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/CommentSema.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/CommentSema.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/CommentSema.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/CommentSema.cpp [488/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/ComputeDependence.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/ComputeDependence.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/ComputeDependence.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/ComputeDependence.cpp [489/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/CXXInheritance.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/CXXInheritance.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/CXXInheritance.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/CXXInheritance.cpp [490/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/DeclFriend.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/DeclFriend.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/DeclFriend.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/DeclFriend.cpp [491/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/DeclarationName.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/DeclarationName.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/DeclarationName.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/DeclarationName.cpp [492/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/DeclGroup.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/DeclGroup.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/DeclGroup.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/DeclGroup.cpp [493/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/ASTImporter.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/ASTImporter.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/ASTImporter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/ASTImporter.cpp [494/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/DeclBase.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/DeclBase.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/DeclBase.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/DeclBase.cpp [495/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/Decl.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/Decl.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/Decl.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Decl.cpp [496/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/DeclCXX.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/DeclCXX.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/DeclCXX.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/DeclCXX.cpp [497/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/DeclOpenMP.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/DeclOpenMP.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/DeclOpenMP.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/DeclOpenMP.cpp [498/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/DeclObjC.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/DeclObjC.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/DeclObjC.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/DeclObjC.cpp [499/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/ASTContext.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/ASTContext.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/ASTContext.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/ASTContext.cpp [500/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/AttrImpl.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/AttrImpl.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/AttrImpl.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/AttrImpl.cpp [501/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/DeclTemplate.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/DeclTemplate.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/DeclTemplate.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/DeclTemplate.cpp [502/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/ExprConcepts.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/ExprConcepts.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/ExprConcepts.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/ExprConcepts.cpp [503/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/ExprClassification.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/ExprClassification.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/ExprClassification.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/ExprClassification.cpp [504/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/DeclPrinter.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/DeclPrinter.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/DeclPrinter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/DeclPrinter.cpp [505/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/ExprObjC.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/ExprObjC.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/ExprObjC.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/ExprObjC.cpp [506/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/ExternalASTSource.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/ExternalASTSource.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/ExternalASTSource.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/ExternalASTSource.cpp [507/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/FormatString.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/FormatString.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/FormatString.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/FormatString.cpp [508/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/ExprCXX.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/ExprCXX.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/ExprCXX.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/ExprCXX.cpp [509/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/ExternalASTMerger.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/ExternalASTMerger.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/ExternalASTMerger.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/ExternalASTMerger.cpp [510/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/InheritViz.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/InheritViz.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/InheritViz.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/InheritViz.cpp [511/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/Interp/ByteCodeGenError.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/Interp/ByteCodeGenError.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/ByteCodeGenError.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeGenError.cpp [512/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Descriptor.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Descriptor.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Descriptor.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Descriptor.cpp [513/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/Expr.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/Expr.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/Expr.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Expr.cpp [514/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/ParentMapContext.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/ParentMapContext.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/ParentMapContext.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/ParentMapContext.cpp [515/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Frame.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Frame.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Frame.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Frame.cpp [516/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/Interp/ByteCodeEmitter.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/Interp/ByteCodeEmitter.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/ByteCodeEmitter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeEmitter.cpp [517/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/Interp/ByteCodeStmtGen.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/Interp/ByteCodeStmtGen.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/ByteCodeStmtGen.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeStmtGen.cpp [518/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Floating.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Floating.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Floating.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Floating.cpp [519/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Context.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Context.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Context.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Context.cpp [520/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Function.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Function.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Function.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Function.cpp [521/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/Interp/InterpBuiltin.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/Interp/InterpBuiltin.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/InterpBuiltin.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/InterpBuiltin.cpp [522/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/Interp/ByteCodeExprGen.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/Interp/ByteCodeExprGen.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/ByteCodeExprGen.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp [523/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/Interp/InterpBlock.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/Interp/InterpBlock.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/InterpBlock.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/InterpBlock.cpp [524/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Disasm.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Disasm.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Disasm.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Disasm.cpp [525/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/Interp/InterpStack.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/Interp/InterpStack.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/InterpStack.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/InterpStack.cpp [526/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/Interp/InterpState.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/Interp/InterpState.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/InterpState.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/InterpState.cpp [527/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/Interp/InterpFrame.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/Interp/InterpFrame.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/InterpFrame.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/InterpFrame.cpp [528/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Pointer.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Pointer.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Pointer.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Pointer.cpp [529/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/Interp/PrimType.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/Interp/PrimType.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/PrimType.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/PrimType.cpp [530/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Source.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Source.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Source.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Source.cpp [531/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Record.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Record.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Record.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Record.cpp [532/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/Interp/State.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/Interp/State.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/State.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/State.cpp [533/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Program.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Program.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Program.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.cpp [534/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/ItaniumCXXABI.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/ItaniumCXXABI.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/ItaniumCXXABI.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/ItaniumCXXABI.cpp [535/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/Mangle.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/Mangle.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/Mangle.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Mangle.cpp [536/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/MicrosoftCXXABI.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/MicrosoftCXXABI.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/MicrosoftCXXABI.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/MicrosoftCXXABI.cpp [537/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/Interp/EvalEmitter.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/Interp/EvalEmitter.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/EvalEmitter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/EvalEmitter.cpp In file included from /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/EvalEmitter.cpp:11: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h: In function 'clang::interp::InitGlobalTemp<(clang::interp::PrimType)8, clang::interp::Boolean>(clang::interp::InterpState&, clang::interp::CodePtr, unsigned int, clang::LifetimeExtendedTemporaryDecl const*)bool [clone .isra.0]': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:964:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 964 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ In file included from /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/InterpFrame.h:17, from /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/InterpState.h:18, from /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/EvalEmitter.h:19, from /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/EvalEmitter.cpp:9: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ In function 'clang::interp::InitGlobal<(clang::interp::PrimType)8, clang::interp::Boolean>(clang::interp::InterpState&, clang::interp::CodePtr, unsigned int)bool', inlined from 'clang::interp::EvalEmitter::emitInitGlobalBool(unsigned int, clang::interp::SourceInfo const&)' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'clang::interp::EvalEmitter::emitInitGlobalBool(unsigned int, clang::interp::SourceInfo const&)' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10645:6: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'clang::interp::EvalEmitter::emitInitGlobalBool(unsigned int, clang::interp::SourceInfo const&)': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ In function 'clang::interp::InitGlobal<(clang::interp::PrimType)11, clang::interp::FunctionPointer>(clang::interp::InterpState&, clang::interp::CodePtr, unsigned int)bool', inlined from 'clang::interp::EvalEmitter::emitInitGlobalFnPtr(unsigned int, clang::interp::SourceInfo const&)' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10658:30, inlined from 'clang::interp::EvalEmitter::emitInitGlobalFnPtr(unsigned int, clang::interp::SourceInfo const&)' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10655:6, inlined from 'clang::interp::EvalEmitter::emitInitGlobal(clang::interp::PrimType, unsigned int, clang::interp::SourceInfo const&)' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10559:31: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'clang::interp::EvalEmitter::emitInitGlobal(clang::interp::PrimType, unsigned int, clang::interp::SourceInfo const&)': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ In function 'clang::interp::InitGlobal<(clang::interp::PrimType)8, clang::interp::Boolean>(clang::interp::InterpState&, clang::interp::CodePtr, unsigned int)bool', inlined from 'clang::interp::EvalEmitter::emitInitGlobalBool(unsigned int, clang::interp::SourceInfo const&)' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'clang::interp::EvalEmitter::emitInitGlobalBool(unsigned int, clang::interp::SourceInfo const&)' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10645:6, inlined from 'clang::interp::EvalEmitter::emitInitGlobal(clang::interp::PrimType, unsigned int, clang::interp::SourceInfo const&)' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10555:30: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'clang::interp::EvalEmitter::emitInitGlobal(clang::interp::PrimType, unsigned int, clang::interp::SourceInfo const&)': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ In function 'clang::interp::InitGlobal<(clang::interp::PrimType)7, clang::interp::Integral<64u, false> >(clang::interp::InterpState&, clang::interp::CodePtr, unsigned int)bool', inlined from 'clang::interp::EvalEmitter::emitInitGlobalUint64(unsigned int, clang::interp::SourceInfo const&)' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10643:31, inlined from 'clang::interp::EvalEmitter::emitInitGlobalUint64(unsigned int, clang::interp::SourceInfo const&)' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10640:6, inlined from 'clang::interp::EvalEmitter::emitInitGlobal(clang::interp::PrimType, unsigned int, clang::interp::SourceInfo const&)' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10553:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'clang::interp::EvalEmitter::emitInitGlobal(clang::interp::PrimType, unsigned int, clang::interp::SourceInfo const&)': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ In function 'clang::interp::InitGlobal<(clang::interp::PrimType)6, clang::interp::Integral<64u, true> >(clang::interp::InterpState&, clang::interp::CodePtr, unsigned int)bool', inlined from 'clang::interp::EvalEmitter::emitInitGlobalSint64(unsigned int, clang::interp::SourceInfo const&)' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10638:31, inlined from 'clang::interp::EvalEmitter::emitInitGlobalSint64(unsigned int, clang::interp::SourceInfo const&)' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10635:6, inlined from 'clang::interp::EvalEmitter::emitInitGlobal(clang::interp::PrimType, unsigned int, clang::interp::SourceInfo const&)' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10551:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'clang::interp::EvalEmitter::emitInitGlobal(clang::interp::PrimType, unsigned int, clang::interp::SourceInfo const&)': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ In function 'clang::interp::InitGlobal<(clang::interp::PrimType)5, clang::interp::Integral<32u, false> >(clang::interp::InterpState&, clang::interp::CodePtr, unsigned int)bool', inlined from 'clang::interp::EvalEmitter::emitInitGlobalUint32(unsigned int, clang::interp::SourceInfo const&)' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10633:31, inlined from 'clang::interp::EvalEmitter::emitInitGlobalUint32(unsigned int, clang::interp::SourceInfo const&)' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10630:6, inlined from 'clang::interp::EvalEmitter::emitInitGlobal(clang::interp::PrimType, unsigned int, clang::interp::SourceInfo const&)' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10549:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 4 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'clang::interp::EvalEmitter::emitInitGlobal(clang::interp::PrimType, unsigned int, clang::interp::SourceInfo const&)': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ In function 'clang::interp::InitGlobal<(clang::interp::PrimType)4, clang::interp::Integral<32u, true> >(clang::interp::InterpState&, clang::interp::CodePtr, unsigned int)bool', inlined from 'clang::interp::EvalEmitter::emitInitGlobalSint32(unsigned int, clang::interp::SourceInfo const&)' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10628:31, inlined from 'clang::interp::EvalEmitter::emitInitGlobalSint32(unsigned int, clang::interp::SourceInfo const&)' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10625:6, inlined from 'clang::interp::EvalEmitter::emitInitGlobal(clang::interp::PrimType, unsigned int, clang::interp::SourceInfo const&)' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10547:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 4 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'clang::interp::EvalEmitter::emitInitGlobal(clang::interp::PrimType, unsigned int, clang::interp::SourceInfo const&)': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ In function 'clang::interp::InitGlobal<(clang::interp::PrimType)3, clang::interp::Integral<16u, false> >(clang::interp::InterpState&, clang::interp::CodePtr, unsigned int)bool', inlined from 'clang::interp::EvalEmitter::emitInitGlobalUint16(unsigned int, clang::interp::SourceInfo const&)' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10623:31, inlined from 'clang::interp::EvalEmitter::emitInitGlobalUint16(unsigned int, clang::interp::SourceInfo const&)' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10620:6, inlined from 'clang::interp::EvalEmitter::emitInitGlobal(clang::interp::PrimType, unsigned int, clang::interp::SourceInfo const&)' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10545:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 2 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'clang::interp::EvalEmitter::emitInitGlobal(clang::interp::PrimType, unsigned int, clang::interp::SourceInfo const&)': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ In function 'clang::interp::InitGlobal<(clang::interp::PrimType)2, clang::interp::Integral<16u, true> >(clang::interp::InterpState&, clang::interp::CodePtr, unsigned int)bool', inlined from 'clang::interp::EvalEmitter::emitInitGlobalSint16(unsigned int, clang::interp::SourceInfo const&)' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10618:31, inlined from 'clang::interp::EvalEmitter::emitInitGlobalSint16(unsigned int, clang::interp::SourceInfo const&)' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10615:6, inlined from 'clang::interp::EvalEmitter::emitInitGlobal(clang::interp::PrimType, unsigned int, clang::interp::SourceInfo const&)' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10543:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 2 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'clang::interp::EvalEmitter::emitInitGlobal(clang::interp::PrimType, unsigned int, clang::interp::SourceInfo const&)': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ In function 'clang::interp::InitGlobal<(clang::interp::PrimType)1, clang::interp::Integral<8u, false> >(clang::interp::InterpState&, clang::interp::CodePtr, unsigned int)bool', inlined from 'clang::interp::EvalEmitter::emitInitGlobalUint8(unsigned int, clang::interp::SourceInfo const&)' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10613:30, inlined from 'clang::interp::EvalEmitter::emitInitGlobalUint8(unsigned int, clang::interp::SourceInfo const&)' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10610:6, inlined from 'clang::interp::EvalEmitter::emitInitGlobal(clang::interp::PrimType, unsigned int, clang::interp::SourceInfo const&)' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10541:31: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'clang::interp::EvalEmitter::emitInitGlobal(clang::interp::PrimType, unsigned int, clang::interp::SourceInfo const&)': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ In function 'clang::interp::InitGlobal<(clang::interp::PrimType)0, clang::interp::Integral<8u, true> >(clang::interp::InterpState&, clang::interp::CodePtr, unsigned int)bool', inlined from 'clang::interp::EvalEmitter::emitInitGlobalSint8(unsigned int, clang::interp::SourceInfo const&)' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10608:30, inlined from 'clang::interp::EvalEmitter::emitInitGlobalSint8(unsigned int, clang::interp::SourceInfo const&)' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10605:6, inlined from 'clang::interp::EvalEmitter::emitInitGlobal(clang::interp::PrimType, unsigned int, clang::interp::SourceInfo const&)' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10539:31: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'clang::interp::EvalEmitter::emitInitGlobal(clang::interp::PrimType, unsigned int, clang::interp::SourceInfo const&)': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ [538/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Interp.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Interp.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Interp.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.cpp In file included from /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.cpp:9: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h: In function 'clang::interp::InitGlobal<(clang::interp::PrimType)8, clang::interp::Boolean>(clang::interp::InterpState&, clang::interp::CodePtr, unsigned int)bool [clone .isra.0]': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ In file included from /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/InterpFrame.h:17, from /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:20: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h: In function 'clang::interp::InitGlobalTemp<(clang::interp::PrimType)8, clang::interp::Boolean>(clang::interp::InterpState&, clang::interp::CodePtr, unsigned int, clang::LifetimeExtendedTemporaryDecl const*)bool [clone .isra.0]': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:964:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 964 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ In file included from /usr/include/c++/12/memory:75, from /usr/include/llvm/Support/Casting.h:20, from /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/LLVM.h:21, from /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/ComparisonCategories.h:17, from /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Integral.h:16, from /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Boolean.h:14, from /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:16: In member function 'std::unique_ptr >::~unique_ptr()', inlined from 'llvm::detail::DoubleAPFloat::~DoubleAPFloat()' at /usr/include/llvm/ADT/APFloat.h:668:7, inlined from 'llvm::detail::DoubleAPFloat::operator=(llvm::detail::DoubleAPFloat&&)' at /usr/include/llvm/ADT/APFloat.h:1419:25, inlined from 'llvm::detail::DoubleAPFloat::operator=(llvm::detail::DoubleAPFloat&&)' at /usr/include/llvm/ADT/APFloat.h:1417:16, inlined from 'llvm::APFloat::Storage::operator=(llvm::APFloat::Storage&&)' at /usr/include/llvm/ADT/APFloat.h:847:38, inlined from 'llvm::APFloat::Storage::operator=(llvm::APFloat::Storage&&)' at /usr/include/llvm/ADT/APFloat.h:841:14, inlined from 'llvm::APFloat::operator=(llvm::APFloat&&)' at /usr/include/llvm/ADT/APFloat.h:1304:12, inlined from 'clang::interp::Floating::operator=(clang::interp::Floating&&)' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Floating.h:26:7, inlined from 'clang::interp::InitGlobal<(clang::interp::PrimType)9, clang::interp::Floating>(clang::interp::InterpState&, clang::interp::CodePtr, unsigned int)bool [clone .isra.0]' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:32: /usr/include/c++/12/bits/unique_ptr.h:670:15: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 670 | __ptr = pointer(); | ~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In function 'clang::interp::InitGlobal<(clang::interp::PrimType)9, clang::interp::Floating>(clang::interp::InterpState&, clang::interp::CodePtr, unsigned int)bool [clone .isra.0]': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 48 into destination object 'B' of size 32 196 | Block B; | ^ [539/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/ExprConstant.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/ExprConstant.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/ExprConstant.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/ExprConstant.cpp [540/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/NSAPI.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/NSAPI.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/NSAPI.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/NSAPI.cpp [541/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/NestedNameSpecifier.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/NestedNameSpecifier.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/NestedNameSpecifier.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/NestedNameSpecifier.cpp [542/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/JSONNodeDumper.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/JSONNodeDumper.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/JSONNodeDumper.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/JSONNodeDumper.cpp [543/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/ItaniumMangle.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/ItaniumMangle.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/ItaniumMangle.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/ItaniumMangle.cpp [544/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/OSLog.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/OSLog.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/OSLog.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/OSLog.cpp [545/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/MicrosoftMangle.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/MicrosoftMangle.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/MicrosoftMangle.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/MicrosoftMangle.cpp [546/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/ParentMap.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/ParentMap.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/ParentMap.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/ParentMap.cpp [547/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/ODRDiagsEmitter.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/ODRDiagsEmitter.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/ODRDiagsEmitter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/ODRDiagsEmitter.cpp [548/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/PrintfFormatString.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/PrintfFormatString.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/PrintfFormatString.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/PrintfFormatString.cpp [549/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/ODRHash.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/ODRHash.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/ODRHash.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/ODRHash.cpp [550/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/OpenMPClause.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/OpenMPClause.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/OpenMPClause.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/OpenMPClause.cpp [551/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/QualTypeNames.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/QualTypeNames.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/QualTypeNames.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/QualTypeNames.cpp [552/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/SelectorLocationsKind.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/SelectorLocationsKind.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/SelectorLocationsKind.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/SelectorLocationsKind.cpp [553/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/ScanfFormatString.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/ScanfFormatString.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/ScanfFormatString.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/ScanfFormatString.cpp [554/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/RecordLayout.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/RecordLayout.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/RecordLayout.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/RecordLayout.cpp [555/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/Randstruct.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/Randstruct.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/Randstruct.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Randstruct.cpp [556/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/RawCommentList.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/RawCommentList.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/RawCommentList.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/RawCommentList.cpp [557/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/StmtIterator.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/StmtIterator.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/StmtIterator.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/StmtIterator.cpp [558/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/StmtCXX.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/StmtCXX.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/StmtCXX.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/StmtCXX.cpp [559/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/StmtObjC.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/StmtObjC.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/StmtObjC.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/StmtObjC.cpp [560/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/StmtViz.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/StmtViz.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/StmtViz.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/StmtViz.cpp [561/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/RecordLayoutBuilder.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/RecordLayoutBuilder.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/RecordLayoutBuilder.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/RecordLayoutBuilder.cpp [562/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/TemplateBase.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/TemplateBase.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/TemplateBase.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/TemplateBase.cpp [563/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/TemplateName.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/TemplateName.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/TemplateName.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/TemplateName.cpp [564/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/Stmt.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/Stmt.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/Stmt.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Stmt.cpp [565/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/StmtOpenMP.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/StmtOpenMP.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/StmtOpenMP.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/StmtOpenMP.cpp [566/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/StmtProfile.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/StmtProfile.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/StmtProfile.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/StmtProfile.cpp [567/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/StmtPrinter.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/StmtPrinter.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/StmtPrinter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/StmtPrinter.cpp [568/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/VTTBuilder.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/VTTBuilder.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/VTTBuilder.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/VTTBuilder.cpp [569/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/TypeLoc.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/TypeLoc.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/TypeLoc.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/TypeLoc.cpp [570/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/Type.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/Type.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/Type.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Type.cpp [571/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/TypePrinter.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/TypePrinter.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/TypePrinter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/TypePrinter.cpp [572/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/TextNodeDumper.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/TextNodeDumper.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/TextNodeDumper.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/TextNodeDumper.cpp [573/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/lib/AST -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/AST/CMakeFiles/obj.clangAST.dir/VTableBuilder.cpp.o -MF lib/AST/CMakeFiles/obj.clangAST.dir/VTableBuilder.cpp.o.d -o lib/AST/CMakeFiles/obj.clangAST.dir/VTableBuilder.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/AST/VTableBuilder.cpp [574/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/ASTMatchers/Dynamic -I/builddir/build/BUILD/clang-17.0.6.src/lib/ASTMatchers/Dynamic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ASTMatchers/Dynamic/CMakeFiles/obj.clangDynamicASTMatchers.dir/Diagnostics.cpp.o -MF lib/ASTMatchers/Dynamic/CMakeFiles/obj.clangDynamicASTMatchers.dir/Diagnostics.cpp.o.d -o lib/ASTMatchers/Dynamic/CMakeFiles/obj.clangDynamicASTMatchers.dir/Diagnostics.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ASTMatchers/Dynamic/Diagnostics.cpp [575/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/ASTMatchers -I/builddir/build/BUILD/clang-17.0.6.src/lib/ASTMatchers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ASTMatchers/CMakeFiles/obj.clangASTMatchers.dir/GtestMatchers.cpp.o -MF lib/ASTMatchers/CMakeFiles/obj.clangASTMatchers.dir/GtestMatchers.cpp.o.d -o lib/ASTMatchers/CMakeFiles/obj.clangASTMatchers.dir/GtestMatchers.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ASTMatchers/GtestMatchers.cpp [576/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/ASTMatchers -I/builddir/build/BUILD/clang-17.0.6.src/lib/ASTMatchers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ASTMatchers/CMakeFiles/obj.clangASTMatchers.dir/ASTMatchersInternal.cpp.o -MF lib/ASTMatchers/CMakeFiles/obj.clangASTMatchers.dir/ASTMatchersInternal.cpp.o.d -o lib/ASTMatchers/CMakeFiles/obj.clangASTMatchers.dir/ASTMatchersInternal.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ASTMatchers/ASTMatchersInternal.cpp [577/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-clang-opencl-builtins -I /builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/OpenCLBuiltins.td --write-if-changed -o lib/Sema/OpenCLBuiltins.inc -d lib/Sema/OpenCLBuiltins.inc.d [578/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/ASTMatchers/Dynamic -I/builddir/build/BUILD/clang-17.0.6.src/lib/ASTMatchers/Dynamic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ASTMatchers/Dynamic/CMakeFiles/obj.clangDynamicASTMatchers.dir/Marshallers.cpp.o -MF lib/ASTMatchers/Dynamic/CMakeFiles/obj.clangDynamicASTMatchers.dir/Marshallers.cpp.o.d -o lib/ASTMatchers/Dynamic/CMakeFiles/obj.clangDynamicASTMatchers.dir/Marshallers.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ASTMatchers/Dynamic/Marshallers.cpp [579/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/ASTMatchers/Dynamic -I/builddir/build/BUILD/clang-17.0.6.src/lib/ASTMatchers/Dynamic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ASTMatchers/Dynamic/CMakeFiles/obj.clangDynamicASTMatchers.dir/Parser.cpp.o -MF lib/ASTMatchers/Dynamic/CMakeFiles/obj.clangDynamicASTMatchers.dir/Parser.cpp.o.d -o lib/ASTMatchers/Dynamic/CMakeFiles/obj.clangDynamicASTMatchers.dir/Parser.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ASTMatchers/Dynamic/Parser.cpp [580/2013] : && /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 && : [581/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/ASTMatchers/Dynamic -I/builddir/build/BUILD/clang-17.0.6.src/lib/ASTMatchers/Dynamic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ASTMatchers/Dynamic/CMakeFiles/obj.clangDynamicASTMatchers.dir/VariantValue.cpp.o -MF lib/ASTMatchers/Dynamic/CMakeFiles/obj.clangDynamicASTMatchers.dir/VariantValue.cpp.o.d -o lib/ASTMatchers/Dynamic/CMakeFiles/obj.clangDynamicASTMatchers.dir/VariantValue.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ASTMatchers/Dynamic/VariantValue.cpp [582/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CrossTU -I/builddir/build/BUILD/clang-17.0.6.src/lib/CrossTU -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CrossTU/CMakeFiles/obj.clangCrossTU.dir/CrossTranslationUnit.cpp.o -MF lib/CrossTU/CMakeFiles/obj.clangCrossTU.dir/CrossTranslationUnit.cpp.o.d -o lib/CrossTU/CMakeFiles/obj.clangCrossTU.dir/CrossTranslationUnit.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CrossTU/CrossTranslationUnit.cpp [583/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/ASTMatchers -I/builddir/build/BUILD/clang-17.0.6.src/lib/ASTMatchers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ASTMatchers/CMakeFiles/obj.clangASTMatchers.dir/ASTMatchFinder.cpp.o -MF lib/ASTMatchers/CMakeFiles/obj.clangASTMatchers.dir/ASTMatchFinder.cpp.o.d -o lib/ASTMatchers/CMakeFiles/obj.clangASTMatchers.dir/ASTMatchFinder.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ASTMatchers/ASTMatchFinder.cpp [584/2013] : && /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 && : [585/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/DeclSpec.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/DeclSpec.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/DeclSpec.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/DeclSpec.cpp [586/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/CodeCompleteConsumer.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/CodeCompleteConsumer.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/CodeCompleteConsumer.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/CodeCompleteConsumer.cpp [587/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/IdentifierResolver.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/IdentifierResolver.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/IdentifierResolver.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/IdentifierResolver.cpp [588/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/Scope.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/Scope.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/Scope.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/Scope.cpp [589/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/DelayedDiagnostic.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/DelayedDiagnostic.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/DelayedDiagnostic.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/DelayedDiagnostic.cpp [590/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/HLSLExternalSemaSource.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/HLSLExternalSemaSource.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/HLSLExternalSemaSource.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/HLSLExternalSemaSource.cpp [591/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/MultiplexExternalSemaSource.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/MultiplexExternalSemaSource.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/MultiplexExternalSemaSource.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/MultiplexExternalSemaSource.cpp [592/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/ScopeInfo.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/ScopeInfo.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/ScopeInfo.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/ScopeInfo.cpp [593/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/JumpDiagnostics.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/JumpDiagnostics.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/JumpDiagnostics.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/JumpDiagnostics.cpp [594/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaAccess.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaAccess.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaAccess.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaAccess.cpp [595/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/AnalysisBasedWarnings.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/AnalysisBasedWarnings.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/AnalysisBasedWarnings.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/AnalysisBasedWarnings.cpp [596/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/ParsedAttr.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/ParsedAttr.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/ParsedAttr.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/ParsedAttr.cpp [597/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaCXXScopeSpec.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaCXXScopeSpec.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaCXXScopeSpec.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaCXXScopeSpec.cpp [598/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaAttr.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaAttr.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaAttr.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaAttr.cpp [599/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaConsumer.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaConsumer.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaConsumer.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaConsumer.cpp [600/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/Sema.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/Sema.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/Sema.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/Sema.cpp [601/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaCast.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaCast.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaCast.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaCast.cpp [602/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaCoroutine.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaCoroutine.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaCoroutine.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaCoroutine.cpp [603/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaCUDA.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaCUDA.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaCUDA.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaCUDA.cpp [604/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaAvailability.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaAvailability.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaAvailability.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaAvailability.cpp [605/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaConcept.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaConcept.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaConcept.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaConcept.cpp [606/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaCodeComplete.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaCodeComplete.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaCodeComplete.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaCodeComplete.cpp [607/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaChecking.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaChecking.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaChecking.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaChecking.cpp [608/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaExceptionSpec.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaExceptionSpec.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaExceptionSpec.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaExceptionSpec.cpp [609/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaDeclObjC.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaDeclObjC.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaDeclObjC.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaDeclObjC.cpp [610/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaDeclAttr.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaDeclAttr.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaDeclAttr.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaDeclAttr.cpp [611/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaExprMember.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaExprMember.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaExprMember.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaExprMember.cpp [612/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaDecl.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaDecl.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaDecl.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaDecl.cpp [613/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/ASTMatchers/Dynamic -I/builddir/build/BUILD/clang-17.0.6.src/lib/ASTMatchers/Dynamic -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ASTMatchers/Dynamic/CMakeFiles/obj.clangDynamicASTMatchers.dir/Registry.cpp.o -MF lib/ASTMatchers/Dynamic/CMakeFiles/obj.clangDynamicASTMatchers.dir/Registry.cpp.o.d -o lib/ASTMatchers/Dynamic/CMakeFiles/obj.clangDynamicASTMatchers.dir/Registry.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ASTMatchers/Dynamic/Registry.cpp [614/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaFixItUtils.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaFixItUtils.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaFixItUtils.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaFixItUtils.cpp [615/2013] : && /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 && : [616/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaHLSL.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaHLSL.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaHLSL.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaHLSL.cpp [617/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaExprObjC.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaExprObjC.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaExprObjC.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaExprObjC.cpp [618/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaDeclCXX.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaDeclCXX.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaDeclCXX.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaDeclCXX.cpp [619/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaModule.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaModule.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaModule.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaModule.cpp [620/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaLambda.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaLambda.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaLambda.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaLambda.cpp [621/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaObjCProperty.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaObjCProperty.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaObjCProperty.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaObjCProperty.cpp [622/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaInit.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaInit.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaInit.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaInit.cpp [623/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaExprCXX.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaExprCXX.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaExprCXX.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaExprCXX.cpp [624/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaPseudoObject.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaPseudoObject.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaPseudoObject.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaPseudoObject.cpp [625/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaRISCVVectorLookup.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaRISCVVectorLookup.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaRISCVVectorLookup.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaRISCVVectorLookup.cpp [626/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaLookup.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaLookup.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaLookup.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaLookup.cpp [627/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaSYCL.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaSYCL.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaSYCL.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaSYCL.cpp [628/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaStmtAttr.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaStmtAttr.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaStmtAttr.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaStmtAttr.cpp [629/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaStmtAsm.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaStmtAsm.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaStmtAsm.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaStmtAsm.cpp [630/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaOverload.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaOverload.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaOverload.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaOverload.cpp [631/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaStmt.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaStmt.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaStmt.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaStmt.cpp [632/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaTemplateVariadic.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaTemplateVariadic.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaTemplateVariadic.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaTemplateVariadic.cpp [633/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/TypeLocBuilder.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/TypeLocBuilder.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/TypeLocBuilder.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/TypeLocBuilder.cpp [634/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaExpr.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaExpr.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaExpr.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaExpr.cpp [635/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaType.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaType.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaType.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaType.cpp [636/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaOpenMP.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaOpenMP.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaOpenMP.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaOpenMP.cpp In file included from /usr/include/llvm/ADT/APSInt.h:18, from /usr/include/llvm/ADT/APFixedPoint.h:19, from /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/APValue.h:17, from /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/Decl.h:16, from /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/CoroutineStmtBuilder.h:16, from /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/TreeTransform.h:16, from /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaOpenMP.cpp:14: In member function 'llvm::APInt::~APInt()', inlined from 'llvm::APInt::~APInt()' at /usr/include/llvm/ADT/APInt.h:168:3, inlined from 'llvm::APSInt::~APSInt()' at /usr/include/llvm/ADT/APSInt.h:23:21, inlined from 'checkOMPArraySectionConstantForReduction(clang::ASTContext&, clang::OMPArraySectionExpr const*, bool&, llvm::SmallVectorImpl&)' at /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaOpenMP.cpp:19108:45, inlined from 'actOnOMPReductionKindClause(clang::Sema&, (anonymous namespace)::DSAStackTy*, llvm::omp::Clause, llvm::ArrayRef, clang::SourceLocation, clang::SourceLocation, clang::SourceLocation, clang::SourceLocation, clang::CXXScopeSpec&, clang::DeclarationNameInfo const&, llvm::ArrayRef, (anonymous namespace)::ReductionData&) [clone .constprop.0]' at /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaOpenMP.cpp:19485:68: /usr/include/llvm/ADT/APInt.h:170:18: warning: 'operator delete[](void*)' called on a pointer to an unallocated object '1B' [-Wfree-nonheap-object] 170 | delete[] U.pVal; | ^~~~ In member function 'llvm::APInt::~APInt()', inlined from 'llvm::APInt::~APInt()' at /usr/include/llvm/ADT/APInt.h:168:3, inlined from 'llvm::APSInt::~APSInt()' at /usr/include/llvm/ADT/APSInt.h:23:21, inlined from 'checkOMPArraySectionConstantForReduction(clang::ASTContext&, clang::OMPArraySectionExpr const*, bool&, llvm::SmallVectorImpl&)' at /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaOpenMP.cpp:19127:45, inlined from 'actOnOMPReductionKindClause(clang::Sema&, (anonymous namespace)::DSAStackTy*, llvm::omp::Clause, llvm::ArrayRef, clang::SourceLocation, clang::SourceLocation, clang::SourceLocation, clang::SourceLocation, clang::CXXScopeSpec&, clang::DeclarationNameInfo const&, llvm::ArrayRef, (anonymous namespace)::ReductionData&) [clone .constprop.0]' at /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaOpenMP.cpp:19485:68: /usr/include/llvm/ADT/APInt.h:170:18: warning: 'operator delete[](void*)' called on a pointer to an unallocated object '1B' [-Wfree-nonheap-object] 170 | delete[] U.pVal; | ^~~~ [637/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaTemplateInstantiate.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaTemplateInstantiate.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaTemplateInstantiate.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaTemplateInstantiate.cpp [638/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaTemplateInstantiateDecl.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaTemplateInstantiateDecl.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaTemplateInstantiateDecl.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaTemplateInstantiateDecl.cpp [639/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaTemplateDeduction.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaTemplateDeduction.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaTemplateDeduction.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaTemplateDeduction.cpp [640/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/ABIInfo.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/ABIInfo.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/ABIInfo.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/ABIInfo.cpp [641/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/ABIInfoImpl.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/ABIInfoImpl.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/ABIInfoImpl.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/ABIInfoImpl.cpp [642/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGAtomic.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGAtomic.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGAtomic.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGAtomic.cpp [643/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/BackendUtil.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/BackendUtil.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/BackendUtil.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/BackendUtil.cpp [644/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCUDARuntime.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCUDARuntime.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCUDARuntime.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGCUDARuntime.cpp [645/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGBlocks.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGBlocks.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGBlocks.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGBlocks.cpp [646/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCXX.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCXX.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCXX.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGCXX.cpp [647/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/lib/Sema -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Sema/CMakeFiles/obj.clangSema.dir/SemaTemplate.cpp.o -MF lib/Sema/CMakeFiles/obj.clangSema.dir/SemaTemplate.cpp.o.d -o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaTemplate.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaTemplate.cpp [648/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCUDANV.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCUDANV.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCUDANV.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGCUDANV.cpp [649/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCXXABI.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCXXABI.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCXXABI.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGCXXABI.cpp [650/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCleanup.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCleanup.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCleanup.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGCleanup.cpp [651/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCoroutine.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCoroutine.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCoroutine.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGCoroutine.cpp [652/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGClass.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGClass.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGClass.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGClass.cpp [653/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGDecl.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGDecl.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGDecl.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGDecl.cpp [654/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGDeclCXX.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGDeclCXX.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGDeclCXX.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGDeclCXX.cpp [655/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCall.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCall.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCall.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGCall.cpp [656/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGException.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGException.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGException.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGException.cpp [657/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGExprAgg.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGExprAgg.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGExprAgg.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGExprAgg.cpp [658/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGExpr.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGExpr.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGExpr.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGExpr.cpp [659/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGExprCXX.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGExprCXX.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGExprCXX.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGExprCXX.cpp [660/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGExprComplex.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGExprComplex.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGExprComplex.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGExprComplex.cpp [661/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGDebugInfo.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGDebugInfo.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGDebugInfo.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGDebugInfo.cpp [662/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGExprConstant.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGExprConstant.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGExprConstant.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGExprConstant.cpp [663/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGLoopInfo.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGLoopInfo.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGLoopInfo.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGLoopInfo.cpp [664/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGGPUBuiltin.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGGPUBuiltin.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGGPUBuiltin.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGGPUBuiltin.cpp [665/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGHLSLRuntime.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGHLSLRuntime.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGHLSLRuntime.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGHLSLRuntime.cpp [666/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGExprScalar.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGExprScalar.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGExprScalar.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGExprScalar.cpp [667/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGNonTrivialStruct.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGNonTrivialStruct.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGNonTrivialStruct.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGNonTrivialStruct.cpp [668/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGObjC.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGObjC.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGObjC.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGObjC.cpp [669/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGObjCRuntime.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGObjCRuntime.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGObjCRuntime.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGObjCRuntime.cpp [670/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGOpenCLRuntime.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGOpenCLRuntime.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGOpenCLRuntime.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGOpenCLRuntime.cpp [671/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGObjCGNU.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGObjCGNU.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGObjCGNU.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGObjCGNU.cpp [672/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGObjCMac.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGObjCMac.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGObjCMac.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGObjCMac.cpp [673/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGRecordLayoutBuilder.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGRecordLayoutBuilder.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGRecordLayoutBuilder.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGRecordLayoutBuilder.cpp [674/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGVTT.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGVTT.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGVTT.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGVTT.cpp [675/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGOpenMPRuntimeGPU.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGOpenMPRuntimeGPU.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGOpenMPRuntimeGPU.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGOpenMPRuntimeGPU.cpp [676/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGStmt.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGStmt.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGStmt.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGStmt.cpp [677/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGVTables.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGVTables.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGVTables.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGVTables.cpp [678/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CodeGenABITypes.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CodeGenABITypes.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CodeGenABITypes.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CodeGenABITypes.cpp [679/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGOpenMPRuntime.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGOpenMPRuntime.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGOpenMPRuntime.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGOpenMPRuntime.cpp [680/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CodeGenTBAA.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CodeGenTBAA.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CodeGenTBAA.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CodeGenTBAA.cpp [681/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGStmtOpenMP.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGStmtOpenMP.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGStmtOpenMP.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGStmtOpenMP.cpp [682/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CodeGenFunction.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CodeGenFunction.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CodeGenFunction.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CodeGenFunction.cpp [683/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CodeGenAction.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CodeGenAction.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CodeGenAction.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CodeGenAction.cpp [684/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/ConstantInitBuilder.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/ConstantInitBuilder.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/ConstantInitBuilder.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/ConstantInitBuilder.cpp [685/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CodeGenTypes.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CodeGenTypes.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CodeGenTypes.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CodeGenTypes.cpp [686/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/MacroPPCallbacks.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/MacroPPCallbacks.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/MacroPPCallbacks.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/MacroPPCallbacks.cpp [687/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CodeGenPGO.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CodeGenPGO.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CodeGenPGO.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CodeGenPGO.cpp [688/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/ItaniumCXXABI.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/ItaniumCXXABI.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/ItaniumCXXABI.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/ItaniumCXXABI.cpp [689/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/ModuleBuilder.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/ModuleBuilder.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/ModuleBuilder.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/ModuleBuilder.cpp [690/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CoverageMappingGen.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CoverageMappingGen.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CoverageMappingGen.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CoverageMappingGen.cpp [691/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/PatternInit.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/PatternInit.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/PatternInit.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/PatternInit.cpp [692/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/MicrosoftCXXABI.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/MicrosoftCXXABI.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/MicrosoftCXXABI.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/MicrosoftCXXABI.cpp [693/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CodeGenModule.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CodeGenModule.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CodeGenModule.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CodeGenModule.cpp [694/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/SanitizerMetadata.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/SanitizerMetadata.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/SanitizerMetadata.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/SanitizerMetadata.cpp [695/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/SwiftCallingConv.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/SwiftCallingConv.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/SwiftCallingConv.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/SwiftCallingConv.cpp [696/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/TargetInfo.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/TargetInfo.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/TargetInfo.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/TargetInfo.cpp [697/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/AArch64.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/AArch64.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/AArch64.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/Targets/AArch64.cpp [698/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/ObjectFilePCHContainerOperations.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/ObjectFilePCHContainerOperations.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/ObjectFilePCHContainerOperations.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/ObjectFilePCHContainerOperations.cpp [699/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/AMDGPU.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/AMDGPU.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/AMDGPU.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/Targets/AMDGPU.cpp [700/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/ARC.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/ARC.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/ARC.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/Targets/ARC.cpp [701/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/AVR.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/AVR.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/AVR.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/Targets/AVR.cpp [702/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/ARM.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/ARM.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/ARM.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/Targets/ARM.cpp [703/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGBuiltin.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGBuiltin.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGBuiltin.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/CGBuiltin.cpp [704/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/BPF.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/BPF.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/BPF.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/Targets/BPF.cpp [705/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/CSKY.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/CSKY.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/CSKY.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/Targets/CSKY.cpp [706/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/Hexagon.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/Hexagon.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/Hexagon.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/Targets/Hexagon.cpp [707/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/Lanai.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/Lanai.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/Lanai.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/Targets/Lanai.cpp [708/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/LoongArch.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/LoongArch.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/LoongArch.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/Targets/LoongArch.cpp [709/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/M68k.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/M68k.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/M68k.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/Targets/M68k.cpp [710/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/MSP430.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/MSP430.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/MSP430.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/Targets/MSP430.cpp [711/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/Mips.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/Mips.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/Mips.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/Targets/Mips.cpp [712/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/NVPTX.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/NVPTX.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/NVPTX.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/Targets/NVPTX.cpp [713/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/PNaCl.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/PNaCl.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/PNaCl.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/Targets/PNaCl.cpp [714/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/PPC.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/PPC.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/PPC.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/Targets/PPC.cpp [715/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/RISCV.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/RISCV.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/RISCV.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/Targets/RISCV.cpp [716/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/SPIR.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/SPIR.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/SPIR.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/Targets/SPIR.cpp [717/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/Sparc.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/Sparc.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/Sparc.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/Targets/Sparc.cpp [718/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/TCE.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/TCE.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/TCE.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/Targets/TCE.cpp [719/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/SystemZ.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/SystemZ.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/SystemZ.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/Targets/SystemZ.cpp [720/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/VarBypassDetector.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/VarBypassDetector.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/VarBypassDetector.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/VarBypassDetector.cpp [721/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/VE.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/VE.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/VE.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/Targets/VE.cpp [722/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/BodyFarm.cpp.o -MF lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/BodyFarm.cpp.o.d -o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/BodyFarm.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/BodyFarm.cpp [723/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/WebAssembly.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/WebAssembly.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/WebAssembly.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/Targets/WebAssembly.cpp [724/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CFGReachabilityAnalysis.cpp.o -MF lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CFGReachabilityAnalysis.cpp.o.d -o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CFGReachabilityAnalysis.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/CFGReachabilityAnalysis.cpp [725/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/AnalysisDeclContext.cpp.o -MF lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/AnalysisDeclContext.cpp.o.d -o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/AnalysisDeclContext.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/AnalysisDeclContext.cpp [726/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CocoaConventions.cpp.o -MF lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CocoaConventions.cpp.o.d -o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CocoaConventions.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/CocoaConventions.cpp [727/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CFGStmtMap.cpp.o -MF lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CFGStmtMap.cpp.o.d -o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CFGStmtMap.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/CFGStmtMap.cpp [728/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/XCore.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/XCore.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/XCore.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/Targets/XCore.cpp [729/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CodeInjector.cpp.o -MF lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CodeInjector.cpp.o.d -o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CodeInjector.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/CodeInjector.cpp [730/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/X86.cpp.o -MF lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/X86.cpp.o.d -o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/X86.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/CodeGen/Targets/X86.cpp [731/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ConstructionContext.cpp.o -MF lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ConstructionContext.cpp.o.d -o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ConstructionContext.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/ConstructionContext.cpp [732/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CFG.cpp.o -MF lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CFG.cpp.o.d -o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CFG.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/CFG.cpp [733/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/Dominators.cpp.o -MF lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/Dominators.cpp.o.d -o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/Dominators.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/Dominators.cpp [734/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CallGraph.cpp.o -MF lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CallGraph.cpp.o.d -o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CallGraph.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/CallGraph.cpp [735/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CloneDetection.cpp.o -MF lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CloneDetection.cpp.o.d -o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CloneDetection.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/CloneDetection.cpp [736/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/Consumed.cpp.o -MF lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/Consumed.cpp.o.d -o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/Consumed.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/Consumed.cpp [737/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CalledOnceCheck.cpp.o -MF lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CalledOnceCheck.cpp.o.d -o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CalledOnceCheck.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/CalledOnceCheck.cpp [738/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ObjCNoReturn.cpp.o -MF lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ObjCNoReturn.cpp.o.d -o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ObjCNoReturn.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/ObjCNoReturn.cpp [739/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/IntervalPartition.cpp.o -MF lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/IntervalPartition.cpp.o.d -o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/IntervalPartition.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/IntervalPartition.cpp [740/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/MacroExpansionContext.cpp.o -MF lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/MacroExpansionContext.cpp.o.d -o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/MacroExpansionContext.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/MacroExpansionContext.cpp [741/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/IssueHash.cpp.o -MF lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/IssueHash.cpp.o.d -o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/IssueHash.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/IssueHash.cpp [742/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/PostOrderCFGView.cpp.o -MF lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/PostOrderCFGView.cpp.o.d -o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/PostOrderCFGView.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/PostOrderCFGView.cpp [743/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/LiveVariables.cpp.o -MF lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/LiveVariables.cpp.o.d -o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/LiveVariables.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/LiveVariables.cpp [744/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ProgramPoint.cpp.o -MF lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ProgramPoint.cpp.o.d -o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ProgramPoint.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/ProgramPoint.cpp [745/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/PathDiagnostic.cpp.o -MF lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/PathDiagnostic.cpp.o.d -o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/PathDiagnostic.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/PathDiagnostic.cpp [746/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ThreadSafetyLogical.cpp.o -MF lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ThreadSafetyLogical.cpp.o.d -o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ThreadSafetyLogical.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/ThreadSafetyLogical.cpp [747/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ReachableCode.cpp.o -MF lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ReachableCode.cpp.o.d -o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ReachableCode.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/ReachableCode.cpp [748/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ThreadSafetyTIL.cpp.o -MF lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ThreadSafetyTIL.cpp.o.d -o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ThreadSafetyTIL.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/ThreadSafetyTIL.cpp [749/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis/FlowSensitive -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/FlowSensitive -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/Arena.cpp.o -MF lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/Arena.cpp.o.d -o lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/Arena.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/FlowSensitive/Arena.cpp [750/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ThreadSafetyCommon.cpp.o -MF lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ThreadSafetyCommon.cpp.o.d -o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ThreadSafetyCommon.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/ThreadSafetyCommon.cpp [751/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis/FlowSensitive -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/FlowSensitive -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/ControlFlowContext.cpp.o -MF lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/ControlFlowContext.cpp.o.d -o lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/ControlFlowContext.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/FlowSensitive/ControlFlowContext.cpp [752/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ThreadSafety.cpp.o -MF lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ThreadSafety.cpp.o.d -o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ThreadSafety.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/ThreadSafety.cpp [753/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis/FlowSensitive -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/FlowSensitive -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/Formula.cpp.o -MF lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/Formula.cpp.o.d -o lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/Formula.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/FlowSensitive/Formula.cpp [754/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/UninitializedValues.cpp.o -MF lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/UninitializedValues.cpp.o.d -o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/UninitializedValues.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/UninitializedValues.cpp [755/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/RetainSummaryManager.cpp.o -MF lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/RetainSummaryManager.cpp.o.d -o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/RetainSummaryManager.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/RetainSummaryManager.cpp [756/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ExprMutationAnalyzer.cpp.o -MF lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ExprMutationAnalyzer.cpp.o.d -o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ExprMutationAnalyzer.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/ExprMutationAnalyzer.cpp [757/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis/FlowSensitive -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/FlowSensitive -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/DataflowAnalysisContext.cpp.o -MF lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/DataflowAnalysisContext.cpp.o.d -o lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/DataflowAnalysisContext.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/FlowSensitive/DataflowAnalysisContext.cpp [758/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis/FlowSensitive -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/FlowSensitive -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/DataflowEnvironment.cpp.o -MF lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/DataflowEnvironment.cpp.o.d -o lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/DataflowEnvironment.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/FlowSensitive/DataflowEnvironment.cpp /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/FlowSensitive/DataflowEnvironment.cpp: In member function 'void clang::dataflow::Environment::setValueStrict(const clang::Expr&, clang::dataflow::Value&)': /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/FlowSensitive/DataflowEnvironment.cpp:702:15: warning: unused variable 'ExistingVal' [-Wunused-variable] 702 | if (auto *ExistingVal = cast_or_null(getValueStrict(E))) | ^~~~~~~~~~~ /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/FlowSensitive/DataflowEnvironment.cpp:704:26: warning: unused variable 'ExistingLoc' [-Wunused-variable] 704 | if (StorageLocation *ExistingLoc = getStorageLocation(E, SkipPast::None)) | ^~~~~~~~~~~ [759/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis/FlowSensitive -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/FlowSensitive -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/Logger.cpp.o -MF lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/Logger.cpp.o.d -o lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/Logger.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/FlowSensitive/Logger.cpp [760/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis/FlowSensitive -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/FlowSensitive -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/RecordOps.cpp.o -MF lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/RecordOps.cpp.o.d -o lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/RecordOps.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/FlowSensitive/RecordOps.cpp [761/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis/FlowSensitive -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/FlowSensitive -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/Value.cpp.o -MF lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/Value.cpp.o.d -o lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/Value.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/FlowSensitive/Value.cpp [762/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis/FlowSensitive -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/FlowSensitive -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/WatchedLiteralsSolver.cpp.o -MF lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/WatchedLiteralsSolver.cpp.o.d -o lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/WatchedLiteralsSolver.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/FlowSensitive/WatchedLiteralsSolver.cpp [763/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis/FlowSensitive -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/FlowSensitive -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/DebugSupport.cpp.o -MF lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/DebugSupport.cpp.o.d -o lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/DebugSupport.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/FlowSensitive/DebugSupport.cpp [764/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis/FlowSensitive -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/FlowSensitive -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/HTMLLogger.cpp.o -MF lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/HTMLLogger.cpp.o.d -o lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/HTMLLogger.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/FlowSensitive/HTMLLogger.cpp [765/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Edit -I/builddir/build/BUILD/clang-17.0.6.src/lib/Edit -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Edit/CMakeFiles/obj.clangEdit.dir/Commit.cpp.o -MF lib/Edit/CMakeFiles/obj.clangEdit.dir/Commit.cpp.o.d -o lib/Edit/CMakeFiles/obj.clangEdit.dir/Commit.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Edit/Commit.cpp [766/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis/FlowSensitive -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/FlowSensitive -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/Transfer.cpp.o -MF lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/Transfer.cpp.o.d -o lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/Transfer.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/FlowSensitive/Transfer.cpp [767/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Edit -I/builddir/build/BUILD/clang-17.0.6.src/lib/Edit -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Edit/CMakeFiles/obj.clangEdit.dir/EditedSource.cpp.o -MF lib/Edit/CMakeFiles/obj.clangEdit.dir/EditedSource.cpp.o.d -o lib/Edit/CMakeFiles/obj.clangEdit.dir/EditedSource.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Edit/EditedSource.cpp [768/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis/FlowSensitive/Models -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/FlowSensitive/Models -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/FlowSensitive/Models/CMakeFiles/obj.clangAnalysisFlowSensitiveModels.dir/ChromiumCheckModel.cpp.o -MF lib/Analysis/FlowSensitive/Models/CMakeFiles/obj.clangAnalysisFlowSensitiveModels.dir/ChromiumCheckModel.cpp.o.d -o lib/Analysis/FlowSensitive/Models/CMakeFiles/obj.clangAnalysisFlowSensitiveModels.dir/ChromiumCheckModel.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/FlowSensitive/Models/ChromiumCheckModel.cpp [769/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/ExtractAPI -I/builddir/build/BUILD/clang-17.0.6.src/lib/ExtractAPI -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ExtractAPI/CMakeFiles/obj.clangExtractAPI.dir/APIIgnoresList.cpp.o -MF lib/ExtractAPI/CMakeFiles/obj.clangExtractAPI.dir/APIIgnoresList.cpp.o.d -o lib/ExtractAPI/CMakeFiles/obj.clangExtractAPI.dir/APIIgnoresList.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ExtractAPI/APIIgnoresList.cpp [770/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/ExtractAPI -I/builddir/build/BUILD/clang-17.0.6.src/lib/ExtractAPI -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ExtractAPI/CMakeFiles/obj.clangExtractAPI.dir/AvailabilityInfo.cpp.o -MF lib/ExtractAPI/CMakeFiles/obj.clangExtractAPI.dir/AvailabilityInfo.cpp.o.d -o lib/ExtractAPI/CMakeFiles/obj.clangExtractAPI.dir/AvailabilityInfo.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ExtractAPI/AvailabilityInfo.cpp [771/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Edit -I/builddir/build/BUILD/clang-17.0.6.src/lib/Edit -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Edit/CMakeFiles/obj.clangEdit.dir/RewriteObjCFoundationAPI.cpp.o -MF lib/Edit/CMakeFiles/obj.clangEdit.dir/RewriteObjCFoundationAPI.cpp.o.d -o lib/Edit/CMakeFiles/obj.clangEdit.dir/RewriteObjCFoundationAPI.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Edit/RewriteObjCFoundationAPI.cpp [772/2013] : && /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 && : [773/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis/FlowSensitive -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/FlowSensitive -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/TypeErasedDataflowAnalysis.cpp.o -MF lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/TypeErasedDataflowAnalysis.cpp.o.d -o lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/TypeErasedDataflowAnalysis.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/FlowSensitive/TypeErasedDataflowAnalysis.cpp [774/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Rewrite -I/builddir/build/BUILD/clang-17.0.6.src/lib/Rewrite -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Rewrite/CMakeFiles/obj.clangRewrite.dir/DeltaTree.cpp.o -MF lib/Rewrite/CMakeFiles/obj.clangRewrite.dir/DeltaTree.cpp.o.d -o lib/Rewrite/CMakeFiles/obj.clangRewrite.dir/DeltaTree.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Rewrite/DeltaTree.cpp [775/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/ExtractAPI -I/builddir/build/BUILD/clang-17.0.6.src/lib/ExtractAPI -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ExtractAPI/CMakeFiles/obj.clangExtractAPI.dir/TypedefUnderlyingTypeResolver.cpp.o -MF lib/ExtractAPI/CMakeFiles/obj.clangExtractAPI.dir/TypedefUnderlyingTypeResolver.cpp.o.d -o lib/ExtractAPI/CMakeFiles/obj.clangExtractAPI.dir/TypedefUnderlyingTypeResolver.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ExtractAPI/TypedefUnderlyingTypeResolver.cpp [776/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/ExtractAPI -I/builddir/build/BUILD/clang-17.0.6.src/lib/ExtractAPI -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ExtractAPI/CMakeFiles/obj.clangExtractAPI.dir/API.cpp.o -MF lib/ExtractAPI/CMakeFiles/obj.clangExtractAPI.dir/API.cpp.o.d -o lib/ExtractAPI/CMakeFiles/obj.clangExtractAPI.dir/API.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ExtractAPI/API.cpp [777/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Rewrite -I/builddir/build/BUILD/clang-17.0.6.src/lib/Rewrite -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Rewrite/CMakeFiles/obj.clangRewrite.dir/RewriteRope.cpp.o -MF lib/Rewrite/CMakeFiles/obj.clangRewrite.dir/RewriteRope.cpp.o.d -o lib/Rewrite/CMakeFiles/obj.clangRewrite.dir/RewriteRope.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Rewrite/RewriteRope.cpp [778/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/ExtractAPI -I/builddir/build/BUILD/clang-17.0.6.src/lib/ExtractAPI -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ExtractAPI/CMakeFiles/obj.clangExtractAPI.dir/DeclarationFragments.cpp.o -MF lib/ExtractAPI/CMakeFiles/obj.clangExtractAPI.dir/DeclarationFragments.cpp.o.d -o lib/ExtractAPI/CMakeFiles/obj.clangExtractAPI.dir/DeclarationFragments.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ExtractAPI/DeclarationFragments.cpp [779/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Rewrite -I/builddir/build/BUILD/clang-17.0.6.src/lib/Rewrite -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Rewrite/CMakeFiles/obj.clangRewrite.dir/TokenRewriter.cpp.o -MF lib/Rewrite/CMakeFiles/obj.clangRewrite.dir/TokenRewriter.cpp.o.d -o lib/Rewrite/CMakeFiles/obj.clangRewrite.dir/TokenRewriter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Rewrite/TokenRewriter.cpp [780/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Rewrite -I/builddir/build/BUILD/clang-17.0.6.src/lib/Rewrite -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Rewrite/CMakeFiles/obj.clangRewrite.dir/Rewriter.cpp.o -MF lib/Rewrite/CMakeFiles/obj.clangRewrite.dir/Rewriter.cpp.o.d -o lib/Rewrite/CMakeFiles/obj.clangRewrite.dir/Rewriter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Rewrite/Rewriter.cpp [781/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Rewrite -I/builddir/build/BUILD/clang-17.0.6.src/lib/Rewrite -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Rewrite/CMakeFiles/obj.clangRewrite.dir/HTMLRewrite.cpp.o -MF lib/Rewrite/CMakeFiles/obj.clangRewrite.dir/HTMLRewrite.cpp.o.d -o lib/Rewrite/CMakeFiles/obj.clangRewrite.dir/HTMLRewrite.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Rewrite/HTMLRewrite.cpp [782/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/ExtractAPI -I/builddir/build/BUILD/clang-17.0.6.src/lib/ExtractAPI -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ExtractAPI/CMakeFiles/obj.clangExtractAPI.dir/Serialization/SymbolGraphSerializer.cpp.o -MF lib/ExtractAPI/CMakeFiles/obj.clangExtractAPI.dir/Serialization/SymbolGraphSerializer.cpp.o.d -o lib/ExtractAPI/CMakeFiles/obj.clangExtractAPI.dir/Serialization/SymbolGraphSerializer.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp [783/2013] : && /usr/bin/cmake -E rm -f lib64/libclangRewrite.a && /usr/bin/ar Dqc lib64/libclangRewrite.a lib/Rewrite/CMakeFiles/obj.clangRewrite.dir/DeltaTree.cpp.o lib/Rewrite/CMakeFiles/obj.clangRewrite.dir/HTMLRewrite.cpp.o lib/Rewrite/CMakeFiles/obj.clangRewrite.dir/RewriteRope.cpp.o lib/Rewrite/CMakeFiles/obj.clangRewrite.dir/Rewriter.cpp.o lib/Rewrite/CMakeFiles/obj.clangRewrite.dir/TokenRewriter.cpp.o && /usr/bin/ranlib -D lib64/libclangRewrite.a && : [784/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/FileRemapper.cpp.o -MF lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/FileRemapper.cpp.o.d -o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/FileRemapper.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate/FileRemapper.cpp [785/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/PlistReporter.cpp.o -MF lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/PlistReporter.cpp.o.d -o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/PlistReporter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate/PlistReporter.cpp [786/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/ARCMTActions.cpp.o -MF lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/ARCMTActions.cpp.o.d -o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/ARCMTActions.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate/ARCMTActions.cpp [787/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis/FlowSensitive/Models -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/FlowSensitive/Models -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/FlowSensitive/Models/CMakeFiles/obj.clangAnalysisFlowSensitiveModels.dir/UncheckedOptionalAccessModel.cpp.o -MF lib/Analysis/FlowSensitive/Models/CMakeFiles/obj.clangAnalysisFlowSensitiveModels.dir/UncheckedOptionalAccessModel.cpp.o.d -o lib/Analysis/FlowSensitive/Models/CMakeFiles/obj.clangAnalysisFlowSensitiveModels.dir/UncheckedOptionalAccessModel.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/FlowSensitive/Models/UncheckedOptionalAccessModel.cpp [788/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/UnsafeBufferUsage.cpp.o -MF lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/UnsafeBufferUsage.cpp.o.d -o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/UnsafeBufferUsage.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/UnsafeBufferUsage.cpp [789/2013] : && /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 && : [790/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/ARCMT.cpp.o -MF lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/ARCMT.cpp.o.d -o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/ARCMT.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate/ARCMT.cpp [791/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransAPIUses.cpp.o -MF lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransAPIUses.cpp.o.d -o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransAPIUses.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate/TransAPIUses.cpp [792/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransARCAssign.cpp.o -MF lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransARCAssign.cpp.o.d -o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransARCAssign.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate/TransARCAssign.cpp [793/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/ExtractAPI -I/builddir/build/BUILD/clang-17.0.6.src/lib/ExtractAPI -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ExtractAPI/CMakeFiles/obj.clangExtractAPI.dir/ExtractAPIConsumer.cpp.o -MF lib/ExtractAPI/CMakeFiles/obj.clangExtractAPI.dir/ExtractAPIConsumer.cpp.o.d -o lib/ExtractAPI/CMakeFiles/obj.clangExtractAPI.dir/ExtractAPIConsumer.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ExtractAPI/ExtractAPIConsumer.cpp [794/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransEmptyStatementsAndDealloc.cpp.o -MF lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransEmptyStatementsAndDealloc.cpp.o.d -o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransEmptyStatementsAndDealloc.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate/TransEmptyStatementsAndDealloc.cpp [795/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransGCCalls.cpp.o -MF lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransGCCalls.cpp.o.d -o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransGCCalls.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate/TransGCCalls.cpp [796/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransBlockObjCVariable.cpp.o -MF lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransBlockObjCVariable.cpp.o.d -o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransBlockObjCVariable.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate/TransBlockObjCVariable.cpp [797/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransGCAttrs.cpp.o -MF lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransGCAttrs.cpp.o.d -o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransGCAttrs.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate/TransGCAttrs.cpp [798/2013] : && /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 && : [799/2013] : && /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 && : [800/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/ObjCMT.cpp.o -MF lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/ObjCMT.cpp.o.d -o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/ObjCMT.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate/ObjCMT.cpp [801/2013] : && /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 && : [802/2013] : && /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 && : [803/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransProperties.cpp.o -MF lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransProperties.cpp.o.d -o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransProperties.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate/TransProperties.cpp [804/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransAutoreleasePool.cpp.o -MF lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransAutoreleasePool.cpp.o.d -o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransAutoreleasePool.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate/TransAutoreleasePool.cpp [805/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/Action.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/Action.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/Action.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/Action.cpp [806/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/Compilation.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/Compilation.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/Compilation.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/Compilation.cpp [807/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/Distro.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/Distro.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/Distro.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/Distro.cpp [808/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransformActions.cpp.o -MF lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransformActions.cpp.o.d -o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransformActions.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate/TransformActions.cpp [809/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/DriverOptions.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/DriverOptions.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/DriverOptions.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/DriverOptions.cpp [810/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/Job.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/Job.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/Job.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/Job.cpp [811/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransProtectedScope.cpp.o -MF lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransProtectedScope.cpp.o.d -o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransProtectedScope.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate/TransProtectedScope.cpp [812/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransZeroOutPropsInDealloc.cpp.o -MF lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransZeroOutPropsInDealloc.cpp.o.d -o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransZeroOutPropsInDealloc.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate/TransZeroOutPropsInDealloc.cpp [813/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransUnusedInitDelegate.cpp.o -MF lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransUnusedInitDelegate.cpp.o.d -o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransUnusedInitDelegate.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate/TransUnusedInitDelegate.cpp [814/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransRetainReleaseDealloc.cpp.o -MF lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransRetainReleaseDealloc.cpp.o.d -o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransRetainReleaseDealloc.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate/TransRetainReleaseDealloc.cpp [815/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/Phases.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/Phases.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/Phases.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/Phases.cpp [816/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/Multilib.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/Multilib.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/Multilib.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/Multilib.cpp [817/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/MultilibBuilder.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/MultilibBuilder.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/MultilibBuilder.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/MultilibBuilder.cpp [818/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/OptionUtils.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/OptionUtils.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/OptionUtils.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/OptionUtils.cpp [819/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/Tool.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/Tool.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/Tool.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/Tool.cpp [820/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransUnbridgedCasts.cpp.o -MF lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransUnbridgedCasts.cpp.o.d -o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransUnbridgedCasts.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate/TransUnbridgedCasts.cpp [821/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/AArch64.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/AArch64.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/AArch64.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/Arch/AArch64.cpp [822/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/OffloadBundler.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/OffloadBundler.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/OffloadBundler.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/OffloadBundler.cpp [823/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/CSKY.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/CSKY.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/CSKY.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/Arch/CSKY.cpp [824/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/LoongArch.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/LoongArch.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/LoongArch.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/Arch/LoongArch.cpp [825/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/M68k.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/M68k.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/M68k.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/Arch/M68k.cpp [826/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/ARM.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/ARM.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/ARM.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/Arch/ARM.cpp [827/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/SanitizerArgs.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/SanitizerArgs.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/SanitizerArgs.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/SanitizerArgs.cpp [828/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChain.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChain.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChain.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChain.cpp [829/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/Mips.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/Mips.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/Mips.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/Arch/Mips.cpp [830/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/PPC.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/PPC.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/PPC.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/Arch/PPC.cpp [831/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/SystemZ.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/SystemZ.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/SystemZ.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/Arch/SystemZ.cpp [832/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/Sparc.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/Sparc.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/Sparc.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/Arch/Sparc.cpp [833/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/VE.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/VE.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/VE.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/Arch/VE.cpp [834/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/RISCV.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/RISCV.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/RISCV.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/Arch/RISCV.cpp [835/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/X86.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/X86.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/X86.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/Arch/X86.cpp [836/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Ananas.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Ananas.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Ananas.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/Ananas.cpp [837/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/Driver.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/Driver.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/Driver.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/Driver.cpp [838/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/AMDGPUOpenMP.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/AMDGPUOpenMP.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/AMDGPUOpenMP.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/AMDGPUOpenMP.cpp [839/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/AIX.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/AIX.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/AIX.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/AIX.cpp [840/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/AVR.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/AVR.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/AVR.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/AVR.cpp [841/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Contiki.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Contiki.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Contiki.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/Contiki.cpp [842/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/AMDGPU.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/AMDGPU.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/AMDGPU.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/AMDGPU.cpp [843/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/CloudABI.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/CloudABI.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/CloudABI.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/CloudABI.cpp [844/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/CrossWindows.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/CrossWindows.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/CrossWindows.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/CrossWindows.cpp [845/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/BareMetal.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/BareMetal.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/BareMetal.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/BareMetal.cpp [846/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/CSKYToolChain.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/CSKYToolChain.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/CSKYToolChain.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/CSKYToolChain.cpp [847/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/DragonFly.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/DragonFly.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/DragonFly.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/DragonFly.cpp [848/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Flang.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Flang.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Flang.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/Flang.cpp [849/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Cuda.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Cuda.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Cuda.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/Cuda.cpp [850/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/CommonArgs.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/CommonArgs.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/CommonArgs.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/CommonArgs.cpp [851/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/FreeBSD.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/FreeBSD.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/FreeBSD.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/FreeBSD.cpp [852/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Haiku.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Haiku.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Haiku.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/Haiku.cpp [853/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/Transforms.cpp.o -MF lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/Transforms.cpp.o.d -o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/Transforms.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/ARCMigrate/Transforms.cpp [854/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/HIPUtility.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/HIPUtility.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/HIPUtility.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/HIPUtility.cpp [855/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Darwin.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Darwin.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Darwin.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/Darwin.cpp [856/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Fuchsia.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Fuchsia.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Fuchsia.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/Fuchsia.cpp [857/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/HIPSPV.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/HIPSPV.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/HIPSPV.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/HIPSPV.cpp [858/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/HIPAMD.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/HIPAMD.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/HIPAMD.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/HIPAMD.cpp [859/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/HLSL.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/HLSL.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/HLSL.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/HLSL.cpp [860/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Hurd.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Hurd.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Hurd.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/Hurd.cpp [861/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Clang.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Clang.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Clang.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/Clang.cpp [862/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Hexagon.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Hexagon.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Hexagon.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/Hexagon.cpp [863/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/MipsLinux.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/MipsLinux.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/MipsLinux.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/MipsLinux.cpp [864/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Gnu.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Gnu.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Gnu.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/Gnu.cpp [865/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Minix.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Minix.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Minix.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/Minix.cpp [866/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Linux.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Linux.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Linux.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/Linux.cpp [867/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/MinGW.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/MinGW.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/MinGW.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/MinGW.cpp [868/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/MSP430.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/MSP430.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/MSP430.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/MSP430.cpp [869/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Myriad.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Myriad.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Myriad.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/Myriad.cpp [870/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/MSVC.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/MSVC.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/MSVC.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/MSVC.cpp [871/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/NaCl.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/NaCl.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/NaCl.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/NaCl.cpp [872/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/NetBSD.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/NetBSD.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/NetBSD.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/NetBSD.cpp [873/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/OpenBSD.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/OpenBSD.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/OpenBSD.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/OpenBSD.cpp [874/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/TCE.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/TCE.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/TCE.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/TCE.cpp [875/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/SPIRV.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/SPIRV.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/SPIRV.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/SPIRV.cpp [876/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Solaris.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Solaris.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Solaris.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/Solaris.cpp [877/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/RISCVToolchain.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/RISCVToolchain.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/RISCVToolchain.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/RISCVToolchain.cpp [878/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/PS4CPU.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/PS4CPU.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/PS4CPU.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/PS4CPU.cpp [879/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/VEToolchain.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/VEToolchain.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/VEToolchain.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/VEToolchain.cpp [880/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/OHOS.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/OHOS.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/OHOS.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/OHOS.cpp [881/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/PPCFreeBSD.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/PPCFreeBSD.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/PPCFreeBSD.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/PPCFreeBSD.cpp [882/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/XCore.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/XCore.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/XCore.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/XCore.cpp [883/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/PPCLinux.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/PPCLinux.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/PPCLinux.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/PPCLinux.cpp [884/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/Types.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/Types.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/Types.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/Types.cpp [885/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/InterfaceStubs.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/InterfaceStubs.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/InterfaceStubs.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/InterfaceStubs.cpp [886/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/ZOS.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/ZOS.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/ZOS.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/ZOS.cpp [887/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/WebAssembly.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/WebAssembly.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/WebAssembly.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/ToolChains/WebAssembly.cpp [888/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/lib/Driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Driver/CMakeFiles/obj.clangDriver.dir/XRayArgs.cpp.o -MF lib/Driver/CMakeFiles/obj.clangDriver.dir/XRayArgs.cpp.o.d -o lib/Driver/CMakeFiles/obj.clangDriver.dir/XRayArgs.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/XRayArgs.cpp [889/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Serialization -I/builddir/build/BUILD/clang-17.0.6.src/lib/Serialization -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ASTCommon.cpp.o -MF lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ASTCommon.cpp.o.d -o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ASTCommon.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Serialization/ASTCommon.cpp [890/2013] : && /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 && : [891/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Serialization -I/builddir/build/BUILD/clang-17.0.6.src/lib/Serialization -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Serialization/CMakeFiles/obj.clangSerialization.dir/GlobalModuleIndex.cpp.o -MF lib/Serialization/CMakeFiles/obj.clangSerialization.dir/GlobalModuleIndex.cpp.o.d -o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/GlobalModuleIndex.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Serialization/GlobalModuleIndex.cpp [892/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Serialization -I/builddir/build/BUILD/clang-17.0.6.src/lib/Serialization -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Serialization/CMakeFiles/obj.clangSerialization.dir/InMemoryModuleCache.cpp.o -MF lib/Serialization/CMakeFiles/obj.clangSerialization.dir/InMemoryModuleCache.cpp.o.d -o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/InMemoryModuleCache.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Serialization/InMemoryModuleCache.cpp [893/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Serialization -I/builddir/build/BUILD/clang-17.0.6.src/lib/Serialization -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Serialization/CMakeFiles/obj.clangSerialization.dir/GeneratePCH.cpp.o -MF lib/Serialization/CMakeFiles/obj.clangSerialization.dir/GeneratePCH.cpp.o.d -o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/GeneratePCH.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Serialization/GeneratePCH.cpp [894/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Serialization -I/builddir/build/BUILD/clang-17.0.6.src/lib/Serialization -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ModuleFileExtension.cpp.o -MF lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ModuleFileExtension.cpp.o.d -o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ModuleFileExtension.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Serialization/ModuleFileExtension.cpp [895/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Serialization -I/builddir/build/BUILD/clang-17.0.6.src/lib/Serialization -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ASTWriterStmt.cpp.o -MF lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ASTWriterStmt.cpp.o.d -o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ASTWriterStmt.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Serialization/ASTWriterStmt.cpp [896/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Serialization -I/builddir/build/BUILD/clang-17.0.6.src/lib/Serialization -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ModuleFile.cpp.o -MF lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ModuleFile.cpp.o.d -o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ModuleFile.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Serialization/ModuleFile.cpp [897/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Serialization -I/builddir/build/BUILD/clang-17.0.6.src/lib/Serialization -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ASTReaderStmt.cpp.o -MF lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ASTReaderStmt.cpp.o.d -o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ASTReaderStmt.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Serialization/ASTReaderStmt.cpp [898/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Serialization -I/builddir/build/BUILD/clang-17.0.6.src/lib/Serialization -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Serialization/CMakeFiles/obj.clangSerialization.dir/PCHContainerOperations.cpp.o -MF lib/Serialization/CMakeFiles/obj.clangSerialization.dir/PCHContainerOperations.cpp.o.d -o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/PCHContainerOperations.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Serialization/PCHContainerOperations.cpp [899/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Serialization -I/builddir/build/BUILD/clang-17.0.6.src/lib/Serialization -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ASTWriterDecl.cpp.o -MF lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ASTWriterDecl.cpp.o.d -o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ASTWriterDecl.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Serialization/ASTWriterDecl.cpp [900/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/CMakeFiles/obj.clangFrontend.dir/ChainedDiagnosticConsumer.cpp.o -MF lib/Frontend/CMakeFiles/obj.clangFrontend.dir/ChainedDiagnosticConsumer.cpp.o.d -o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/ChainedDiagnosticConsumer.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/ChainedDiagnosticConsumer.cpp [901/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Serialization -I/builddir/build/BUILD/clang-17.0.6.src/lib/Serialization -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ModuleManager.cpp.o -MF lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ModuleManager.cpp.o.d -o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ModuleManager.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Serialization/ModuleManager.cpp [902/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/CMakeFiles/obj.clangFrontend.dir/ASTMerge.cpp.o -MF lib/Frontend/CMakeFiles/obj.clangFrontend.dir/ASTMerge.cpp.o.d -o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/ASTMerge.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/ASTMerge.cpp [903/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Serialization -I/builddir/build/BUILD/clang-17.0.6.src/lib/Serialization -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ASTReaderDecl.cpp.o -MF lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ASTReaderDecl.cpp.o.d -o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ASTReaderDecl.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Serialization/ASTReaderDecl.cpp [904/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/CMakeFiles/obj.clangFrontend.dir/ChainedIncludesSource.cpp.o -MF lib/Frontend/CMakeFiles/obj.clangFrontend.dir/ChainedIncludesSource.cpp.o.d -o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/ChainedIncludesSource.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/ChainedIncludesSource.cpp [905/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Serialization -I/builddir/build/BUILD/clang-17.0.6.src/lib/Serialization -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ASTWriter.cpp.o -MF lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ASTWriter.cpp.o.d -o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ASTWriter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Serialization/ASTWriter.cpp [906/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/CMakeFiles/obj.clangFrontend.dir/ASTConsumers.cpp.o -MF lib/Frontend/CMakeFiles/obj.clangFrontend.dir/ASTConsumers.cpp.o.d -o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/ASTConsumers.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/ASTConsumers.cpp [907/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/CMakeFiles/obj.clangFrontend.dir/CreateInvocationFromCommandLine.cpp.o -MF lib/Frontend/CMakeFiles/obj.clangFrontend.dir/CreateInvocationFromCommandLine.cpp.o.d -o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/CreateInvocationFromCommandLine.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CreateInvocationFromCommandLine.cpp [908/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/CMakeFiles/obj.clangFrontend.dir/ASTUnit.cpp.o -MF lib/Frontend/CMakeFiles/obj.clangFrontend.dir/ASTUnit.cpp.o.d -o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/ASTUnit.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/ASTUnit.cpp [909/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/CMakeFiles/obj.clangFrontend.dir/DependencyGraph.cpp.o -MF lib/Frontend/CMakeFiles/obj.clangFrontend.dir/DependencyGraph.cpp.o.d -o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/DependencyGraph.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/DependencyGraph.cpp [910/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/CMakeFiles/obj.clangFrontend.dir/DiagnosticRenderer.cpp.o -MF lib/Frontend/CMakeFiles/obj.clangFrontend.dir/DiagnosticRenderer.cpp.o.d -o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/DiagnosticRenderer.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/DiagnosticRenderer.cpp [911/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/CMakeFiles/obj.clangFrontend.dir/CompilerInstance.cpp.o -MF lib/Frontend/CMakeFiles/obj.clangFrontend.dir/CompilerInstance.cpp.o.d -o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/CompilerInstance.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp [912/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/CMakeFiles/obj.clangFrontend.dir/FrontendOptions.cpp.o -MF lib/Frontend/CMakeFiles/obj.clangFrontend.dir/FrontendOptions.cpp.o.d -o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/FrontendOptions.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendOptions.cpp [913/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/CMakeFiles/obj.clangFrontend.dir/HeaderIncludeGen.cpp.o -MF lib/Frontend/CMakeFiles/obj.clangFrontend.dir/HeaderIncludeGen.cpp.o.d -o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/HeaderIncludeGen.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/HeaderIncludeGen.cpp [914/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/CMakeFiles/obj.clangFrontend.dir/LayoutOverrideSource.cpp.o -MF lib/Frontend/CMakeFiles/obj.clangFrontend.dir/LayoutOverrideSource.cpp.o.d -o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/LayoutOverrideSource.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/LayoutOverrideSource.cpp [915/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/CMakeFiles/obj.clangFrontend.dir/DependencyFile.cpp.o -MF lib/Frontend/CMakeFiles/obj.clangFrontend.dir/DependencyFile.cpp.o.d -o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/DependencyFile.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/DependencyFile.cpp [916/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Serialization -I/builddir/build/BUILD/clang-17.0.6.src/lib/Serialization -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ASTReader.cpp.o -MF lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ASTReader.cpp.o.d -o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ASTReader.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Serialization/ASTReader.cpp [917/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/CMakeFiles/obj.clangFrontend.dir/MultiplexConsumer.cpp.o -MF lib/Frontend/CMakeFiles/obj.clangFrontend.dir/MultiplexConsumer.cpp.o.d -o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/MultiplexConsumer.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/MultiplexConsumer.cpp [918/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/CMakeFiles/obj.clangFrontend.dir/LogDiagnosticPrinter.cpp.o -MF lib/Frontend/CMakeFiles/obj.clangFrontend.dir/LogDiagnosticPrinter.cpp.o.d -o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/LogDiagnosticPrinter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/LogDiagnosticPrinter.cpp [919/2013] : && /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 && : [920/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/CMakeFiles/obj.clangFrontend.dir/SARIFDiagnostic.cpp.o -MF lib/Frontend/CMakeFiles/obj.clangFrontend.dir/SARIFDiagnostic.cpp.o.d -o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/SARIFDiagnostic.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/SARIFDiagnostic.cpp [921/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/CMakeFiles/obj.clangFrontend.dir/PrintPreprocessedOutput.cpp.o -MF lib/Frontend/CMakeFiles/obj.clangFrontend.dir/PrintPreprocessedOutput.cpp.o.d -o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/PrintPreprocessedOutput.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/PrintPreprocessedOutput.cpp [922/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/CMakeFiles/obj.clangFrontend.dir/SARIFDiagnosticPrinter.cpp.o -MF lib/Frontend/CMakeFiles/obj.clangFrontend.dir/SARIFDiagnosticPrinter.cpp.o.d -o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/SARIFDiagnosticPrinter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/SARIFDiagnosticPrinter.cpp [923/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/CMakeFiles/obj.clangFrontend.dir/InitPreprocessor.cpp.o -MF lib/Frontend/CMakeFiles/obj.clangFrontend.dir/InitPreprocessor.cpp.o.d -o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/InitPreprocessor.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/InitPreprocessor.cpp [924/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/CMakeFiles/obj.clangFrontend.dir/SerializedDiagnosticReader.cpp.o -MF lib/Frontend/CMakeFiles/obj.clangFrontend.dir/SerializedDiagnosticReader.cpp.o.d -o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/SerializedDiagnosticReader.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/SerializedDiagnosticReader.cpp [925/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/CMakeFiles/obj.clangFrontend.dir/SerializedDiagnosticPrinter.cpp.o -MF lib/Frontend/CMakeFiles/obj.clangFrontend.dir/SerializedDiagnosticPrinter.cpp.o.d -o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/SerializedDiagnosticPrinter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/SerializedDiagnosticPrinter.cpp [926/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/CMakeFiles/obj.clangFrontend.dir/ModuleDependencyCollector.cpp.o -MF lib/Frontend/CMakeFiles/obj.clangFrontend.dir/ModuleDependencyCollector.cpp.o.d -o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/ModuleDependencyCollector.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/ModuleDependencyCollector.cpp [927/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/CMakeFiles/obj.clangFrontend.dir/FrontendAction.cpp.o -MF lib/Frontend/CMakeFiles/obj.clangFrontend.dir/FrontendAction.cpp.o.d -o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/FrontendAction.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp [928/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/CMakeFiles/obj.clangFrontend.dir/TextDiagnosticBuffer.cpp.o -MF lib/Frontend/CMakeFiles/obj.clangFrontend.dir/TextDiagnosticBuffer.cpp.o.d -o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/TextDiagnosticBuffer.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/TextDiagnosticBuffer.cpp [929/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/CMakeFiles/obj.clangFrontend.dir/FrontendActions.cpp.o -MF lib/Frontend/CMakeFiles/obj.clangFrontend.dir/FrontendActions.cpp.o.d -o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/FrontendActions.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendActions.cpp [930/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/CMakeFiles/obj.clangFrontend.dir/TextDiagnosticPrinter.cpp.o -MF lib/Frontend/CMakeFiles/obj.clangFrontend.dir/TextDiagnosticPrinter.cpp.o.d -o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/TextDiagnosticPrinter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/TextDiagnosticPrinter.cpp [931/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/CMakeFiles/obj.clangFrontend.dir/TextDiagnostic.cpp.o -MF lib/Frontend/CMakeFiles/obj.clangFrontend.dir/TextDiagnostic.cpp.o.d -o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/TextDiagnostic.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/TextDiagnostic.cpp [932/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend/Rewrite -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/Rewrite -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/FixItRewriter.cpp.o -MF lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/FixItRewriter.cpp.o.d -o lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/FixItRewriter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/Rewrite/FixItRewriter.cpp [933/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/CMakeFiles/obj.clangFrontend.dir/PrecompiledPreamble.cpp.o -MF lib/Frontend/CMakeFiles/obj.clangFrontend.dir/PrecompiledPreamble.cpp.o.d -o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/PrecompiledPreamble.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/PrecompiledPreamble.cpp [934/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/CMakeFiles/obj.clangFrontend.dir/VerifyDiagnosticConsumer.cpp.o -MF lib/Frontend/CMakeFiles/obj.clangFrontend.dir/VerifyDiagnosticConsumer.cpp.o.d -o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/VerifyDiagnosticConsumer.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/VerifyDiagnosticConsumer.cpp [935/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend/Rewrite -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/Rewrite -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/InclusionRewriter.cpp.o -MF lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/InclusionRewriter.cpp.o.d -o lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/InclusionRewriter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/Rewrite/InclusionRewriter.cpp [936/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend/Rewrite -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/Rewrite -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/HTMLPrint.cpp.o -MF lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/HTMLPrint.cpp.o.d -o lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/HTMLPrint.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/Rewrite/HTMLPrint.cpp [937/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/CMakeFiles/obj.clangFrontend.dir/TestModuleFileExtension.cpp.o -MF lib/Frontend/CMakeFiles/obj.clangFrontend.dir/TestModuleFileExtension.cpp.o.d -o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/TestModuleFileExtension.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/TestModuleFileExtension.cpp [938/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend/Rewrite -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/Rewrite -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/RewriteMacros.cpp.o -MF lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/RewriteMacros.cpp.o.d -o lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/RewriteMacros.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/Rewrite/RewriteMacros.cpp [939/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/CMakeFiles/obj.clangFrontend.dir/CompilerInvocation.cpp.o -MF lib/Frontend/CMakeFiles/obj.clangFrontend.dir/CompilerInvocation.cpp.o.d -o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/CompilerInvocation.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInvocation.cpp [940/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend/Rewrite -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/Rewrite -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/RewriteTest.cpp.o -MF lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/RewriteTest.cpp.o.d -o lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/RewriteTest.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/Rewrite/RewriteTest.cpp [941/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/Core/CMakeFiles/obj.clangToolingCore.dir/Diagnostic.cpp.o -MF lib/Tooling/Core/CMakeFiles/obj.clangToolingCore.dir/Diagnostic.cpp.o.d -o lib/Tooling/Core/CMakeFiles/obj.clangToolingCore.dir/Diagnostic.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Core/Diagnostic.cpp [942/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/Inclusions -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Inclusions -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/Inclusions/CMakeFiles/obj.clangToolingInclusions.dir/HeaderAnalysis.cpp.o -MF lib/Tooling/Inclusions/CMakeFiles/obj.clangToolingInclusions.dir/HeaderAnalysis.cpp.o.d -o lib/Tooling/Inclusions/CMakeFiles/obj.clangToolingInclusions.dir/HeaderAnalysis.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Inclusions/HeaderAnalysis.cpp [943/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/Core/CMakeFiles/obj.clangToolingCore.dir/Replacement.cpp.o -MF lib/Tooling/Core/CMakeFiles/obj.clangToolingCore.dir/Replacement.cpp.o.d -o lib/Tooling/Core/CMakeFiles/obj.clangToolingCore.dir/Replacement.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Core/Replacement.cpp [944/2013] : && /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 && : [945/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/Inclusions -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Inclusions -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/Inclusions/CMakeFiles/obj.clangToolingInclusions.dir/IncludeStyle.cpp.o -MF lib/Tooling/Inclusions/CMakeFiles/obj.clangToolingInclusions.dir/IncludeStyle.cpp.o.d -o lib/Tooling/Inclusions/CMakeFiles/obj.clangToolingInclusions.dir/IncludeStyle.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Inclusions/IncludeStyle.cpp [946/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/Inclusions -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Inclusions -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/Inclusions/CMakeFiles/obj.clangToolingInclusions.dir/HeaderIncludes.cpp.o -MF lib/Tooling/Inclusions/CMakeFiles/obj.clangToolingInclusions.dir/HeaderIncludes.cpp.o.d -o lib/Tooling/Inclusions/CMakeFiles/obj.clangToolingInclusions.dir/HeaderIncludes.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Inclusions/HeaderIncludes.cpp [947/2013] : && /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 && : [948/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend/Rewrite -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/Rewrite -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/FrontendActions.cpp.o -MF lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/FrontendActions.cpp.o.d -o lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/FrontendActions.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/Rewrite/FrontendActions.cpp [949/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/FrontendTool -I/builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/FrontendTool/CMakeFiles/obj.clangFrontendTool.dir/ExecuteCompilerInvocation.cpp.o -MF lib/FrontendTool/CMakeFiles/obj.clangFrontendTool.dir/ExecuteCompilerInvocation.cpp.o.d -o lib/FrontendTool/CMakeFiles/obj.clangFrontendTool.dir/ExecuteCompilerInvocation.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp [950/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/Refactoring -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Refactoring -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/ASTSelectionRequirements.cpp.o -MF lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/ASTSelectionRequirements.cpp.o.d -o lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/ASTSelectionRequirements.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Refactoring/ASTSelectionRequirements.cpp [951/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend/Rewrite -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/Rewrite -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/RewriteObjC.cpp.o -MF lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/RewriteObjC.cpp.o.d -o lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/RewriteObjC.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/Rewrite/RewriteObjC.cpp [952/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/CMakeFiles/obj.clangFrontend.dir/InterfaceStubFunctionsConsumer.cpp.o -MF lib/Frontend/CMakeFiles/obj.clangFrontend.dir/InterfaceStubFunctionsConsumer.cpp.o.d -o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/InterfaceStubFunctionsConsumer.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/InterfaceStubFunctionsConsumer.cpp [953/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/Refactoring -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Refactoring -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Extract/SourceExtraction.cpp.o -MF lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Extract/SourceExtraction.cpp.o.d -o lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Extract/SourceExtraction.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Refactoring/Extract/SourceExtraction.cpp [954/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Frontend/Rewrite -I/builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/Rewrite -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/RewriteModernObjC.cpp.o -MF lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/RewriteModernObjC.cpp.o.d -o lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/RewriteModernObjC.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/Rewrite/RewriteModernObjC.cpp [955/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/Refactoring -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Refactoring -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/AtomicChange.cpp.o -MF lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/AtomicChange.cpp.o.d -o lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/AtomicChange.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Refactoring/AtomicChange.cpp [956/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/Refactoring -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Refactoring -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Extract/Extract.cpp.o -MF lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Extract/Extract.cpp.o.d -o lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Extract/Extract.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Refactoring/Extract/Extract.cpp [957/2013] : && /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 && : [958/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/Refactoring -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Refactoring -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Rename/SymbolOccurrences.cpp.o -MF lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Rename/SymbolOccurrences.cpp.o.d -o lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Rename/SymbolOccurrences.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Refactoring/Rename/SymbolOccurrences.cpp [959/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/Refactoring -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Refactoring -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Lookup.cpp.o -MF lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Lookup.cpp.o.d -o lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Lookup.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Refactoring/Lookup.cpp [960/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/Refactoring -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Refactoring -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/ASTSelection.cpp.o -MF lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/ASTSelection.cpp.o.d -o lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/ASTSelection.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Refactoring/ASTSelection.cpp [961/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/Refactoring -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Refactoring -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/RefactoringActions.cpp.o -MF lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/RefactoringActions.cpp.o.d -o lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/RefactoringActions.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Refactoring/RefactoringActions.cpp [962/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/Refactoring -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Refactoring -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Rename/RenamingAction.cpp.o -MF lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Rename/RenamingAction.cpp.o.d -o lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Rename/RenamingAction.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Refactoring/Rename/RenamingAction.cpp [963/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/Refactoring -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Refactoring -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Rename/USRFindingAction.cpp.o -MF lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Rename/USRFindingAction.cpp.o.d -o lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Rename/USRFindingAction.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Refactoring/Rename/USRFindingAction.cpp [964/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/Refactoring -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Refactoring -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Rename/USRFinder.cpp.o -MF lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Rename/USRFinder.cpp.o.d -o lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Rename/USRFinder.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Refactoring/Rename/USRFinder.cpp [965/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/ASTDiff -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/ASTDiff -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/ASTDiff/CMakeFiles/obj.clangToolingASTDiff.dir/ASTDiff.cpp.o -MF lib/Tooling/ASTDiff/CMakeFiles/obj.clangToolingASTDiff.dir/ASTDiff.cpp.o.d -o lib/Tooling/ASTDiff/CMakeFiles/obj.clangToolingASTDiff.dir/ASTDiff.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/ASTDiff/ASTDiff.cpp [966/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/Syntax -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Syntax -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/ComputeReplacements.cpp.o -MF lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/ComputeReplacements.cpp.o.d -o lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/ComputeReplacements.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Syntax/ComputeReplacements.cpp [967/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/Syntax -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Syntax -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/Nodes.cpp.o -MF lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/Nodes.cpp.o.d -o lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/Nodes.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Syntax/Nodes.cpp [968/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/Refactoring -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Refactoring -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Rename/USRLocFinder.cpp.o -MF lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Rename/USRLocFinder.cpp.o.d -o lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Rename/USRLocFinder.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Refactoring/Rename/USRLocFinder.cpp [969/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/DumpTool -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/DumpTool -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/DumpTool/CMakeFiles/clang-ast-dump.dir/ASTSrcLocProcessor.cpp.o -MF lib/Tooling/DumpTool/CMakeFiles/clang-ast-dump.dir/ASTSrcLocProcessor.cpp.o.d -o lib/Tooling/DumpTool/CMakeFiles/clang-ast-dump.dir/ASTSrcLocProcessor.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/DumpTool/ASTSrcLocProcessor.cpp [970/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/Syntax -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Syntax -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/TokenBufferTokenManager.cpp.o -MF lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/TokenBufferTokenManager.cpp.o.d -o lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/TokenBufferTokenManager.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Syntax/TokenBufferTokenManager.cpp [971/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/Syntax -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Syntax -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/Mutations.cpp.o -MF lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/Mutations.cpp.o.d -o lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/Mutations.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Syntax/Mutations.cpp [972/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/Syntax -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Syntax -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/Tree.cpp.o -MF lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/Tree.cpp.o.d -o lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/Tree.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Syntax/Tree.cpp [973/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/Syntax -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Syntax -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/Synthesis.cpp.o -MF lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/Synthesis.cpp.o.d -o lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/Synthesis.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Syntax/Synthesis.cpp [974/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/DumpTool -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/DumpTool -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/DumpTool/CMakeFiles/clang-ast-dump.dir/ClangSrcLocDump.cpp.o -MF lib/Tooling/DumpTool/CMakeFiles/clang-ast-dump.dir/ClangSrcLocDump.cpp.o.d -o lib/Tooling/DumpTool/CMakeFiles/clang-ast-dump.dir/ClangSrcLocDump.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/DumpTool/ClangSrcLocDump.cpp [975/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/DependencyScanning -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/DependencyScanning -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/DependencyScanning/CMakeFiles/obj.clangDependencyScanning.dir/DependencyScanningService.cpp.o -MF lib/Tooling/DependencyScanning/CMakeFiles/obj.clangDependencyScanning.dir/DependencyScanningService.cpp.o.d -o lib/Tooling/DependencyScanning/CMakeFiles/obj.clangDependencyScanning.dir/DependencyScanningService.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/DependencyScanning/DependencyScanningService.cpp [976/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/Inclusions/Stdlib -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Inclusions/Stdlib -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/Inclusions/Stdlib/CMakeFiles/obj.clangToolingInclusionsStdlib.dir/StandardLibrary.cpp.o -MF lib/Tooling/Inclusions/Stdlib/CMakeFiles/obj.clangToolingInclusionsStdlib.dir/StandardLibrary.cpp.o.d -o lib/Tooling/Inclusions/Stdlib/CMakeFiles/obj.clangToolingInclusionsStdlib.dir/StandardLibrary.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Inclusions/Stdlib/StandardLibrary.cpp [977/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/DependencyScanning -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/DependencyScanning -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/DependencyScanning/CMakeFiles/obj.clangDependencyScanning.dir/DependencyScanningFilesystem.cpp.o -MF lib/Tooling/DependencyScanning/CMakeFiles/obj.clangDependencyScanning.dir/DependencyScanningFilesystem.cpp.o.d -o lib/Tooling/DependencyScanning/CMakeFiles/obj.clangDependencyScanning.dir/DependencyScanningFilesystem.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/DependencyScanning/DependencyScanningFilesystem.cpp [978/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/Syntax -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Syntax -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/Tokens.cpp.o -MF lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/Tokens.cpp.o.d -o lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/Tokens.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Syntax/Tokens.cpp [979/2013] : && /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 && : [980/2013] : && /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 && : [981/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/Syntax -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Syntax -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/BuildTree.cpp.o -MF lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/BuildTree.cpp.o.d -o lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/BuildTree.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Syntax/BuildTree.cpp [982/2013] : && /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 && : [983/2013] : && /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 && : [984/2013] : && /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 && : [985/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/DependencyScanning -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/DependencyScanning -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/DependencyScanning/CMakeFiles/obj.clangDependencyScanning.dir/DependencyScanningTool.cpp.o -MF lib/Tooling/DependencyScanning/CMakeFiles/obj.clangDependencyScanning.dir/DependencyScanningTool.cpp.o.d -o lib/Tooling/DependencyScanning/CMakeFiles/obj.clangDependencyScanning.dir/DependencyScanningTool.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/DependencyScanning/DependencyScanningTool.cpp [986/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/Transformer -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Transformer -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/Transformer/CMakeFiles/obj.clangTransformer.dir/Parsing.cpp.o -MF lib/Tooling/Transformer/CMakeFiles/obj.clangTransformer.dir/Parsing.cpp.o.d -o lib/Tooling/Transformer/CMakeFiles/obj.clangTransformer.dir/Parsing.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Transformer/Parsing.cpp [987/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/Transformer -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Transformer -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/Transformer/CMakeFiles/obj.clangTransformer.dir/SourceCode.cpp.o -MF lib/Tooling/Transformer/CMakeFiles/obj.clangTransformer.dir/SourceCode.cpp.o.d -o lib/Tooling/Transformer/CMakeFiles/obj.clangTransformer.dir/SourceCode.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Transformer/SourceCode.cpp [988/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/Transformer -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Transformer -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/Transformer/CMakeFiles/obj.clangTransformer.dir/RangeSelector.cpp.o -MF lib/Tooling/Transformer/CMakeFiles/obj.clangTransformer.dir/RangeSelector.cpp.o.d -o lib/Tooling/Transformer/CMakeFiles/obj.clangTransformer.dir/RangeSelector.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Transformer/RangeSelector.cpp [989/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/DependencyScanning -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/DependencyScanning -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/DependencyScanning/CMakeFiles/obj.clangDependencyScanning.dir/DependencyScanningWorker.cpp.o -MF lib/Tooling/DependencyScanning/CMakeFiles/obj.clangDependencyScanning.dir/DependencyScanningWorker.cpp.o.d -o lib/Tooling/DependencyScanning/CMakeFiles/obj.clangDependencyScanning.dir/DependencyScanningWorker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/DependencyScanning/DependencyScanningWorker.cpp [990/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/DirectoryWatcher -I/builddir/build/BUILD/clang-17.0.6.src/lib/DirectoryWatcher -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/DirectoryWatcher/CMakeFiles/obj.clangDirectoryWatcher.dir/DirectoryScanner.cpp.o -MF lib/DirectoryWatcher/CMakeFiles/obj.clangDirectoryWatcher.dir/DirectoryScanner.cpp.o.d -o lib/DirectoryWatcher/CMakeFiles/obj.clangDirectoryWatcher.dir/DirectoryScanner.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/DirectoryWatcher/DirectoryScanner.cpp [991/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/DependencyScanning -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/DependencyScanning -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/DependencyScanning/CMakeFiles/obj.clangDependencyScanning.dir/ModuleDepCollector.cpp.o -MF lib/Tooling/DependencyScanning/CMakeFiles/obj.clangDependencyScanning.dir/ModuleDepCollector.cpp.o.d -o lib/Tooling/DependencyScanning/CMakeFiles/obj.clangDependencyScanning.dir/ModuleDepCollector.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/DependencyScanning/ModuleDepCollector.cpp [992/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/DirectoryWatcher -I/builddir/build/BUILD/clang-17.0.6.src/lib/DirectoryWatcher -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/DirectoryWatcher/CMakeFiles/obj.clangDirectoryWatcher.dir/linux/DirectoryWatcher-linux.cpp.o -MF lib/DirectoryWatcher/CMakeFiles/obj.clangDirectoryWatcher.dir/linux/DirectoryWatcher-linux.cpp.o.d -o lib/DirectoryWatcher/CMakeFiles/obj.clangDirectoryWatcher.dir/linux/DirectoryWatcher-linux.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/DirectoryWatcher/linux/DirectoryWatcher-linux.cpp [993/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/Transformer -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Transformer -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/Transformer/CMakeFiles/obj.clangTransformer.dir/RewriteRule.cpp.o -MF lib/Tooling/Transformer/CMakeFiles/obj.clangTransformer.dir/RewriteRule.cpp.o.d -o lib/Tooling/Transformer/CMakeFiles/obj.clangTransformer.dir/RewriteRule.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Transformer/RewriteRule.cpp [994/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Index -I/builddir/build/BUILD/clang-17.0.6.src/lib/Index -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Index/CMakeFiles/obj.clangIndex.dir/FileIndexRecord.cpp.o -MF lib/Index/CMakeFiles/obj.clangIndex.dir/FileIndexRecord.cpp.o.d -o lib/Index/CMakeFiles/obj.clangIndex.dir/FileIndexRecord.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Index/FileIndexRecord.cpp [995/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Index -I/builddir/build/BUILD/clang-17.0.6.src/lib/Index -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Index/CMakeFiles/obj.clangIndex.dir/CommentToXML.cpp.o -MF lib/Index/CMakeFiles/obj.clangIndex.dir/CommentToXML.cpp.o.d -o lib/Index/CMakeFiles/obj.clangIndex.dir/CommentToXML.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Index/CommentToXML.cpp [996/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/Transformer -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Transformer -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/Transformer/CMakeFiles/obj.clangTransformer.dir/SourceCodeBuilders.cpp.o -MF lib/Tooling/Transformer/CMakeFiles/obj.clangTransformer.dir/SourceCodeBuilders.cpp.o.d -o lib/Tooling/Transformer/CMakeFiles/obj.clangTransformer.dir/SourceCodeBuilders.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Transformer/SourceCodeBuilders.cpp [997/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Index -I/builddir/build/BUILD/clang-17.0.6.src/lib/Index -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Index/CMakeFiles/obj.clangIndex.dir/IndexDecl.cpp.o -MF lib/Index/CMakeFiles/obj.clangIndex.dir/IndexDecl.cpp.o.d -o lib/Index/CMakeFiles/obj.clangIndex.dir/IndexDecl.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Index/IndexDecl.cpp [998/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/Transformer -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Transformer -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/Transformer/CMakeFiles/obj.clangTransformer.dir/Stencil.cpp.o -MF lib/Tooling/Transformer/CMakeFiles/obj.clangTransformer.dir/Stencil.cpp.o.d -o lib/Tooling/Transformer/CMakeFiles/obj.clangTransformer.dir/Stencil.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Transformer/Stencil.cpp [999/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/Transformer -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Transformer -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/Transformer/CMakeFiles/obj.clangTransformer.dir/Transformer.cpp.o -MF lib/Tooling/Transformer/CMakeFiles/obj.clangTransformer.dir/Transformer.cpp.o.d -o lib/Tooling/Transformer/CMakeFiles/obj.clangTransformer.dir/Transformer.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Transformer/Transformer.cpp [1000/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Index -I/builddir/build/BUILD/clang-17.0.6.src/lib/Index -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Index/CMakeFiles/obj.clangIndex.dir/IndexingContext.cpp.o -MF lib/Index/CMakeFiles/obj.clangIndex.dir/IndexingContext.cpp.o.d -o lib/Index/CMakeFiles/obj.clangIndex.dir/IndexingContext.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Index/IndexingContext.cpp [1001/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/APSIntType.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/APSIntType.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/APSIntType.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/APSIntType.cpp [1002/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/IndexSerialization -I/builddir/build/BUILD/clang-17.0.6.src/lib/IndexSerialization -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/IndexSerialization/CMakeFiles/obj.clangIndexSerialization.dir/SerializablePathCollection.cpp.o -MF lib/IndexSerialization/CMakeFiles/obj.clangIndexSerialization.dir/SerializablePathCollection.cpp.o.d -o lib/IndexSerialization/CMakeFiles/obj.clangIndexSerialization.dir/SerializablePathCollection.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/IndexSerialization/SerializablePathCollection.cpp [1003/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Index -I/builddir/build/BUILD/clang-17.0.6.src/lib/Index -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Index/CMakeFiles/obj.clangIndex.dir/IndexSymbol.cpp.o -MF lib/Index/CMakeFiles/obj.clangIndex.dir/IndexSymbol.cpp.o.d -o lib/Index/CMakeFiles/obj.clangIndex.dir/IndexSymbol.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Index/IndexSymbol.cpp [1004/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Index -I/builddir/build/BUILD/clang-17.0.6.src/lib/Index -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Index/CMakeFiles/obj.clangIndex.dir/IndexBody.cpp.o -MF lib/Index/CMakeFiles/obj.clangIndex.dir/IndexBody.cpp.o.d -o lib/Index/CMakeFiles/obj.clangIndex.dir/IndexBody.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Index/IndexBody.cpp [1005/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Index -I/builddir/build/BUILD/clang-17.0.6.src/lib/Index -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Index/CMakeFiles/obj.clangIndex.dir/IndexingAction.cpp.o -MF lib/Index/CMakeFiles/obj.clangIndex.dir/IndexingAction.cpp.o.d -o lib/Index/CMakeFiles/obj.clangIndex.dir/IndexingAction.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Index/IndexingAction.cpp [1006/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/BlockCounter.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/BlockCounter.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/BlockCounter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/BlockCounter.cpp [1007/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/AnalyzerOptions.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/AnalyzerOptions.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/AnalyzerOptions.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/AnalyzerOptions.cpp [1008/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/BasicValueFactory.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/BasicValueFactory.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/BasicValueFactory.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/BasicValueFactory.cpp [1009/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Index -I/builddir/build/BUILD/clang-17.0.6.src/lib/Index -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Index/CMakeFiles/obj.clangIndex.dir/USRGeneration.cpp.o -MF lib/Index/CMakeFiles/obj.clangIndex.dir/USRGeneration.cpp.o.d -o lib/Index/CMakeFiles/obj.clangIndex.dir/USRGeneration.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Index/USRGeneration.cpp [1010/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/AnalysisManager.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/AnalysisManager.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/AnalysisManager.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/AnalysisManager.cpp [1011/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Index -I/builddir/build/BUILD/clang-17.0.6.src/lib/Index -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Index/CMakeFiles/obj.clangIndex.dir/IndexTypeSourceInfo.cpp.o -MF lib/Index/CMakeFiles/obj.clangIndex.dir/IndexTypeSourceInfo.cpp.o.d -o lib/Index/CMakeFiles/obj.clangIndex.dir/IndexTypeSourceInfo.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Index/IndexTypeSourceInfo.cpp [1012/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/Checker.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/Checker.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/Checker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/Checker.cpp [1013/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CallDescription.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CallDescription.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CallDescription.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallDescription.cpp [1014/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CheckerHelpers.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CheckerHelpers.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CheckerHelpers.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerHelpers.cpp [1015/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CommonBugCategories.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CommonBugCategories.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CommonBugCategories.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CommonBugCategories.cpp [1016/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CheckerContext.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CheckerContext.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CheckerContext.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerContext.cpp [1017/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CallEvent.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CallEvent.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CallEvent.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp [1018/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/BugReporter.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/BugReporter.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/BugReporter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/BugReporter.cpp [1019/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CheckerRegistryData.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CheckerRegistryData.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CheckerRegistryData.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerRegistryData.cpp [1020/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ConstraintManager.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ConstraintManager.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ConstraintManager.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp [1021/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CheckerManager.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CheckerManager.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CheckerManager.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp [1022/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/DynamicExtent.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/DynamicExtent.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/DynamicExtent.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/DynamicExtent.cpp [1023/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/Environment.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/Environment.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/Environment.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/Environment.cpp [1024/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CoreEngine.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CoreEngine.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CoreEngine.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp [1025/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/DynamicType.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/DynamicType.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/DynamicType.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/DynamicType.cpp [1026/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/BugReporterVisitors.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/BugReporterVisitors.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/BugReporterVisitors.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp In file included from /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/DiagnosticIDs.h:18, from /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/Diagnostic.h:17, from /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/NestedNameSpecifier.h:18, from /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/Type.h:21, from /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/DeclarationName.h:16, from /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/DeclBase.h:18, from /builddir/build/BUILD/clang-17.0.6.src/include/clang/Analysis/AnalysisDeclContext.h:20, from /builddir/build/BUILD/clang-17.0.6.src/include/clang/Analysis/ProgramPoint.h:17, from /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/BugReporter/BugReporterVisitors.h:17, from /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp:14: In member function 'llvm::RefCountedBase::Release() const', inlined from 'llvm::IntrusiveRefCntPtrInfo::release(clang::ento::bugreporter::Tracker*)' at /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:159:45, inlined from 'llvm::IntrusiveRefCntPtr::release()' at /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41, inlined from 'llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr()' at /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34, inlined from 'std::make_unique<(anonymous namespace)::StoreSiteFinder, clang::ento::bugreporter::Tracker*, clang::ento::KnownSVal&, clang::ento::MemRegion const*&, clang::ento::bugreporter::TrackingOptions&, clang::StackFrameContext const*&>(clang::ento::bugreporter::Tracker*&&, clang::ento::KnownSVal&, clang::ento::MemRegion const*&, clang::ento::bugreporter::TrackingOptions&, clang::StackFrameContext const*&)std::__detail::_MakeUniq<(anonymous namespace)::StoreSiteFinder>::__single_object' at /usr/include/c++/12/bits/unique_ptr.h:1065:30, inlined from 'clang::ento::PathSensitiveBugReport::addVisitor<(anonymous namespace)::StoreSiteFinder, clang::ento::bugreporter::Tracker*, clang::ento::KnownSVal&, clang::ento::MemRegion const*&, clang::ento::bugreporter::TrackingOptions&, clang::StackFrameContext const*&>(clang::ento::bugreporter::Tracker*&&, clang::ento::KnownSVal&, clang::ento::MemRegion const*&, clang::ento::bugreporter::TrackingOptions&, clang::StackFrameContext const*&)void' at /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h:499:15, inlined from 'clang::ento::bugreporter::Tracker::track(clang::ento::SVal, clang::ento::MemRegion const*, clang::ento::bugreporter::TrackingOptions, clang::StackFrameContext const*)' at /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp:2642:39: /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:100:11: warning: pointer used after 'operator delete(void*, unsigned long)' [-Wuse-after-free] 100 | if (--RefCount == 0) | ^~~~~~~~ In member function 'clang::ento::bugreporter::Tracker::~Tracker()', inlined from 'llvm::RefCountedBase::Release() const' at /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:101:7, inlined from 'llvm::RefCountedBase::Release() const' at /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:98:8, inlined from 'llvm::IntrusiveRefCntPtrInfo::release(clang::ento::bugreporter::Tracker*)' at /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:159:45, inlined from 'llvm::IntrusiveRefCntPtr::release()' at /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41, inlined from 'llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr()' at /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34, inlined from '__ct ' at /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp:1219:28, inlined from 'std::make_unique<(anonymous namespace)::StoreSiteFinder, clang::ento::bugreporter::Tracker*, clang::ento::KnownSVal&, clang::ento::MemRegion const*&, clang::ento::bugreporter::TrackingOptions&, clang::StackFrameContext const*&>(clang::ento::bugreporter::Tracker*&&, clang::ento::KnownSVal&, clang::ento::MemRegion const*&, clang::ento::bugreporter::TrackingOptions&, clang::StackFrameContext const*&)std::__detail::_MakeUniq<(anonymous namespace)::StoreSiteFinder>::__single_object' at /usr/include/c++/12/bits/unique_ptr.h:1065:30, inlined from 'clang::ento::PathSensitiveBugReport::addVisitor<(anonymous namespace)::StoreSiteFinder, clang::ento::bugreporter::Tracker*, clang::ento::KnownSVal&, clang::ento::MemRegion const*&, clang::ento::bugreporter::TrackingOptions&, clang::StackFrameContext const*&>(clang::ento::bugreporter::Tracker*&&, clang::ento::KnownSVal&, clang::ento::MemRegion const*&, clang::ento::bugreporter::TrackingOptions&, clang::StackFrameContext const*&)void' at /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h:499:15, inlined from 'clang::ento::bugreporter::Tracker::track(clang::ento::SVal, clang::ento::MemRegion const*, clang::ento::bugreporter::TrackingOptions, clang::StackFrameContext const*)' at /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp:2642:39: /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/BugReporter/BugReporterVisitors.h:187:11: note: call to 'operator delete(void*, unsigned long)' here 187 | virtual ~Tracker() = default; | ^ [1027/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ExplodedGraph.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ExplodedGraph.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ExplodedGraph.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExplodedGraph.cpp [1028/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/FunctionSummary.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/FunctionSummary.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/FunctionSummary.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/FunctionSummary.cpp [1029/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ExprEngineC.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ExprEngineC.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ExprEngineC.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp [1030/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ExprEngineObjC.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ExprEngineObjC.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ExprEngineObjC.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineObjC.cpp [1031/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ExprEngineCXX.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ExprEngineCXX.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ExprEngineCXX.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp [1032/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/HTMLDiagnostics.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/HTMLDiagnostics.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/HTMLDiagnostics.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/HTMLDiagnostics.cpp [1033/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ExprEngine.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ExprEngine.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ExprEngine.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp [1034/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ExprEngineCallAndReturn.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ExprEngineCallAndReturn.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ExprEngineCallAndReturn.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp [1035/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/RangedConstraintManager.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/RangedConstraintManager.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/RangedConstraintManager.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp [1036/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/MemRegion.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/MemRegion.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/MemRegion.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/MemRegion.cpp [1037/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/LoopWidening.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/LoopWidening.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/LoopWidening.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/LoopWidening.cpp [1038/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/PlistDiagnostics.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/PlistDiagnostics.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/PlistDiagnostics.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/PlistDiagnostics.cpp [1039/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/LoopUnrolling.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/LoopUnrolling.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/LoopUnrolling.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/LoopUnrolling.cpp [1040/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ProgramState.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ProgramState.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ProgramState.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp [1041/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/RangeConstraintManager.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/RangeConstraintManager.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/RangeConstraintManager.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp [1042/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/SimpleConstraintManager.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/SimpleConstraintManager.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/SimpleConstraintManager.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp [1043/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/SarifDiagnostics.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/SarifDiagnostics.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/SarifDiagnostics.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SarifDiagnostics.cpp [1044/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/SimpleSValBuilder.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/SimpleSValBuilder.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/SimpleSValBuilder.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp [1045/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/SMTConstraintManager.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/SMTConstraintManager.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/SMTConstraintManager.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SMTConstraintManager.cpp [1046/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/Store.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/Store.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/Store.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/Store.cpp [1047/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/SVals.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/SVals.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/SVals.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SVals.cpp [1048/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/SValBuilder.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/SValBuilder.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/SValBuilder.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SValBuilder.cpp [1049/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/SymbolManager.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/SymbolManager.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/SymbolManager.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SymbolManager.cpp [1050/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/WorkList.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/WorkList.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/WorkList.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/WorkList.cpp [1051/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/TextDiagnostics.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/TextDiagnostics.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/TextDiagnostics.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/TextDiagnostics.cpp [1052/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/RegionStore.cpp.o -MF lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/RegionStore.cpp.o.d -o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/RegionStore.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RegionStore.cpp [1053/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1054/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1055/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1056/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1057/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1058/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1059/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/BlockInCriticalSectionChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/BlockInCriticalSectionChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/BlockInCriticalSectionChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/BlockInCriticalSectionChecker.cpp [1060/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1061/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CStringSyntaxChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CStringSyntaxChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CStringSyntaxChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringSyntaxChecker.cpp [1062/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1063/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1064/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1065/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1067/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1068/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1070/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1071/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1072/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CheckSecuritySyntaxOnly.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CheckSecuritySyntaxOnly.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CheckSecuritySyntaxOnly.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CheckSecuritySyntaxOnly.cpp [1073/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1074/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1075/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1076/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1077/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1078/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1079/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1080/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1082/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1083/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DereferenceChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DereferenceChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DereferenceChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp [1084/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1085/2013] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections lib/Tooling/DumpTool/CMakeFiles/clang-ast-dump.dir/ASTSrcLocProcessor.cpp.o lib/Tooling/DumpTool/CMakeFiles/clang-ast-dump.dir/ClangSrcLocDump.cpp.o -o bin/clang-ast-dump lib64/libclangAST.a lib64/libclangASTMatchers.a lib64/libclangBasic.a lib64/libclangDriver.a lib64/libclangFrontend.a lib64/libclangSerialization.a lib64/libclangToolingCore.a lib64/libclangDriver.a lib64/libclangParse.a lib64/libclangSema.a lib64/libclangEdit.a lib64/libclangAnalysis.a lib64/libclangASTMatchers.a lib64/libclangAST.a lib64/libclangSupport.a lib64/libclangRewrite.a lib64/libclangLex.a lib64/libclangBasic.a /usr/lib64/libLLVM-17.so && : /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h: In function 'InitGlobal.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In member function '__dt_base ', inlined from '__dt_base ' at /usr/include/llvm/ADT/APFloat.h:668:7, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1419:25, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1417:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:847:38, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:841:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1304:12, inlined from 'operator=' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Floating.h:26:7, inlined from 'InitGlobal.constprop' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:32: /usr/include/c++/12/bits/unique_ptr.h:670:15: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 670 | __ptr = pointer(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In function 'InitGlobal.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 48 into destination object 'B' of size 32 196 | Block B; | /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h: In function 'InitGlobalTemp.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:964:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 964 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In member function '__dt_base ', inlined from '__dt_base ' at /usr/include/llvm/ADT/APFloat.h:668:7, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1419:25, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1417:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:847:38, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:841:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1304:12, inlined from 'operator=' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Floating.h:26:7, inlined from 'InitGlobalTemp.constprop' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:964:32: /usr/include/c++/12/bits/unique_ptr.h:670:15: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 670 | __ptr = pointer(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In function 'InitGlobalTemp.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 48 into destination object 'B' of size 32 196 | Block B; | /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/DeclSpec.cpp: In function 'getFunction.isra': /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/DeclSpec.cpp:286: warning: argument 1 value '18446744073709551615' exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 286 | I.Fun.DeclsInPrototype = new NamedDecl *[DeclsInPrototype.size()]; | /usr/include/c++/12/new:128: note: in a call to allocation function 'operator new []' declared here 128 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc) | In member function '__dt_base ', inlined from '__dt_base ' at /usr/include/llvm/ADT/APInt.h:168:3, inlined from '__dt_base ' at /usr/include/llvm/ADT/APSInt.h:23:0, inlined from 'checkOMPArraySectionConstantForReduction' at /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaOpenMP.cpp:19108:0, inlined from 'actOnOMPReductionKindClause.constprop' at /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaOpenMP.cpp:19485:0: /usr/include/llvm/ADT/APInt.h:170: warning: 'operator delete []' called on a pointer to an unallocated object '1B' [-Wfree-nonheap-object] 170 | delete[] U.pVal; | In member function '__dt_base ', inlined from '__dt_base ' at /usr/include/llvm/ADT/APInt.h:168:3, inlined from '__dt_base ' at /usr/include/llvm/ADT/APSInt.h:23:0, inlined from 'checkOMPArraySectionConstantForReduction' at /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaOpenMP.cpp:19127:0, inlined from 'actOnOMPReductionKindClause.constprop' at /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaOpenMP.cpp:19485:0: /usr/include/llvm/ADT/APInt.h:170: warning: 'operator delete []' called on a pointer to an unallocated object '1B' [-Wfree-nonheap-object] 170 | delete[] U.pVal; | In function 'InitGlobal', inlined from 'emitInitGlobalFnPtr' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10658:30, inlined from 'emitInitGlobalFnPtr' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10655:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10559:31, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:36, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:26: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10645:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10555:30, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:36, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:26: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10643:31, inlined from 'emitInitGlobalUint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10640:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10553:32, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:36, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:26: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10638:31, inlined from 'emitInitGlobalSint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10635:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10551:32, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:36, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:26: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10633:31, inlined from 'emitInitGlobalUint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10630:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10549:32, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:36, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:26: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 4 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10628:31, inlined from 'emitInitGlobalSint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10625:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10547:32, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:36, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:26: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 4 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10623:31, inlined from 'emitInitGlobalUint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10620:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10545:32, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:36, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:26: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 2 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10618:31, inlined from 'emitInitGlobalSint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10615:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10543:32, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:36, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:26: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 2 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10613:30, inlined from 'emitInitGlobalUint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10610:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10541:31, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:36, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:26: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10608:30, inlined from 'emitInitGlobalSint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10605:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10539:31, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:36, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:26: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | [1086/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-ast-dump --skip-processing=0 -I /usr/lib64/clang/17/include -I /builddir/build/BUILD/clang-17.0.6.src/include -I /usr/tools/clang/include -I /usr/include -I /include -I /usr/include/c++/12 -I /usr/include/c++/12/aarch64-OpenCloudOS-linux -I /usr/include/c++/12/backward -I /usr/lib/gcc/aarch64-OpenCloudOS-linux/12/include -I /usr/local/include -I /usr/include --json-output-path /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/ASTNodeAPI.json [1087/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling && /usr/bin/python3.11 /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/DumpTool/generate_cxx_src_locs.py --json-input-path /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/ASTNodeAPI.json --output-file NodeIntrospection.inc --use-empty-implementation 0 --empty-implementation /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/EmptyNodeIntrospection.inc.in && /usr/bin/cmake -E copy_if_different /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling/NodeIntrospection.inc /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include/clang/Tooling/NodeIntrospection.inc [1088/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1089/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1090/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1091/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1092/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1094/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/CMakeFiles/obj.clangTooling.dir/ArgumentsAdjusters.cpp.o -MF lib/Tooling/CMakeFiles/obj.clangTooling.dir/ArgumentsAdjusters.cpp.o.d -o lib/Tooling/CMakeFiles/obj.clangTooling.dir/ArgumentsAdjusters.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/ArgumentsAdjusters.cpp [1095/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis/plugins/SampleAnalyzer -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/plugins/SampleAnalyzer -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT lib/Analysis/plugins/SampleAnalyzer/CMakeFiles/SampleAnalyzerPlugin.dir/MainCallChecker.cpp.o -MF lib/Analysis/plugins/SampleAnalyzer/CMakeFiles/SampleAnalyzerPlugin.dir/MainCallChecker.cpp.o.d -o lib/Analysis/plugins/SampleAnalyzer/CMakeFiles/SampleAnalyzerPlugin.dir/MainCallChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/plugins/SampleAnalyzer/MainCallChecker.cpp [1096/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis/plugins/CheckerDependencyHandling -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/plugins/CheckerDependencyHandling -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT lib/Analysis/plugins/CheckerDependencyHandling/CMakeFiles/CheckerDependencyHandlingAnalyzerPlugin.dir/CheckerDependencyHandling.cpp.o -MF lib/Analysis/plugins/CheckerDependencyHandling/CMakeFiles/CheckerDependencyHandlingAnalyzerPlugin.dir/CheckerDependencyHandling.cpp.o.d -o lib/Analysis/plugins/CheckerDependencyHandling/CMakeFiles/CheckerDependencyHandlingAnalyzerPlugin.dir/CheckerDependencyHandling.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/plugins/CheckerDependencyHandling/CheckerDependencyHandling.cpp [1097/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/CMakeFiles/obj.clangTooling.dir/FileMatchTrie.cpp.o -MF lib/Tooling/CMakeFiles/obj.clangTooling.dir/FileMatchTrie.cpp.o.d -o lib/Tooling/CMakeFiles/obj.clangTooling.dir/FileMatchTrie.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/FileMatchTrie.cpp [1098/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/CMakeFiles/obj.clangTooling.dir/CommonOptionsParser.cpp.o -MF lib/Tooling/CMakeFiles/obj.clangTooling.dir/CommonOptionsParser.cpp.o.d -o lib/Tooling/CMakeFiles/obj.clangTooling.dir/CommonOptionsParser.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/CommonOptionsParser.cpp [1099/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/CMakeFiles/obj.clangTooling.dir/FixIt.cpp.o -MF lib/Tooling/CMakeFiles/obj.clangTooling.dir/FixIt.cpp.o.d -o lib/Tooling/CMakeFiles/obj.clangTooling.dir/FixIt.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/FixIt.cpp [1100/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/CMakeFiles/obj.clangTooling.dir/AllTUsExecution.cpp.o -MF lib/Tooling/CMakeFiles/obj.clangTooling.dir/AllTUsExecution.cpp.o.d -o lib/Tooling/CMakeFiles/obj.clangTooling.dir/AllTUsExecution.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/AllTUsExecution.cpp [1101/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/CMakeFiles/obj.clangTooling.dir/Execution.cpp.o -MF lib/Tooling/CMakeFiles/obj.clangTooling.dir/Execution.cpp.o.d -o lib/Tooling/CMakeFiles/obj.clangTooling.dir/Execution.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Execution.cpp [1102/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis/plugins/CheckerOptionHandling -I/builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/plugins/CheckerOptionHandling -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT lib/Analysis/plugins/CheckerOptionHandling/CMakeFiles/CheckerOptionHandlingAnalyzerPlugin.dir/CheckerOptionHandling.cpp.o -MF lib/Analysis/plugins/CheckerOptionHandling/CMakeFiles/CheckerOptionHandlingAnalyzerPlugin.dir/CheckerOptionHandling.cpp.o.d -o lib/Analysis/plugins/CheckerOptionHandling/CMakeFiles/CheckerOptionHandlingAnalyzerPlugin.dir/CheckerOptionHandling.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Analysis/plugins/CheckerOptionHandling/CheckerOptionHandling.cpp [1103/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DynamicTypePropagation.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DynamicTypePropagation.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DynamicTypePropagation.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DynamicTypePropagation.cpp [1104/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/CMakeFiles/obj.clangTooling.dir/ExpandResponseFilesCompilationDatabase.cpp.o -MF lib/Tooling/CMakeFiles/obj.clangTooling.dir/ExpandResponseFilesCompilationDatabase.cpp.o.d -o lib/Tooling/CMakeFiles/obj.clangTooling.dir/ExpandResponseFilesCompilationDatabase.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/ExpandResponseFilesCompilationDatabase.cpp [1105/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/CMakeFiles/obj.clangTooling.dir/CompilationDatabase.cpp.o -MF lib/Tooling/CMakeFiles/obj.clangTooling.dir/CompilationDatabase.cpp.o.d -o lib/Tooling/CMakeFiles/obj.clangTooling.dir/CompilationDatabase.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/CompilationDatabase.cpp [1106/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/CMakeFiles/obj.clangTooling.dir/InterpolatingCompilationDatabase.cpp.o -MF lib/Tooling/CMakeFiles/obj.clangTooling.dir/InterpolatingCompilationDatabase.cpp.o.d -o lib/Tooling/CMakeFiles/obj.clangTooling.dir/InterpolatingCompilationDatabase.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/InterpolatingCompilationDatabase.cpp [1107/2013] : && /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 && : [1108/2013] : && /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 && : [1109/2013] : && /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 && : [1110/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/CMakeFiles/obj.clangTooling.dir/GuessTargetAndModeCompilationDatabase.cpp.o -MF lib/Tooling/CMakeFiles/obj.clangTooling.dir/GuessTargetAndModeCompilationDatabase.cpp.o.d -o lib/Tooling/CMakeFiles/obj.clangTooling.dir/GuessTargetAndModeCompilationDatabase.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/GuessTargetAndModeCompilationDatabase.cpp [1111/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/CMakeFiles/obj.clangTooling.dir/NodeIntrospection.cpp.o -MF lib/Tooling/CMakeFiles/obj.clangTooling.dir/NodeIntrospection.cpp.o.d -o lib/Tooling/CMakeFiles/obj.clangTooling.dir/NodeIntrospection.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/NodeIntrospection.cpp [1112/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/CMakeFiles/obj.clangTooling.dir/StandaloneExecution.cpp.o -MF lib/Tooling/CMakeFiles/obj.clangTooling.dir/StandaloneExecution.cpp.o.d -o lib/Tooling/CMakeFiles/obj.clangTooling.dir/StandaloneExecution.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/StandaloneExecution.cpp [1113/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/CMakeFiles/obj.clangTooling.dir/Refactoring.cpp.o -MF lib/Tooling/CMakeFiles/obj.clangTooling.dir/Refactoring.cpp.o.d -o lib/Tooling/CMakeFiles/obj.clangTooling.dir/Refactoring.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Refactoring.cpp [1114/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/CMakeFiles/obj.clangTooling.dir/JSONCompilationDatabase.cpp.o -MF lib/Tooling/CMakeFiles/obj.clangTooling.dir/JSONCompilationDatabase.cpp.o.d -o lib/Tooling/CMakeFiles/obj.clangTooling.dir/JSONCompilationDatabase.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/JSONCompilationDatabase.cpp [1115/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1116/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/CMakeFiles/obj.clangTooling.dir/Tooling.cpp.o -MF lib/Tooling/CMakeFiles/obj.clangTooling.dir/Tooling.cpp.o.d -o lib/Tooling/CMakeFiles/obj.clangTooling.dir/Tooling.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp [1117/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1118/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Tooling -I/builddir/build/BUILD/clang-17.0.6.src/lib/Tooling -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Tooling/CMakeFiles/obj.clangTooling.dir/RefactoringCallbacks.cpp.o -MF lib/Tooling/CMakeFiles/obj.clangTooling.dir/RefactoringCallbacks.cpp.o.d -o lib/Tooling/CMakeFiles/obj.clangTooling.dir/RefactoringCallbacks.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/RefactoringCallbacks.cpp [1119/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1120/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1121/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1122/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1123/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1124/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1125/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1126/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1127/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1128/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1129/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1130/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1131/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1132/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1133/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1134/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1135/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1136/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1137/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1138/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1139/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1140/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1141/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1142/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1143/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1145/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1146/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1147/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1148/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1149/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1150/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1151/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1152/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1153/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1154/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1155/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1156/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1157/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1158/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1159/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1160/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ObjCUnusedIVarsChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ObjCUnusedIVarsChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ObjCUnusedIVarsChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ObjCUnusedIVarsChecker.cpp [1161/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1162/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1163/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1164/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1165/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1166/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1167/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1168/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1169/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1170/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1171/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1172/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1173/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1174/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1175/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1176/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1177/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1178/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1179/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1180/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1181/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1182/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1183/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1184/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1185/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1186/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1187/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1188/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1189/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1190/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1191/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1192/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1193/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1194/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1195/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1196/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1197/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1198/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1199/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1200/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1201/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1202/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1203/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1204/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1205/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1206/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Frontend/../Checkers -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/CheckerRegistry.cpp.o -MF lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/CheckerRegistry.cpp.o.d -o lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/CheckerRegistry.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/CheckerRegistry.cpp [1207/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Frontend/../Checkers -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/AnalyzerHelpFlags.cpp.o -MF lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/AnalyzerHelpFlags.cpp.o.d -o lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/AnalyzerHelpFlags.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalyzerHelpFlags.cpp [1208/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Frontend/../Checkers -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/ModelConsumer.cpp.o -MF lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/ModelConsumer.cpp.o.d -o lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/ModelConsumer.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/ModelConsumer.cpp [1209/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/WebKit/RefCntblBaseVirtualDtorChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/WebKit/RefCntblBaseVirtualDtorChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/WebKit/RefCntblBaseVirtualDtorChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/WebKit/RefCntblBaseVirtualDtorChecker.cpp [1210/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-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 [1211/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Frontend/../Checkers -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/CreateCheckerManager.cpp.o -MF lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/CreateCheckerManager.cpp.o.d -o lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/CreateCheckerManager.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/CreateCheckerManager.cpp [1212/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/WebKit/UncountedLambdaCapturesChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/WebKit/UncountedLambdaCapturesChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/WebKit/UncountedLambdaCapturesChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/WebKit/UncountedLambdaCapturesChecker.cpp [1213/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Format/CMakeFiles/obj.clangFormat.dir/AffectedRangeManager.cpp.o -MF lib/Format/CMakeFiles/obj.clangFormat.dir/AffectedRangeManager.cpp.o.d -o lib/Format/CMakeFiles/obj.clangFormat.dir/AffectedRangeManager.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Format/AffectedRangeManager.cpp [1214/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Frontend/../Checkers -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/FrontendActions.cpp.o -MF lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/FrontendActions.cpp.o.d -o lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/FrontendActions.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/FrontendActions.cpp [1215/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/WebKit/UncountedLocalVarsChecker.cpp.o -MF lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/WebKit/UncountedLocalVarsChecker.cpp.o.d -o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/WebKit/UncountedLocalVarsChecker.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/WebKit/UncountedLocalVarsChecker.cpp [1216/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Format/CMakeFiles/obj.clangFormat.dir/BreakableToken.cpp.o -MF lib/Format/CMakeFiles/obj.clangFormat.dir/BreakableToken.cpp.o.d -o lib/Format/CMakeFiles/obj.clangFormat.dir/BreakableToken.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Format/BreakableToken.cpp [1217/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Format/CMakeFiles/obj.clangFormat.dir/FormatToken.cpp.o -MF lib/Format/CMakeFiles/obj.clangFormat.dir/FormatToken.cpp.o.d -o lib/Format/CMakeFiles/obj.clangFormat.dir/FormatToken.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Format/FormatToken.cpp [1218/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Format/CMakeFiles/obj.clangFormat.dir/DefinitionBlockSeparator.cpp.o -MF lib/Format/CMakeFiles/obj.clangFormat.dir/DefinitionBlockSeparator.cpp.o.d -o lib/Format/CMakeFiles/obj.clangFormat.dir/DefinitionBlockSeparator.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Format/DefinitionBlockSeparator.cpp [1219/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Format/CMakeFiles/obj.clangFormat.dir/IntegerLiteralSeparatorFixer.cpp.o -MF lib/Format/CMakeFiles/obj.clangFormat.dir/IntegerLiteralSeparatorFixer.cpp.o.d -o lib/Format/CMakeFiles/obj.clangFormat.dir/IntegerLiteralSeparatorFixer.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Format/IntegerLiteralSeparatorFixer.cpp [1220/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Format/CMakeFiles/obj.clangFormat.dir/ContinuationIndenter.cpp.o -MF lib/Format/CMakeFiles/obj.clangFormat.dir/ContinuationIndenter.cpp.o.d -o lib/Format/CMakeFiles/obj.clangFormat.dir/ContinuationIndenter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Format/ContinuationIndenter.cpp [1221/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Format/CMakeFiles/obj.clangFormat.dir/MacroCallReconstructor.cpp.o -MF lib/Format/CMakeFiles/obj.clangFormat.dir/MacroCallReconstructor.cpp.o.d -o lib/Format/CMakeFiles/obj.clangFormat.dir/MacroCallReconstructor.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Format/MacroCallReconstructor.cpp [1222/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Format/CMakeFiles/obj.clangFormat.dir/FormatTokenLexer.cpp.o -MF lib/Format/CMakeFiles/obj.clangFormat.dir/FormatTokenLexer.cpp.o.d -o lib/Format/CMakeFiles/obj.clangFormat.dir/FormatTokenLexer.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Format/FormatTokenLexer.cpp [1223/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Format/CMakeFiles/obj.clangFormat.dir/MacroExpander.cpp.o -MF lib/Format/CMakeFiles/obj.clangFormat.dir/MacroExpander.cpp.o.d -o lib/Format/CMakeFiles/obj.clangFormat.dir/MacroExpander.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Format/MacroExpander.cpp [1224/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Frontend/../Checkers -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/AnalysisConsumer.cpp.o -MF lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/AnalysisConsumer.cpp.o.d -o lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/AnalysisConsumer.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp [1225/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Format/CMakeFiles/obj.clangFormat.dir/NamespaceEndCommentsFixer.cpp.o -MF lib/Format/CMakeFiles/obj.clangFormat.dir/NamespaceEndCommentsFixer.cpp.o.d -o lib/Format/CMakeFiles/obj.clangFormat.dir/NamespaceEndCommentsFixer.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Format/NamespaceEndCommentsFixer.cpp [1226/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Format/CMakeFiles/obj.clangFormat.dir/QualifierAlignmentFixer.cpp.o -MF lib/Format/CMakeFiles/obj.clangFormat.dir/QualifierAlignmentFixer.cpp.o.d -o lib/Format/CMakeFiles/obj.clangFormat.dir/QualifierAlignmentFixer.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Format/QualifierAlignmentFixer.cpp [1227/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Format/CMakeFiles/obj.clangFormat.dir/TokenAnalyzer.cpp.o -MF lib/Format/CMakeFiles/obj.clangFormat.dir/TokenAnalyzer.cpp.o.d -o lib/Format/CMakeFiles/obj.clangFormat.dir/TokenAnalyzer.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Format/TokenAnalyzer.cpp [1228/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Format/CMakeFiles/obj.clangFormat.dir/SortJavaScriptImports.cpp.o -MF lib/Format/CMakeFiles/obj.clangFormat.dir/SortJavaScriptImports.cpp.o.d -o lib/Format/CMakeFiles/obj.clangFormat.dir/SortJavaScriptImports.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Format/SortJavaScriptImports.cpp [1229/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/StaticAnalyzer/Frontend/../Checkers -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/ModelInjector.cpp.o -MF lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/ModelInjector.cpp.o.d -o lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/ModelInjector.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/ModelInjector.cpp [1230/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Format/CMakeFiles/obj.clangFormat.dir/Format.cpp.o -MF lib/Format/CMakeFiles/obj.clangFormat.dir/Format.cpp.o.d -o lib/Format/CMakeFiles/obj.clangFormat.dir/Format.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Format/Format.cpp [1231/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Format/CMakeFiles/obj.clangFormat.dir/UnwrappedLineFormatter.cpp.o -MF lib/Format/CMakeFiles/obj.clangFormat.dir/UnwrappedLineFormatter.cpp.o.d -o lib/Format/CMakeFiles/obj.clangFormat.dir/UnwrappedLineFormatter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Format/UnwrappedLineFormatter.cpp [1232/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Format/CMakeFiles/obj.clangFormat.dir/UsingDeclarationsSorter.cpp.o -MF lib/Format/CMakeFiles/obj.clangFormat.dir/UsingDeclarationsSorter.cpp.o.d -o lib/Format/CMakeFiles/obj.clangFormat.dir/UsingDeclarationsSorter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Format/UsingDeclarationsSorter.cpp [1233/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Format/CMakeFiles/obj.clangFormat.dir/WhitespaceManager.cpp.o -MF lib/Format/CMakeFiles/obj.clangFormat.dir/WhitespaceManager.cpp.o.d -o lib/Format/CMakeFiles/obj.clangFormat.dir/WhitespaceManager.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Format/WhitespaceManager.cpp [1234/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Format/CMakeFiles/obj.clangFormat.dir/TokenAnnotator.cpp.o -MF lib/Format/CMakeFiles/obj.clangFormat.dir/TokenAnnotator.cpp.o.d -o lib/Format/CMakeFiles/obj.clangFormat.dir/TokenAnnotator.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Format/TokenAnnotator.cpp [1235/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/diagtool -I/builddir/build/BUILD/clang-17.0.6.src/tools/diagtool -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/diagtool/CMakeFiles/diagtool.dir/diagtool_main.cpp.o -MF tools/diagtool/CMakeFiles/diagtool.dir/diagtool_main.cpp.o.d -o tools/diagtool/CMakeFiles/diagtool.dir/diagtool_main.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/diagtool/diagtool_main.cpp [1236/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/diagtool -I/builddir/build/BUILD/clang-17.0.6.src/tools/diagtool -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/diagtool/CMakeFiles/diagtool.dir/DiagTool.cpp.o -MF tools/diagtool/CMakeFiles/diagtool.dir/DiagTool.cpp.o.d -o tools/diagtool/CMakeFiles/diagtool.dir/DiagTool.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/diagtool/DiagTool.cpp [1237/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Interpreter -I/builddir/build/BUILD/clang-17.0.6.src/lib/Interpreter -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/IncrementalExecutor.cpp.o -MF lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/IncrementalExecutor.cpp.o.d -o lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/IncrementalExecutor.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Interpreter/IncrementalExecutor.cpp [1238/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/lib/Format -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Format/CMakeFiles/obj.clangFormat.dir/UnwrappedLineParser.cpp.o -MF lib/Format/CMakeFiles/obj.clangFormat.dir/UnwrappedLineParser.cpp.o.d -o lib/Format/CMakeFiles/obj.clangFormat.dir/UnwrappedLineParser.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Format/UnwrappedLineParser.cpp [1239/2013] : && /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 && : [1240/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/diagtool -I/builddir/build/BUILD/clang-17.0.6.src/tools/diagtool -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/diagtool/CMakeFiles/diagtool.dir/DiagnosticNames.cpp.o -MF tools/diagtool/CMakeFiles/diagtool.dir/DiagnosticNames.cpp.o.d -o tools/diagtool/CMakeFiles/diagtool.dir/DiagnosticNames.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/diagtool/DiagnosticNames.cpp [1241/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/diagtool -I/builddir/build/BUILD/clang-17.0.6.src/tools/diagtool -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/diagtool/CMakeFiles/diagtool.dir/FindDiagnosticID.cpp.o -MF tools/diagtool/CMakeFiles/diagtool.dir/FindDiagnosticID.cpp.o.d -o tools/diagtool/CMakeFiles/diagtool.dir/FindDiagnosticID.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/diagtool/FindDiagnosticID.cpp [1242/2013] : && /usr/bin/cmake -E rm -f lib64/libclangTooling.a && /usr/bin/ar Dqc lib64/libclangTooling.a lib/Tooling/CMakeFiles/obj.clangTooling.dir/AllTUsExecution.cpp.o lib/Tooling/CMakeFiles/obj.clangTooling.dir/ArgumentsAdjusters.cpp.o lib/Tooling/CMakeFiles/obj.clangTooling.dir/CommonOptionsParser.cpp.o lib/Tooling/CMakeFiles/obj.clangTooling.dir/CompilationDatabase.cpp.o lib/Tooling/CMakeFiles/obj.clangTooling.dir/Execution.cpp.o lib/Tooling/CMakeFiles/obj.clangTooling.dir/ExpandResponseFilesCompilationDatabase.cpp.o lib/Tooling/CMakeFiles/obj.clangTooling.dir/FileMatchTrie.cpp.o lib/Tooling/CMakeFiles/obj.clangTooling.dir/FixIt.cpp.o lib/Tooling/CMakeFiles/obj.clangTooling.dir/GuessTargetAndModeCompilationDatabase.cpp.o lib/Tooling/CMakeFiles/obj.clangTooling.dir/InterpolatingCompilationDatabase.cpp.o lib/Tooling/CMakeFiles/obj.clangTooling.dir/JSONCompilationDatabase.cpp.o lib/Tooling/CMakeFiles/obj.clangTooling.dir/Refactoring.cpp.o lib/Tooling/CMakeFiles/obj.clangTooling.dir/RefactoringCallbacks.cpp.o lib/Tooling/CMakeFiles/obj.clangTooling.dir/StandaloneExecution.cpp.o lib/Tooling/CMakeFiles/obj.clangTooling.dir/NodeIntrospection.cpp.o lib/Tooling/CMakeFiles/obj.clangTooling.dir/Tooling.cpp.o && /usr/bin/ranlib -D lib64/libclangTooling.a && : [1243/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/diagtool -I/builddir/build/BUILD/clang-17.0.6.src/tools/diagtool -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/diagtool/CMakeFiles/diagtool.dir/ListWarnings.cpp.o -MF tools/diagtool/CMakeFiles/diagtool.dir/ListWarnings.cpp.o.d -o tools/diagtool/CMakeFiles/diagtool.dir/ListWarnings.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/diagtool/ListWarnings.cpp [1244/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Interpreter -I/builddir/build/BUILD/clang-17.0.6.src/lib/Interpreter -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/DeviceOffload.cpp.o -MF lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/DeviceOffload.cpp.o.d -o lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/DeviceOffload.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Interpreter/DeviceOffload.cpp [1245/2013] : && /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 && : [1246/2013] : && /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 && : [1247/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Interpreter -I/builddir/build/BUILD/clang-17.0.6.src/lib/Interpreter -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/Value.cpp.o -MF lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/Value.cpp.o.d -o lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/Value.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Interpreter/Value.cpp [1248/2013] : && /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 && : [1249/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/diagtool -I/builddir/build/BUILD/clang-17.0.6.src/tools/diagtool -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/diagtool/CMakeFiles/diagtool.dir/TreeView.cpp.o -MF tools/diagtool/CMakeFiles/diagtool.dir/TreeView.cpp.o.d -o tools/diagtool/CMakeFiles/diagtool.dir/TreeView.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/diagtool/TreeView.cpp [1250/2013] : && /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 && : [1251/2013] : && /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 && : [1252/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Interpreter -I/builddir/build/BUILD/clang-17.0.6.src/lib/Interpreter -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/InterpreterUtils.cpp.o -MF lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/InterpreterUtils.cpp.o.d -o lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/InterpreterUtils.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Interpreter/InterpreterUtils.cpp [1253/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/diagtool -I/builddir/build/BUILD/clang-17.0.6.src/tools/diagtool -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/diagtool/CMakeFiles/diagtool.dir/ShowEnabledWarnings.cpp.o -MF tools/diagtool/CMakeFiles/diagtool.dir/ShowEnabledWarnings.cpp.o.d -o tools/diagtool/CMakeFiles/diagtool.dir/ShowEnabledWarnings.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/diagtool/ShowEnabledWarnings.cpp [1254/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver -I/builddir/build/BUILD/clang-17.0.6.src/tools/driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/driver/CMakeFiles/clang.dir/clang-driver.cpp.o -MF tools/driver/CMakeFiles/clang.dir/clang-driver.cpp.o.d -o tools/driver/CMakeFiles/clang.dir/clang-driver.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp [1255/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Interpreter -I/builddir/build/BUILD/clang-17.0.6.src/lib/Interpreter -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/IncrementalParser.cpp.o -MF lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/IncrementalParser.cpp.o.d -o lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/IncrementalParser.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Interpreter/IncrementalParser.cpp [1256/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver -I/builddir/build/BUILD/clang-17.0.6.src/tools/driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/driver/CMakeFiles/clang.dir/cc1as_main.cpp.o -MF tools/driver/CMakeFiles/clang.dir/cc1as_main.cpp.o.d -o tools/driver/CMakeFiles/clang.dir/cc1as_main.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1as_main.cpp [1257/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver -I/builddir/build/BUILD/clang-17.0.6.src/tools/driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/driver/CMakeFiles/clang.dir/driver.cpp.o -MF tools/driver/CMakeFiles/clang.dir/driver.cpp.o.d -o tools/driver/CMakeFiles/clang.dir/driver.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp [1258/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/apinotes-test -I/builddir/build/BUILD/clang-17.0.6.src/tools/apinotes-test -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/apinotes-test/CMakeFiles/apinotes-test.dir/APINotesTest.cpp.o -MF tools/apinotes-test/CMakeFiles/apinotes-test.dir/APINotesTest.cpp.o.d -o tools/apinotes-test/CMakeFiles/apinotes-test.dir/APINotesTest.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/apinotes-test/APINotesTest.cpp [1259/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver -I/builddir/build/BUILD/clang-17.0.6.src/tools/driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/driver/CMakeFiles/clang.dir/cc1gen_reproducer_main.cpp.o -MF tools/driver/CMakeFiles/clang.dir/cc1gen_reproducer_main.cpp.o.d -o tools/driver/CMakeFiles/clang.dir/cc1gen_reproducer_main.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1gen_reproducer_main.cpp [1260/2013] /usr/bin/gcc -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/clang-fuzzer/dictionary -I/builddir/build/BUILD/clang-17.0.6.src/tools/clang-fuzzer/dictionary -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-comment -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -MD -MT tools/clang-fuzzer/dictionary/CMakeFiles/clang-fuzzer-dictionary.dir/dictionary.c.o -MF tools/clang-fuzzer/dictionary/CMakeFiles/clang-fuzzer-dictionary.dir/dictionary.c.o.d -o tools/clang-fuzzer/dictionary/CMakeFiles/clang-fuzzer-dictionary.dir/dictionary.c.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/clang-fuzzer/dictionary/dictionary.c [1261/2013] : && /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 && : [1262/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Interpreter -I/builddir/build/BUILD/clang-17.0.6.src/lib/Interpreter -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/Interpreter.cpp.o -MF lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/Interpreter.cpp.o.d -o lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/Interpreter.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/lib/Interpreter/Interpreter.cpp [1263/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /usr/bin/llvm-tblgen -gen-opt-parser-defs -I /builddir/build/BUILD/clang-17.0.6.src/tools/clang-linker-wrapper -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/tools/clang-linker-wrapper/LinkerWrapperOpts.td --write-if-changed -o tools/clang-linker-wrapper/LinkerWrapperOpts.inc -d tools/clang-linker-wrapper/LinkerWrapperOpts.inc.d [1264/2013] : && /usr/bin/cmake -E rm -f lib64/libclangTransformer.a && /usr/bin/ar Dqc lib64/libclangTransformer.a lib/Tooling/Transformer/CMakeFiles/obj.clangTransformer.dir/Parsing.cpp.o lib/Tooling/Transformer/CMakeFiles/obj.clangTransformer.dir/RangeSelector.cpp.o lib/Tooling/Transformer/CMakeFiles/obj.clangTransformer.dir/RewriteRule.cpp.o lib/Tooling/Transformer/CMakeFiles/obj.clangTransformer.dir/SourceCode.cpp.o lib/Tooling/Transformer/CMakeFiles/obj.clangTransformer.dir/SourceCodeBuilders.cpp.o lib/Tooling/Transformer/CMakeFiles/obj.clangTransformer.dir/Stencil.cpp.o lib/Tooling/Transformer/CMakeFiles/obj.clangTransformer.dir/Transformer.cpp.o && /usr/bin/ranlib -D lib64/libclangTransformer.a && : [1265/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/clang-format -I/builddir/build/BUILD/clang-17.0.6.src/tools/clang-format -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/clang-format/CMakeFiles/clang-format.dir/ClangFormat.cpp.o -MF tools/clang-format/CMakeFiles/clang-format.dir/ClangFormat.cpp.o.d -o tools/clang-format/CMakeFiles/clang-format.dir/ClangFormat.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/clang-format/ClangFormat.cpp [1266/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver -I/builddir/build/BUILD/clang-17.0.6.src/tools/driver -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/driver/CMakeFiles/clang.dir/cc1_main.cpp.o -MF tools/driver/CMakeFiles/clang.dir/cc1_main.cpp.o.d -o tools/driver/CMakeFiles/clang.dir/cc1_main.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp [1267/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/clang-diff -I/builddir/build/BUILD/clang-17.0.6.src/tools/clang-diff -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/clang-diff/CMakeFiles/clang-diff.dir/ClangDiff.cpp.o -MF tools/clang-diff/CMakeFiles/clang-diff.dir/ClangDiff.cpp.o.d -o tools/clang-diff/CMakeFiles/clang-diff.dir/ClangDiff.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/clang-diff/ClangDiff.cpp [1268/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/clang-linker-wrapper -I/builddir/build/BUILD/clang-17.0.6.src/tools/clang-linker-wrapper -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/clang-linker-wrapper/CMakeFiles/clang-linker-wrapper.dir/OffloadWrapper.cpp.o -MF tools/clang-linker-wrapper/CMakeFiles/clang-linker-wrapper.dir/OffloadWrapper.cpp.o.d -o tools/clang-linker-wrapper/CMakeFiles/clang-linker-wrapper.dir/OffloadWrapper.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/clang-linker-wrapper/OffloadWrapper.cpp [1269/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /usr/bin/llvm-tblgen -gen-opt-parser-defs -I /builddir/build/BUILD/clang-17.0.6.src/tools/clang-scan-deps -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include /builddir/build/BUILD/clang-17.0.6.src/tools/clang-scan-deps/Opts.td --write-if-changed -o tools/clang-scan-deps/Opts.inc -d tools/clang-scan-deps/Opts.inc.d [1270/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/clang-fuzzer/handle-cxx -I/builddir/build/BUILD/clang-17.0.6.src/tools/clang-fuzzer/handle-cxx -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-17.0.6.src/tools/clang-fuzzer/handle-cxx/. -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/clang-fuzzer/handle-cxx/CMakeFiles/obj.clangHandleCXX.dir/handle_cxx.cpp.o -MF tools/clang-fuzzer/handle-cxx/CMakeFiles/obj.clangHandleCXX.dir/handle_cxx.cpp.o.d -o tools/clang-fuzzer/handle-cxx/CMakeFiles/obj.clangHandleCXX.dir/handle_cxx.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/clang-fuzzer/handle-cxx/handle_cxx.cpp [1271/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/clang-offload-packager -I/builddir/build/BUILD/clang-17.0.6.src/tools/clang-offload-packager -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/clang-offload-packager/CMakeFiles/clang-offload-packager.dir/ClangOffloadPackager.cpp.o -MF tools/clang-offload-packager/CMakeFiles/clang-offload-packager.dir/ClangOffloadPackager.cpp.o.d -o tools/clang-offload-packager/CMakeFiles/clang-offload-packager.dir/ClangOffloadPackager.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/clang-offload-packager/ClangOffloadPackager.cpp [1272/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/clang-fuzzer/handle-llvm -I/builddir/build/BUILD/clang-17.0.6.src/tools/clang-fuzzer/handle-llvm -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/clang-fuzzer/handle-llvm/CMakeFiles/obj.clangHandleLLVM.dir/handle_llvm.cpp.o -MF tools/clang-fuzzer/handle-llvm/CMakeFiles/obj.clangHandleLLVM.dir/handle_llvm.cpp.o.d -o tools/clang-fuzzer/handle-llvm/CMakeFiles/obj.clangHandleLLVM.dir/handle_llvm.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/clang-fuzzer/handle-llvm/handle_llvm.cpp [1273/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/clang-offload-bundler -I/builddir/build/BUILD/clang-17.0.6.src/tools/clang-offload-bundler -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/clang-offload-bundler/CMakeFiles/clang-offload-bundler.dir/ClangOffloadBundler.cpp.o -MF tools/clang-offload-bundler/CMakeFiles/clang-offload-bundler.dir/ClangOffloadBundler.cpp.o.d -o tools/clang-offload-bundler/CMakeFiles/clang-offload-bundler.dir/ClangOffloadBundler.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/clang-offload-bundler/ClangOffloadBundler.cpp [1274/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/clang-scan-deps -I/builddir/build/BUILD/clang-17.0.6.src/tools/clang-scan-deps -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/clang-scan-deps/CMakeFiles/clang-scan-deps.dir/clang-scan-deps-driver.cpp.o -MF tools/clang-scan-deps/CMakeFiles/clang-scan-deps.dir/clang-scan-deps-driver.cpp.o.d -o tools/clang-scan-deps/CMakeFiles/clang-scan-deps.dir/clang-scan-deps-driver.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/clang-scan-deps/clang-scan-deps-driver.cpp [1275/2013] /usr/bin/gcc -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/c-index-test -I/builddir/build/BUILD/clang-17.0.6.src/tools/c-index-test -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -isystem /usr/include/libxml2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-comment -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=gnu89 -MD -MT tools/c-index-test/CMakeFiles/c-index-test.dir/c-index-test.c.o -MF tools/c-index-test/CMakeFiles/c-index-test.dir/c-index-test.c.o.d -o tools/c-index-test/CMakeFiles/c-index-test.dir/c-index-test.c.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/c-index-test/c-index-test.c [1276/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/clang-import-test -I/builddir/build/BUILD/clang-17.0.6.src/tools/clang-import-test -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/clang-import-test/CMakeFiles/clang-import-test.dir/clang-import-test.cpp.o -MF tools/clang-import-test/CMakeFiles/clang-import-test.dir/clang-import-test.cpp.o.d -o tools/clang-import-test/CMakeFiles/clang-import-test.dir/clang-import-test.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/clang-import-test/clang-import-test.cpp [1277/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/clang-linker-wrapper -I/builddir/build/BUILD/clang-17.0.6.src/tools/clang-linker-wrapper -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/clang-linker-wrapper/CMakeFiles/clang-linker-wrapper.dir/ClangLinkerWrapper.cpp.o -MF tools/clang-linker-wrapper/CMakeFiles/clang-linker-wrapper.dir/ClangLinkerWrapper.cpp.o.d -o tools/clang-linker-wrapper/CMakeFiles/clang-linker-wrapper.dir/ClangLinkerWrapper.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp [1278/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/clang-shlib -I/builddir/build/BUILD/clang-17.0.6.src/tools/clang-shlib -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT tools/clang-shlib/CMakeFiles/clang-cpp.dir/clang-shlib.cpp.o -MF tools/clang-shlib/CMakeFiles/clang-cpp.dir/clang-shlib.cpp.o.d -o tools/clang-shlib/CMakeFiles/clang-cpp.dir/clang-shlib.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/clang-shlib/clang-shlib.cpp [1279/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/clang-refactor -I/builddir/build/BUILD/clang-17.0.6.src/tools/clang-refactor -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/clang-refactor/CMakeFiles/clang-refactor.dir/TestSupport.cpp.o -MF tools/clang-refactor/CMakeFiles/clang-refactor.dir/TestSupport.cpp.o.d -o tools/clang-refactor/CMakeFiles/clang-refactor.dir/TestSupport.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/clang-refactor/TestSupport.cpp [1280/2013] /usr/bin/gcc -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/c-arcmt-test -I/builddir/build/BUILD/clang-17.0.6.src/tools/c-arcmt-test -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-comment -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -MD -MT tools/c-arcmt-test/CMakeFiles/c-arcmt-test.dir/c-arcmt-test.c.o -MF tools/c-arcmt-test/CMakeFiles/c-arcmt-test.dir/c-arcmt-test.c.o.d -o tools/c-arcmt-test/CMakeFiles/c-arcmt-test.dir/c-arcmt-test.c.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/c-arcmt-test/c-arcmt-test.c [1281/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/clang-rename -I/builddir/build/BUILD/clang-17.0.6.src/tools/clang-rename -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/clang-rename/CMakeFiles/clang-rename.dir/ClangRename.cpp.o -MF tools/clang-rename/CMakeFiles/clang-rename.dir/ClangRename.cpp.o.d -o tools/clang-rename/CMakeFiles/clang-rename.dir/ClangRename.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/clang-rename/ClangRename.cpp [1282/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/clang-repl -I/builddir/build/BUILD/clang-17.0.6.src/tools/clang-repl -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/clang-repl/CMakeFiles/clang-repl.dir/ClangRepl.cpp.o -MF tools/clang-repl/CMakeFiles/clang-repl.dir/ClangRepl.cpp.o.d -o tools/clang-repl/CMakeFiles/clang-repl.dir/ClangRepl.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/clang-repl/ClangRepl.cpp [1283/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/clang-refactor -I/builddir/build/BUILD/clang-17.0.6.src/tools/clang-refactor -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/clang-refactor/CMakeFiles/clang-refactor.dir/ClangRefactor.cpp.o -MF tools/clang-refactor/CMakeFiles/clang-refactor.dir/ClangRefactor.cpp.o.d -o tools/clang-refactor/CMakeFiles/clang-refactor.dir/ClangRefactor.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/clang-refactor/ClangRefactor.cpp [1284/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/c-index-test -I/builddir/build/BUILD/clang-17.0.6.src/tools/c-index-test -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -isystem /usr/include/libxml2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/c-index-test/CMakeFiles/c-index-test.dir/core_main.cpp.o -MF tools/c-index-test/CMakeFiles/c-index-test.dir/core_main.cpp.o.d -o tools/c-index-test/CMakeFiles/c-index-test.dir/core_main.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/c-index-test/core_main.cpp [1285/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/clang-scan-deps -I/builddir/build/BUILD/clang-17.0.6.src/tools/clang-scan-deps -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/clang-scan-deps/CMakeFiles/clang-scan-deps.dir/ClangScanDeps.cpp.o -MF tools/clang-scan-deps/CMakeFiles/clang-scan-deps.dir/ClangScanDeps.cpp.o.d -o tools/clang-scan-deps/CMakeFiles/clang-scan-deps.dir/ClangScanDeps.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/clang-scan-deps/ClangScanDeps.cpp [1286/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/arcmt-test -I/builddir/build/BUILD/clang-17.0.6.src/tools/arcmt-test -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/arcmt-test/CMakeFiles/arcmt-test.dir/arcmt-test.cpp.o -MF tools/arcmt-test/CMakeFiles/arcmt-test.dir/arcmt-test.cpp.o.d -o tools/arcmt-test/CMakeFiles/arcmt-test.dir/arcmt-test.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/arcmt-test/arcmt-test.cpp [1287/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/clang-check -I/builddir/build/BUILD/clang-17.0.6.src/tools/clang-check -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/clang-check/CMakeFiles/clang-check.dir/ClangCheck.cpp.o -MF tools/clang-check/CMakeFiles/clang-check.dir/ClangCheck.cpp.o.d -o tools/clang-check/CMakeFiles/clang-check.dir/ClangCheck.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/clang-check/ClangCheck.cpp [1288/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/clang-extdef-mapping -I/builddir/build/BUILD/clang-17.0.6.src/tools/clang-extdef-mapping -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/clang-extdef-mapping/CMakeFiles/clang-extdef-mapping.dir/ClangExtDefMapGen.cpp.o -MF tools/clang-extdef-mapping/CMakeFiles/clang-extdef-mapping.dir/ClangExtDefMapGen.cpp.o.d -o tools/clang-extdef-mapping/CMakeFiles/clang-extdef-mapping.dir/ClangExtDefMapGen.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/clang-extdef-mapping/ClangExtDefMapGen.cpp [1289/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/modularize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/modularize -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/modularize/CMakeFiles/modularize.dir/ModuleAssistant.cpp.o -MF tools/extra/modularize/CMakeFiles/modularize.dir/ModuleAssistant.cpp.o.d -o tools/extra/modularize/CMakeFiles/modularize.dir/ModuleAssistant.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/modularize/ModuleAssistant.cpp [1290/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-apply-replacements/tool -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-apply-replacements/tool -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-apply-replacements -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-apply-replacements/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-apply-replacements/tool/CMakeFiles/clang-apply-replacements.dir/ClangApplyReplacementsMain.cpp.o -MF tools/extra/clang-apply-replacements/tool/CMakeFiles/clang-apply-replacements.dir/ClangApplyReplacementsMain.cpp.o.d -o tools/extra/clang-apply-replacements/tool/CMakeFiles/clang-apply-replacements.dir/ClangApplyReplacementsMain.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-apply-replacements/tool/ClangApplyReplacementsMain.cpp [1291/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-apply-replacements -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-apply-replacements -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-apply-replacements/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-apply-replacements/CMakeFiles/obj.clangApplyReplacements.dir/lib/Tooling/ApplyReplacements.cpp.o -MF tools/extra/clang-apply-replacements/CMakeFiles/obj.clangApplyReplacements.dir/lib/Tooling/ApplyReplacements.cpp.o.d -o tools/extra/clang-apply-replacements/CMakeFiles/obj.clangApplyReplacements.dir/lib/Tooling/ApplyReplacements.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-apply-replacements/lib/Tooling/ApplyReplacements.cpp [1292/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-reorder-fields/tool -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-reorder-fields/tool -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-reorder-fields/tool/CMakeFiles/clang-reorder-fields.dir/ClangReorderFields.cpp.o -MF tools/extra/clang-reorder-fields/tool/CMakeFiles/clang-reorder-fields.dir/ClangReorderFields.cpp.o.d -o tools/extra/clang-reorder-fields/tool/CMakeFiles/clang-reorder-fields.dir/ClangReorderFields.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-reorder-fields/tool/ClangReorderFields.cpp [1293/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/modularize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/modularize -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/modularize/CMakeFiles/modularize.dir/PreprocessorTracker.cpp.o -MF tools/extra/modularize/CMakeFiles/modularize.dir/PreprocessorTracker.cpp.o.d -o tools/extra/modularize/CMakeFiles/modularize.dir/PreprocessorTracker.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/modularize/PreprocessorTracker.cpp [1294/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/modularize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/modularize -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/modularize/CMakeFiles/modularize.dir/ModularizeUtilities.cpp.o -MF tools/extra/modularize/CMakeFiles/modularize.dir/ModularizeUtilities.cpp.o.d -o tools/extra/modularize/CMakeFiles/modularize.dir/ModularizeUtilities.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/modularize/ModularizeUtilities.cpp [1295/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-reorder-fields -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-reorder-fields -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-reorder-fields/CMakeFiles/obj.clangReorderFields.dir/ReorderFieldsAction.cpp.o -MF tools/extra/clang-reorder-fields/CMakeFiles/obj.clangReorderFields.dir/ReorderFieldsAction.cpp.o.d -o tools/extra/clang-reorder-fields/CMakeFiles/obj.clangReorderFields.dir/ReorderFieldsAction.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-reorder-fields/ReorderFieldsAction.cpp [1296/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/modularize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/modularize -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/modularize/CMakeFiles/modularize.dir/CoverageChecker.cpp.o -MF tools/extra/modularize/CMakeFiles/modularize.dir/CoverageChecker.cpp.o.d -o tools/extra/modularize/CMakeFiles/modularize.dir/CoverageChecker.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/modularize/CoverageChecker.cpp [1297/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/CMakeFiles/obj.clangTidy.dir/ClangTidyProfiling.cpp.o -MF tools/extra/clang-tidy/CMakeFiles/obj.clangTidy.dir/ClangTidyProfiling.cpp.o.d -o tools/extra/clang-tidy/CMakeFiles/obj.clangTidy.dir/ClangTidyProfiling.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/ClangTidyProfiling.cpp [1298/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/CMakeFiles/obj.clangTidy.dir/ClangTidyOptions.cpp.o -MF tools/extra/clang-tidy/CMakeFiles/obj.clangTidy.dir/ClangTidyOptions.cpp.o.d -o tools/extra/clang-tidy/CMakeFiles/obj.clangTidy.dir/ClangTidyOptions.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/ClangTidyOptions.cpp [1299/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/CMakeFiles/obj.clangTidy.dir/GlobList.cpp.o -MF tools/extra/clang-tidy/CMakeFiles/obj.clangTidy.dir/GlobList.cpp.o.d -o tools/extra/clang-tidy/CMakeFiles/obj.clangTidy.dir/GlobList.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/GlobList.cpp [1300/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/modularize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/modularize -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/modularize/CMakeFiles/modularize.dir/Modularize.cpp.o -MF tools/extra/modularize/CMakeFiles/modularize.dir/Modularize.cpp.o.d -o tools/extra/modularize/CMakeFiles/modularize.dir/Modularize.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/modularize/Modularize.cpp [1301/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/CMakeFiles/obj.clangTidy.dir/ClangTidyCheck.cpp.o -MF tools/extra/clang-tidy/CMakeFiles/obj.clangTidy.dir/ClangTidyCheck.cpp.o.d -o tools/extra/clang-tidy/CMakeFiles/obj.clangTidy.dir/ClangTidyCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/ClangTidyCheck.cpp [1302/2013] : && /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 && : [1303/2013] : && /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 && : [1304/2013] : && /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 && : [1305/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/CMakeFiles/obj.clangTidy.dir/ClangTidyDiagnosticConsumer.cpp.o -MF tools/extra/clang-tidy/CMakeFiles/obj.clangTidy.dir/ClangTidyDiagnosticConsumer.cpp.o.d -o tools/extra/clang-tidy/CMakeFiles/obj.clangTidy.dir/ClangTidyDiagnosticConsumer.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/ClangTidyDiagnosticConsumer.cpp [1306/2013] : && /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 && : [1307/2013] : && /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 && : [1308/2013] : && /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-comment -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/clang-fuzzer/dictionary/CMakeFiles/clang-fuzzer-dictionary.dir/dictionary.c.o -o bin/clang-fuzzer-dictionary /usr/lib64/libLLVM-17.so && : [1309/2013] : && /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 && : [1310/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/CMakeFiles/obj.clangTidy.dir/ClangTidyModule.cpp.o -MF tools/extra/clang-tidy/CMakeFiles/obj.clangTidy.dir/ClangTidyModule.cpp.o.d -o tools/extra/clang-tidy/CMakeFiles/obj.clangTidy.dir/ClangTidyModule.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/ClangTidyModule.cpp [1311/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/CMakeFiles/obj.clangTidy.dir/NoLintDirectiveHandler.cpp.o -MF tools/extra/clang-tidy/CMakeFiles/obj.clangTidy.dir/NoLintDirectiveHandler.cpp.o.d -o tools/extra/clang-tidy/CMakeFiles/obj.clangTidy.dir/NoLintDirectiveHandler.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/NoLintDirectiveHandler.cpp [1312/2013] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/clang-linker-wrapper/CMakeFiles/clang-linker-wrapper.dir/ClangLinkerWrapper.cpp.o tools/clang-linker-wrapper/CMakeFiles/clang-linker-wrapper.dir/OffloadWrapper.cpp.o -o bin/clang-linker-wrapper lib64/libclangBasic.a /usr/lib64/libLLVM-17.so && : [1313/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/CMakeFiles/obj.clangTidy.dir/ClangTidy.cpp.o -MF tools/extra/clang-tidy/CMakeFiles/obj.clangTidy.dir/ClangTidy.cpp.o.d -o tools/extra/clang-tidy/CMakeFiles/obj.clangTidy.dir/ClangTidy.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/ClangTidy.cpp [1314/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/CMakeFiles/obj.clangTidy.dir/ExpandModularHeadersPPCallbacks.cpp.o -MF tools/extra/clang-tidy/CMakeFiles/obj.clangTidy.dir/ExpandModularHeadersPPCallbacks.cpp.o.d -o tools/extra/clang-tidy/CMakeFiles/obj.clangTidy.dir/ExpandModularHeadersPPCallbacks.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/ExpandModularHeadersPPCallbacks.cpp [1315/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/android -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/android -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/AndroidTidyModule.cpp.o -MF tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/AndroidTidyModule.cpp.o.d -o tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/AndroidTidyModule.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/android/AndroidTidyModule.cpp [1316/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/android -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/android -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecAccept4Check.cpp.o -MF tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecAccept4Check.cpp.o.d -o tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecAccept4Check.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/android/CloexecAccept4Check.cpp [1317/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/android -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/android -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecAcceptCheck.cpp.o -MF tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecAcceptCheck.cpp.o.d -o tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecAcceptCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/android/CloexecAcceptCheck.cpp [1318/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/android -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/android -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecCreatCheck.cpp.o -MF tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecCreatCheck.cpp.o.d -o tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecCreatCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/android/CloexecCreatCheck.cpp [1319/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/android -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/android -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecCheck.cpp.o -MF tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecCheck.cpp.o.d -o tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/android/CloexecCheck.cpp [1320/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/android -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/android -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecDupCheck.cpp.o -MF tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecDupCheck.cpp.o.d -o tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecDupCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/android/CloexecDupCheck.cpp [1321/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/android -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/android -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecEpollCreate1Check.cpp.o -MF tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecEpollCreate1Check.cpp.o.d -o tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecEpollCreate1Check.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/android/CloexecEpollCreate1Check.cpp [1322/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/android -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/android -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecEpollCreateCheck.cpp.o -MF tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecEpollCreateCheck.cpp.o.d -o tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecEpollCreateCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/android/CloexecEpollCreateCheck.cpp [1323/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/android -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/android -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecFopenCheck.cpp.o -MF tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecFopenCheck.cpp.o.d -o tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecFopenCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/android/CloexecFopenCheck.cpp [1324/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/android -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/android -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecInotifyInit1Check.cpp.o -MF tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecInotifyInit1Check.cpp.o.d -o tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecInotifyInit1Check.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/android/CloexecInotifyInit1Check.cpp [1325/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/android -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/android -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecInotifyInitCheck.cpp.o -MF tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecInotifyInitCheck.cpp.o.d -o tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecInotifyInitCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/android/CloexecInotifyInitCheck.cpp [1326/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/android -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/android -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecMemfdCreateCheck.cpp.o -MF tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecMemfdCreateCheck.cpp.o.d -o tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecMemfdCreateCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/android/CloexecMemfdCreateCheck.cpp [1327/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/android -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/android -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecOpenCheck.cpp.o -MF tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecOpenCheck.cpp.o.d -o tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecOpenCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/android/CloexecOpenCheck.cpp [1328/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/android -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/android -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecPipeCheck.cpp.o -MF tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecPipeCheck.cpp.o.d -o tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecPipeCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/android/CloexecPipeCheck.cpp [1329/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/android -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/android -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecPipe2Check.cpp.o -MF tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecPipe2Check.cpp.o.d -o tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecPipe2Check.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/android/CloexecPipe2Check.cpp [1330/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/android -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/android -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecSocketCheck.cpp.o -MF tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecSocketCheck.cpp.o.d -o tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/CloexecSocketCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/android/CloexecSocketCheck.cpp [1331/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/android -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/android -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/ComparisonInTempFailureRetryCheck.cpp.o -MF tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/ComparisonInTempFailureRetryCheck.cpp.o.d -o tools/extra/clang-tidy/android/CMakeFiles/obj.clangTidyAndroidModule.dir/ComparisonInTempFailureRetryCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/android/ComparisonInTempFailureRetryCheck.cpp [1332/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/abseil -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/AbseilTidyModule.cpp.o -MF tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/AbseilTidyModule.cpp.o.d -o tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/AbseilTidyModule.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil/AbseilTidyModule.cpp [1333/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/abseil -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/CleanupCtadCheck.cpp.o -MF tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/CleanupCtadCheck.cpp.o.d -o tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/CleanupCtadCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil/CleanupCtadCheck.cpp [1334/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/abseil -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/DurationAdditionCheck.cpp.o -MF tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/DurationAdditionCheck.cpp.o.d -o tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/DurationAdditionCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil/DurationAdditionCheck.cpp [1335/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/abseil -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/DurationComparisonCheck.cpp.o -MF tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/DurationComparisonCheck.cpp.o.d -o tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/DurationComparisonCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil/DurationComparisonCheck.cpp [1336/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/abseil -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/DurationConversionCastCheck.cpp.o -MF tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/DurationConversionCastCheck.cpp.o.d -o tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/DurationConversionCastCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil/DurationConversionCastCheck.cpp [1337/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/abseil -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/DurationDivisionCheck.cpp.o -MF tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/DurationDivisionCheck.cpp.o.d -o tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/DurationDivisionCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil/DurationDivisionCheck.cpp [1338/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/abseil -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/DurationFactoryFloatCheck.cpp.o -MF tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/DurationFactoryFloatCheck.cpp.o.d -o tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/DurationFactoryFloatCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil/DurationFactoryFloatCheck.cpp [1339/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/abseil -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/DurationFactoryScaleCheck.cpp.o -MF tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/DurationFactoryScaleCheck.cpp.o.d -o tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/DurationFactoryScaleCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil/DurationFactoryScaleCheck.cpp [1340/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/abseil -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/DurationRewriter.cpp.o -MF tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/DurationRewriter.cpp.o.d -o tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/DurationRewriter.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil/DurationRewriter.cpp [1341/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/abseil -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/DurationSubtractionCheck.cpp.o -MF tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/DurationSubtractionCheck.cpp.o.d -o tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/DurationSubtractionCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil/DurationSubtractionCheck.cpp [1342/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/abseil -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/DurationUnnecessaryConversionCheck.cpp.o -MF tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/DurationUnnecessaryConversionCheck.cpp.o.d -o tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/DurationUnnecessaryConversionCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil/DurationUnnecessaryConversionCheck.cpp [1343/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/abseil -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/NoInternalDependenciesCheck.cpp.o -MF tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/NoInternalDependenciesCheck.cpp.o.d -o tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/NoInternalDependenciesCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil/NoInternalDependenciesCheck.cpp [1344/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/abseil -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/FasterStrsplitDelimiterCheck.cpp.o -MF tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/FasterStrsplitDelimiterCheck.cpp.o.d -o tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/FasterStrsplitDelimiterCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil/FasterStrsplitDelimiterCheck.cpp [1345/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/abseil -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/NoNamespaceCheck.cpp.o -MF tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/NoNamespaceCheck.cpp.o.d -o tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/NoNamespaceCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil/NoNamespaceCheck.cpp [1346/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/abseil -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/RedundantStrcatCallsCheck.cpp.o -MF tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/RedundantStrcatCallsCheck.cpp.o.d -o tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/RedundantStrcatCallsCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil/RedundantStrcatCallsCheck.cpp [1347/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/abseil -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/StrCatAppendCheck.cpp.o -MF tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/StrCatAppendCheck.cpp.o.d -o tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/StrCatAppendCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil/StrCatAppendCheck.cpp [1348/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/abseil -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/StringFindStartswithCheck.cpp.o -MF tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/StringFindStartswithCheck.cpp.o.d -o tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/StringFindStartswithCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil/StringFindStartswithCheck.cpp [1349/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/abseil -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/StringFindStrContainsCheck.cpp.o -MF tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/StringFindStrContainsCheck.cpp.o.d -o tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/StringFindStrContainsCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil/StringFindStrContainsCheck.cpp [1350/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/abseil -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/TimeComparisonCheck.cpp.o -MF tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/TimeComparisonCheck.cpp.o.d -o tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/TimeComparisonCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil/TimeComparisonCheck.cpp [1351/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/abseil -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/TimeSubtractionCheck.cpp.o -MF tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/TimeSubtractionCheck.cpp.o.d -o tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/TimeSubtractionCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil/TimeSubtractionCheck.cpp [1352/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/abseil -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/UpgradeDurationConversionsCheck.cpp.o -MF tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/UpgradeDurationConversionsCheck.cpp.o.d -o tools/extra/clang-tidy/abseil/CMakeFiles/obj.clangTidyAbseilModule.dir/UpgradeDurationConversionsCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/abseil/UpgradeDurationConversionsCheck.cpp [1353/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/altera -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/altera -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/altera/CMakeFiles/obj.clangTidyAlteraModule.dir/AlteraTidyModule.cpp.o -MF tools/extra/clang-tidy/altera/CMakeFiles/obj.clangTidyAlteraModule.dir/AlteraTidyModule.cpp.o.d -o tools/extra/clang-tidy/altera/CMakeFiles/obj.clangTidyAlteraModule.dir/AlteraTidyModule.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/altera/AlteraTidyModule.cpp [1354/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/altera -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/altera -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/altera/CMakeFiles/obj.clangTidyAlteraModule.dir/IdDependentBackwardBranchCheck.cpp.o -MF tools/extra/clang-tidy/altera/CMakeFiles/obj.clangTidyAlteraModule.dir/IdDependentBackwardBranchCheck.cpp.o.d -o tools/extra/clang-tidy/altera/CMakeFiles/obj.clangTidyAlteraModule.dir/IdDependentBackwardBranchCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/altera/IdDependentBackwardBranchCheck.cpp [1355/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/altera -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/altera -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/altera/CMakeFiles/obj.clangTidyAlteraModule.dir/KernelNameRestrictionCheck.cpp.o -MF tools/extra/clang-tidy/altera/CMakeFiles/obj.clangTidyAlteraModule.dir/KernelNameRestrictionCheck.cpp.o.d -o tools/extra/clang-tidy/altera/CMakeFiles/obj.clangTidyAlteraModule.dir/KernelNameRestrictionCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/altera/KernelNameRestrictionCheck.cpp [1356/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/altera -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/altera -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/altera/CMakeFiles/obj.clangTidyAlteraModule.dir/SingleWorkItemBarrierCheck.cpp.o -MF tools/extra/clang-tidy/altera/CMakeFiles/obj.clangTidyAlteraModule.dir/SingleWorkItemBarrierCheck.cpp.o.d -o tools/extra/clang-tidy/altera/CMakeFiles/obj.clangTidyAlteraModule.dir/SingleWorkItemBarrierCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/altera/SingleWorkItemBarrierCheck.cpp [1357/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/altera -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/altera -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/altera/CMakeFiles/obj.clangTidyAlteraModule.dir/StructPackAlignCheck.cpp.o -MF tools/extra/clang-tidy/altera/CMakeFiles/obj.clangTidyAlteraModule.dir/StructPackAlignCheck.cpp.o.d -o tools/extra/clang-tidy/altera/CMakeFiles/obj.clangTidyAlteraModule.dir/StructPackAlignCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/altera/StructPackAlignCheck.cpp [1358/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/altera -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/altera -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/altera/CMakeFiles/obj.clangTidyAlteraModule.dir/UnrollLoopsCheck.cpp.o -MF tools/extra/clang-tidy/altera/CMakeFiles/obj.clangTidyAlteraModule.dir/UnrollLoopsCheck.cpp.o.d -o tools/extra/clang-tidy/altera/CMakeFiles/obj.clangTidyAlteraModule.dir/UnrollLoopsCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/altera/UnrollLoopsCheck.cpp [1359/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/boost -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/boost -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/boost/CMakeFiles/obj.clangTidyBoostModule.dir/BoostTidyModule.cpp.o -MF tools/extra/clang-tidy/boost/CMakeFiles/obj.clangTidyBoostModule.dir/BoostTidyModule.cpp.o.d -o tools/extra/clang-tidy/boost/CMakeFiles/obj.clangTidyBoostModule.dir/BoostTidyModule.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/boost/BoostTidyModule.cpp [1360/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/boost -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/boost -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/boost/CMakeFiles/obj.clangTidyBoostModule.dir/UseToStringCheck.cpp.o -MF tools/extra/clang-tidy/boost/CMakeFiles/obj.clangTidyBoostModule.dir/UseToStringCheck.cpp.o.d -o tools/extra/clang-tidy/boost/CMakeFiles/obj.clangTidyBoostModule.dir/UseToStringCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/boost/UseToStringCheck.cpp [1361/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/ArgumentCommentCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/ArgumentCommentCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/ArgumentCommentCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/ArgumentCommentCheck.cpp [1362/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/AssertSideEffectCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/AssertSideEffectCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/AssertSideEffectCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/AssertSideEffectCheck.cpp [1363/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/BadSignalToKillThreadCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/BadSignalToKillThreadCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/BadSignalToKillThreadCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/BadSignalToKillThreadCheck.cpp [1364/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/BoolPointerImplicitConversionCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/BoolPointerImplicitConversionCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/BoolPointerImplicitConversionCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/BoolPointerImplicitConversionCheck.cpp [1365/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/BranchCloneCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/BranchCloneCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/BranchCloneCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/BranchCloneCheck.cpp [1366/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/CopyConstructorInitCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/CopyConstructorInitCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/CopyConstructorInitCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/CopyConstructorInitCheck.cpp [1367/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/AssignmentInIfConditionCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/AssignmentInIfConditionCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/AssignmentInIfConditionCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/AssignmentInIfConditionCheck.cpp [1368/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/BugproneTidyModule.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/BugproneTidyModule.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/BugproneTidyModule.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/BugproneTidyModule.cpp [1369/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/DynamicStaticInitializersCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/DynamicStaticInitializersCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/DynamicStaticInitializersCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/DynamicStaticInitializersCheck.cpp [1370/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/DanglingHandleCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/DanglingHandleCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/DanglingHandleCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/DanglingHandleCheck.cpp [1371/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/EmptyCatchCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/EmptyCatchCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/EmptyCatchCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/EmptyCatchCheck.cpp [1372/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/ExceptionEscapeCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/ExceptionEscapeCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/ExceptionEscapeCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/ExceptionEscapeCheck.cpp [1373/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/FoldInitTypeCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/FoldInitTypeCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/FoldInitTypeCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/FoldInitTypeCheck.cpp [1374/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/ForwardDeclarationNamespaceCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/ForwardDeclarationNamespaceCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/ForwardDeclarationNamespaceCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/ForwardDeclarationNamespaceCheck.cpp [1375/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/ForwardingReferenceOverloadCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/ForwardingReferenceOverloadCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/ForwardingReferenceOverloadCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/ForwardingReferenceOverloadCheck.cpp [1376/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/ImplicitWideningOfMultiplicationResultCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/ImplicitWideningOfMultiplicationResultCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/ImplicitWideningOfMultiplicationResultCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/ImplicitWideningOfMultiplicationResultCheck.cpp [1377/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/EasilySwappableParametersCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/EasilySwappableParametersCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/EasilySwappableParametersCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/EasilySwappableParametersCheck.cpp [1378/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/InaccurateEraseCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/InaccurateEraseCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/InaccurateEraseCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/InaccurateEraseCheck.cpp [1379/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SwitchMissingDefaultCaseCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SwitchMissingDefaultCaseCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SwitchMissingDefaultCaseCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/SwitchMissingDefaultCaseCheck.cpp [1380/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/IncorrectRoundingsCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/IncorrectRoundingsCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/IncorrectRoundingsCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/IncorrectRoundingsCheck.cpp [1381/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/IntegerDivisionCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/IntegerDivisionCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/IntegerDivisionCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/IntegerDivisionCheck.cpp [1382/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/LambdaFunctionNameCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/LambdaFunctionNameCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/LambdaFunctionNameCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/LambdaFunctionNameCheck.cpp [1383/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/MacroParenthesesCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/MacroParenthesesCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/MacroParenthesesCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/MacroParenthesesCheck.cpp [1384/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/InfiniteLoopCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/InfiniteLoopCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/InfiniteLoopCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/InfiniteLoopCheck.cpp [1385/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/MacroRepeatedSideEffectsCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/MacroRepeatedSideEffectsCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/MacroRepeatedSideEffectsCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/MacroRepeatedSideEffectsCheck.cpp [1386/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/MisplacedOperatorInStrlenInAllocCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/MisplacedOperatorInStrlenInAllocCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/MisplacedOperatorInStrlenInAllocCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/MisplacedOperatorInStrlenInAllocCheck.cpp [1387/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/MisplacedPointerArithmeticInAllocCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/MisplacedPointerArithmeticInAllocCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/MisplacedPointerArithmeticInAllocCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/MisplacedPointerArithmeticInAllocCheck.cpp [1388/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/MisplacedWideningCastCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/MisplacedWideningCastCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/MisplacedWideningCastCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/MisplacedWideningCastCheck.cpp [1389/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/MoveForwardingReferenceCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/MoveForwardingReferenceCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/MoveForwardingReferenceCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/MoveForwardingReferenceCheck.cpp [1390/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/MultipleNewInOneExpressionCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/MultipleNewInOneExpressionCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/MultipleNewInOneExpressionCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/MultipleNewInOneExpressionCheck.cpp [1391/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/MultipleStatementMacroCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/MultipleStatementMacroCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/MultipleStatementMacroCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/MultipleStatementMacroCheck.cpp [1392/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/NoEscapeCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/NoEscapeCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/NoEscapeCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/NoEscapeCheck.cpp [1393/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/NonZeroEnumToBoolConversionCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/NonZeroEnumToBoolConversionCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/NonZeroEnumToBoolConversionCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/NonZeroEnumToBoolConversionCheck.cpp [1394/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/ParentVirtualCallCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/ParentVirtualCallCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/ParentVirtualCallCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/ParentVirtualCallCheck.cpp [1395/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/PosixReturnCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/PosixReturnCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/PosixReturnCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/PosixReturnCheck.cpp [1396/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/ReservedIdentifierCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/ReservedIdentifierCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/ReservedIdentifierCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/ReservedIdentifierCheck.cpp [1397/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/RedundantBranchConditionCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/RedundantBranchConditionCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/RedundantBranchConditionCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/RedundantBranchConditionCheck.cpp [1398/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SharedPtrArrayMismatchCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SharedPtrArrayMismatchCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SharedPtrArrayMismatchCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/SharedPtrArrayMismatchCheck.cpp [1399/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/NotNullTerminatedResultCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/NotNullTerminatedResultCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/NotNullTerminatedResultCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/NotNullTerminatedResultCheck.cpp [1400/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SignedCharMisuseCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SignedCharMisuseCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SignedCharMisuseCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/SignedCharMisuseCheck.cpp [1401/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SignalHandlerCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SignalHandlerCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SignalHandlerCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/SignalHandlerCheck.cpp [1402/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SizeofContainerCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SizeofContainerCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SizeofContainerCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/SizeofContainerCheck.cpp [1403/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SmartPtrArrayMismatchCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SmartPtrArrayMismatchCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SmartPtrArrayMismatchCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/SmartPtrArrayMismatchCheck.cpp [1404/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SpuriouslyWakeUpFunctionsCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SpuriouslyWakeUpFunctionsCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SpuriouslyWakeUpFunctionsCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/SpuriouslyWakeUpFunctionsCheck.cpp [1405/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/StandaloneEmptyCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/StandaloneEmptyCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/StandaloneEmptyCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/StandaloneEmptyCheck.cpp [1406/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SizeofExpressionCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SizeofExpressionCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SizeofExpressionCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/SizeofExpressionCheck.cpp [1407/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/StringIntegerAssignmentCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/StringIntegerAssignmentCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/StringIntegerAssignmentCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/StringIntegerAssignmentCheck.cpp [1408/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/StringLiteralWithEmbeddedNulCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/StringLiteralWithEmbeddedNulCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/StringLiteralWithEmbeddedNulCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/StringLiteralWithEmbeddedNulCheck.cpp [1409/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/StringConstructorCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/StringConstructorCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/StringConstructorCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/StringConstructorCheck.cpp [1410/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SuspiciousEnumUsageCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SuspiciousEnumUsageCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SuspiciousEnumUsageCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/SuspiciousEnumUsageCheck.cpp [1411/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SuspiciousMemoryComparisonCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SuspiciousMemoryComparisonCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SuspiciousMemoryComparisonCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/SuspiciousMemoryComparisonCheck.cpp [1412/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SuspiciousIncludeCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SuspiciousIncludeCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SuspiciousIncludeCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/SuspiciousIncludeCheck.cpp [1413/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/StringviewNullptrCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/StringviewNullptrCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/StringviewNullptrCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/StringviewNullptrCheck.cpp [1414/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SuspiciousMemsetUsageCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SuspiciousMemsetUsageCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SuspiciousMemsetUsageCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/SuspiciousMemsetUsageCheck.cpp [1415/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SuspiciousMissingCommaCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SuspiciousMissingCommaCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SuspiciousMissingCommaCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/SuspiciousMissingCommaCheck.cpp [1416/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SuspiciousReallocUsageCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SuspiciousReallocUsageCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SuspiciousReallocUsageCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/SuspiciousReallocUsageCheck.cpp [1417/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SuspiciousSemicolonCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SuspiciousSemicolonCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SuspiciousSemicolonCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/SuspiciousSemicolonCheck.cpp [1418/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SwappedArgumentsCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SwappedArgumentsCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SwappedArgumentsCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/SwappedArgumentsCheck.cpp [1419/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/TerminatingContinueCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/TerminatingContinueCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/TerminatingContinueCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/TerminatingContinueCheck.cpp [1420/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SuspiciousStringCompareCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SuspiciousStringCompareCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/SuspiciousStringCompareCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/SuspiciousStringCompareCheck.cpp [1421/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/ThrowKeywordMissingCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/ThrowKeywordMissingCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/ThrowKeywordMissingCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/ThrowKeywordMissingCheck.cpp [1422/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/TooSmallLoopVariableCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/TooSmallLoopVariableCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/TooSmallLoopVariableCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/TooSmallLoopVariableCheck.cpp [1423/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/UndefinedMemoryManipulationCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/UndefinedMemoryManipulationCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/UndefinedMemoryManipulationCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/UndefinedMemoryManipulationCheck.cpp [1424/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/UncheckedOptionalAccessCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/UncheckedOptionalAccessCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/UncheckedOptionalAccessCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/UncheckedOptionalAccessCheck.cpp [1425/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/UndelegatedConstructorCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/UndelegatedConstructorCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/UndelegatedConstructorCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/UndelegatedConstructorCheck.cpp [1426/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/UnhandledExceptionAtNewCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/UnhandledExceptionAtNewCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/UnhandledExceptionAtNewCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/UnhandledExceptionAtNewCheck.cpp [1427/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/UnhandledSelfAssignmentCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/UnhandledSelfAssignmentCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/UnhandledSelfAssignmentCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/UnhandledSelfAssignmentCheck.cpp [1428/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/UniquePtrArrayMismatchCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/UniquePtrArrayMismatchCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/UniquePtrArrayMismatchCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/UniquePtrArrayMismatchCheck.cpp [1429/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/UnusedRaiiCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/UnusedRaiiCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/UnusedRaiiCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/UnusedRaiiCheck.cpp [1430/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/UnsafeFunctionsCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/UnsafeFunctionsCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/UnsafeFunctionsCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/UnsafeFunctionsCheck.cpp [1431/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/UnusedReturnValueCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/UnusedReturnValueCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/UnusedReturnValueCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/UnusedReturnValueCheck.cpp [1432/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/VirtualNearMissCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/VirtualNearMissCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/VirtualNearMissCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/VirtualNearMissCheck.cpp [1433/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/bugprone -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/UseAfterMoveCheck.cpp.o -MF tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/UseAfterMoveCheck.cpp.o.d -o tools/extra/clang-tidy/bugprone/CMakeFiles/obj.clangTidyBugproneModule.dir/UseAfterMoveCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/bugprone/UseAfterMoveCheck.cpp [1434/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cert -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cert -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/CommandProcessorCheck.cpp.o -MF tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/CommandProcessorCheck.cpp.o.d -o tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/CommandProcessorCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cert/CommandProcessorCheck.cpp [1435/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cert -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cert -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/CERTTidyModule.cpp.o -MF tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/CERTTidyModule.cpp.o.d -o tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/CERTTidyModule.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cert/CERTTidyModule.cpp [1436/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cert -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cert -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/DefaultOperatorNewAlignmentCheck.cpp.o -MF tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/DefaultOperatorNewAlignmentCheck.cpp.o.d -o tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/DefaultOperatorNewAlignmentCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cert/DefaultOperatorNewAlignmentCheck.cpp [1437/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cert -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cert -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/DontModifyStdNamespaceCheck.cpp.o -MF tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/DontModifyStdNamespaceCheck.cpp.o.d -o tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/DontModifyStdNamespaceCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cert/DontModifyStdNamespaceCheck.cpp [1438/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cert -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cert -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/FloatLoopCounter.cpp.o -MF tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/FloatLoopCounter.cpp.o.d -o tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/FloatLoopCounter.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cert/FloatLoopCounter.cpp [1439/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cert -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cert -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/LimitedRandomnessCheck.cpp.o -MF tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/LimitedRandomnessCheck.cpp.o.d -o tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/LimitedRandomnessCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cert/LimitedRandomnessCheck.cpp [1440/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cert -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cert -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/MutatingCopyCheck.cpp.o -MF tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/MutatingCopyCheck.cpp.o.d -o tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/MutatingCopyCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cert/MutatingCopyCheck.cpp [1441/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cert -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cert -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/NonTrivialTypesLibcMemoryCallsCheck.cpp.o -MF tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/NonTrivialTypesLibcMemoryCallsCheck.cpp.o.d -o tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/NonTrivialTypesLibcMemoryCallsCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cert/NonTrivialTypesLibcMemoryCallsCheck.cpp [1442/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cert -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cert -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/PostfixOperatorCheck.cpp.o -MF tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/PostfixOperatorCheck.cpp.o.d -o tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/PostfixOperatorCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cert/PostfixOperatorCheck.cpp [1443/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cert -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cert -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/ProperlySeededRandomGeneratorCheck.cpp.o -MF tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/ProperlySeededRandomGeneratorCheck.cpp.o.d -o tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/ProperlySeededRandomGeneratorCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cert/ProperlySeededRandomGeneratorCheck.cpp [1444/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cert -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cert -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/StaticObjectExceptionCheck.cpp.o -MF tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/StaticObjectExceptionCheck.cpp.o.d -o tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/StaticObjectExceptionCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cert/StaticObjectExceptionCheck.cpp [1445/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cert -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cert -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/SetLongJmpCheck.cpp.o -MF tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/SetLongJmpCheck.cpp.o.d -o tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/SetLongJmpCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cert/SetLongJmpCheck.cpp [1446/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cert -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cert -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/StrToNumCheck.cpp.o -MF tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/StrToNumCheck.cpp.o.d -o tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/StrToNumCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cert/StrToNumCheck.cpp [1447/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cert -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cert -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/ThrownExceptionTypeCheck.cpp.o -MF tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/ThrownExceptionTypeCheck.cpp.o.d -o tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/ThrownExceptionTypeCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cert/ThrownExceptionTypeCheck.cpp [1448/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cert -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cert -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/VariadicFunctionDefCheck.cpp.o -MF tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/VariadicFunctionDefCheck.cpp.o.d -o tools/extra/clang-tidy/cert/CMakeFiles/obj.clangTidyCERTModule.dir/VariadicFunctionDefCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cert/VariadicFunctionDefCheck.cpp [1449/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/concurrency -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/concurrency -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/concurrency/CMakeFiles/obj.clangTidyConcurrencyModule.dir/ConcurrencyTidyModule.cpp.o -MF tools/extra/clang-tidy/concurrency/CMakeFiles/obj.clangTidyConcurrencyModule.dir/ConcurrencyTidyModule.cpp.o.d -o tools/extra/clang-tidy/concurrency/CMakeFiles/obj.clangTidyConcurrencyModule.dir/ConcurrencyTidyModule.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/concurrency/ConcurrencyTidyModule.cpp [1450/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/concurrency -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/concurrency -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/concurrency/CMakeFiles/obj.clangTidyConcurrencyModule.dir/MtUnsafeCheck.cpp.o -MF tools/extra/clang-tidy/concurrency/CMakeFiles/obj.clangTidyConcurrencyModule.dir/MtUnsafeCheck.cpp.o.d -o tools/extra/clang-tidy/concurrency/CMakeFiles/obj.clangTidyConcurrencyModule.dir/MtUnsafeCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/concurrency/MtUnsafeCheck.cpp [1451/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/concurrency -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/concurrency -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/concurrency/CMakeFiles/obj.clangTidyConcurrencyModule.dir/ThreadCanceltypeAsynchronousCheck.cpp.o -MF tools/extra/clang-tidy/concurrency/CMakeFiles/obj.clangTidyConcurrencyModule.dir/ThreadCanceltypeAsynchronousCheck.cpp.o.d -o tools/extra/clang-tidy/concurrency/CMakeFiles/obj.clangTidyConcurrencyModule.dir/ThreadCanceltypeAsynchronousCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/concurrency/ThreadCanceltypeAsynchronousCheck.cpp [1452/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/AvoidCapturingLambdaCoroutinesCheck.cpp.o -MF tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/AvoidCapturingLambdaCoroutinesCheck.cpp.o.d -o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/AvoidCapturingLambdaCoroutinesCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines/AvoidCapturingLambdaCoroutinesCheck.cpp [1453/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/AvoidConstOrRefDataMembersCheck.cpp.o -MF tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/AvoidConstOrRefDataMembersCheck.cpp.o.d -o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/AvoidConstOrRefDataMembersCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines/AvoidConstOrRefDataMembersCheck.cpp [1454/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/AvoidDoWhileCheck.cpp.o -MF tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/AvoidDoWhileCheck.cpp.o.d -o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/AvoidDoWhileCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines/AvoidDoWhileCheck.cpp [1455/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/AvoidGotoCheck.cpp.o -MF tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/AvoidGotoCheck.cpp.o.d -o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/AvoidGotoCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines/AvoidGotoCheck.cpp [1456/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/AvoidNonConstGlobalVariablesCheck.cpp.o -MF tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/AvoidNonConstGlobalVariablesCheck.cpp.o.d -o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/AvoidNonConstGlobalVariablesCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines/AvoidNonConstGlobalVariablesCheck.cpp [1457/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/AvoidReferenceCoroutineParametersCheck.cpp.o -MF tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/AvoidReferenceCoroutineParametersCheck.cpp.o.d -o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/AvoidReferenceCoroutineParametersCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines/AvoidReferenceCoroutineParametersCheck.cpp [1458/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/CppCoreGuidelinesTidyModule.cpp.o -MF tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/CppCoreGuidelinesTidyModule.cpp.o.d -o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/CppCoreGuidelinesTidyModule.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines/CppCoreGuidelinesTidyModule.cpp [1459/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/InitVariablesCheck.cpp.o -MF tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/InitVariablesCheck.cpp.o.d -o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/InitVariablesCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines/InitVariablesCheck.cpp [1460/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/InterfacesGlobalInitCheck.cpp.o -MF tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/InterfacesGlobalInitCheck.cpp.o.d -o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/InterfacesGlobalInitCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines/InterfacesGlobalInitCheck.cpp [1461/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/MisleadingCaptureDefaultByValueCheck.cpp.o -MF tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/MisleadingCaptureDefaultByValueCheck.cpp.o.d -o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/MisleadingCaptureDefaultByValueCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines/MisleadingCaptureDefaultByValueCheck.cpp [1462/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/MacroUsageCheck.cpp.o -MF tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/MacroUsageCheck.cpp.o.d -o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/MacroUsageCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines/MacroUsageCheck.cpp [1463/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/MissingStdForwardCheck.cpp.o -MF tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/MissingStdForwardCheck.cpp.o.d -o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/MissingStdForwardCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines/MissingStdForwardCheck.cpp [1464/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/NarrowingConversionsCheck.cpp.o -MF tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/NarrowingConversionsCheck.cpp.o.d -o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/NarrowingConversionsCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines/NarrowingConversionsCheck.cpp [1465/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/NoMallocCheck.cpp.o -MF tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/NoMallocCheck.cpp.o.d -o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/NoMallocCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines/NoMallocCheck.cpp [1466/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/PreferMemberInitializerCheck.cpp.o -MF tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/PreferMemberInitializerCheck.cpp.o.d -o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/PreferMemberInitializerCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines/PreferMemberInitializerCheck.cpp [1467/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/OwningMemoryCheck.cpp.o -MF tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/OwningMemoryCheck.cpp.o.d -o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/OwningMemoryCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines/OwningMemoryCheck.cpp [1468/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/ProBoundsArrayToPointerDecayCheck.cpp.o -MF tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/ProBoundsArrayToPointerDecayCheck.cpp.o.d -o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/ProBoundsArrayToPointerDecayCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines/ProBoundsArrayToPointerDecayCheck.cpp [1469/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/ProBoundsPointerArithmeticCheck.cpp.o -MF tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/ProBoundsPointerArithmeticCheck.cpp.o.d -o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/ProBoundsPointerArithmeticCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines/ProBoundsPointerArithmeticCheck.cpp [1470/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/ProBoundsConstantArrayIndexCheck.cpp.o -MF tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/ProBoundsConstantArrayIndexCheck.cpp.o.d -o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/ProBoundsConstantArrayIndexCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines/ProBoundsConstantArrayIndexCheck.cpp [1471/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/ProTypeConstCastCheck.cpp.o -MF tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/ProTypeConstCastCheck.cpp.o.d -o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/ProTypeConstCastCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines/ProTypeConstCastCheck.cpp [1472/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/ProTypeCstyleCastCheck.cpp.o -MF tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/ProTypeCstyleCastCheck.cpp.o.d -o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/ProTypeCstyleCastCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines/ProTypeCstyleCastCheck.cpp [1473/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/ProTypeReinterpretCastCheck.cpp.o -MF tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/ProTypeReinterpretCastCheck.cpp.o.d -o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/ProTypeReinterpretCastCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines/ProTypeReinterpretCastCheck.cpp [1474/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/ProTypeMemberInitCheck.cpp.o -MF tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/ProTypeMemberInitCheck.cpp.o.d -o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/ProTypeMemberInitCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines/ProTypeMemberInitCheck.cpp [1475/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/ProTypeStaticCastDowncastCheck.cpp.o -MF tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/ProTypeStaticCastDowncastCheck.cpp.o.d -o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/ProTypeStaticCastDowncastCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines/ProTypeStaticCastDowncastCheck.cpp [1476/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/ProTypeUnionAccessCheck.cpp.o -MF tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/ProTypeUnionAccessCheck.cpp.o.d -o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/ProTypeUnionAccessCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines/ProTypeUnionAccessCheck.cpp [1477/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/ProTypeVarargCheck.cpp.o -MF tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/ProTypeVarargCheck.cpp.o.d -o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/ProTypeVarargCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines/ProTypeVarargCheck.cpp [1478/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/SlicingCheck.cpp.o -MF tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/SlicingCheck.cpp.o.d -o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/SlicingCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines/SlicingCheck.cpp [1479/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/RvalueReferenceParamNotMovedCheck.cpp.o -MF tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/RvalueReferenceParamNotMovedCheck.cpp.o.d -o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/RvalueReferenceParamNotMovedCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines/RvalueReferenceParamNotMovedCheck.cpp [1480/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/SpecialMemberFunctionsCheck.cpp.o -MF tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/SpecialMemberFunctionsCheck.cpp.o.d -o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/SpecialMemberFunctionsCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines/SpecialMemberFunctionsCheck.cpp [1481/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/darwin -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/darwin -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/darwin/CMakeFiles/obj.clangTidyDarwinModule.dir/AvoidSpinlockCheck.cpp.o -MF tools/extra/clang-tidy/darwin/CMakeFiles/obj.clangTidyDarwinModule.dir/AvoidSpinlockCheck.cpp.o.d -o tools/extra/clang-tidy/darwin/CMakeFiles/obj.clangTidyDarwinModule.dir/AvoidSpinlockCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/darwin/AvoidSpinlockCheck.cpp [1482/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/VirtualClassDestructorCheck.cpp.o -MF tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/VirtualClassDestructorCheck.cpp.o.d -o tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/obj.clangTidyCppCoreGuidelinesModule.dir/VirtualClassDestructorCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/cppcoreguidelines/VirtualClassDestructorCheck.cpp [1483/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/darwin -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/darwin -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/darwin/CMakeFiles/obj.clangTidyDarwinModule.dir/DarwinTidyModule.cpp.o -MF tools/extra/clang-tidy/darwin/CMakeFiles/obj.clangTidyDarwinModule.dir/DarwinTidyModule.cpp.o.d -o tools/extra/clang-tidy/darwin/CMakeFiles/obj.clangTidyDarwinModule.dir/DarwinTidyModule.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/darwin/DarwinTidyModule.cpp [1484/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/darwin -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/darwin -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/darwin/CMakeFiles/obj.clangTidyDarwinModule.dir/DispatchOnceNonstaticCheck.cpp.o -MF tools/extra/clang-tidy/darwin/CMakeFiles/obj.clangTidyDarwinModule.dir/DispatchOnceNonstaticCheck.cpp.o.d -o tools/extra/clang-tidy/darwin/CMakeFiles/obj.clangTidyDarwinModule.dir/DispatchOnceNonstaticCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/darwin/DispatchOnceNonstaticCheck.cpp [1485/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/fuchsia -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/fuchsia -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/fuchsia/CMakeFiles/obj.clangTidyFuchsiaModule.dir/DefaultArgumentsCallsCheck.cpp.o -MF tools/extra/clang-tidy/fuchsia/CMakeFiles/obj.clangTidyFuchsiaModule.dir/DefaultArgumentsCallsCheck.cpp.o.d -o tools/extra/clang-tidy/fuchsia/CMakeFiles/obj.clangTidyFuchsiaModule.dir/DefaultArgumentsCallsCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/fuchsia/DefaultArgumentsCallsCheck.cpp [1486/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/fuchsia -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/fuchsia -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/fuchsia/CMakeFiles/obj.clangTidyFuchsiaModule.dir/DefaultArgumentsDeclarationsCheck.cpp.o -MF tools/extra/clang-tidy/fuchsia/CMakeFiles/obj.clangTidyFuchsiaModule.dir/DefaultArgumentsDeclarationsCheck.cpp.o.d -o tools/extra/clang-tidy/fuchsia/CMakeFiles/obj.clangTidyFuchsiaModule.dir/DefaultArgumentsDeclarationsCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/fuchsia/DefaultArgumentsDeclarationsCheck.cpp [1487/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/fuchsia -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/fuchsia -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/fuchsia/CMakeFiles/obj.clangTidyFuchsiaModule.dir/FuchsiaTidyModule.cpp.o -MF tools/extra/clang-tidy/fuchsia/CMakeFiles/obj.clangTidyFuchsiaModule.dir/FuchsiaTidyModule.cpp.o.d -o tools/extra/clang-tidy/fuchsia/CMakeFiles/obj.clangTidyFuchsiaModule.dir/FuchsiaTidyModule.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/fuchsia/FuchsiaTidyModule.cpp [1488/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/fuchsia -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/fuchsia -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/fuchsia/CMakeFiles/obj.clangTidyFuchsiaModule.dir/MultipleInheritanceCheck.cpp.o -MF tools/extra/clang-tidy/fuchsia/CMakeFiles/obj.clangTidyFuchsiaModule.dir/MultipleInheritanceCheck.cpp.o.d -o tools/extra/clang-tidy/fuchsia/CMakeFiles/obj.clangTidyFuchsiaModule.dir/MultipleInheritanceCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/fuchsia/MultipleInheritanceCheck.cpp [1489/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/fuchsia -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/fuchsia -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/fuchsia/CMakeFiles/obj.clangTidyFuchsiaModule.dir/OverloadedOperatorCheck.cpp.o -MF tools/extra/clang-tidy/fuchsia/CMakeFiles/obj.clangTidyFuchsiaModule.dir/OverloadedOperatorCheck.cpp.o.d -o tools/extra/clang-tidy/fuchsia/CMakeFiles/obj.clangTidyFuchsiaModule.dir/OverloadedOperatorCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/fuchsia/OverloadedOperatorCheck.cpp [1490/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/fuchsia -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/fuchsia -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/fuchsia/CMakeFiles/obj.clangTidyFuchsiaModule.dir/StaticallyConstructedObjectsCheck.cpp.o -MF tools/extra/clang-tidy/fuchsia/CMakeFiles/obj.clangTidyFuchsiaModule.dir/StaticallyConstructedObjectsCheck.cpp.o.d -o tools/extra/clang-tidy/fuchsia/CMakeFiles/obj.clangTidyFuchsiaModule.dir/StaticallyConstructedObjectsCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/fuchsia/StaticallyConstructedObjectsCheck.cpp [1491/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/fuchsia -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/fuchsia -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/fuchsia/CMakeFiles/obj.clangTidyFuchsiaModule.dir/TrailingReturnCheck.cpp.o -MF tools/extra/clang-tidy/fuchsia/CMakeFiles/obj.clangTidyFuchsiaModule.dir/TrailingReturnCheck.cpp.o.d -o tools/extra/clang-tidy/fuchsia/CMakeFiles/obj.clangTidyFuchsiaModule.dir/TrailingReturnCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/fuchsia/TrailingReturnCheck.cpp [1492/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/fuchsia -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/fuchsia -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/fuchsia/CMakeFiles/obj.clangTidyFuchsiaModule.dir/VirtualInheritanceCheck.cpp.o -MF tools/extra/clang-tidy/fuchsia/CMakeFiles/obj.clangTidyFuchsiaModule.dir/VirtualInheritanceCheck.cpp.o.d -o tools/extra/clang-tidy/fuchsia/CMakeFiles/obj.clangTidyFuchsiaModule.dir/VirtualInheritanceCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/fuchsia/VirtualInheritanceCheck.cpp [1493/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/google -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/google -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/AvoidCStyleCastsCheck.cpp.o -MF tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/AvoidCStyleCastsCheck.cpp.o.d -o tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/AvoidCStyleCastsCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/google/AvoidCStyleCastsCheck.cpp [1494/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/google -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/google -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/AvoidNSObjectNewCheck.cpp.o -MF tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/AvoidNSObjectNewCheck.cpp.o.d -o tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/AvoidNSObjectNewCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/google/AvoidNSObjectNewCheck.cpp [1495/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/google -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/google -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/AvoidThrowingObjCExceptionCheck.cpp.o -MF tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/AvoidThrowingObjCExceptionCheck.cpp.o.d -o tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/AvoidThrowingObjCExceptionCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/google/AvoidThrowingObjCExceptionCheck.cpp [1496/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/google -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/google -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/AvoidUnderscoreInGoogletestNameCheck.cpp.o -MF tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/AvoidUnderscoreInGoogletestNameCheck.cpp.o.d -o tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/AvoidUnderscoreInGoogletestNameCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/google/AvoidUnderscoreInGoogletestNameCheck.cpp [1497/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/google -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/google -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/DefaultArgumentsCheck.cpp.o -MF tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/DefaultArgumentsCheck.cpp.o.d -o tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/DefaultArgumentsCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/google/DefaultArgumentsCheck.cpp [1498/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/google -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/google -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/ExplicitConstructorCheck.cpp.o -MF tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/ExplicitConstructorCheck.cpp.o.d -o tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/ExplicitConstructorCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/google/ExplicitConstructorCheck.cpp [1499/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/google -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/google -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/ExplicitMakePairCheck.cpp.o -MF tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/ExplicitMakePairCheck.cpp.o.d -o tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/ExplicitMakePairCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/google/ExplicitMakePairCheck.cpp [1500/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/google -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/google -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/FunctionNamingCheck.cpp.o -MF tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/FunctionNamingCheck.cpp.o.d -o tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/FunctionNamingCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/google/FunctionNamingCheck.cpp [1501/2013] : && /usr/bin/g++ -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-z,defs -Wl,-z,nodelete -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections -Wl,-Bsymbolic-functions -shared -Wl,-soname,libclang-cpp.so.17 -o lib64/libclang-cpp.so.17 lib/Basic/CMakeFiles/obj.clangBasic.dir/Attributes.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Builtins.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/CLWarnings.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/CharInfo.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/CodeGenOptions.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Cuda.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/DarwinSDKInfo.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Diagnostic.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/DiagnosticIDs.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/DiagnosticOptions.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/ExpressionTraits.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/FileEntry.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/FileManager.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/FileSystemStatCache.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/IdentifierTable.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/LangOptions.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/LangStandards.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/MakeSupport.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Module.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/ObjCRuntime.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/OpenCLOptions.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/OpenMPKinds.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/OperatorPrecedence.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/ParsedAttrInfo.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/ProfileList.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/NoSanitizeList.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/SanitizerSpecialCaseList.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Sanitizers.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Sarif.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/SourceLocation.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/SourceManager.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Stack.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/TargetID.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/TargetInfo.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/AArch64.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/AMDGPU.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/ARC.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/ARM.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/AVR.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/BPF.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/CSKY.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/DirectX.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/Hexagon.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/Lanai.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/Le64.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/LoongArch.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/M68k.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/MSP430.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/Mips.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/NVPTX.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/OSTargets.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/PNaCl.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/PPC.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/RISCV.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/SPIR.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/Sparc.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/SystemZ.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/TCE.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/VE.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/WebAssembly.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/X86.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/XCore.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/TokenKinds.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/TypeTraits.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Version.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/Warnings.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/XRayInstr.cpp.o lib/Basic/CMakeFiles/obj.clangBasic.dir/XRayLists.cpp.o lib/APINotes/CMakeFiles/obj.clangAPINotes.dir/APINotesTypes.cpp.o lib/APINotes/CMakeFiles/obj.clangAPINotes.dir/APINotesYAMLCompiler.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/DependencyDirectivesScanner.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/HeaderMap.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/HeaderSearch.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/InitHeaderSearch.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/Lexer.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/LiteralSupport.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/MacroArgs.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/MacroInfo.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/ModuleMap.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/PPCaching.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/PPCallbacks.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/PPConditionalDirectiveRecord.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/PPDirectives.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/PPExpressions.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/PPLexerChange.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/PPMacroExpansion.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/Pragma.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/PreprocessingRecord.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/Preprocessor.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/PreprocessorLexer.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/ScratchBuffer.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/TokenConcatenation.cpp.o lib/Lex/CMakeFiles/obj.clangLex.dir/TokenLexer.cpp.o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseAST.cpp.o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseCXXInlineMethods.cpp.o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseDecl.cpp.o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseDeclCXX.cpp.o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseExpr.cpp.o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseExprCXX.cpp.o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseHLSL.cpp.o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseInit.cpp.o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseObjc.cpp.o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseOpenMP.cpp.o lib/Parse/CMakeFiles/obj.clangParse.dir/ParsePragma.cpp.o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseStmt.cpp.o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseStmtAsm.cpp.o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseTemplate.cpp.o lib/Parse/CMakeFiles/obj.clangParse.dir/ParseTentative.cpp.o lib/Parse/CMakeFiles/obj.clangParse.dir/Parser.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/APValue.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ASTConcept.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ASTConsumer.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ASTContext.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ASTDiagnostic.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ASTDumper.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ASTImporter.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ASTImporterLookupTable.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ASTStructuralEquivalence.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ASTTypeTraits.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/AttrDocTable.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/AttrImpl.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Comment.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/CommentBriefParser.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/CommentCommandTraits.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/CommentLexer.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/CommentParser.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/CommentSema.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ComparisonCategories.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ComputeDependence.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/CXXInheritance.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/DataCollection.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Decl.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/DeclarationName.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/DeclBase.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/DeclCXX.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/DeclFriend.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/DeclGroup.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/DeclObjC.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/DeclOpenMP.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/DeclPrinter.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/DeclTemplate.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ParentMapContext.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Expr.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ExprClassification.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ExprConcepts.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ExprConstant.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ExprCXX.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ExprObjC.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ExternalASTMerger.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ExternalASTSource.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/FormatString.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/InheritViz.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/ByteCodeEmitter.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/ByteCodeExprGen.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/ByteCodeGenError.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/ByteCodeStmtGen.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Context.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Descriptor.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Disasm.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/EvalEmitter.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Frame.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Function.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/InterpBuiltin.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Floating.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Interp.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/InterpBlock.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/InterpFrame.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/InterpStack.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/InterpState.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Pointer.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/PrimType.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Program.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Record.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/Source.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Interp/State.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ItaniumCXXABI.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ItaniumMangle.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/JSONNodeDumper.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Mangle.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/MicrosoftCXXABI.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/MicrosoftMangle.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/NestedNameSpecifier.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/NSAPI.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ODRDiagsEmitter.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ODRHash.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/OpenMPClause.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/OSLog.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ParentMap.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/PrintfFormatString.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/QualTypeNames.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Randstruct.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/RawCommentList.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/RecordLayout.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/RecordLayoutBuilder.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/ScanfFormatString.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/SelectorLocationsKind.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Stmt.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/StmtCXX.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/StmtIterator.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/StmtObjC.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/StmtOpenMP.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/StmtPrinter.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/StmtProfile.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/StmtViz.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/TemplateBase.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/TemplateName.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/TextNodeDumper.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/Type.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/TypeLoc.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/TypePrinter.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/VTableBuilder.cpp.o lib/AST/CMakeFiles/obj.clangAST.dir/VTTBuilder.cpp.o lib/ASTMatchers/Dynamic/CMakeFiles/obj.clangDynamicASTMatchers.dir/Diagnostics.cpp.o lib/ASTMatchers/Dynamic/CMakeFiles/obj.clangDynamicASTMatchers.dir/Marshallers.cpp.o lib/ASTMatchers/Dynamic/CMakeFiles/obj.clangDynamicASTMatchers.dir/Parser.cpp.o lib/ASTMatchers/Dynamic/CMakeFiles/obj.clangDynamicASTMatchers.dir/Registry.cpp.o lib/ASTMatchers/Dynamic/CMakeFiles/obj.clangDynamicASTMatchers.dir/VariantValue.cpp.o lib/ASTMatchers/CMakeFiles/obj.clangASTMatchers.dir/ASTMatchFinder.cpp.o lib/ASTMatchers/CMakeFiles/obj.clangASTMatchers.dir/ASTMatchersInternal.cpp.o lib/ASTMatchers/CMakeFiles/obj.clangASTMatchers.dir/GtestMatchers.cpp.o lib/CrossTU/CMakeFiles/obj.clangCrossTU.dir/CrossTranslationUnit.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/AnalysisBasedWarnings.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/CodeCompleteConsumer.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/DeclSpec.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/DelayedDiagnostic.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/HLSLExternalSemaSource.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/IdentifierResolver.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/JumpDiagnostics.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/MultiplexExternalSemaSource.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/ParsedAttr.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/Scope.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/ScopeInfo.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/Sema.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaAccess.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaAttr.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaAvailability.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaCXXScopeSpec.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaCast.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaChecking.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaCodeComplete.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaConcept.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaConsumer.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaCoroutine.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaCUDA.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaDecl.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaDeclAttr.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaDeclCXX.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaDeclObjC.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaExceptionSpec.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaExpr.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaExprCXX.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaExprMember.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaExprObjC.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaFixItUtils.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaHLSL.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaInit.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaLambda.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaLookup.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaModule.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaObjCProperty.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaOpenMP.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaOverload.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaPseudoObject.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaRISCVVectorLookup.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaStmt.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaStmtAsm.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaStmtAttr.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaSYCL.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaTemplate.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaTemplateDeduction.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaTemplateInstantiate.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaTemplateInstantiateDecl.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaTemplateVariadic.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/SemaType.cpp.o lib/Sema/CMakeFiles/obj.clangSema.dir/TypeLocBuilder.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/ABIInfo.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/ABIInfoImpl.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/BackendUtil.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGAtomic.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGBlocks.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGBuiltin.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCUDANV.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCUDARuntime.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCXX.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCXXABI.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCall.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGClass.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCleanup.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGCoroutine.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGDebugInfo.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGDecl.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGDeclCXX.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGException.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGExpr.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGExprAgg.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGExprCXX.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGExprComplex.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGExprConstant.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGExprScalar.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGGPUBuiltin.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGHLSLRuntime.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGLoopInfo.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGNonTrivialStruct.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGObjC.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGObjCGNU.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGObjCMac.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGObjCRuntime.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGOpenCLRuntime.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGOpenMPRuntime.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGOpenMPRuntimeGPU.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGRecordLayoutBuilder.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGStmt.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGStmtOpenMP.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGVTT.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CGVTables.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CodeGenABITypes.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CodeGenAction.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CodeGenFunction.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CodeGenModule.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CodeGenPGO.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CodeGenTBAA.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CodeGenTypes.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/ConstantInitBuilder.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/CoverageMappingGen.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/ItaniumCXXABI.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/MacroPPCallbacks.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/MicrosoftCXXABI.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/ModuleBuilder.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/ObjectFilePCHContainerOperations.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/PatternInit.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/SanitizerMetadata.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/SwiftCallingConv.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/TargetInfo.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/AArch64.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/AMDGPU.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/ARC.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/ARM.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/AVR.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/BPF.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/CSKY.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/Hexagon.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/Lanai.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/LoongArch.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/M68k.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/MSP430.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/Mips.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/NVPTX.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/PNaCl.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/PPC.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/RISCV.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/SPIR.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/Sparc.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/SystemZ.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/TCE.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/VE.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/WebAssembly.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/X86.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/Targets/XCore.cpp.o lib/CodeGen/CMakeFiles/obj.clangCodeGen.dir/VarBypassDetector.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/AnalysisDeclContext.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/BodyFarm.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CalledOnceCheck.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CFG.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CFGReachabilityAnalysis.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CFGStmtMap.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CallGraph.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CloneDetection.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CocoaConventions.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ConstructionContext.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/Consumed.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CodeInjector.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/Dominators.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ExprMutationAnalyzer.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/IntervalPartition.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/IssueHash.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/LiveVariables.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/MacroExpansionContext.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ObjCNoReturn.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/PathDiagnostic.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/PostOrderCFGView.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ProgramPoint.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ReachableCode.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/RetainSummaryManager.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ThreadSafety.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ThreadSafetyCommon.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ThreadSafetyLogical.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/ThreadSafetyTIL.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/UninitializedValues.cpp.o lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/UnsafeBufferUsage.cpp.o lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/Arena.cpp.o lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/ControlFlowContext.cpp.o lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/DataflowAnalysisContext.cpp.o lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/DataflowEnvironment.cpp.o lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/Formula.cpp.o lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/HTMLLogger.cpp.o lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/Logger.cpp.o lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/RecordOps.cpp.o lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/Transfer.cpp.o lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/TypeErasedDataflowAnalysis.cpp.o lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/Value.cpp.o lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/WatchedLiteralsSolver.cpp.o lib/Analysis/FlowSensitive/CMakeFiles/obj.clangAnalysisFlowSensitive.dir/DebugSupport.cpp.o lib/Analysis/FlowSensitive/Models/CMakeFiles/obj.clangAnalysisFlowSensitiveModels.dir/ChromiumCheckModel.cpp.o lib/Analysis/FlowSensitive/Models/CMakeFiles/obj.clangAnalysisFlowSensitiveModels.dir/UncheckedOptionalAccessModel.cpp.o lib/Edit/CMakeFiles/obj.clangEdit.dir/Commit.cpp.o lib/Edit/CMakeFiles/obj.clangEdit.dir/EditedSource.cpp.o lib/Edit/CMakeFiles/obj.clangEdit.dir/RewriteObjCFoundationAPI.cpp.o lib/ExtractAPI/CMakeFiles/obj.clangExtractAPI.dir/API.cpp.o lib/ExtractAPI/CMakeFiles/obj.clangExtractAPI.dir/APIIgnoresList.cpp.o lib/ExtractAPI/CMakeFiles/obj.clangExtractAPI.dir/AvailabilityInfo.cpp.o lib/ExtractAPI/CMakeFiles/obj.clangExtractAPI.dir/ExtractAPIConsumer.cpp.o lib/ExtractAPI/CMakeFiles/obj.clangExtractAPI.dir/DeclarationFragments.cpp.o lib/ExtractAPI/CMakeFiles/obj.clangExtractAPI.dir/Serialization/SymbolGraphSerializer.cpp.o lib/ExtractAPI/CMakeFiles/obj.clangExtractAPI.dir/TypedefUnderlyingTypeResolver.cpp.o lib/Rewrite/CMakeFiles/obj.clangRewrite.dir/DeltaTree.cpp.o lib/Rewrite/CMakeFiles/obj.clangRewrite.dir/HTMLRewrite.cpp.o lib/Rewrite/CMakeFiles/obj.clangRewrite.dir/RewriteRope.cpp.o lib/Rewrite/CMakeFiles/obj.clangRewrite.dir/Rewriter.cpp.o lib/Rewrite/CMakeFiles/obj.clangRewrite.dir/TokenRewriter.cpp.o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/ARCMT.cpp.o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/ARCMTActions.cpp.o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/FileRemapper.cpp.o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/ObjCMT.cpp.o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/PlistReporter.cpp.o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransAPIUses.cpp.o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransARCAssign.cpp.o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransAutoreleasePool.cpp.o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransBlockObjCVariable.cpp.o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransEmptyStatementsAndDealloc.cpp.o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransGCAttrs.cpp.o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransGCCalls.cpp.o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransProperties.cpp.o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransProtectedScope.cpp.o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransRetainReleaseDealloc.cpp.o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransUnbridgedCasts.cpp.o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransUnusedInitDelegate.cpp.o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransZeroOutPropsInDealloc.cpp.o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/TransformActions.cpp.o lib/ARCMigrate/CMakeFiles/obj.clangARCMigrate.dir/Transforms.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/Action.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/Compilation.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/Distro.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/Driver.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/DriverOptions.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/Job.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/Multilib.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/MultilibBuilder.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/OffloadBundler.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/OptionUtils.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/Phases.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/SanitizerArgs.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/Tool.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChain.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/AArch64.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/ARM.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/CSKY.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/LoongArch.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/M68k.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/Mips.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/PPC.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/RISCV.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/Sparc.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/SystemZ.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/VE.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/X86.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/AIX.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Ananas.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/AMDGPU.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/AMDGPUOpenMP.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/AVR.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/BareMetal.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Clang.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/CloudABI.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/CommonArgs.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Contiki.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/CrossWindows.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/CSKYToolChain.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Cuda.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Darwin.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/DragonFly.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Flang.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/FreeBSD.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Fuchsia.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Gnu.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Haiku.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/HIPUtility.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/HIPAMD.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/HIPSPV.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Hexagon.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/HLSL.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Hurd.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Linux.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/MipsLinux.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/MinGW.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Minix.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/MSP430.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/MSVC.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Myriad.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/NaCl.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/NetBSD.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/OHOS.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/OpenBSD.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/PS4CPU.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/RISCVToolchain.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Solaris.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/SPIRV.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/TCE.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/VEToolchain.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/WebAssembly.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/XCore.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/PPCLinux.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/PPCFreeBSD.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/InterfaceStubs.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/ZOS.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/Types.cpp.o lib/Driver/CMakeFiles/obj.clangDriver.dir/XRayArgs.cpp.o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ASTCommon.cpp.o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ASTReader.cpp.o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ASTReaderDecl.cpp.o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ASTReaderStmt.cpp.o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ASTWriter.cpp.o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ASTWriterDecl.cpp.o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ASTWriterStmt.cpp.o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/GeneratePCH.cpp.o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/GlobalModuleIndex.cpp.o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/InMemoryModuleCache.cpp.o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ModuleFile.cpp.o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ModuleFileExtension.cpp.o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/ModuleManager.cpp.o lib/Serialization/CMakeFiles/obj.clangSerialization.dir/PCHContainerOperations.cpp.o lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/FixItRewriter.cpp.o lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/FrontendActions.cpp.o lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/HTMLPrint.cpp.o lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/InclusionRewriter.cpp.o lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/RewriteMacros.cpp.o lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/RewriteModernObjC.cpp.o lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/RewriteObjC.cpp.o lib/Frontend/Rewrite/CMakeFiles/obj.clangRewriteFrontend.dir/RewriteTest.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/ASTConsumers.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/ASTMerge.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/ASTUnit.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/ChainedDiagnosticConsumer.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/ChainedIncludesSource.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/CompilerInstance.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/CompilerInvocation.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/CreateInvocationFromCommandLine.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/DependencyFile.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/DependencyGraph.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/DiagnosticRenderer.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/FrontendAction.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/FrontendActions.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/FrontendOptions.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/HeaderIncludeGen.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/InitPreprocessor.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/LayoutOverrideSource.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/LogDiagnosticPrinter.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/ModuleDependencyCollector.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/MultiplexConsumer.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/PrecompiledPreamble.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/PrintPreprocessedOutput.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/SARIFDiagnostic.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/SARIFDiagnosticPrinter.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/SerializedDiagnosticPrinter.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/SerializedDiagnosticReader.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/TestModuleFileExtension.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/TextDiagnostic.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/TextDiagnosticBuffer.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/TextDiagnosticPrinter.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/VerifyDiagnosticConsumer.cpp.o lib/Frontend/CMakeFiles/obj.clangFrontend.dir/InterfaceStubFunctionsConsumer.cpp.o lib/FrontendTool/CMakeFiles/obj.clangFrontendTool.dir/ExecuteCompilerInvocation.cpp.o lib/Tooling/Core/CMakeFiles/obj.clangToolingCore.dir/Diagnostic.cpp.o lib/Tooling/Core/CMakeFiles/obj.clangToolingCore.dir/Replacement.cpp.o lib/Tooling/Inclusions/CMakeFiles/obj.clangToolingInclusions.dir/HeaderAnalysis.cpp.o lib/Tooling/Inclusions/CMakeFiles/obj.clangToolingInclusions.dir/HeaderIncludes.cpp.o lib/Tooling/Inclusions/CMakeFiles/obj.clangToolingInclusions.dir/IncludeStyle.cpp.o lib/Tooling/Inclusions/Stdlib/CMakeFiles/obj.clangToolingInclusionsStdlib.dir/StandardLibrary.cpp.o lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/ASTSelection.cpp.o lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/ASTSelectionRequirements.cpp.o lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/AtomicChange.cpp.o lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Extract/Extract.cpp.o lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Extract/SourceExtraction.cpp.o lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Lookup.cpp.o lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/RefactoringActions.cpp.o lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Rename/RenamingAction.cpp.o lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Rename/SymbolOccurrences.cpp.o lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Rename/USRFinder.cpp.o lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Rename/USRFindingAction.cpp.o lib/Tooling/Refactoring/CMakeFiles/obj.clangToolingRefactoring.dir/Rename/USRLocFinder.cpp.o lib/Tooling/ASTDiff/CMakeFiles/obj.clangToolingASTDiff.dir/ASTDiff.cpp.o lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/BuildTree.cpp.o lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/ComputeReplacements.cpp.o lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/Nodes.cpp.o lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/Mutations.cpp.o lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/TokenBufferTokenManager.cpp.o lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/Synthesis.cpp.o lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/Tokens.cpp.o lib/Tooling/Syntax/CMakeFiles/obj.clangToolingSyntax.dir/Tree.cpp.o lib/Tooling/DependencyScanning/CMakeFiles/obj.clangDependencyScanning.dir/DependencyScanningFilesystem.cpp.o lib/Tooling/DependencyScanning/CMakeFiles/obj.clangDependencyScanning.dir/DependencyScanningService.cpp.o lib/Tooling/DependencyScanning/CMakeFiles/obj.clangDependencyScanning.dir/DependencyScanningWorker.cpp.o lib/Tooling/DependencyScanning/CMakeFiles/obj.clangDependencyScanning.dir/DependencyScanningTool.cpp.o lib/Tooling/DependencyScanning/CMakeFiles/obj.clangDependencyScanning.dir/ModuleDepCollector.cpp.o lib/Tooling/Transformer/CMakeFiles/obj.clangTransformer.dir/Parsing.cpp.o lib/Tooling/Transformer/CMakeFiles/obj.clangTransformer.dir/RangeSelector.cpp.o lib/Tooling/Transformer/CMakeFiles/obj.clangTransformer.dir/RewriteRule.cpp.o lib/Tooling/Transformer/CMakeFiles/obj.clangTransformer.dir/SourceCode.cpp.o lib/Tooling/Transformer/CMakeFiles/obj.clangTransformer.dir/SourceCodeBuilders.cpp.o lib/Tooling/Transformer/CMakeFiles/obj.clangTransformer.dir/Stencil.cpp.o lib/Tooling/Transformer/CMakeFiles/obj.clangTransformer.dir/Transformer.cpp.o lib/Tooling/CMakeFiles/obj.clangTooling.dir/AllTUsExecution.cpp.o lib/Tooling/CMakeFiles/obj.clangTooling.dir/ArgumentsAdjusters.cpp.o lib/Tooling/CMakeFiles/obj.clangTooling.dir/CommonOptionsParser.cpp.o lib/Tooling/CMakeFiles/obj.clangTooling.dir/CompilationDatabase.cpp.o lib/Tooling/CMakeFiles/obj.clangTooling.dir/Execution.cpp.o lib/Tooling/CMakeFiles/obj.clangTooling.dir/ExpandResponseFilesCompilationDatabase.cpp.o lib/Tooling/CMakeFiles/obj.clangTooling.dir/FileMatchTrie.cpp.o lib/Tooling/CMakeFiles/obj.clangTooling.dir/FixIt.cpp.o lib/Tooling/CMakeFiles/obj.clangTooling.dir/GuessTargetAndModeCompilationDatabase.cpp.o lib/Tooling/CMakeFiles/obj.clangTooling.dir/InterpolatingCompilationDatabase.cpp.o lib/Tooling/CMakeFiles/obj.clangTooling.dir/JSONCompilationDatabase.cpp.o lib/Tooling/CMakeFiles/obj.clangTooling.dir/Refactoring.cpp.o lib/Tooling/CMakeFiles/obj.clangTooling.dir/RefactoringCallbacks.cpp.o lib/Tooling/CMakeFiles/obj.clangTooling.dir/StandaloneExecution.cpp.o lib/Tooling/CMakeFiles/obj.clangTooling.dir/NodeIntrospection.cpp.o lib/Tooling/CMakeFiles/obj.clangTooling.dir/Tooling.cpp.o lib/DirectoryWatcher/CMakeFiles/obj.clangDirectoryWatcher.dir/DirectoryScanner.cpp.o lib/DirectoryWatcher/CMakeFiles/obj.clangDirectoryWatcher.dir/linux/DirectoryWatcher-linux.cpp.o lib/Index/CMakeFiles/obj.clangIndex.dir/CommentToXML.cpp.o lib/Index/CMakeFiles/obj.clangIndex.dir/FileIndexRecord.cpp.o lib/Index/CMakeFiles/obj.clangIndex.dir/IndexBody.cpp.o lib/Index/CMakeFiles/obj.clangIndex.dir/IndexDecl.cpp.o lib/Index/CMakeFiles/obj.clangIndex.dir/IndexingAction.cpp.o lib/Index/CMakeFiles/obj.clangIndex.dir/IndexingContext.cpp.o lib/Index/CMakeFiles/obj.clangIndex.dir/IndexSymbol.cpp.o lib/Index/CMakeFiles/obj.clangIndex.dir/IndexTypeSourceInfo.cpp.o lib/Index/CMakeFiles/obj.clangIndex.dir/USRGeneration.cpp.o lib/IndexSerialization/CMakeFiles/obj.clangIndexSerialization.dir/SerializablePathCollection.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/APSIntType.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/AnalysisManager.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/AnalyzerOptions.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/BasicValueFactory.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/BlockCounter.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/BugReporter.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/BugReporterVisitors.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CallDescription.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CallEvent.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/Checker.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CheckerContext.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CheckerHelpers.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CheckerManager.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CheckerRegistryData.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CommonBugCategories.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ConstraintManager.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/CoreEngine.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/DynamicExtent.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/DynamicType.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/Environment.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ExplodedGraph.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ExprEngine.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ExprEngineC.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ExprEngineCXX.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ExprEngineCallAndReturn.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ExprEngineObjC.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/FunctionSummary.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/HTMLDiagnostics.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/LoopUnrolling.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/LoopWidening.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/MemRegion.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/PlistDiagnostics.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/ProgramState.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/RangeConstraintManager.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/RangedConstraintManager.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/RegionStore.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/SarifDiagnostics.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/SimpleConstraintManager.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/SimpleSValBuilder.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/SMTConstraintManager.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/Store.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/SValBuilder.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/SVals.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/SymbolManager.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/TextDiagnostics.cpp.o lib/StaticAnalyzer/Core/CMakeFiles/obj.clangStaticAnalyzerCore.dir/WorkList.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/AnalysisOrderChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/AnalyzerStatsChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ArrayBoundChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ArrayBoundCheckerV2.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/BasicObjCFoundationChecks.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/BlockInCriticalSectionChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/BoolAssignmentChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/BuiltinFunctionChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CStringChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CStringSyntaxChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CallAndMessageChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CastSizeChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CastToStructChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CastValueChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CheckObjCDealloc.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CheckObjCInstMethSignature.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CheckPlacementNew.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CheckSecuritySyntaxOnly.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CheckSizeofPointer.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CheckerDocumentation.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ChrootChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CloneChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ContainerModeling.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ConversionChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/CXXSelfAssignmentChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DeadStoresChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DebugCheckers.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DebugContainerModeling.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DebugIteratorModeling.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DeleteWithNonVirtualDtorChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DereferenceChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DirectIvarAssignment.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DivZeroChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DynamicTypePropagation.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/DynamicTypeChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/EnumCastOutOfRangeChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ErrnoChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ErrnoModeling.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ErrnoTesterChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ExprInspectionChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/FixedAddressChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/FuchsiaHandleChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/GCDAntipatternChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/GenericTaintChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/GTestChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/IdenticalExprChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/InnerPointerChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/InvalidatedIteratorChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/cert/InvalidPtrChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/Iterator.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/IteratorModeling.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/IteratorRangeChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/IvarInvalidationChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/LLVMConventionsChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/LocalizationChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MacOSKeychainAPIChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MacOSXAPIChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MallocChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MallocOverflowSecurityChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MallocSizeofChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MismatchedIteratorChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MmapWriteExecChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MIGChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MoveChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MPI-Checker/MPIBugReporter.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MPI-Checker/MPIChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/MPI-Checker/MPIFunctionClassifier.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/NSAutoreleasePoolChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/NSErrorChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/NoReturnFunctionChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/NonNullParamChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/NonnullGlobalConstantsChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/NullabilityChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/NumberObjectConversionChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ObjCAtSyncChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ObjCAutoreleaseWriteChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ObjCContainersASTChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ObjCContainersChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ObjCMissingSuperCallChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ObjCPropertyChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ObjCSelfInitChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ObjCSuperDeallocChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ObjCUnusedIVarsChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/OSObjectCStyleCast.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/PaddingChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/PointerArithChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/PointerIterationChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/PointerSortingChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/PointerSubChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/PthreadLockChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/cert/PutenvWithAutoChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/RetainCountChecker/RetainCountChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/RetainCountChecker/RetainCountDiagnostics.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ReturnPointerRangeChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ReturnUndefChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ReturnValueChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/RunLoopAutoreleaseLeakChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/SimpleStreamChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/SmartPtrChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/SmartPtrModeling.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/StackAddrEscapeChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/StdLibraryFunctionsChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/STLAlgorithmModeling.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/StreamChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/StringChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/Taint.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/TaintTesterChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/TestAfterDivZeroChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/TraversalChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/TrustNonnullChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/TrustReturnsNonnullChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UndefBranchChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UndefCapturedBlockVarChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UndefResultChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UndefinedArraySubscriptChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UndefinedAssignmentChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UndefinedNewArraySizeChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UninitializedObject/UninitializedObjectChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UninitializedObject/UninitializedPointee.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UnixAPIChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UnreachableCodeChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/VforkChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/VLASizeChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/ValistChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/VirtualCallChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/WebKit/NoUncountedMembersChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/WebKit/ASTUtils.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/WebKit/PtrTypesSemantics.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/WebKit/RefCntblBaseVirtualDtorChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/WebKit/UncountedCallArgsChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/WebKit/UncountedLambdaCapturesChecker.cpp.o lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/WebKit/UncountedLocalVarsChecker.cpp.o lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/AnalysisConsumer.cpp.o lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/AnalyzerHelpFlags.cpp.o lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/CheckerRegistry.cpp.o lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/CreateCheckerManager.cpp.o lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/FrontendActions.cpp.o lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/ModelConsumer.cpp.o lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/ModelInjector.cpp.o lib/Format/CMakeFiles/obj.clangFormat.dir/AffectedRangeManager.cpp.o lib/Format/CMakeFiles/obj.clangFormat.dir/BreakableToken.cpp.o lib/Format/CMakeFiles/obj.clangFormat.dir/ContinuationIndenter.cpp.o lib/Format/CMakeFiles/obj.clangFormat.dir/DefinitionBlockSeparator.cpp.o lib/Format/CMakeFiles/obj.clangFormat.dir/Format.cpp.o lib/Format/CMakeFiles/obj.clangFormat.dir/FormatToken.cpp.o lib/Format/CMakeFiles/obj.clangFormat.dir/FormatTokenLexer.cpp.o lib/Format/CMakeFiles/obj.clangFormat.dir/IntegerLiteralSeparatorFixer.cpp.o lib/Format/CMakeFiles/obj.clangFormat.dir/MacroCallReconstructor.cpp.o lib/Format/CMakeFiles/obj.clangFormat.dir/MacroExpander.cpp.o lib/Format/CMakeFiles/obj.clangFormat.dir/NamespaceEndCommentsFixer.cpp.o lib/Format/CMakeFiles/obj.clangFormat.dir/QualifierAlignmentFixer.cpp.o lib/Format/CMakeFiles/obj.clangFormat.dir/SortJavaScriptImports.cpp.o lib/Format/CMakeFiles/obj.clangFormat.dir/TokenAnalyzer.cpp.o lib/Format/CMakeFiles/obj.clangFormat.dir/TokenAnnotator.cpp.o lib/Format/CMakeFiles/obj.clangFormat.dir/UnwrappedLineFormatter.cpp.o lib/Format/CMakeFiles/obj.clangFormat.dir/UnwrappedLineParser.cpp.o lib/Format/CMakeFiles/obj.clangFormat.dir/UsingDeclarationsSorter.cpp.o lib/Format/CMakeFiles/obj.clangFormat.dir/WhitespaceManager.cpp.o lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/DeviceOffload.cpp.o lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/IncrementalExecutor.cpp.o lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/IncrementalParser.cpp.o lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/Interpreter.cpp.o lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/InterpreterUtils.cpp.o lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/Value.cpp.o lib/Support/CMakeFiles/obj.clangSupport.dir/RISCVVIntrinsicUtils.cpp.o tools/clang-fuzzer/handle-cxx/CMakeFiles/obj.clangHandleCXX.dir/handle_cxx.cpp.o tools/clang-fuzzer/handle-llvm/CMakeFiles/obj.clangHandleLLVM.dir/handle_llvm.cpp.o tools/clang-shlib/CMakeFiles/clang-cpp.dir/clang-shlib.cpp.o /usr/lib64/libLLVM-17.so && : In member function '__dt_base ', inlined from '__dt_base ' at /usr/include/llvm/ADT/APInt.h:168:3, inlined from '__dt_base ' at /usr/include/llvm/ADT/APSInt.h:23:0, inlined from 'checkOMPArraySectionConstantForReduction' at /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaOpenMP.cpp:19127:0, inlined from 'actOnOMPReductionKindClause.constprop' at /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaOpenMP.cpp:19485:0: /usr/include/llvm/ADT/APInt.h:170:18: warning: 'operator delete []' called on a pointer to an unallocated object '1B' [-Wfree-nonheap-object] 170 | delete[] U.pVal; | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h: In function 'InitGlobal.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In member function '__dt_base ', inlined from '__dt_base ' at /usr/include/llvm/ADT/APFloat.h:668:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1419:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1417:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:847:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:841:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1304:0, inlined from 'operator=' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Floating.h:26:0, inlined from 'InitGlobal.constprop' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:0: /usr/include/c++/12/bits/unique_ptr.h:670:15: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 670 | __ptr = pointer(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In function 'InitGlobal.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 48 into destination object 'B' of size 32 196 | Block B; | /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h: In function 'InitGlobalTemp.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:964: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 964 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In member function '__dt_base ', inlined from '__dt_base ' at /usr/include/llvm/ADT/APFloat.h:668:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1419:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1417:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:847:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:841:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1304:0, inlined from 'operator=' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Floating.h:26:0, inlined from 'InitGlobalTemp.constprop' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:964:0: /usr/include/c++/12/bits/unique_ptr.h:670:15: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 670 | __ptr = pointer(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In function 'InitGlobalTemp.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 48 into destination object 'B' of size 32 196 | Block B; | In function 'make_unique', inlined from '__ct ' at /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/ASTDiff/ASTDiff.cpp:568:61, inlined from 'addOptimalMapping' at /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/ASTDiff/ASTDiff.cpp:786:53: /usr/include/c++/12/bits/unique_ptr.h:1080:30: warning: argument 1 value '18446744073709551615' exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 1080 | { return unique_ptr<_Tp>(new remove_extent_t<_Tp>[__num]()); } | ^ /usr/include/c++/12/new: In member function 'addOptimalMapping': /usr/include/c++/12/new:128:26: note: in a call to allocation function 'operator new []' declared here 128 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc) | ^ In function 'make_unique', inlined from '__ct ' at /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/ASTDiff/ASTDiff.cpp:570:63, inlined from 'addOptimalMapping' at /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/ASTDiff/ASTDiff.cpp:786:53: /usr/include/c++/12/bits/unique_ptr.h:1080:30: warning: argument 1 value '18446744073709551615' exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 1080 | { return unique_ptr<_Tp>(new remove_extent_t<_Tp>[__num]()); } | ^ /usr/include/c++/12/new: In member function 'addOptimalMapping': /usr/include/c++/12/new:128:26: note: in a call to allocation function 'operator new []' declared here 128 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc) | ^ In function 'make_unique', inlined from '__ct ' at /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/ASTDiff/ASTDiff.cpp:573:47, inlined from 'addOptimalMapping' at /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/ASTDiff/ASTDiff.cpp:786:53: /usr/include/c++/12/bits/unique_ptr.h:1080:30: warning: argument 1 value '18446744073709551615' exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 1080 | { return unique_ptr<_Tp>(new remove_extent_t<_Tp>[__num]()); } | ^ /usr/include/c++/12/new: In member function 'addOptimalMapping': /usr/include/c++/12/new:128:26: note: in a call to allocation function 'operator new []' declared here 128 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc) | ^ In function 'make_unique', inlined from '__ct ' at /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/ASTDiff/ASTDiff.cpp:574:49, inlined from 'addOptimalMapping' at /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/ASTDiff/ASTDiff.cpp:786:53: /usr/include/c++/12/bits/unique_ptr.h:1080:30: warning: argument 1 value '18446744073709551615' exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 1080 | { return unique_ptr<_Tp>(new remove_extent_t<_Tp>[__num]()); } | ^ /usr/include/c++/12/new: In member function 'addOptimalMapping': /usr/include/c++/12/new:128:26: note: in a call to allocation function 'operator new []' declared here 128 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc) | ^ In function 'make_unique', inlined from '__ct ' at /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/ASTDiff/ASTDiff.cpp:40:42, inlined from 'matchTopDown' at /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/ASTDiff/ASTDiff.cpp:861:40: /usr/include/c++/12/bits/unique_ptr.h:1080:30: warning: argument 1 value '18446744073709551615' exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 1080 | { return unique_ptr<_Tp>(new remove_extent_t<_Tp>[__num]()); } | ^ /usr/include/c++/12/new: In member function 'matchTopDown': /usr/include/c++/12/new:128:26: note: in a call to allocation function 'operator new []' declared here 128 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc) | ^ In function 'make_unique', inlined from '__ct ' at /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/ASTDiff/ASTDiff.cpp:41:42, inlined from 'matchTopDown' at /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/ASTDiff/ASTDiff.cpp:861:40: /usr/include/c++/12/bits/unique_ptr.h:1080:30: warning: argument 1 value '18446744073709551615' exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 1080 | { return unique_ptr<_Tp>(new remove_extent_t<_Tp>[__num]()); } | ^ /usr/include/c++/12/new: In member function 'matchTopDown': /usr/include/c++/12/new:128:26: note: in a call to allocation function 'operator new []' declared here 128 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc) | ^ In function 'make_unique', inlined from '__ct ' at /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/ASTDiff/ASTDiff.cpp:41:42, inlined from 'matchTopDown' at /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/ASTDiff/ASTDiff.cpp:861:40: /usr/include/c++/12/bits/unique_ptr.h:1080:30: warning: argument 1 value '18446744073709551615' exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 1080 | { return unique_ptr<_Tp>(new remove_extent_t<_Tp>[__num]()); } | ^ /usr/include/c++/12/new: In member function 'matchTopDown': /usr/include/c++/12/new:128:26: note: in a call to allocation function 'operator new []' declared here 128 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc) | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/DeclSpec.cpp: In member function 'setDecompositionBindings': /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/DeclSpec.cpp:317:63: warning: argument 1 value '18446744073709551615' exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 317 | new DecompositionDeclarator::Binding[Bindings.size()]; | ^ /usr/include/c++/12/new:128:26: note: in a call to allocation function 'operator new []' declared here 128 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc) | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/DeclSpec.cpp: In function 'getFunction': /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/DeclSpec.cpp:286:69: warning: argument 1 value '18446744073709551615' exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 286 | I.Fun.DeclsInPrototype = new NamedDecl *[DeclsInPrototype.size()]; | ^ /usr/include/c++/12/new:128:26: note: in a call to allocation function 'operator new []' declared here 128 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc) | ^ In function 'InitGlobal', inlined from 'emitInitGlobalFnPtr' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10658:30, inlined from 'emitInitGlobalFnPtr' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10655:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10559:31: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10645:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10555:30: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10643:31, inlined from 'emitInitGlobalUint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10640:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10553:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10638:31, inlined from 'emitInitGlobalSint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10635:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10551:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10633:31, inlined from 'emitInitGlobalUint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10630:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10549:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 4 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10628:31, inlined from 'emitInitGlobalSint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10625:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10547:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 4 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10623:31, inlined from 'emitInitGlobalUint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10620:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10545:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 2 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10618:31, inlined from 'emitInitGlobalSint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10615:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10543:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 2 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10613:30, inlined from 'emitInitGlobalUint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10610:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10541:31: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10608:30, inlined from 'emitInitGlobalSint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10605:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10539:31: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10645:0: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobalBool': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In member function '__dt_base ', inlined from '__dt_base ' at /usr/include/llvm/ADT/APFloat.h:668:7, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1419:25, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1417:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:847:38, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:841:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1304:12, inlined from 'operator=' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Floating.h:26:7, inlined from 'InitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:32, inlined from 'emitInitGlobalFloat' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10663:30, inlined from 'emitInitGlobalFloat' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10660:0: /usr/include/c++/12/bits/unique_ptr.h:670:15: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 670 | __ptr = pointer(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobalFloat': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 48 into destination object 'B' of size 32 196 | Block B; | [1502/2013] /usr/bin/cmake -E cmake_symlink_library lib64/libclang-cpp.so.17 lib64/libclang-cpp.so.17 lib64/libclang-cpp.so && : [1503/2013] : && /usr/bin/g++ -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-z,nodelete -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections -Wl,--version-script,"/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis/plugins/SampleAnalyzer/SampleAnalyzerPlugin.exports" -shared -o lib64/SampleAnalyzerPlugin.so lib/Analysis/plugins/SampleAnalyzer/CMakeFiles/SampleAnalyzerPlugin.dir/MainCallChecker.cpp.o lib64/libclang-cpp.so.17 /usr/lib64/libLLVM-17.so && : [1504/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/google -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/google -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/GlobalNamesInHeadersCheck.cpp.o -MF tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/GlobalNamesInHeadersCheck.cpp.o.d -o tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/GlobalNamesInHeadersCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/google/GlobalNamesInHeadersCheck.cpp [1505/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/google -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/google -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/GlobalVariableDeclarationCheck.cpp.o -MF tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/GlobalVariableDeclarationCheck.cpp.o.d -o tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/GlobalVariableDeclarationCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/google/GlobalVariableDeclarationCheck.cpp [1506/2013] : && /usr/bin/g++ -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-z,nodelete -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections -Wl,--version-script,"/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis/plugins/CheckerDependencyHandling/CheckerDependencyHandlingAnalyzerPlugin.exports" -shared -o lib64/CheckerDependencyHandlingAnalyzerPlugin.so lib/Analysis/plugins/CheckerDependencyHandling/CMakeFiles/CheckerDependencyHandlingAnalyzerPlugin.dir/CheckerDependencyHandling.cpp.o lib64/libclang-cpp.so.17 /usr/lib64/libLLVM-17.so && : [1507/2013] : && /usr/bin/g++ -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-z,nodelete -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections -Wl,--version-script,"/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/Analysis/plugins/CheckerOptionHandling/CheckerOptionHandlingAnalyzerPlugin.exports" -shared -o lib64/CheckerOptionHandlingAnalyzerPlugin.so lib/Analysis/plugins/CheckerOptionHandling/CMakeFiles/CheckerOptionHandlingAnalyzerPlugin.dir/CheckerOptionHandling.cpp.o lib64/libclang-cpp.so.17 /usr/lib64/libLLVM-17.so && : [1508/2013] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/diagtool/CMakeFiles/diagtool.dir/diagtool_main.cpp.o tools/diagtool/CMakeFiles/diagtool.dir/DiagTool.cpp.o tools/diagtool/CMakeFiles/diagtool.dir/DiagnosticNames.cpp.o tools/diagtool/CMakeFiles/diagtool.dir/FindDiagnosticID.cpp.o tools/diagtool/CMakeFiles/diagtool.dir/ListWarnings.cpp.o tools/diagtool/CMakeFiles/diagtool.dir/ShowEnabledWarnings.cpp.o tools/diagtool/CMakeFiles/diagtool.dir/TreeView.cpp.o -o bin/diagtool lib64/libclang-cpp.so.17 /usr/lib64/libLLVM-17.so && : [1509/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/google -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/google -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/IntegerTypesCheck.cpp.o -MF tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/IntegerTypesCheck.cpp.o.d -o tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/IntegerTypesCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/google/IntegerTypesCheck.cpp [1510/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/google -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/google -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/GoogleTidyModule.cpp.o -MF tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/GoogleTidyModule.cpp.o.d -o tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/GoogleTidyModule.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/google/GoogleTidyModule.cpp [1511/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/google -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/google -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/OverloadedUnaryAndCheck.cpp.o -MF tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/OverloadedUnaryAndCheck.cpp.o.d -o tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/OverloadedUnaryAndCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/google/OverloadedUnaryAndCheck.cpp [1512/2013] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,--export-dynamic -rdynamic -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 tools/driver/CMakeFiles/clang.dir/driver.cpp.o tools/driver/CMakeFiles/clang.dir/cc1_main.cpp.o tools/driver/CMakeFiles/clang.dir/cc1as_main.cpp.o tools/driver/CMakeFiles/clang.dir/cc1gen_reproducer_main.cpp.o tools/driver/CMakeFiles/clang.dir/clang-driver.cpp.o -o bin/clang-17 lib64/libclang-cpp.so.17 /usr/lib64/libLLVM-17.so && : [1513/2013] /usr/bin/cmake -E cmake_symlink_executable bin/clang-17 bin/clang && cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-17 /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./bin/clang++ && cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-17 /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./bin/clang-cl && cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-17 /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./bin/clang-cpp [1514/2013] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/apinotes-test/CMakeFiles/apinotes-test.dir/APINotesTest.cpp.o -o bin/apinotes-test lib64/libclang-cpp.so.17 /usr/lib64/libLLVM-17.so && : [1515/2013] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/clang-diff/CMakeFiles/clang-diff.dir/ClangDiff.cpp.o -o bin/clang-diff lib64/libclang-cpp.so.17 /usr/lib64/libLLVM-17.so && : [1516/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/google -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/google -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/TodoCommentCheck.cpp.o -MF tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/TodoCommentCheck.cpp.o.d -o tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/TodoCommentCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/google/TodoCommentCheck.cpp [1517/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/google -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/google -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/UnnamedNamespaceInHeaderCheck.cpp.o -MF tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/UnnamedNamespaceInHeaderCheck.cpp.o.d -o tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/UnnamedNamespaceInHeaderCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/google/UnnamedNamespaceInHeaderCheck.cpp [1518/2013] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/clang-format/CMakeFiles/clang-format.dir/ClangFormat.cpp.o -o bin/clang-format lib64/libclang-cpp.so.17 /usr/lib64/libLLVM-17.so && : [1519/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/google -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/google -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/UsingNamespaceDirectiveCheck.cpp.o -MF tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/UsingNamespaceDirectiveCheck.cpp.o.d -o tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/UsingNamespaceDirectiveCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/google/UsingNamespaceDirectiveCheck.cpp [1520/2013] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/clang-import-test/CMakeFiles/clang-import-test.dir/clang-import-test.cpp.o -o bin/clang-import-test lib64/libclang-cpp.so.17 /usr/lib64/libLLVM-17.so && : [1521/2013] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/clang-offload-packager/CMakeFiles/clang-offload-packager.dir/ClangOffloadPackager.cpp.o -o bin/clang-offload-packager lib64/libclang-cpp.so.17 /usr/lib64/libLLVM-17.so && : [1522/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/google -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/google -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/UpgradeGoogletestCaseCheck.cpp.o -MF tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/UpgradeGoogletestCaseCheck.cpp.o.d -o tools/extra/clang-tidy/google/CMakeFiles/obj.clangTidyGoogleModule.dir/UpgradeGoogletestCaseCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/google/UpgradeGoogletestCaseCheck.cpp [1523/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/hicpp -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/hicpp -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/hicpp/CMakeFiles/obj.clangTidyHICPPModule.dir/ExceptionBaseclassCheck.cpp.o -MF tools/extra/clang-tidy/hicpp/CMakeFiles/obj.clangTidyHICPPModule.dir/ExceptionBaseclassCheck.cpp.o.d -o tools/extra/clang-tidy/hicpp/CMakeFiles/obj.clangTidyHICPPModule.dir/ExceptionBaseclassCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/hicpp/ExceptionBaseclassCheck.cpp [1524/2013] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/clang-offload-bundler/CMakeFiles/clang-offload-bundler.dir/ClangOffloadBundler.cpp.o -o bin/clang-offload-bundler lib64/libclang-cpp.so.17 /usr/lib64/libLLVM-17.so && : [1525/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/hicpp -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/hicpp -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/hicpp/CMakeFiles/obj.clangTidyHICPPModule.dir/HICPPTidyModule.cpp.o -MF tools/extra/clang-tidy/hicpp/CMakeFiles/obj.clangTidyHICPPModule.dir/HICPPTidyModule.cpp.o.d -o tools/extra/clang-tidy/hicpp/CMakeFiles/obj.clangTidyHICPPModule.dir/HICPPTidyModule.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/hicpp/HICPPTidyModule.cpp [1526/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/hicpp -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/hicpp -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/hicpp/CMakeFiles/obj.clangTidyHICPPModule.dir/MultiwayPathsCoveredCheck.cpp.o -MF tools/extra/clang-tidy/hicpp/CMakeFiles/obj.clangTidyHICPPModule.dir/MultiwayPathsCoveredCheck.cpp.o.d -o tools/extra/clang-tidy/hicpp/CMakeFiles/obj.clangTidyHICPPModule.dir/MultiwayPathsCoveredCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/hicpp/MultiwayPathsCoveredCheck.cpp [1527/2013] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/clang-scan-deps/CMakeFiles/clang-scan-deps.dir/ClangScanDeps.cpp.o tools/clang-scan-deps/CMakeFiles/clang-scan-deps.dir/clang-scan-deps-driver.cpp.o -o bin/clang-scan-deps lib64/libclang-cpp.so.17 /usr/lib64/libLLVM-17.so && : [1528/2013] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,--export-dynamic -rdynamic -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/clang-repl/CMakeFiles/clang-repl.dir/ClangRepl.cpp.o -o bin/clang-repl lib64/libclang-cpp.so.17 /usr/lib64/libLLVM-17.so && : [1529/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/hicpp -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/hicpp -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/hicpp/CMakeFiles/obj.clangTidyHICPPModule.dir/NoAssemblerCheck.cpp.o -MF tools/extra/clang-tidy/hicpp/CMakeFiles/obj.clangTidyHICPPModule.dir/NoAssemblerCheck.cpp.o.d -o tools/extra/clang-tidy/hicpp/CMakeFiles/obj.clangTidyHICPPModule.dir/NoAssemblerCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/hicpp/NoAssemblerCheck.cpp [1530/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/hicpp -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/hicpp -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/hicpp/CMakeFiles/obj.clangTidyHICPPModule.dir/SignedBitwiseCheck.cpp.o -MF tools/extra/clang-tidy/hicpp/CMakeFiles/obj.clangTidyHICPPModule.dir/SignedBitwiseCheck.cpp.o.d -o tools/extra/clang-tidy/hicpp/CMakeFiles/obj.clangTidyHICPPModule.dir/SignedBitwiseCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/hicpp/SignedBitwiseCheck.cpp [1531/2013] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/clang-rename/CMakeFiles/clang-rename.dir/ClangRename.cpp.o -o bin/clang-rename lib64/libclang-cpp.so.17 /usr/lib64/libLLVM-17.so && : [1532/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/linuxkernel -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/linuxkernel -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/linuxkernel/CMakeFiles/obj.clangTidyLinuxKernelModule.dir/LinuxKernelTidyModule.cpp.o -MF tools/extra/clang-tidy/linuxkernel/CMakeFiles/obj.clangTidyLinuxKernelModule.dir/LinuxKernelTidyModule.cpp.o.d -o tools/extra/clang-tidy/linuxkernel/CMakeFiles/obj.clangTidyLinuxKernelModule.dir/LinuxKernelTidyModule.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/linuxkernel/LinuxKernelTidyModule.cpp [1533/2013] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/clang-refactor/CMakeFiles/clang-refactor.dir/ClangRefactor.cpp.o tools/clang-refactor/CMakeFiles/clang-refactor.dir/TestSupport.cpp.o -o bin/clang-refactor lib64/libclang-cpp.so.17 /usr/lib64/libLLVM-17.so && : [1534/2013] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/arcmt-test/CMakeFiles/arcmt-test.dir/arcmt-test.cpp.o -o bin/arcmt-test lib64/libclang-cpp.so.17 /usr/lib64/libLLVM-17.so && : [1535/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/linuxkernel -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/linuxkernel -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/linuxkernel/CMakeFiles/obj.clangTidyLinuxKernelModule.dir/MustCheckErrsCheck.cpp.o -MF tools/extra/clang-tidy/linuxkernel/CMakeFiles/obj.clangTidyLinuxKernelModule.dir/MustCheckErrsCheck.cpp.o.d -o tools/extra/clang-tidy/linuxkernel/CMakeFiles/obj.clangTidyLinuxKernelModule.dir/MustCheckErrsCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/linuxkernel/MustCheckErrsCheck.cpp [1536/2013] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/clang-check/CMakeFiles/clang-check.dir/ClangCheck.cpp.o -o bin/clang-check lib64/libclang-cpp.so.17 /usr/lib64/libLLVM-17.so && : [1537/2013] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/clang-extdef-mapping/CMakeFiles/clang-extdef-mapping.dir/ClangExtDefMapGen.cpp.o -o bin/clang-extdef-mapping lib64/libclang-cpp.so.17 /usr/lib64/libLLVM-17.so && : [1538/2013] : && /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 && : [1539/2013] : && /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 && : [1540/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/llvm -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/llvm -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/llvm/CMakeFiles/obj.clangTidyLLVMModule.dir/HeaderGuardCheck.cpp.o -MF tools/extra/clang-tidy/llvm/CMakeFiles/obj.clangTidyLLVMModule.dir/HeaderGuardCheck.cpp.o.d -o tools/extra/clang-tidy/llvm/CMakeFiles/obj.clangTidyLLVMModule.dir/HeaderGuardCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/llvm/HeaderGuardCheck.cpp [1541/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/llvm -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/llvm -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/llvm/CMakeFiles/obj.clangTidyLLVMModule.dir/LLVMTidyModule.cpp.o -MF tools/extra/clang-tidy/llvm/CMakeFiles/obj.clangTidyLLVMModule.dir/LLVMTidyModule.cpp.o.d -o tools/extra/clang-tidy/llvm/CMakeFiles/obj.clangTidyLLVMModule.dir/LLVMTidyModule.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/llvm/LLVMTidyModule.cpp [1542/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/llvm -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/llvm -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/llvm/CMakeFiles/obj.clangTidyLLVMModule.dir/IncludeOrderCheck.cpp.o -MF tools/extra/clang-tidy/llvm/CMakeFiles/obj.clangTidyLLVMModule.dir/IncludeOrderCheck.cpp.o.d -o tools/extra/clang-tidy/llvm/CMakeFiles/obj.clangTidyLLVMModule.dir/IncludeOrderCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/llvm/IncludeOrderCheck.cpp [1543/2013] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/extra/clang-apply-replacements/tool/CMakeFiles/clang-apply-replacements.dir/ClangApplyReplacementsMain.cpp.o -o bin/clang-apply-replacements lib64/libclangApplyReplacements.a lib64/libclang-cpp.so.17 /usr/lib64/libLLVM-17.so && : [1544/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/llvm -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/llvm -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/llvm/CMakeFiles/obj.clangTidyLLVMModule.dir/PreferIsaOrDynCastInConditionalsCheck.cpp.o -MF tools/extra/clang-tidy/llvm/CMakeFiles/obj.clangTidyLLVMModule.dir/PreferIsaOrDynCastInConditionalsCheck.cpp.o.d -o tools/extra/clang-tidy/llvm/CMakeFiles/obj.clangTidyLLVMModule.dir/PreferIsaOrDynCastInConditionalsCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/llvm/PreferIsaOrDynCastInConditionalsCheck.cpp [1545/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/llvm -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/llvm -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/llvm/CMakeFiles/obj.clangTidyLLVMModule.dir/PreferRegisterOverUnsignedCheck.cpp.o -MF tools/extra/clang-tidy/llvm/CMakeFiles/obj.clangTidyLLVMModule.dir/PreferRegisterOverUnsignedCheck.cpp.o.d -o tools/extra/clang-tidy/llvm/CMakeFiles/obj.clangTidyLLVMModule.dir/PreferRegisterOverUnsignedCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/llvm/PreferRegisterOverUnsignedCheck.cpp [1546/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/llvm -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/llvm -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/llvm/CMakeFiles/obj.clangTidyLLVMModule.dir/TwineLocalCheck.cpp.o -MF tools/extra/clang-tidy/llvm/CMakeFiles/obj.clangTidyLLVMModule.dir/TwineLocalCheck.cpp.o.d -o tools/extra/clang-tidy/llvm/CMakeFiles/obj.clangTidyLLVMModule.dir/TwineLocalCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/llvm/TwineLocalCheck.cpp [1547/2013] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/extra/clang-reorder-fields/tool/CMakeFiles/clang-reorder-fields.dir/ClangReorderFields.cpp.o -o bin/clang-reorder-fields lib64/libclangReorderFields.a lib64/libclang-cpp.so.17 /usr/lib64/libLLVM-17.so && : [1548/2013] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/extra/modularize/CMakeFiles/modularize.dir/Modularize.cpp.o tools/extra/modularize/CMakeFiles/modularize.dir/ModuleAssistant.cpp.o tools/extra/modularize/CMakeFiles/modularize.dir/ModularizeUtilities.cpp.o tools/extra/modularize/CMakeFiles/modularize.dir/CoverageChecker.cpp.o tools/extra/modularize/CMakeFiles/modularize.dir/PreprocessorTracker.cpp.o -o bin/modularize lib64/libclang-cpp.so.17 /usr/lib64/libLLVM-17.so && : [1549/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/llvmlibc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/llvmlibc -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/llvmlibc/CMakeFiles/obj.clangTidyLLVMLibcModule.dir/CalleeNamespaceCheck.cpp.o -MF tools/extra/clang-tidy/llvmlibc/CMakeFiles/obj.clangTidyLLVMLibcModule.dir/CalleeNamespaceCheck.cpp.o.d -o tools/extra/clang-tidy/llvmlibc/CMakeFiles/obj.clangTidyLLVMLibcModule.dir/CalleeNamespaceCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/llvmlibc/CalleeNamespaceCheck.cpp [1550/2013] : && /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 && : [1551/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/llvmlibc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/llvmlibc -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/llvmlibc/CMakeFiles/obj.clangTidyLLVMLibcModule.dir/ImplementationInNamespaceCheck.cpp.o -MF tools/extra/clang-tidy/llvmlibc/CMakeFiles/obj.clangTidyLLVMLibcModule.dir/ImplementationInNamespaceCheck.cpp.o.d -o tools/extra/clang-tidy/llvmlibc/CMakeFiles/obj.clangTidyLLVMLibcModule.dir/ImplementationInNamespaceCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/llvmlibc/ImplementationInNamespaceCheck.cpp [1552/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/llvmlibc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/llvmlibc -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/llvmlibc/CMakeFiles/obj.clangTidyLLVMLibcModule.dir/LLVMLibcTidyModule.cpp.o -MF tools/extra/clang-tidy/llvmlibc/CMakeFiles/obj.clangTidyLLVMLibcModule.dir/LLVMLibcTidyModule.cpp.o.d -o tools/extra/clang-tidy/llvmlibc/CMakeFiles/obj.clangTidyLLVMLibcModule.dir/LLVMLibcTidyModule.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/llvmlibc/LLVMLibcTidyModule.cpp [1553/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/llvmlibc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/llvmlibc -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/llvmlibc/CMakeFiles/obj.clangTidyLLVMLibcModule.dir/InlineFunctionDeclCheck.cpp.o -MF tools/extra/clang-tidy/llvmlibc/CMakeFiles/obj.clangTidyLLVMLibcModule.dir/InlineFunctionDeclCheck.cpp.o.d -o tools/extra/clang-tidy/llvmlibc/CMakeFiles/obj.clangTidyLLVMLibcModule.dir/InlineFunctionDeclCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/llvmlibc/InlineFunctionDeclCheck.cpp [1554/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/llvmlibc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/llvmlibc -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/llvmlibc/CMakeFiles/obj.clangTidyLLVMLibcModule.dir/RestrictSystemLibcHeadersCheck.cpp.o -MF tools/extra/clang-tidy/llvmlibc/CMakeFiles/obj.clangTidyLLVMLibcModule.dir/RestrictSystemLibcHeadersCheck.cpp.o.d -o tools/extra/clang-tidy/llvmlibc/CMakeFiles/obj.clangTidyLLVMLibcModule.dir/RestrictSystemLibcHeadersCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/llvmlibc/RestrictSystemLibcHeadersCheck.cpp [1555/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/../../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/DefinitionsInHeadersCheck.cpp.o -MF tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/DefinitionsInHeadersCheck.cpp.o.d -o tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/DefinitionsInHeadersCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/DefinitionsInHeadersCheck.cpp [1556/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/../../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/ConstCorrectnessCheck.cpp.o -MF tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/ConstCorrectnessCheck.cpp.o.d -o tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/ConstCorrectnessCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/ConstCorrectnessCheck.cpp [1557/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/../../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/HeaderIncludeCycleCheck.cpp.o -MF tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/HeaderIncludeCycleCheck.cpp.o.d -o tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/HeaderIncludeCycleCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/HeaderIncludeCycleCheck.cpp [1558/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/../../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/ConfusableIdentifierCheck.cpp.o -MF tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/ConfusableIdentifierCheck.cpp.o.d -o tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/ConfusableIdentifierCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/ConfusableIdentifierCheck.cpp [1559/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/../../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/IncludeCleanerCheck.cpp.o -MF tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/IncludeCleanerCheck.cpp.o.d -o tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/IncludeCleanerCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/IncludeCleanerCheck.cpp [1560/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/../../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/MisleadingBidirectional.cpp.o -MF tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/MisleadingBidirectional.cpp.o.d -o tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/MisleadingBidirectional.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/MisleadingBidirectional.cpp [1561/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/../../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/MiscTidyModule.cpp.o -MF tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/MiscTidyModule.cpp.o.d -o tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/MiscTidyModule.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/MiscTidyModule.cpp [1562/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/../../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/MisleadingIdentifier.cpp.o -MF tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/MisleadingIdentifier.cpp.o.d -o tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/MisleadingIdentifier.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/MisleadingIdentifier.cpp [1563/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/../../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/MisplacedConstCheck.cpp.o -MF tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/MisplacedConstCheck.cpp.o.d -o tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/MisplacedConstCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/MisplacedConstCheck.cpp [1564/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/../../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/NewDeleteOverloadsCheck.cpp.o -MF tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/NewDeleteOverloadsCheck.cpp.o.d -o tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/NewDeleteOverloadsCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/NewDeleteOverloadsCheck.cpp [1565/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/../../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/NonCopyableObjects.cpp.o -MF tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/NonCopyableObjects.cpp.o.d -o tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/NonCopyableObjects.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/NonCopyableObjects.cpp [1566/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/../../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/NonPrivateMemberVariablesInClassesCheck.cpp.o -MF tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/NonPrivateMemberVariablesInClassesCheck.cpp.o.d -o tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/NonPrivateMemberVariablesInClassesCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/NonPrivateMemberVariablesInClassesCheck.cpp [1567/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/../../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/NoRecursionCheck.cpp.o -MF tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/NoRecursionCheck.cpp.o.d -o tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/NoRecursionCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/NoRecursionCheck.cpp [1568/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/../../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/StaticAssertCheck.cpp.o -MF tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/StaticAssertCheck.cpp.o.d -o tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/StaticAssertCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/StaticAssertCheck.cpp [1569/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/../../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/ThrowByValueCatchByReferenceCheck.cpp.o -MF tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/ThrowByValueCatchByReferenceCheck.cpp.o.d -o tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/ThrowByValueCatchByReferenceCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/ThrowByValueCatchByReferenceCheck.cpp [1570/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/../../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/RedundantExpressionCheck.cpp.o -MF tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/RedundantExpressionCheck.cpp.o.d -o tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/RedundantExpressionCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/RedundantExpressionCheck.cpp [1571/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/../../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/UniqueptrResetReleaseCheck.cpp.o -MF tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/UniqueptrResetReleaseCheck.cpp.o.d -o tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/UniqueptrResetReleaseCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/UniqueptrResetReleaseCheck.cpp [1572/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/../../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/UnconventionalAssignOperatorCheck.cpp.o -MF tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/UnconventionalAssignOperatorCheck.cpp.o.d -o tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/UnconventionalAssignOperatorCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/UnconventionalAssignOperatorCheck.cpp [1573/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/../../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/UnusedAliasDeclsCheck.cpp.o -MF tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/UnusedAliasDeclsCheck.cpp.o.d -o tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/UnusedAliasDeclsCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/UnusedAliasDeclsCheck.cpp [1574/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/../../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/UnusedUsingDeclsCheck.cpp.o -MF tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/UnusedUsingDeclsCheck.cpp.o.d -o tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/UnusedUsingDeclsCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/UnusedUsingDeclsCheck.cpp [1575/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/../../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/UseAnonymousNamespaceCheck.cpp.o -MF tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/UseAnonymousNamespaceCheck.cpp.o.d -o tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/UseAnonymousNamespaceCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/UseAnonymousNamespaceCheck.cpp [1576/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/IntegralLiteralExpressionMatcher.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/IntegralLiteralExpressionMatcher.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/IntegralLiteralExpressionMatcher.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/IntegralLiteralExpressionMatcher.cpp [1577/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/AvoidBindCheck.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/AvoidBindCheck.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/AvoidBindCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/AvoidBindCheck.cpp [1578/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/AvoidCArraysCheck.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/AvoidCArraysCheck.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/AvoidCArraysCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/AvoidCArraysCheck.cpp [1579/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/ConcatNestedNamespacesCheck.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/ConcatNestedNamespacesCheck.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/ConcatNestedNamespacesCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/ConcatNestedNamespacesCheck.cpp [1580/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/../../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/UnusedParametersCheck.cpp.o -MF tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/UnusedParametersCheck.cpp.o.d -o tools/extra/clang-tidy/misc/CMakeFiles/obj.clangTidyMiscModule.dir/UnusedParametersCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/misc/UnusedParametersCheck.cpp [1581/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/DeprecatedIosBaseAliasesCheck.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/DeprecatedIosBaseAliasesCheck.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/DeprecatedIosBaseAliasesCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/DeprecatedIosBaseAliasesCheck.cpp [1582/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/DeprecatedHeadersCheck.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/DeprecatedHeadersCheck.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/DeprecatedHeadersCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/DeprecatedHeadersCheck.cpp [1583/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/MakeSharedCheck.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/MakeSharedCheck.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/MakeSharedCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/MakeSharedCheck.cpp [1584/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/MacroToEnumCheck.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/MacroToEnumCheck.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/MacroToEnumCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/MacroToEnumCheck.cpp [1585/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/MakeSmartPtrCheck.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/MakeSmartPtrCheck.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/MakeSmartPtrCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/MakeSmartPtrCheck.cpp [1586/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/MakeUniqueCheck.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/MakeUniqueCheck.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/MakeUniqueCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/MakeUniqueCheck.cpp [1587/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/ModernizeTidyModule.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/ModernizeTidyModule.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/ModernizeTidyModule.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/ModernizeTidyModule.cpp [1588/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/RawStringLiteralCheck.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/RawStringLiteralCheck.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/RawStringLiteralCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/RawStringLiteralCheck.cpp [1589/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/RedundantVoidArgCheck.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/RedundantVoidArgCheck.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/RedundantVoidArgCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/RedundantVoidArgCheck.cpp [1590/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/ReplaceDisallowCopyAndAssignMacroCheck.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/ReplaceDisallowCopyAndAssignMacroCheck.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/ReplaceDisallowCopyAndAssignMacroCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/ReplaceDisallowCopyAndAssignMacroCheck.cpp [1591/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/ReplaceAutoPtrCheck.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/ReplaceAutoPtrCheck.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/ReplaceAutoPtrCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/ReplaceAutoPtrCheck.cpp [1592/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/LoopConvertUtils.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/LoopConvertUtils.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/LoopConvertUtils.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/LoopConvertUtils.cpp [1593/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/ReplaceRandomShuffleCheck.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/ReplaceRandomShuffleCheck.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/ReplaceRandomShuffleCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/ReplaceRandomShuffleCheck.cpp [1594/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/PassByValueCheck.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/PassByValueCheck.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/PassByValueCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/PassByValueCheck.cpp [1595/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/ReturnBracedInitListCheck.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/ReturnBracedInitListCheck.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/ReturnBracedInitListCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/ReturnBracedInitListCheck.cpp [1596/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/LoopConvertCheck.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/LoopConvertCheck.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/LoopConvertCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/LoopConvertCheck.cpp [1597/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/ShrinkToFitCheck.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/ShrinkToFitCheck.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/ShrinkToFitCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/ShrinkToFitCheck.cpp [1598/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/TypeTraitsCheck.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/TypeTraitsCheck.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/TypeTraitsCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/TypeTraitsCheck.cpp [1599/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UnaryStaticAssertCheck.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UnaryStaticAssertCheck.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UnaryStaticAssertCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/UnaryStaticAssertCheck.cpp [1600/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseBoolLiteralsCheck.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseBoolLiteralsCheck.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseBoolLiteralsCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/UseBoolLiteralsCheck.cpp [1601/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseDefaultMemberInitCheck.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseDefaultMemberInitCheck.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseDefaultMemberInitCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/UseDefaultMemberInitCheck.cpp [1602/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseAutoCheck.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseAutoCheck.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseAutoCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/UseAutoCheck.cpp [1603/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseEmplaceCheck.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseEmplaceCheck.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseEmplaceCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/UseEmplaceCheck.cpp [1604/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseEqualsDeleteCheck.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseEqualsDeleteCheck.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseEqualsDeleteCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/UseEqualsDeleteCheck.cpp [1605/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseEqualsDefaultCheck.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseEqualsDefaultCheck.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseEqualsDefaultCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/UseEqualsDefaultCheck.cpp [1606/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseNodiscardCheck.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseNodiscardCheck.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseNodiscardCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/UseNodiscardCheck.cpp [1607/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseNoexceptCheck.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseNoexceptCheck.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseNoexceptCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/UseNoexceptCheck.cpp [1608/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseOverrideCheck.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseOverrideCheck.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseOverrideCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/UseOverrideCheck.cpp [1609/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseStdPrintCheck.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseStdPrintCheck.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseStdPrintCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/UseStdPrintCheck.cpp [1610/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseTransparentFunctorsCheck.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseTransparentFunctorsCheck.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseTransparentFunctorsCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/UseTransparentFunctorsCheck.cpp [1611/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseUncaughtExceptionsCheck.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseUncaughtExceptionsCheck.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseUncaughtExceptionsCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/UseUncaughtExceptionsCheck.cpp [1612/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseUsingCheck.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseUsingCheck.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseUsingCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/UseUsingCheck.cpp [1613/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/mpi -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/mpi -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/mpi/CMakeFiles/obj.clangTidyMPIModule.dir/BufferDerefCheck.cpp.o -MF tools/extra/clang-tidy/mpi/CMakeFiles/obj.clangTidyMPIModule.dir/BufferDerefCheck.cpp.o.d -o tools/extra/clang-tidy/mpi/CMakeFiles/obj.clangTidyMPIModule.dir/BufferDerefCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/mpi/BufferDerefCheck.cpp [1614/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseNullptrCheck.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseNullptrCheck.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseNullptrCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/UseNullptrCheck.cpp [1615/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/modernize -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseTrailingReturnTypeCheck.cpp.o -MF tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseTrailingReturnTypeCheck.cpp.o.d -o tools/extra/clang-tidy/modernize/CMakeFiles/obj.clangTidyModernizeModule.dir/UseTrailingReturnTypeCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/modernize/UseTrailingReturnTypeCheck.cpp [1616/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/mpi -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/mpi -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/mpi/CMakeFiles/obj.clangTidyMPIModule.dir/MPITidyModule.cpp.o -MF tools/extra/clang-tidy/mpi/CMakeFiles/obj.clangTidyMPIModule.dir/MPITidyModule.cpp.o.d -o tools/extra/clang-tidy/mpi/CMakeFiles/obj.clangTidyMPIModule.dir/MPITidyModule.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/mpi/MPITidyModule.cpp [1617/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/objc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/objc -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/objc/CMakeFiles/obj.clangTidyObjCModule.dir/AvoidNSErrorInitCheck.cpp.o -MF tools/extra/clang-tidy/objc/CMakeFiles/obj.clangTidyObjCModule.dir/AvoidNSErrorInitCheck.cpp.o.d -o tools/extra/clang-tidy/objc/CMakeFiles/obj.clangTidyObjCModule.dir/AvoidNSErrorInitCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/objc/AvoidNSErrorInitCheck.cpp [1618/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/mpi -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/mpi -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/mpi/CMakeFiles/obj.clangTidyMPIModule.dir/TypeMismatchCheck.cpp.o -MF tools/extra/clang-tidy/mpi/CMakeFiles/obj.clangTidyMPIModule.dir/TypeMismatchCheck.cpp.o.d -o tools/extra/clang-tidy/mpi/CMakeFiles/obj.clangTidyMPIModule.dir/TypeMismatchCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/mpi/TypeMismatchCheck.cpp [1619/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/objc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/objc -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/objc/CMakeFiles/obj.clangTidyObjCModule.dir/AssertEquals.cpp.o -MF tools/extra/clang-tidy/objc/CMakeFiles/obj.clangTidyObjCModule.dir/AssertEquals.cpp.o.d -o tools/extra/clang-tidy/objc/CMakeFiles/obj.clangTidyObjCModule.dir/AssertEquals.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/objc/AssertEquals.cpp [1620/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/objc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/objc -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/objc/CMakeFiles/obj.clangTidyObjCModule.dir/DeallocInCategoryCheck.cpp.o -MF tools/extra/clang-tidy/objc/CMakeFiles/obj.clangTidyObjCModule.dir/DeallocInCategoryCheck.cpp.o.d -o tools/extra/clang-tidy/objc/CMakeFiles/obj.clangTidyObjCModule.dir/DeallocInCategoryCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/objc/DeallocInCategoryCheck.cpp [1621/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/objc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/objc -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/objc/CMakeFiles/obj.clangTidyObjCModule.dir/ForbiddenSubclassingCheck.cpp.o -MF tools/extra/clang-tidy/objc/CMakeFiles/obj.clangTidyObjCModule.dir/ForbiddenSubclassingCheck.cpp.o.d -o tools/extra/clang-tidy/objc/CMakeFiles/obj.clangTidyObjCModule.dir/ForbiddenSubclassingCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/objc/ForbiddenSubclassingCheck.cpp [1622/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/objc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/objc -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/objc/CMakeFiles/obj.clangTidyObjCModule.dir/MissingHashCheck.cpp.o -MF tools/extra/clang-tidy/objc/CMakeFiles/obj.clangTidyObjCModule.dir/MissingHashCheck.cpp.o.d -o tools/extra/clang-tidy/objc/CMakeFiles/obj.clangTidyObjCModule.dir/MissingHashCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/objc/MissingHashCheck.cpp [1623/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/objc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/objc -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/objc/CMakeFiles/obj.clangTidyObjCModule.dir/NSInvocationArgumentLifetimeCheck.cpp.o -MF tools/extra/clang-tidy/objc/CMakeFiles/obj.clangTidyObjCModule.dir/NSInvocationArgumentLifetimeCheck.cpp.o.d -o tools/extra/clang-tidy/objc/CMakeFiles/obj.clangTidyObjCModule.dir/NSInvocationArgumentLifetimeCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/objc/NSInvocationArgumentLifetimeCheck.cpp [1624/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/objc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/objc -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/objc/CMakeFiles/obj.clangTidyObjCModule.dir/NSDateFormatterCheck.cpp.o -MF tools/extra/clang-tidy/objc/CMakeFiles/obj.clangTidyObjCModule.dir/NSDateFormatterCheck.cpp.o.d -o tools/extra/clang-tidy/objc/CMakeFiles/obj.clangTidyObjCModule.dir/NSDateFormatterCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/objc/NSDateFormatterCheck.cpp [1625/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/objc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/objc -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/objc/CMakeFiles/obj.clangTidyObjCModule.dir/ObjCTidyModule.cpp.o -MF tools/extra/clang-tidy/objc/CMakeFiles/obj.clangTidyObjCModule.dir/ObjCTidyModule.cpp.o.d -o tools/extra/clang-tidy/objc/CMakeFiles/obj.clangTidyObjCModule.dir/ObjCTidyModule.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/objc/ObjCTidyModule.cpp [1626/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/objc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/objc -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/objc/CMakeFiles/obj.clangTidyObjCModule.dir/SuperSelfCheck.cpp.o -MF tools/extra/clang-tidy/objc/CMakeFiles/obj.clangTidyObjCModule.dir/SuperSelfCheck.cpp.o.d -o tools/extra/clang-tidy/objc/CMakeFiles/obj.clangTidyObjCModule.dir/SuperSelfCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/objc/SuperSelfCheck.cpp [1627/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/objc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/objc -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/objc/CMakeFiles/obj.clangTidyObjCModule.dir/PropertyDeclarationCheck.cpp.o -MF tools/extra/clang-tidy/objc/CMakeFiles/obj.clangTidyObjCModule.dir/PropertyDeclarationCheck.cpp.o.d -o tools/extra/clang-tidy/objc/CMakeFiles/obj.clangTidyObjCModule.dir/PropertyDeclarationCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/objc/PropertyDeclarationCheck.cpp [1628/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/openmp -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/openmp -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/openmp/CMakeFiles/obj.clangTidyOpenMPModule.dir/ExceptionEscapeCheck.cpp.o -MF tools/extra/clang-tidy/openmp/CMakeFiles/obj.clangTidyOpenMPModule.dir/ExceptionEscapeCheck.cpp.o.d -o tools/extra/clang-tidy/openmp/CMakeFiles/obj.clangTidyOpenMPModule.dir/ExceptionEscapeCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/openmp/ExceptionEscapeCheck.cpp [1629/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/openmp -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/openmp -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/openmp/CMakeFiles/obj.clangTidyOpenMPModule.dir/OpenMPTidyModule.cpp.o -MF tools/extra/clang-tidy/openmp/CMakeFiles/obj.clangTidyOpenMPModule.dir/OpenMPTidyModule.cpp.o.d -o tools/extra/clang-tidy/openmp/CMakeFiles/obj.clangTidyOpenMPModule.dir/OpenMPTidyModule.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/openmp/OpenMPTidyModule.cpp [1630/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/openmp -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/openmp -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/openmp/CMakeFiles/obj.clangTidyOpenMPModule.dir/UseDefaultNoneCheck.cpp.o -MF tools/extra/clang-tidy/openmp/CMakeFiles/obj.clangTidyOpenMPModule.dir/UseDefaultNoneCheck.cpp.o.d -o tools/extra/clang-tidy/openmp/CMakeFiles/obj.clangTidyOpenMPModule.dir/UseDefaultNoneCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/openmp/UseDefaultNoneCheck.cpp [1631/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/performance -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/AvoidEndlCheck.cpp.o -MF tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/AvoidEndlCheck.cpp.o.d -o tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/AvoidEndlCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance/AvoidEndlCheck.cpp [1632/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/performance -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/FasterStringFindCheck.cpp.o -MF tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/FasterStringFindCheck.cpp.o.d -o tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/FasterStringFindCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance/FasterStringFindCheck.cpp [1633/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/performance -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/ImplicitConversionInLoopCheck.cpp.o -MF tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/ImplicitConversionInLoopCheck.cpp.o.d -o tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/ImplicitConversionInLoopCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance/ImplicitConversionInLoopCheck.cpp [1634/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/performance -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/InefficientAlgorithmCheck.cpp.o -MF tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/InefficientAlgorithmCheck.cpp.o.d -o tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/InefficientAlgorithmCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance/InefficientAlgorithmCheck.cpp [1635/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/performance -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/ForRangeCopyCheck.cpp.o -MF tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/ForRangeCopyCheck.cpp.o.d -o tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/ForRangeCopyCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance/ForRangeCopyCheck.cpp [1636/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/performance -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/InefficientStringConcatenationCheck.cpp.o -MF tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/InefficientStringConcatenationCheck.cpp.o.d -o tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/InefficientStringConcatenationCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance/InefficientStringConcatenationCheck.cpp [1637/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/performance -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/InefficientVectorOperationCheck.cpp.o -MF tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/InefficientVectorOperationCheck.cpp.o.d -o tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/InefficientVectorOperationCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance/InefficientVectorOperationCheck.cpp [1638/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/performance -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/MoveConstArgCheck.cpp.o -MF tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/MoveConstArgCheck.cpp.o.d -o tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/MoveConstArgCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance/MoveConstArgCheck.cpp [1639/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/performance -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/MoveConstructorInitCheck.cpp.o -MF tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/MoveConstructorInitCheck.cpp.o.d -o tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/MoveConstructorInitCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance/MoveConstructorInitCheck.cpp [1640/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/performance -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/NoAutomaticMoveCheck.cpp.o -MF tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/NoAutomaticMoveCheck.cpp.o.d -o tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/NoAutomaticMoveCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance/NoAutomaticMoveCheck.cpp [1641/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/performance -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/NoIntToPtrCheck.cpp.o -MF tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/NoIntToPtrCheck.cpp.o.d -o tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/NoIntToPtrCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance/NoIntToPtrCheck.cpp [1642/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/performance -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/NoexceptDestructorCheck.cpp.o -MF tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/NoexceptDestructorCheck.cpp.o.d -o tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/NoexceptDestructorCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance/NoexceptDestructorCheck.cpp [1643/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/performance -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/NoexceptMoveConstructorCheck.cpp.o -MF tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/NoexceptMoveConstructorCheck.cpp.o.d -o tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/NoexceptMoveConstructorCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance/NoexceptMoveConstructorCheck.cpp [1644/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/performance -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/NoexceptFunctionBaseCheck.cpp.o -MF tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/NoexceptFunctionBaseCheck.cpp.o.d -o tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/NoexceptFunctionBaseCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance/NoexceptFunctionBaseCheck.cpp [1645/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/performance -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/NoexceptSwapCheck.cpp.o -MF tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/NoexceptSwapCheck.cpp.o.d -o tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/NoexceptSwapCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance/NoexceptSwapCheck.cpp [1646/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/performance -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/PerformanceTidyModule.cpp.o -MF tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/PerformanceTidyModule.cpp.o.d -o tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/PerformanceTidyModule.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance/PerformanceTidyModule.cpp [1647/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/performance -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/TriviallyDestructibleCheck.cpp.o -MF tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/TriviallyDestructibleCheck.cpp.o.d -o tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/TriviallyDestructibleCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance/TriviallyDestructibleCheck.cpp [1648/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/portability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/portability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/portability/CMakeFiles/obj.clangTidyPortabilityModule.dir/PortabilityTidyModule.cpp.o -MF tools/extra/clang-tidy/portability/CMakeFiles/obj.clangTidyPortabilityModule.dir/PortabilityTidyModule.cpp.o.d -o tools/extra/clang-tidy/portability/CMakeFiles/obj.clangTidyPortabilityModule.dir/PortabilityTidyModule.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/portability/PortabilityTidyModule.cpp [1649/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/performance -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/TypePromotionInMathFnCheck.cpp.o -MF tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/TypePromotionInMathFnCheck.cpp.o.d -o tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/TypePromotionInMathFnCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance/TypePromotionInMathFnCheck.cpp [1650/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/portability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/portability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/portability/CMakeFiles/obj.clangTidyPortabilityModule.dir/RestrictSystemIncludesCheck.cpp.o -MF tools/extra/clang-tidy/portability/CMakeFiles/obj.clangTidyPortabilityModule.dir/RestrictSystemIncludesCheck.cpp.o.d -o tools/extra/clang-tidy/portability/CMakeFiles/obj.clangTidyPortabilityModule.dir/RestrictSystemIncludesCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/portability/RestrictSystemIncludesCheck.cpp [1651/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/performance -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/UnnecessaryCopyInitialization.cpp.o -MF tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/UnnecessaryCopyInitialization.cpp.o.d -o tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/UnnecessaryCopyInitialization.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance/UnnecessaryCopyInitialization.cpp [1652/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/portability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/portability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/portability/CMakeFiles/obj.clangTidyPortabilityModule.dir/SIMDIntrinsicsCheck.cpp.o -MF tools/extra/clang-tidy/portability/CMakeFiles/obj.clangTidyPortabilityModule.dir/SIMDIntrinsicsCheck.cpp.o.d -o tools/extra/clang-tidy/portability/CMakeFiles/obj.clangTidyPortabilityModule.dir/SIMDIntrinsicsCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/portability/SIMDIntrinsicsCheck.cpp [1653/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/performance -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/UnnecessaryValueParamCheck.cpp.o -MF tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/UnnecessaryValueParamCheck.cpp.o.d -o tools/extra/clang-tidy/performance/CMakeFiles/obj.clangTidyPerformanceModule.dir/UnnecessaryValueParamCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/performance/UnnecessaryValueParamCheck.cpp [1654/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/portability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/portability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/portability/CMakeFiles/obj.clangTidyPortabilityModule.dir/StdAllocatorConstCheck.cpp.o -MF tools/extra/clang-tidy/portability/CMakeFiles/obj.clangTidyPortabilityModule.dir/StdAllocatorConstCheck.cpp.o.d -o tools/extra/clang-tidy/portability/CMakeFiles/obj.clangTidyPortabilityModule.dir/StdAllocatorConstCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/portability/StdAllocatorConstCheck.cpp [1655/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/AvoidConstParamsInDecls.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/AvoidConstParamsInDecls.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/AvoidConstParamsInDecls.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/AvoidConstParamsInDecls.cpp [1656/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/BracesAroundStatementsCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/BracesAroundStatementsCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/BracesAroundStatementsCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/BracesAroundStatementsCheck.cpp [1657/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/AvoidUnconditionalPreprocessorIfCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/AvoidUnconditionalPreprocessorIfCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/AvoidUnconditionalPreprocessorIfCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/AvoidUnconditionalPreprocessorIfCheck.cpp [1658/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/ConstReturnTypeCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/ConstReturnTypeCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/ConstReturnTypeCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/ConstReturnTypeCheck.cpp [1659/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/ContainerContainsCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/ContainerContainsCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/ContainerContainsCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/ContainerContainsCheck.cpp [1660/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/ContainerDataPointerCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/ContainerDataPointerCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/ContainerDataPointerCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/ContainerDataPointerCheck.cpp [1661/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/DeleteNullPointerCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/DeleteNullPointerCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/DeleteNullPointerCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/DeleteNullPointerCheck.cpp [1662/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/ContainerSizeEmptyCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/ContainerSizeEmptyCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/ContainerSizeEmptyCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/ContainerSizeEmptyCheck.cpp [1663/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/DuplicateIncludeCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/DuplicateIncludeCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/DuplicateIncludeCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/DuplicateIncludeCheck.cpp [1664/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/ElseAfterReturnCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/ElseAfterReturnCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/ElseAfterReturnCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/ElseAfterReturnCheck.cpp [1665/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/ConvertMemberFunctionsToStatic.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/ConvertMemberFunctionsToStatic.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/ConvertMemberFunctionsToStatic.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/ConvertMemberFunctionsToStatic.cpp [1666/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/IdentifierLengthCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/IdentifierLengthCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/IdentifierLengthCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/IdentifierLengthCheck.cpp [1667/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/FunctionCognitiveComplexityCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/FunctionCognitiveComplexityCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/FunctionCognitiveComplexityCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/FunctionCognitiveComplexityCheck.cpp [1668/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/FunctionSizeCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/FunctionSizeCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/FunctionSizeCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/FunctionSizeCheck.cpp [1669/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/IdentifierNamingCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/IdentifierNamingCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/IdentifierNamingCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/IdentifierNamingCheck.cpp [1670/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/InconsistentDeclarationParameterNameCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/InconsistentDeclarationParameterNameCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/InconsistentDeclarationParameterNameCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/InconsistentDeclarationParameterNameCheck.cpp [1671/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/ImplicitBoolConversionCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/ImplicitBoolConversionCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/ImplicitBoolConversionCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/ImplicitBoolConversionCheck.cpp [1672/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/IsolateDeclarationCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/IsolateDeclarationCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/IsolateDeclarationCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/IsolateDeclarationCheck.cpp [1673/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/MagicNumbersCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/MagicNumbersCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/MagicNumbersCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/MagicNumbersCheck.cpp [1674/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/MisleadingIndentationCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/MisleadingIndentationCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/MisleadingIndentationCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/MisleadingIndentationCheck.cpp [1675/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/MisplacedArrayIndexCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/MisplacedArrayIndexCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/MisplacedArrayIndexCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/MisplacedArrayIndexCheck.cpp [1676/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/NamedParameterCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/NamedParameterCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/NamedParameterCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/NamedParameterCheck.cpp [1677/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/MakeMemberFunctionConstCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/MakeMemberFunctionConstCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/MakeMemberFunctionConstCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/MakeMemberFunctionConstCheck.cpp [1678/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/NamespaceCommentCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/NamespaceCommentCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/NamespaceCommentCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/NamespaceCommentCheck.cpp [1679/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/OperatorsRepresentationCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/OperatorsRepresentationCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/OperatorsRepresentationCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/OperatorsRepresentationCheck.cpp [1680/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/NonConstParameterCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/NonConstParameterCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/NonConstParameterCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/NonConstParameterCheck.cpp [1681/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/QualifiedAutoCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/QualifiedAutoCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/QualifiedAutoCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/QualifiedAutoCheck.cpp [1682/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/RedundantAccessSpecifiersCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/RedundantAccessSpecifiersCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/RedundantAccessSpecifiersCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/RedundantAccessSpecifiersCheck.cpp [1683/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/ReadabilityTidyModule.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/ReadabilityTidyModule.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/ReadabilityTidyModule.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/ReadabilityTidyModule.cpp [1684/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/RedundantControlFlowCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/RedundantControlFlowCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/RedundantControlFlowCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/RedundantControlFlowCheck.cpp [1685/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/RedundantFunctionPtrDereferenceCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/RedundantFunctionPtrDereferenceCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/RedundantFunctionPtrDereferenceCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/RedundantFunctionPtrDereferenceCheck.cpp [1686/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/RedundantDeclarationCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/RedundantDeclarationCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/RedundantDeclarationCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/RedundantDeclarationCheck.cpp [1687/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/RedundantMemberInitCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/RedundantMemberInitCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/RedundantMemberInitCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/RedundantMemberInitCheck.cpp [1688/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/RedundantPreprocessorCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/RedundantPreprocessorCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/RedundantPreprocessorCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/RedundantPreprocessorCheck.cpp [1689/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/RedundantSmartptrGetCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/RedundantSmartptrGetCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/RedundantSmartptrGetCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/RedundantSmartptrGetCheck.cpp [1690/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/RedundantStringInitCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/RedundantStringInitCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/RedundantStringInitCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/RedundantStringInitCheck.cpp [1691/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/RedundantStringCStrCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/RedundantStringCStrCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/RedundantStringCStrCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/RedundantStringCStrCheck.cpp [1692/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/StaticAccessedThroughInstanceCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/StaticAccessedThroughInstanceCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/StaticAccessedThroughInstanceCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/StaticAccessedThroughInstanceCheck.cpp [1693/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/SimplifySubscriptExprCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/SimplifySubscriptExprCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/SimplifySubscriptExprCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/SimplifySubscriptExprCheck.cpp [1694/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/StaticDefinitionInAnonymousNamespaceCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/StaticDefinitionInAnonymousNamespaceCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/StaticDefinitionInAnonymousNamespaceCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/StaticDefinitionInAnonymousNamespaceCheck.cpp [1695/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/StringCompareCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/StringCompareCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/StringCompareCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/StringCompareCheck.cpp [1696/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/SimplifyBooleanExprCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/SimplifyBooleanExprCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/SimplifyBooleanExprCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/SimplifyBooleanExprCheck.cpp [1697/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/SuspiciousCallArgumentCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/SuspiciousCallArgumentCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/SuspiciousCallArgumentCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/SuspiciousCallArgumentCheck.cpp [1698/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/tool -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/tool -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/tool/CMakeFiles/clang-tidy.dir/ClangTidyToolMain.cpp.o -MF tools/extra/clang-tidy/tool/CMakeFiles/clang-tidy.dir/ClangTidyToolMain.cpp.o.d -o tools/extra/clang-tidy/tool/CMakeFiles/clang-tidy.dir/ClangTidyToolMain.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/tool/ClangTidyToolMain.cpp [1699/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/UppercaseLiteralSuffixCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/UppercaseLiteralSuffixCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/UppercaseLiteralSuffixCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/UppercaseLiteralSuffixCheck.cpp [1700/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/UniqueptrDeleteReleaseCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/UniqueptrDeleteReleaseCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/UniqueptrDeleteReleaseCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/UniqueptrDeleteReleaseCheck.cpp [1701/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/utils -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/Aliasing.cpp.o -MF tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/Aliasing.cpp.o.d -o tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/Aliasing.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils/Aliasing.cpp [1702/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/tool -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/tool -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/tool/CMakeFiles/obj.clangTidyMain.dir/ClangTidyMain.cpp.o -MF tools/extra/clang-tidy/tool/CMakeFiles/obj.clangTidyMain.dir/ClangTidyMain.cpp.o.d -o tools/extra/clang-tidy/tool/CMakeFiles/obj.clangTidyMain.dir/ClangTidyMain.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/tool/ClangTidyMain.cpp [1703/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/plugin -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/plugin -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/plugin/CMakeFiles/obj.clangTidyPlugin.dir/ClangTidyPlugin.cpp.o -MF tools/extra/clang-tidy/plugin/CMakeFiles/obj.clangTidyPlugin.dir/ClangTidyPlugin.cpp.o.d -o tools/extra/clang-tidy/plugin/CMakeFiles/obj.clangTidyPlugin.dir/ClangTidyPlugin.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/plugin/ClangTidyPlugin.cpp [1704/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/zircon -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/zircon -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/zircon/CMakeFiles/obj.clangTidyZirconModule.dir/TemporaryObjectsCheck.cpp.o -MF tools/extra/clang-tidy/zircon/CMakeFiles/obj.clangTidyZirconModule.dir/TemporaryObjectsCheck.cpp.o.d -o tools/extra/clang-tidy/zircon/CMakeFiles/obj.clangTidyZirconModule.dir/TemporaryObjectsCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/zircon/TemporaryObjectsCheck.cpp [1705/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/zircon -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/zircon -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/zircon/CMakeFiles/obj.clangTidyZirconModule.dir/ZirconTidyModule.cpp.o -MF tools/extra/clang-tidy/zircon/CMakeFiles/obj.clangTidyZirconModule.dir/ZirconTidyModule.cpp.o.d -o tools/extra/clang-tidy/zircon/CMakeFiles/obj.clangTidyZirconModule.dir/ZirconTidyModule.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/zircon/ZirconTidyModule.cpp [1706/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/readability -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/UseAnyOfAllOfCheck.cpp.o -MF tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/UseAnyOfAllOfCheck.cpp.o.d -o tools/extra/clang-tidy/readability/CMakeFiles/obj.clangTidyReadabilityModule.dir/UseAnyOfAllOfCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/readability/UseAnyOfAllOfCheck.cpp [1707/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/utils -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/ExceptionSpecAnalyzer.cpp.o -MF tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/ExceptionSpecAnalyzer.cpp.o.d -o tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/ExceptionSpecAnalyzer.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils/ExceptionSpecAnalyzer.cpp [1708/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/utils -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/FileExtensionsUtils.cpp.o -MF tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/FileExtensionsUtils.cpp.o.d -o tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/FileExtensionsUtils.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils/FileExtensionsUtils.cpp [1709/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/utils -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/FixItHintUtils.cpp.o -MF tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/FixItHintUtils.cpp.o.d -o tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/FixItHintUtils.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils/FixItHintUtils.cpp [1710/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/utils -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/ExprSequence.cpp.o -MF tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/ExprSequence.cpp.o.d -o tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/ExprSequence.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils/ExprSequence.cpp [1711/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/utils -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/ASTUtils.cpp.o -MF tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/ASTUtils.cpp.o.d -o tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/ASTUtils.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils/ASTUtils.cpp [1712/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/utils -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/LexerUtils.cpp.o -MF tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/LexerUtils.cpp.o.d -o tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/LexerUtils.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils/LexerUtils.cpp [1713/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/utils -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/ExceptionAnalyzer.cpp.o -MF tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/ExceptionAnalyzer.cpp.o.d -o tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/ExceptionAnalyzer.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils/ExceptionAnalyzer.cpp [1714/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/utils -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/OptionsUtils.cpp.o -MF tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/OptionsUtils.cpp.o.d -o tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/OptionsUtils.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils/OptionsUtils.cpp [1715/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/utils -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/DeclRefExprUtils.cpp.o -MF tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/DeclRefExprUtils.cpp.o.d -o tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/DeclRefExprUtils.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils/DeclRefExprUtils.cpp [1716/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/utils -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/FormatStringConverter.cpp.o -MF tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/FormatStringConverter.cpp.o.d -o tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/FormatStringConverter.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils/FormatStringConverter.cpp [1717/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/utils -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/IncludeInserter.cpp.o -MF tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/IncludeInserter.cpp.o.d -o tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/IncludeInserter.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils/IncludeInserter.cpp [1718/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/utils -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/HeaderGuard.cpp.o -MF tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/HeaderGuard.cpp.o.d -o tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/HeaderGuard.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils/HeaderGuard.cpp [1719/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/utils -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/IncludeSorter.cpp.o -MF tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/IncludeSorter.cpp.o.d -o tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/IncludeSorter.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils/IncludeSorter.cpp [1720/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/utils -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/NamespaceAliaser.cpp.o -MF tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/NamespaceAliaser.cpp.o.d -o tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/NamespaceAliaser.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils/NamespaceAliaser.cpp [1721/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/utils -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/TypeTraits.cpp.o -MF tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/TypeTraits.cpp.o.d -o tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/TypeTraits.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils/TypeTraits.cpp [1722/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/utils -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/TransformerClangTidyCheck.cpp.o -MF tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/TransformerClangTidyCheck.cpp.o.d -o tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/TransformerClangTidyCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils/TransformerClangTidyCheck.cpp [1723/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/utils -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/UsingInserter.cpp.o -MF tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/UsingInserter.cpp.o.d -o tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/UsingInserter.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils/UsingInserter.cpp [1724/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-doc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-doc/CMakeFiles/obj.clangDoc.dir/BitcodeReader.cpp.o -MF tools/extra/clang-doc/CMakeFiles/obj.clangDoc.dir/BitcodeReader.cpp.o.d -o tools/extra/clang-doc/CMakeFiles/obj.clangDoc.dir/BitcodeReader.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc/BitcodeReader.cpp [1725/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-doc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-doc/CMakeFiles/obj.clangDoc.dir/Generators.cpp.o -MF tools/extra/clang-doc/CMakeFiles/obj.clangDoc.dir/Generators.cpp.o.d -o tools/extra/clang-doc/CMakeFiles/obj.clangDoc.dir/Generators.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc/Generators.cpp [1726/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-change-namespace/tool -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-change-namespace/tool -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-change-namespace/tool/.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-change-namespace/tool/CMakeFiles/clang-change-namespace.dir/ClangChangeNamespace.cpp.o -MF tools/extra/clang-change-namespace/tool/CMakeFiles/clang-change-namespace.dir/ClangChangeNamespace.cpp.o.d -o tools/extra/clang-change-namespace/tool/CMakeFiles/clang-change-namespace.dir/ClangChangeNamespace.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-change-namespace/tool/ClangChangeNamespace.cpp [1727/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-doc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-doc/CMakeFiles/obj.clangDoc.dir/BitcodeWriter.cpp.o -MF tools/extra/clang-doc/CMakeFiles/obj.clangDoc.dir/BitcodeWriter.cpp.o.d -o tools/extra/clang-doc/CMakeFiles/obj.clangDoc.dir/BitcodeWriter.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc/BitcodeWriter.cpp [1728/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-change-namespace -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-change-namespace -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-change-namespace/CMakeFiles/obj.clangChangeNamespace.dir/ChangeNamespace.cpp.o -MF tools/extra/clang-change-namespace/CMakeFiles/obj.clangChangeNamespace.dir/ChangeNamespace.cpp.o.d -o tools/extra/clang-change-namespace/CMakeFiles/obj.clangChangeNamespace.dir/ChangeNamespace.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-change-namespace/ChangeNamespace.cpp [1729/2013] : && /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 && : [1730/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy/utils -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/RenamerClangTidyCheck.cpp.o -MF tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/RenamerClangTidyCheck.cpp.o.d -o tools/extra/clang-tidy/utils/CMakeFiles/obj.clangTidyUtils.dir/RenamerClangTidyCheck.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/utils/RenamerClangTidyCheck.cpp [1731/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-doc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-doc/CMakeFiles/obj.clangDoc.dir/ClangDoc.cpp.o -MF tools/extra/clang-doc/CMakeFiles/obj.clangDoc.dir/ClangDoc.cpp.o.d -o tools/extra/clang-doc/CMakeFiles/obj.clangDoc.dir/ClangDoc.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc/ClangDoc.cpp [1732/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-doc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-doc/CMakeFiles/obj.clangDoc.dir/HTMLGenerator.cpp.o -MF tools/extra/clang-doc/CMakeFiles/obj.clangDoc.dir/HTMLGenerator.cpp.o.d -o tools/extra/clang-doc/CMakeFiles/obj.clangDoc.dir/HTMLGenerator.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc/HTMLGenerator.cpp In file included from /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/LLVM.h:24, from /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/DiagnosticIDs.h:17, from /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/Diagnostic.h:17, from /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/NestedNameSpecifier.h:18, from /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/Type.h:21, from /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc/Representation.h:17, from /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc/Generators.h:15, from /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc/HTMLGenerator.cpp:9: In member function 'llvm::SmallVectorTemplateCommon::begin() const', inlined from 'llvm::SmallVectorTemplateCommon::data() const' at /usr/include/llvm/ADT/SmallVector.h:291:58, inlined from 'llvm::Twine::Twine(llvm::SmallVectorImpl const&)' at /usr/include/llvm/ADT/Twine.h:309:38, inlined from 'std::make_unique const&>(clang::doc::(anonymous namespace)::HTMLTag::TagType&&, llvm::SmallString<16u> const&)std::__detail::_MakeUniq::__single_object' at /usr/include/c++/12/bits/unique_ptr.h:1065:30, inlined from 'clang::doc::genFileHeadNodes(llvm::StringRef, llvm::StringRef, clang::doc::ClangDocContext const&)' at /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc/HTMLGenerator.cpp:478:45: /usr/include/llvm/ADT/SmallVector.h:271:63: warning: array subscript 'const struct SmallVectorTemplateCommon[0]' is partly outside array bounds of 'struct StringRef[1]' [-Warray-bounds] 271 | const_iterator begin() const { return (const_iterator)this->BeginX; } | ^~~~~~ /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc/HTMLGenerator.cpp: In function 'clang::doc::genFileHeadNodes(llvm::StringRef, llvm::StringRef, clang::doc::ClangDocContext const&)': /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc/HTMLGenerator.cpp:472:28: note: object 'Title' of size 16 472 | genFileHeadNodes(StringRef Title, StringRef InfoPath, | ~~~~~~~~~~^~~~~ In member function 'llvm::SmallVectorBase::size() const', inlined from 'llvm::Twine::Twine(llvm::SmallVectorImpl const&)' at /usr/include/llvm/ADT/Twine.h:310:41, inlined from 'std::make_unique const&>(clang::doc::(anonymous namespace)::HTMLTag::TagType&&, llvm::SmallString<16u> const&)std::__detail::_MakeUniq::__single_object' at /usr/include/c++/12/bits/unique_ptr.h:1065:30, inlined from 'clang::doc::genFileHeadNodes(llvm::StringRef, llvm::StringRef, clang::doc::ClangDocContext const&)' at /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc/HTMLGenerator.cpp:478:45: /usr/include/llvm/ADT/SmallVector.h:91:32: warning: array subscript 'const struct SmallVectorBase[0]' is partly outside array bounds of 'struct StringRef[1]' [-Warray-bounds] 91 | size_t size() const { return Size; } | ^~~~ /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc/HTMLGenerator.cpp: In function 'clang::doc::genFileHeadNodes(llvm::StringRef, llvm::StringRef, clang::doc::ClangDocContext const&)': /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc/HTMLGenerator.cpp:472:28: note: object 'Title' of size 16 472 | genFileHeadNodes(StringRef Title, StringRef InfoPath, | ~~~~~~~~~~^~~~~ In member function 'llvm::SmallVectorTemplateCommon::begin() const', inlined from 'llvm::SmallVectorTemplateCommon::data() const' at /usr/include/llvm/ADT/SmallVector.h:291:58, inlined from 'llvm::Twine::Twine(llvm::SmallVectorImpl const&)' at /usr/include/llvm/ADT/Twine.h:309:38, inlined from 'std::make_unique const&>(clang::doc::(anonymous namespace)::HTMLTag::TagType&&, llvm::SmallString<16u> const&)std::__detail::_MakeUniq::__single_object' at /usr/include/c++/12/bits/unique_ptr.h:1065:30, inlined from 'clang::doc::genReferencesBlock(std::vector > const&, llvm::StringRef, llvm::StringRef)' at /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc/HTMLGenerator.cpp:427:45: /usr/include/llvm/ADT/SmallVector.h:271:63: warning: array subscript 'const struct SmallVectorTemplateCommon[0]' is partly outside array bounds of 'struct StringRef[1]' [-Warray-bounds] 271 | const_iterator begin() const { return (const_iterator)this->BeginX; } | ^~~~~~ /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc/HTMLGenerator.cpp: In function 'clang::doc::genReferencesBlock(std::vector > const&, llvm::StringRef, llvm::StringRef)': /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc/HTMLGenerator.cpp:422:36: note: object 'Title' of size 16 422 | llvm::StringRef Title, StringRef ParentPath) { | ~~~~~~~~~~~~~~~~^~~~~ In member function 'llvm::SmallVectorBase::size() const', inlined from 'llvm::Twine::Twine(llvm::SmallVectorImpl const&)' at /usr/include/llvm/ADT/Twine.h:310:41, inlined from 'std::make_unique const&>(clang::doc::(anonymous namespace)::HTMLTag::TagType&&, llvm::SmallString<16u> const&)std::__detail::_MakeUniq::__single_object' at /usr/include/c++/12/bits/unique_ptr.h:1065:30, inlined from 'clang::doc::genReferencesBlock(std::vector > const&, llvm::StringRef, llvm::StringRef)' at /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc/HTMLGenerator.cpp:427:45: /usr/include/llvm/ADT/SmallVector.h:91:32: warning: array subscript 'const struct SmallVectorBase[0]' is partly outside array bounds of 'struct StringRef[1]' [-Warray-bounds] 91 | size_t size() const { return Size; } | ^~~~ /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc/HTMLGenerator.cpp: In function 'clang::doc::genReferencesBlock(std::vector > const&, llvm::StringRef, llvm::StringRef)': /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc/HTMLGenerator.cpp:422:36: note: object 'Title' of size 16 422 | llvm::StringRef Title, StringRef ParentPath) { | ~~~~~~~~~~~~~~~~^~~~~ [1733/2013] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/extra/clang-change-namespace/tool/CMakeFiles/clang-change-namespace.dir/ClangChangeNamespace.cpp.o -o bin/clang-change-namespace lib64/libclangChangeNamespace.a lib64/libclang-cpp.so.17 /usr/lib64/libLLVM-17.so && : [1734/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-doc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-doc/CMakeFiles/obj.clangDoc.dir/MDGenerator.cpp.o -MF tools/extra/clang-doc/CMakeFiles/obj.clangDoc.dir/MDGenerator.cpp.o.d -o tools/extra/clang-doc/CMakeFiles/obj.clangDoc.dir/MDGenerator.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc/MDGenerator.cpp [1735/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-include-fixer -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-include-fixer -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-include-fixer/CMakeFiles/obj.clangIncludeFixer.dir/IncludeFixerContext.cpp.o -MF tools/extra/clang-include-fixer/CMakeFiles/obj.clangIncludeFixer.dir/IncludeFixerContext.cpp.o.d -o tools/extra/clang-include-fixer/CMakeFiles/obj.clangIncludeFixer.dir/IncludeFixerContext.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-include-fixer/IncludeFixerContext.cpp [1736/2013] : && /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 && : [1737/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-doc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-doc/CMakeFiles/obj.clangDoc.dir/Representation.cpp.o -MF tools/extra/clang-doc/CMakeFiles/obj.clangDoc.dir/Representation.cpp.o.d -o tools/extra/clang-doc/CMakeFiles/obj.clangDoc.dir/Representation.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc/Representation.cpp [1738/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-include-fixer -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-include-fixer -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-include-fixer/CMakeFiles/obj.clangIncludeFixer.dir/InMemorySymbolIndex.cpp.o -MF tools/extra/clang-include-fixer/CMakeFiles/obj.clangIncludeFixer.dir/InMemorySymbolIndex.cpp.o.d -o tools/extra/clang-include-fixer/CMakeFiles/obj.clangIncludeFixer.dir/InMemorySymbolIndex.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-include-fixer/InMemorySymbolIndex.cpp [1739/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-include-fixer -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-include-fixer -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-include-fixer/CMakeFiles/obj.clangIncludeFixer.dir/FuzzySymbolIndex.cpp.o -MF tools/extra/clang-include-fixer/CMakeFiles/obj.clangIncludeFixer.dir/FuzzySymbolIndex.cpp.o.d -o tools/extra/clang-include-fixer/CMakeFiles/obj.clangIncludeFixer.dir/FuzzySymbolIndex.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-include-fixer/FuzzySymbolIndex.cpp [1740/2013] : && /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 && : [1741/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-include-fixer -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-include-fixer -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-include-fixer/CMakeFiles/obj.clangIncludeFixer.dir/SymbolIndexManager.cpp.o -MF tools/extra/clang-include-fixer/CMakeFiles/obj.clangIncludeFixer.dir/SymbolIndexManager.cpp.o.d -o tools/extra/clang-include-fixer/CMakeFiles/obj.clangIncludeFixer.dir/SymbolIndexManager.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-include-fixer/SymbolIndexManager.cpp [1742/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-doc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-doc/CMakeFiles/obj.clangDoc.dir/YAMLGenerator.cpp.o -MF tools/extra/clang-doc/CMakeFiles/obj.clangDoc.dir/YAMLGenerator.cpp.o.d -o tools/extra/clang-doc/CMakeFiles/obj.clangDoc.dir/YAMLGenerator.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc/YAMLGenerator.cpp [1743/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-include-fixer -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-include-fixer -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-include-fixer/CMakeFiles/obj.clangIncludeFixer.dir/YamlSymbolIndex.cpp.o -MF tools/extra/clang-include-fixer/CMakeFiles/obj.clangIncludeFixer.dir/YamlSymbolIndex.cpp.o.d -o tools/extra/clang-include-fixer/CMakeFiles/obj.clangIncludeFixer.dir/YamlSymbolIndex.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-include-fixer/YamlSymbolIndex.cpp [1744/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-doc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-doc/CMakeFiles/obj.clangDoc.dir/Serialize.cpp.o -MF tools/extra/clang-doc/CMakeFiles/obj.clangDoc.dir/Serialize.cpp.o.d -o tools/extra/clang-doc/CMakeFiles/obj.clangDoc.dir/Serialize.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc/Serialize.cpp [1745/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-doc -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-doc/CMakeFiles/obj.clangDoc.dir/Mapper.cpp.o -MF tools/extra/clang-doc/CMakeFiles/obj.clangDoc.dir/Mapper.cpp.o.d -o tools/extra/clang-doc/CMakeFiles/obj.clangDoc.dir/Mapper.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc/Mapper.cpp [1746/2013] : && /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 && : [1747/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-include-fixer -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-include-fixer -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-include-fixer/CMakeFiles/obj.clangIncludeFixer.dir/IncludeFixer.cpp.o -MF tools/extra/clang-include-fixer/CMakeFiles/obj.clangIncludeFixer.dir/IncludeFixer.cpp.o.d -o tools/extra/clang-include-fixer/CMakeFiles/obj.clangIncludeFixer.dir/IncludeFixer.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-include-fixer/IncludeFixer.cpp [1748/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-include-fixer/find-all-symbols -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-include-fixer/find-all-symbols -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-include-fixer/find-all-symbols/CMakeFiles/obj.findAllSymbols.dir/HeaderMapCollector.cpp.o -MF tools/extra/clang-include-fixer/find-all-symbols/CMakeFiles/obj.findAllSymbols.dir/HeaderMapCollector.cpp.o.d -o tools/extra/clang-include-fixer/find-all-symbols/CMakeFiles/obj.findAllSymbols.dir/HeaderMapCollector.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-include-fixer/find-all-symbols/HeaderMapCollector.cpp [1749/2013] : && /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 && : [1750/2013] : && /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 && : [1751/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-include-fixer/find-all-symbols -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-include-fixer/find-all-symbols -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-include-fixer/find-all-symbols/CMakeFiles/obj.findAllSymbols.dir/FindAllMacros.cpp.o -MF tools/extra/clang-include-fixer/find-all-symbols/CMakeFiles/obj.findAllSymbols.dir/FindAllMacros.cpp.o.d -o tools/extra/clang-include-fixer/find-all-symbols/CMakeFiles/obj.findAllSymbols.dir/FindAllMacros.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-include-fixer/find-all-symbols/FindAllMacros.cpp [1752/2013] : && /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 && : [1753/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-doc/tool -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc/tool -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc/tool/.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-doc/tool/CMakeFiles/clang-doc.dir/ClangDocMain.cpp.o -MF tools/extra/clang-doc/tool/CMakeFiles/clang-doc.dir/ClangDocMain.cpp.o.d -o tools/extra/clang-doc/tool/CMakeFiles/clang-doc.dir/ClangDocMain.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-doc/tool/ClangDocMain.cpp [1754/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-include-fixer/find-all-symbols -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-include-fixer/find-all-symbols -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-include-fixer/find-all-symbols/CMakeFiles/obj.findAllSymbols.dir/PathConfig.cpp.o -MF tools/extra/clang-include-fixer/find-all-symbols/CMakeFiles/obj.findAllSymbols.dir/PathConfig.cpp.o.d -o tools/extra/clang-include-fixer/find-all-symbols/CMakeFiles/obj.findAllSymbols.dir/PathConfig.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-include-fixer/find-all-symbols/PathConfig.cpp [1755/2013] : && /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 && : [1756/2013] : && /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 && : [1757/2013] : && /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 && : [1758/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-include-fixer/find-all-symbols -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-include-fixer/find-all-symbols -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-include-fixer/find-all-symbols/CMakeFiles/obj.findAllSymbols.dir/SymbolInfo.cpp.o -MF tools/extra/clang-include-fixer/find-all-symbols/CMakeFiles/obj.findAllSymbols.dir/SymbolInfo.cpp.o.d -o tools/extra/clang-include-fixer/find-all-symbols/CMakeFiles/obj.findAllSymbols.dir/SymbolInfo.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-include-fixer/find-all-symbols/SymbolInfo.cpp [1759/2013] : && /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 && : [1760/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-include-fixer/tool -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-include-fixer/tool -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-include-fixer/tool/.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-include-fixer/tool/CMakeFiles/clang-include-fixer.dir/ClangIncludeFixer.cpp.o -MF tools/extra/clang-include-fixer/tool/CMakeFiles/clang-include-fixer.dir/ClangIncludeFixer.cpp.o.d -o tools/extra/clang-include-fixer/tool/CMakeFiles/clang-include-fixer.dir/ClangIncludeFixer.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-include-fixer/tool/ClangIncludeFixer.cpp [1761/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-include-fixer/find-all-symbols -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-include-fixer/find-all-symbols -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-include-fixer/find-all-symbols/CMakeFiles/obj.findAllSymbols.dir/STLPostfixHeaderMap.cpp.o -MF tools/extra/clang-include-fixer/find-all-symbols/CMakeFiles/obj.findAllSymbols.dir/STLPostfixHeaderMap.cpp.o.d -o tools/extra/clang-include-fixer/find-all-symbols/CMakeFiles/obj.findAllSymbols.dir/STLPostfixHeaderMap.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-include-fixer/find-all-symbols/STLPostfixHeaderMap.cpp [1762/2013] : && /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 && : [1763/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-include-fixer/plugin -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-include-fixer/plugin -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-include-fixer/plugin/CMakeFiles/obj.clangIncludeFixerPlugin.dir/IncludeFixerPlugin.cpp.o -MF tools/extra/clang-include-fixer/plugin/CMakeFiles/obj.clangIncludeFixerPlugin.dir/IncludeFixerPlugin.cpp.o.d -o tools/extra/clang-include-fixer/plugin/CMakeFiles/obj.clangIncludeFixerPlugin.dir/IncludeFixerPlugin.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-include-fixer/plugin/IncludeFixerPlugin.cpp [1764/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-include-fixer/find-all-symbols -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-include-fixer/find-all-symbols -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-include-fixer/find-all-symbols/CMakeFiles/obj.findAllSymbols.dir/FindAllSymbolsAction.cpp.o -MF tools/extra/clang-include-fixer/find-all-symbols/CMakeFiles/obj.findAllSymbols.dir/FindAllSymbolsAction.cpp.o.d -o tools/extra/clang-include-fixer/find-all-symbols/CMakeFiles/obj.findAllSymbols.dir/FindAllSymbolsAction.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-include-fixer/find-all-symbols/FindAllSymbolsAction.cpp [1765/2013] : && /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 && : [1766/2013] : && /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 && : [1767/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-include-fixer/find-all-symbols -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-include-fixer/find-all-symbols -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-include-fixer/find-all-symbols/CMakeFiles/obj.findAllSymbols.dir/FindAllSymbols.cpp.o -MF tools/extra/clang-include-fixer/find-all-symbols/CMakeFiles/obj.findAllSymbols.dir/FindAllSymbols.cpp.o.d -o tools/extra/clang-include-fixer/find-all-symbols/CMakeFiles/obj.findAllSymbols.dir/FindAllSymbols.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-include-fixer/find-all-symbols/FindAllSymbols.cpp [1768/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-include-fixer/find-all-symbols -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-include-fixer/find-all-symbols -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-include-fixer/find-all-symbols/CMakeFiles/obj.findAllSymbols.dir/PragmaCommentHandler.cpp.o -MF tools/extra/clang-include-fixer/find-all-symbols/CMakeFiles/obj.findAllSymbols.dir/PragmaCommentHandler.cpp.o.d -o tools/extra/clang-include-fixer/find-all-symbols/CMakeFiles/obj.findAllSymbols.dir/PragmaCommentHandler.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-include-fixer/find-all-symbols/PragmaCommentHandler.cpp [1769/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-include-fixer/find-all-symbols/tool -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-include-fixer/find-all-symbols/tool -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-include-fixer/find-all-symbols/tool/.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-include-fixer/find-all-symbols/tool/CMakeFiles/find-all-symbols.dir/FindAllSymbolsMain.cpp.o -MF tools/extra/clang-include-fixer/find-all-symbols/tool/CMakeFiles/find-all-symbols.dir/FindAllSymbolsMain.cpp.o.d -o tools/extra/clang-include-fixer/find-all-symbols/tool/CMakeFiles/find-all-symbols.dir/FindAllSymbolsMain.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-include-fixer/find-all-symbols/tool/FindAllSymbolsMain.cpp [1770/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-move -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-move -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-move/CMakeFiles/obj.clangMove.dir/HelperDeclRefGraph.cpp.o -MF tools/extra/clang-move/CMakeFiles/obj.clangMove.dir/HelperDeclRefGraph.cpp.o.d -o tools/extra/clang-move/CMakeFiles/obj.clangMove.dir/HelperDeclRefGraph.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-move/HelperDeclRefGraph.cpp [1771/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-move/tool -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-move/tool -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-move/tool/.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-move/tool/CMakeFiles/clang-move.dir/ClangMove.cpp.o -MF tools/extra/clang-move/tool/CMakeFiles/clang-move.dir/ClangMove.cpp.o.d -o tools/extra/clang-move/tool/CMakeFiles/clang-move.dir/ClangMove.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-move/tool/ClangMove.cpp [1772/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/include-cleaner/lib -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/include-cleaner/lib -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/include-cleaner/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/include-cleaner/lib/CMakeFiles/obj.clangIncludeCleaner.dir/IncludeSpeller.cpp.o -MF tools/extra/include-cleaner/lib/CMakeFiles/obj.clangIncludeCleaner.dir/IncludeSpeller.cpp.o.d -o tools/extra/include-cleaner/lib/CMakeFiles/obj.clangIncludeCleaner.dir/IncludeSpeller.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/include-cleaner/lib/IncludeSpeller.cpp [1773/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/include-cleaner/lib -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/include-cleaner/lib -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/include-cleaner/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/include-cleaner/lib/CMakeFiles/obj.clangIncludeCleaner.dir/Analysis.cpp.o -MF tools/extra/include-cleaner/lib/CMakeFiles/obj.clangIncludeCleaner.dir/Analysis.cpp.o.d -o tools/extra/include-cleaner/lib/CMakeFiles/obj.clangIncludeCleaner.dir/Analysis.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/include-cleaner/lib/Analysis.cpp [1774/2013] : && /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 && : [1775/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-query -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-query -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-query/CMakeFiles/obj.clangQuery.dir/QueryParser.cpp.o -MF tools/extra/clang-query/CMakeFiles/obj.clangQuery.dir/QueryParser.cpp.o.d -o tools/extra/clang-query/CMakeFiles/obj.clangQuery.dir/QueryParser.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-query/QueryParser.cpp [1776/2013] : && /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 && : [1777/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-query -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-query -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-query/CMakeFiles/obj.clangQuery.dir/Query.cpp.o -MF tools/extra/clang-query/CMakeFiles/obj.clangQuery.dir/Query.cpp.o.d -o tools/extra/clang-query/CMakeFiles/obj.clangQuery.dir/Query.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-query/Query.cpp [1778/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/include-cleaner/lib -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/include-cleaner/lib -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/include-cleaner/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/include-cleaner/lib/CMakeFiles/obj.clangIncludeCleaner.dir/FindHeaders.cpp.o -MF tools/extra/include-cleaner/lib/CMakeFiles/obj.clangIncludeCleaner.dir/FindHeaders.cpp.o.d -o tools/extra/include-cleaner/lib/CMakeFiles/obj.clangIncludeCleaner.dir/FindHeaders.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/include-cleaner/lib/FindHeaders.cpp [1779/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-query/tool -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-query/tool -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-query/tool/.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-query/tool/CMakeFiles/clang-query.dir/ClangQuery.cpp.o -MF tools/extra/clang-query/tool/CMakeFiles/clang-query.dir/ClangQuery.cpp.o.d -o tools/extra/clang-query/tool/CMakeFiles/clang-query.dir/ClangQuery.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-query/tool/ClangQuery.cpp [1780/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clang-move -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-move -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clang-move/CMakeFiles/obj.clangMove.dir/Move.cpp.o -MF tools/extra/clang-move/CMakeFiles/obj.clangMove.dir/Move.cpp.o.d -o tools/extra/clang-move/CMakeFiles/obj.clangMove.dir/Move.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-move/Move.cpp [1781/2013] : && /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 && : [1782/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/include-cleaner/lib -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/include-cleaner/lib -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/include-cleaner/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/include-cleaner/lib/CMakeFiles/obj.clangIncludeCleaner.dir/Types.cpp.o -MF tools/extra/include-cleaner/lib/CMakeFiles/obj.clangIncludeCleaner.dir/Types.cpp.o.d -o tools/extra/include-cleaner/lib/CMakeFiles/obj.clangIncludeCleaner.dir/Types.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/include-cleaner/lib/Types.cpp [1783/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/include-cleaner/lib -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/include-cleaner/lib -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/include-cleaner/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/include-cleaner/lib/CMakeFiles/obj.clangIncludeCleaner.dir/LocateSymbol.cpp.o -MF tools/extra/include-cleaner/lib/CMakeFiles/obj.clangIncludeCleaner.dir/LocateSymbol.cpp.o.d -o tools/extra/include-cleaner/lib/CMakeFiles/obj.clangIncludeCleaner.dir/LocateSymbol.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/include-cleaner/lib/LocateSymbol.cpp [1784/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/include-cleaner/lib -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/include-cleaner/lib -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/include-cleaner/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/include-cleaner/lib/CMakeFiles/obj.clangIncludeCleaner.dir/HTMLReport.cpp.o -MF tools/extra/include-cleaner/lib/CMakeFiles/obj.clangIncludeCleaner.dir/HTMLReport.cpp.o.d -o tools/extra/include-cleaner/lib/CMakeFiles/obj.clangIncludeCleaner.dir/HTMLReport.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/include-cleaner/lib/HTMLReport.cpp [1785/2013] : && /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 && : [1786/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/lib -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/pseudo/lib/CMakeFiles/obj.clangPseudo.dir/Bracket.cpp.o -MF tools/extra/pseudo/lib/CMakeFiles/obj.clangPseudo.dir/Bracket.cpp.o.d -o tools/extra/pseudo/lib/CMakeFiles/obj.clangPseudo.dir/Bracket.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/Bracket.cpp [1787/2013] : && /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 && : [1788/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/gen -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/gen -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/pseudo/gen/CMakeFiles/clang-pseudo-gen.dir/Main.cpp.o -MF tools/extra/pseudo/gen/CMakeFiles/clang-pseudo-gen.dir/Main.cpp.o.d -o tools/extra/pseudo/gen/CMakeFiles/clang-pseudo-gen.dir/Main.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/gen/Main.cpp [1789/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/lib -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/pseudo/lib/CMakeFiles/obj.clangPseudo.dir/DirectiveTree.cpp.o -MF tools/extra/pseudo/lib/CMakeFiles/obj.clangPseudo.dir/DirectiveTree.cpp.o.d -o tools/extra/pseudo/lib/CMakeFiles/obj.clangPseudo.dir/DirectiveTree.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/DirectiveTree.cpp [1790/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/lib -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/pseudo/lib/CMakeFiles/obj.clangPseudo.dir/Disambiguate.cpp.o -MF tools/extra/pseudo/lib/CMakeFiles/obj.clangPseudo.dir/Disambiguate.cpp.o.d -o tools/extra/pseudo/lib/CMakeFiles/obj.clangPseudo.dir/Disambiguate.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/Disambiguate.cpp [1791/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pp-trace -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pp-trace -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/pp-trace/CMakeFiles/pp-trace.dir/PPCallbacksTracker.cpp.o -MF tools/extra/pp-trace/CMakeFiles/pp-trace.dir/PPCallbacksTracker.cpp.o.d -o tools/extra/pp-trace/CMakeFiles/pp-trace.dir/PPCallbacksTracker.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/pp-trace/PPCallbacksTracker.cpp [1792/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/lib -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/pseudo/lib/CMakeFiles/obj.clangPseudo.dir/Forest.cpp.o -MF tools/extra/pseudo/lib/CMakeFiles/obj.clangPseudo.dir/Forest.cpp.o.d -o tools/extra/pseudo/lib/CMakeFiles/obj.clangPseudo.dir/Forest.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/Forest.cpp [1793/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/lib -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/pseudo/lib/CMakeFiles/obj.clangPseudo.dir/Lex.cpp.o -MF tools/extra/pseudo/lib/CMakeFiles/obj.clangPseudo.dir/Lex.cpp.o.d -o tools/extra/pseudo/lib/CMakeFiles/obj.clangPseudo.dir/Lex.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/Lex.cpp [1794/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/lib -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/pseudo/lib/CMakeFiles/obj.clangPseudo.dir/Token.cpp.o -MF tools/extra/pseudo/lib/CMakeFiles/obj.clangPseudo.dir/Token.cpp.o.d -o tools/extra/pseudo/lib/CMakeFiles/obj.clangPseudo.dir/Token.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/Token.cpp [1795/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/include-cleaner/lib -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/include-cleaner/lib -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/include-cleaner/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/include-cleaner/lib/CMakeFiles/obj.clangIncludeCleaner.dir/Record.cpp.o -MF tools/extra/include-cleaner/lib/CMakeFiles/obj.clangIncludeCleaner.dir/Record.cpp.o.d -o tools/extra/include-cleaner/lib/CMakeFiles/obj.clangIncludeCleaner.dir/Record.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/include-cleaner/lib/Record.cpp [1796/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/lib -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/pseudo/lib/CMakeFiles/obj.clangPseudo.dir/GLR.cpp.o -MF tools/extra/pseudo/lib/CMakeFiles/obj.clangPseudo.dir/GLR.cpp.o.d -o tools/extra/pseudo/lib/CMakeFiles/obj.clangPseudo.dir/GLR.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/GLR.cpp [1797/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pp-trace -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pp-trace -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/pp-trace/CMakeFiles/pp-trace.dir/PPTrace.cpp.o -MF tools/extra/pp-trace/CMakeFiles/pp-trace.dir/PPTrace.cpp.o.d -o tools/extra/pp-trace/CMakeFiles/pp-trace.dir/PPTrace.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/pp-trace/PPTrace.cpp [1798/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/lib/grammar -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/grammar -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/pseudo/lib/grammar/CMakeFiles/obj.clangPseudoGrammar.dir/LRGraph.cpp.o -MF tools/extra/pseudo/lib/grammar/CMakeFiles/obj.clangPseudoGrammar.dir/LRGraph.cpp.o.d -o tools/extra/pseudo/lib/grammar/CMakeFiles/obj.clangPseudoGrammar.dir/LRGraph.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/grammar/LRGraph.cpp [1799/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/lib/grammar -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/grammar -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/pseudo/lib/grammar/CMakeFiles/obj.clangPseudoGrammar.dir/LRTable.cpp.o -MF tools/extra/pseudo/lib/grammar/CMakeFiles/obj.clangPseudoGrammar.dir/LRTable.cpp.o.d -o tools/extra/pseudo/lib/grammar/CMakeFiles/obj.clangPseudoGrammar.dir/LRTable.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/grammar/LRTable.cpp [1800/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd && /usr/bin/python3.11 /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/quality/CompletionModelCodegen.py --model /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/quality/model --output_dir /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd --filename CompletionModel --cpp_class clang::clangd::Example [1801/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/include-cleaner/tool -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/include-cleaner/tool -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/include-cleaner/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/include-cleaner/tool/../lib -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/include-cleaner/tool/CMakeFiles/clang-include-cleaner.dir/IncludeCleaner.cpp.o -MF tools/extra/include-cleaner/tool/CMakeFiles/clang-include-cleaner.dir/IncludeCleaner.cpp.o.d -o tools/extra/include-cleaner/tool/CMakeFiles/clang-include-cleaner.dir/IncludeCleaner.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/include-cleaner/tool/IncludeCleaner.cpp [1802/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/lib/grammar -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/grammar -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/pseudo/lib/grammar/CMakeFiles/obj.clangPseudoGrammar.dir/GrammarBNF.cpp.o -MF tools/extra/pseudo/lib/grammar/CMakeFiles/obj.clangPseudoGrammar.dir/GrammarBNF.cpp.o.d -o tools/extra/pseudo/lib/grammar/CMakeFiles/obj.clangPseudoGrammar.dir/GrammarBNF.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/grammar/GrammarBNF.cpp [1803/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/lib/grammar -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/grammar -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/pseudo/lib/grammar/CMakeFiles/obj.clangPseudoGrammar.dir/LRTableBuild.cpp.o -MF tools/extra/pseudo/lib/grammar/CMakeFiles/obj.clangPseudoGrammar.dir/LRTableBuild.cpp.o.d -o tools/extra/pseudo/lib/grammar/CMakeFiles/obj.clangPseudoGrammar.dir/LRTableBuild.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/grammar/LRTableBuild.cpp [1804/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/lib/grammar -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/grammar -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/pseudo/lib/grammar/CMakeFiles/obj.clangPseudoGrammar.dir/Grammar.cpp.o -MF tools/extra/pseudo/lib/grammar/CMakeFiles/obj.clangPseudoGrammar.dir/Grammar.cpp.o.d -o tools/extra/pseudo/lib/grammar/CMakeFiles/obj.clangPseudoGrammar.dir/Grammar.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/grammar/Grammar.cpp [1805/2013] : && /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 && : [1806/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/include-cleaner/lib -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/include-cleaner/lib -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/include-cleaner/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/include-cleaner/lib/CMakeFiles/obj.clangIncludeCleaner.dir/WalkAST.cpp.o -MF tools/extra/include-cleaner/lib/CMakeFiles/obj.clangIncludeCleaner.dir/WalkAST.cpp.o.d -o tools/extra/include-cleaner/lib/CMakeFiles/obj.clangIncludeCleaner.dir/WalkAST.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/include-cleaner/lib/WalkAST.cpp [1807/2013] : && /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 && : [1808/2013] : && /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 && : [1809/2013] : && /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 && : [1810/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/CodeCompletionStrings.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/CodeCompletionStrings.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/CodeCompletionStrings.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/CodeCompletionStrings.cpp [1811/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/ASTSignals.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/ASTSignals.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/ASTSignals.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/ASTSignals.cpp [1812/2013] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/extra/clang-doc/tool/CMakeFiles/clang-doc.dir/ClangDocMain.cpp.o -o bin/clang-doc lib64/libclangDoc.a lib64/libclang-cpp.so.17 /usr/lib64/libLLVM-17.so && : [1813/2013] : && /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 && : [1814/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/tool-template -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/tool-template -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/tool-template/CMakeFiles/tool-template.dir/ToolTemplate.cpp.o -MF tools/extra/tool-template/CMakeFiles/tool-template.dir/ToolTemplate.cpp.o.d -o tools/extra/tool-template/CMakeFiles/tool-template.dir/ToolTemplate.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/tool-template/ToolTemplate.cpp [1815/2013] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/extra/clang-include-fixer/find-all-symbols/tool/CMakeFiles/find-all-symbols.dir/FindAllSymbolsMain.cpp.o -o bin/find-all-symbols lib64/libfindAllSymbols.a lib64/libclang-cpp.so.17 /usr/lib64/libLLVM-17.so && : [1816/2013] : && /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 && : [1817/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/CollectMacros.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/CollectMacros.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/CollectMacros.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/CollectMacros.cpp [1818/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Config.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Config.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Config.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/Config.cpp [1819/2013] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/extra/clang-include-fixer/tool/CMakeFiles/clang-include-fixer.dir/ClangIncludeFixer.cpp.o -o bin/clang-include-fixer lib64/libclangIncludeFixer.a lib64/libfindAllSymbols.a lib64/libclang-cpp.so.17 /usr/lib64/libLLVM-17.so && : [1820/2013] : && /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 && : [1821/2013] : && /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 && : [1822/2013] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/extra/clang-move/tool/CMakeFiles/clang-move.dir/ClangMove.cpp.o -o bin/clang-move lib64/libclangMove.a lib64/libclang-cpp.so.17 /usr/lib64/libLLVM-17.so && : [1823/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/ClangdServer.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/ClangdServer.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/ClangdServer.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/ClangdServer.cpp [1824/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Compiler.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Compiler.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Compiler.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/Compiler.cpp [1825/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/ConfigCompile.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/ConfigCompile.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/ConfigCompile.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/ConfigCompile.cpp [1826/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/AST.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/AST.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/AST.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/AST.cpp [1827/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/CodeComplete.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/CodeComplete.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/CodeComplete.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/CodeComplete.cpp [1828/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/ConfigProvider.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/ConfigProvider.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/ConfigProvider.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/ConfigProvider.cpp [1829/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/DraftStore.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/DraftStore.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/DraftStore.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/DraftStore.cpp [1830/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/DecisionForest.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/DecisionForest.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/DecisionForest.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/DecisionForest.cpp [1831/2013] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/extra/clang-query/tool/CMakeFiles/clang-query.dir/ClangQuery.cpp.o -o bin/clang-query lib64/libclangQuery.a lib64/libclang-cpp.so.17 /usr/lib64/libLLVM-17.so && : [1832/2013] : && /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 && : [1833/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/ConfigYAML.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/ConfigYAML.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/ConfigYAML.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/ConfigYAML.cpp [1834/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Feature.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Feature.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Feature.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/Feature.cpp [1835/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/FeatureModule.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/FeatureModule.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/FeatureModule.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/FeatureModule.cpp [1836/2013] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/extra/pp-trace/CMakeFiles/pp-trace.dir/PPTrace.cpp.o tools/extra/pp-trace/CMakeFiles/pp-trace.dir/PPCallbacksTracker.cpp.o -o bin/pp-trace lib64/libclang-cpp.so.17 /usr/lib64/libLLVM-17.so && : [1837/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/ExpectedTypes.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/ExpectedTypes.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/ExpectedTypes.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/ExpectedTypes.cpp [1838/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/ClangdLSPServer.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/ClangdLSPServer.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/ClangdLSPServer.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/ClangdLSPServer.cpp [1839/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/FileDistance.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/FileDistance.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/FileDistance.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/FileDistance.cpp [1840/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/FS.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/FS.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/FS.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/FS.cpp [1841/2013] : && /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 && : [1842/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/FuzzyMatch.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/FuzzyMatch.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/FuzzyMatch.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/FuzzyMatch.cpp [1843/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Format.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Format.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Format.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/Format.cpp [1844/2013] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/extra/include-cleaner/tool/CMakeFiles/clang-include-cleaner.dir/IncludeCleaner.cpp.o -o bin/clang-include-cleaner lib64/libclangIncludeCleaner.a lib64/libclang-cpp.so.17 /usr/lib64/libLLVM-17.so && : [1845/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/CompileCommands.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/CompileCommands.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/CompileCommands.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/CompileCommands.cpp [1846/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/GlobalCompilationDatabase.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/GlobalCompilationDatabase.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/GlobalCompilationDatabase.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/GlobalCompilationDatabase.cpp [1847/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/FindSymbols.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/FindSymbols.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/FindSymbols.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/FindSymbols.cpp [1848/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Diagnostics.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Diagnostics.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Diagnostics.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/Diagnostics.cpp [1849/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/DumpAST.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/DumpAST.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/DumpAST.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/DumpAST.cpp [1850/2013] : && /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 && : [1851/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/HeuristicResolver.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/HeuristicResolver.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/HeuristicResolver.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/HeuristicResolver.cpp [1852/2013] : && /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 && : [1853/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Headers.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Headers.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Headers.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/Headers.cpp [1854/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/FindTarget.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/FindTarget.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/FindTarget.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/FindTarget.cpp [1855/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/JSONTransport.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/JSONTransport.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/JSONTransport.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/JSONTransport.cpp [1856/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/PathMapping.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/PathMapping.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/PathMapping.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/PathMapping.cpp [1857/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/HeaderSourceSwitch.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/HeaderSourceSwitch.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/HeaderSourceSwitch.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/HeaderSourceSwitch.cpp [1858/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Hover.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Hover.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Hover.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/Hover.cpp [1859/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/IncludeCleaner.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/IncludeCleaner.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/IncludeCleaner.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/IncludeCleaner.cpp [1860/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Protocol.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Protocol.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Protocol.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/Protocol.cpp [1861/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/RIFF.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/RIFF.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/RIFF.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/RIFF.cpp [1862/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/IncludeFixer.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/IncludeFixer.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/IncludeFixer.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/IncludeFixer.cpp [1863/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Quality.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Quality.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Quality.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/Quality.cpp [1864/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/InlayHints.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/InlayHints.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/InlayHints.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/InlayHints.cpp [1865/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/SemanticSelection.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/SemanticSelection.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/SemanticSelection.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/SemanticSelection.cpp [1866/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/TidyProvider.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/TidyProvider.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/TidyProvider.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/TidyProvider.cpp [1867/2013] : && /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 && : [1868/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/SystemIncludeExtractor.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/SystemIncludeExtractor.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/SystemIncludeExtractor.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/SystemIncludeExtractor.cpp [1869/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/SourceCode.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/SourceCode.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/SourceCode.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/SourceCode.cpp [1870/2013] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/extra/pseudo/gen/CMakeFiles/clang-pseudo-gen.dir/Main.cpp.o -o bin/clang-pseudo-gen lib64/libclangPseudoGrammar.a /usr/lib64/libLLVM-17.so && : [1871/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/URI.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/URI.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/URI.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/URI.cpp [1872/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/include && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-pseudo-gen --grammar /builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/include/../lib/cxx/cxx.bnf --emit-grammar-content -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/include/CXXBNF.inc [1873/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/include && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-pseudo-gen --grammar /builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/include/../lib/cxx/cxx.bnf --emit-symbol-list -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/include/CXXSymbols.inc [1874/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Preamble.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Preamble.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Preamble.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/Preamble.cpp [1875/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/ParsedAST.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/ParsedAST.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/ParsedAST.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/ParsedAST.cpp [1876/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Selection.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Selection.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/Selection.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/Selection.cpp [1877/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/lib/cli -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/cli -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/pseudo/lib/cli/CMakeFiles/obj.clangPseudoCLI.dir/CLI.cpp.o -MF tools/extra/pseudo/lib/cli/CMakeFiles/obj.clangPseudoCLI.dir/CLI.cpp.o.d -o tools/extra/pseudo/lib/cli/CMakeFiles/obj.clangPseudoCLI.dir/CLI.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/cli/CLI.cpp [1878/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/fuzzer -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/fuzzer -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/pseudo/fuzzer/CMakeFiles/clang-pseudo-fuzzer.dir/Main.cpp.o -MF tools/extra/pseudo/fuzzer/CMakeFiles/clang-pseudo-fuzzer.dir/Main.cpp.o.d -o tools/extra/pseudo/fuzzer/CMakeFiles/clang-pseudo-fuzzer.dir/Main.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/fuzzer/Main.cpp [1879/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/lib/cxx -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/cxx -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/pseudo/lib/cxx/CMakeFiles/obj.clangPseudoCXX.dir/CXX.cpp.o -MF tools/extra/pseudo/lib/cxx/CMakeFiles/obj.clangPseudoCXX.dir/CXX.cpp.o.d -o tools/extra/pseudo/lib/cxx/CMakeFiles/obj.clangPseudoCXX.dir/CXX.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/cxx/CXX.cpp [1880/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/tool -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/tool -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/pseudo/tool/CMakeFiles/clang-pseudo.dir/HTMLForest.cpp.o -MF tools/extra/pseudo/tool/CMakeFiles/clang-pseudo.dir/HTMLForest.cpp.o.d -o tools/extra/pseudo/tool/CMakeFiles/clang-pseudo.dir/HTMLForest.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/tool/HTMLForest.cpp [1881/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/fuzzer -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/fuzzer -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/pseudo/fuzzer/CMakeFiles/clang-pseudo-fuzzer.dir/Fuzzer.cpp.o -MF tools/extra/pseudo/fuzzer/CMakeFiles/clang-pseudo-fuzzer.dir/Fuzzer.cpp.o.d -o tools/extra/pseudo/fuzzer/CMakeFiles/clang-pseudo-fuzzer.dir/Fuzzer.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/fuzzer/Fuzzer.cpp [1882/2013] : && /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 && : [1883/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/tool -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/tool -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/pseudo/tool/CMakeFiles/clang-pseudo.dir/ClangPseudo.cpp.o -MF tools/extra/pseudo/tool/CMakeFiles/clang-pseudo.dir/ClangPseudo.cpp.o.d -o tools/extra/pseudo/tool/CMakeFiles/clang-pseudo.dir/ClangPseudo.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/tool/ClangPseudo.cpp [1884/2013] : && /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 && : [1885/2013] : && /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 && : [1886/2013] : && /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 && : [1887/2013] : && /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 && : [1888/2013] : && /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 && : [1889/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/SemanticHighlighting.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/SemanticHighlighting.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/SemanticHighlighting.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/SemanticHighlighting.cpp [1890/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/TUScheduler.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/TUScheduler.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/TUScheduler.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/TUScheduler.cpp [1891/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/BackgroundIndexLoader.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/BackgroundIndexLoader.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/BackgroundIndexLoader.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/index/BackgroundIndexLoader.cpp [1892/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/BackgroundIndexStorage.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/BackgroundIndexStorage.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/BackgroundIndexStorage.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/index/BackgroundIndexStorage.cpp [1893/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/CanonicalIncludes.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/CanonicalIncludes.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/CanonicalIncludes.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/index/CanonicalIncludes.cpp [1894/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/BackgroundQueue.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/BackgroundQueue.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/BackgroundQueue.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/index/BackgroundQueue.cpp [1895/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/Background.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/Background.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/Background.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/index/Background.cpp [1896/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/Index.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/Index.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/Index.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/index/Index.cpp [1897/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/Merge.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/Merge.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/Merge.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/index/Merge.cpp [1898/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/ProjectAware.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/ProjectAware.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/ProjectAware.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/index/ProjectAware.cpp [1899/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/MemIndex.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/MemIndex.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/MemIndex.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/index/MemIndex.cpp [1900/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/BackgroundRebuild.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/BackgroundRebuild.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/BackgroundRebuild.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/index/BackgroundRebuild.cpp [1901/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/Relation.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/Relation.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/Relation.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/index/Relation.cpp [1902/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/Ref.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/Ref.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/Ref.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/index/Ref.cpp [1903/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/Symbol.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/Symbol.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/Symbol.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/index/Symbol.cpp [1904/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/IndexAction.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/IndexAction.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/IndexAction.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/index/IndexAction.cpp [1905/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/SymbolID.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/SymbolID.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/SymbolID.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/index/SymbolID.cpp [1906/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/SymbolLocation.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/SymbolLocation.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/SymbolLocation.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/index/SymbolLocation.cpp [1907/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/SymbolOrigin.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/SymbolOrigin.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/SymbolOrigin.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/index/SymbolOrigin.cpp [1908/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -Wno-unused -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/CompletionModel.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/CompletionModel.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/CompletionModel.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/CompletionModel.cpp [1909/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/FileIndex.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/FileIndex.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/FileIndex.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/index/FileIndex.cpp [1910/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/XRefs.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/XRefs.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/XRefs.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/XRefs.cpp [1911/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/dex/PostingList.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/dex/PostingList.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/dex/PostingList.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/index/dex/PostingList.cpp [1912/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/dex/Iterator.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/dex/Iterator.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/dex/Iterator.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/index/dex/Iterator.cpp [1913/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/dex/Trigram.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/dex/Trigram.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/dex/Trigram.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/index/dex/Trigram.cpp [1914/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/StdLib.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/StdLib.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/StdLib.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/index/StdLib.cpp [1915/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/Serialization.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/Serialization.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/Serialization.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/index/Serialization.cpp [1916/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/support -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/support -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/Cancellation.cpp.o -MF tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/Cancellation.cpp.o.d -o tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/Cancellation.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/support/Cancellation.cpp [1917/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/dex/Dex.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/dex/Dex.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/dex/Dex.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/index/dex/Dex.cpp [1918/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/refactor/InsertionPoint.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/refactor/InsertionPoint.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/refactor/InsertionPoint.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/InsertionPoint.cpp [1919/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/support -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/support -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/Context.cpp.o -MF tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/Context.cpp.o.d -o tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/Context.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/support/Context.cpp [1920/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/support -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/support -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/FileCache.cpp.o -MF tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/FileCache.cpp.o.d -o tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/FileCache.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/support/FileCache.cpp [1921/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/support -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/support -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/Logger.cpp.o -MF tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/Logger.cpp.o.d -o tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/Logger.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/support/Logger.cpp [1922/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/support -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/support -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/Path.cpp.o -MF tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/Path.cpp.o.d -o tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/Path.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/support/Path.cpp [1923/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/support -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/support -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/Shutdown.cpp.o -MF tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/Shutdown.cpp.o.d -o tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/Shutdown.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/support/Shutdown.cpp [1924/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/support -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/support -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/Markup.cpp.o -MF tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/Markup.cpp.o.d -o tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/Markup.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/support/Markup.cpp [1925/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/SymbolCollector.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/SymbolCollector.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/SymbolCollector.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/index/SymbolCollector.cpp [1926/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/support -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/support -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/MemoryTree.cpp.o -MF tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/MemoryTree.cpp.o.d -o tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/MemoryTree.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/support/MemoryTree.cpp [1927/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/YAMLSerialization.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/YAMLSerialization.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/index/YAMLSerialization.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/index/YAMLSerialization.cpp [1928/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/support -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/support -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/ThreadCrashReporter.cpp.o -MF tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/ThreadCrashReporter.cpp.o.d -o tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/ThreadCrashReporter.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/support/ThreadCrashReporter.cpp [1929/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/support -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/support -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/Threading.cpp.o -MF tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/Threading.cpp.o.d -o tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/Threading.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/support/Threading.cpp [1930/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/support -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/support -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/ThreadsafeFS.cpp.o -MF tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/ThreadsafeFS.cpp.o.d -o tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/ThreadsafeFS.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/support/ThreadsafeFS.cpp [1931/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/support -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/support -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/Trace.cpp.o -MF tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/Trace.cpp.o.d -o tools/extra/clangd/support/CMakeFiles/obj.clangdSupport.dir/Trace.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/support/Trace.cpp [1932/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/refactor/Tweak.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/refactor/Tweak.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/refactor/Tweak.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/Tweak.cpp [1933/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/pseudo/lib/../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/refactor/Rename.cpp.o -MF tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/refactor/Rename.cpp.o.d -o tools/extra/clangd/CMakeFiles/obj.clangDaemon.dir/refactor/Rename.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/Rename.cpp [1934/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/refactor/tweaks -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks/../.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/AnnotateHighlightings.cpp.o -MF tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/AnnotateHighlightings.cpp.o.d -o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/AnnotateHighlightings.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks/AnnotateHighlightings.cpp [1935/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/refactor/tweaks -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks/../.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/DumpAST.cpp.o -MF tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/DumpAST.cpp.o.d -o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/DumpAST.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks/DumpAST.cpp [1936/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/refactor/tweaks -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks/../.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/DefineOutline.cpp.o -MF tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/DefineOutline.cpp.o.d -o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/DefineOutline.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks/DefineOutline.cpp [1937/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/refactor/tweaks -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks/../.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/DefineInline.cpp.o -MF tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/DefineInline.cpp.o.d -o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/DefineInline.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks/DefineInline.cpp [1938/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/refactor/tweaks -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks/../.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/ExpandDeducedType.cpp.o -MF tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/ExpandDeducedType.cpp.o.d -o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/ExpandDeducedType.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks/ExpandDeducedType.cpp [1939/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/refactor/tweaks -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks/../.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/ExpandMacro.cpp.o -MF tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/ExpandMacro.cpp.o.d -o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/ExpandMacro.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks/ExpandMacro.cpp [1940/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/refactor/tweaks -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks/../.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/AddUsing.cpp.o -MF tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/AddUsing.cpp.o.d -o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/AddUsing.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks/AddUsing.cpp [1941/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/refactor/tweaks -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks/../.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/MemberwiseConstructor.cpp.o -MF tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/MemberwiseConstructor.cpp.o.d -o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/MemberwiseConstructor.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks/MemberwiseConstructor.cpp [1942/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/refactor/tweaks -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks/../.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/ObjCLocalizeStringLiteral.cpp.o -MF tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/ObjCLocalizeStringLiteral.cpp.o.d -o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/ObjCLocalizeStringLiteral.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks/ObjCLocalizeStringLiteral.cpp [1943/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/refactor/tweaks -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks/../.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/PopulateSwitch.cpp.o -MF tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/PopulateSwitch.cpp.o.d -o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/PopulateSwitch.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks/PopulateSwitch.cpp [1944/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/refactor/tweaks -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks/../.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/ObjCMemberwiseInitializer.cpp.o -MF tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/ObjCMemberwiseInitializer.cpp.o.d -o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/ObjCMemberwiseInitializer.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks/ObjCMemberwiseInitializer.cpp [1945/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/fuzzer -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/fuzzer -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/fuzzer/CMakeFiles/clangd-fuzzer.dir/FuzzerClangdMain.cpp.o -MF tools/extra/clangd/fuzzer/CMakeFiles/clangd-fuzzer.dir/FuzzerClangdMain.cpp.o.d -o tools/extra/clangd/fuzzer/CMakeFiles/clangd-fuzzer.dir/FuzzerClangdMain.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/fuzzer/FuzzerClangdMain.cpp [1946/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/refactor/tweaks -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks/../.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/RawStringLiteral.cpp.o -MF tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/RawStringLiteral.cpp.o.d -o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/RawStringLiteral.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks/RawStringLiteral.cpp [1947/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/refactor/tweaks -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks/../.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/ExtractVariable.cpp.o -MF tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/ExtractVariable.cpp.o.d -o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/ExtractVariable.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks/ExtractVariable.cpp [1948/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/refactor/tweaks -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks/../.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/ExtractFunction.cpp.o -MF tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/ExtractFunction.cpp.o.d -o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/ExtractFunction.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks/ExtractFunction.cpp [1949/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/tool -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/tool -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/tool/CMakeFiles/clangd.dir/ClangdToolMain.cpp.o -MF tools/extra/clangd/tool/CMakeFiles/clangd.dir/ClangdToolMain.cpp.o.d -o tools/extra/clangd/tool/CMakeFiles/clangd.dir/ClangdToolMain.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/tool/ClangdToolMain.cpp [1950/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/refactor/tweaks -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks/../.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/SwapIfBranches.cpp.o -MF tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/SwapIfBranches.cpp.o.d -o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/SwapIfBranches.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks/SwapIfBranches.cpp [1951/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/index/remote/unimplemented -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/index/remote/unimplemented -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/index/remote/unimplemented/../../.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/index/remote/unimplemented/CMakeFiles/obj.clangdRemoteIndex.dir/UnimplementedClient.cpp.o -MF tools/extra/clangd/index/remote/unimplemented/CMakeFiles/obj.clangdRemoteIndex.dir/UnimplementedClient.cpp.o.d -o tools/extra/clangd/index/remote/unimplemented/CMakeFiles/obj.clangdRemoteIndex.dir/UnimplementedClient.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/index/remote/unimplemented/UnimplementedClient.cpp [1952/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/refactor/tweaks -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks/../.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/SpecialMembers.cpp.o -MF tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/SpecialMembers.cpp.o.d -o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/SpecialMembers.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks/SpecialMembers.cpp [1953/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/fuzzer -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/fuzzer -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/fuzzer/CMakeFiles/clangd-fuzzer.dir/clangd-fuzzer.cpp.o -MF tools/extra/clangd/fuzzer/CMakeFiles/clangd-fuzzer.dir/clangd-fuzzer.cpp.o.d -o tools/extra/clangd/fuzzer/CMakeFiles/clangd-fuzzer.dir/clangd-fuzzer.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/fuzzer/clangd-fuzzer.cpp [1954/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D_CINDEX_LIB_ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT tools/libclang/CMakeFiles/libclang.dir/ARCMigrate.cpp.o -MF tools/libclang/CMakeFiles/libclang.dir/ARCMigrate.cpp.o.d -o tools/libclang/CMakeFiles/libclang.dir/ARCMigrate.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/libclang/ARCMigrate.cpp [1955/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D_CINDEX_LIB_ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT tools/libclang/CMakeFiles/libclang.dir/BuildSystem.cpp.o -MF tools/libclang/CMakeFiles/libclang.dir/BuildSystem.cpp.o.d -o tools/libclang/CMakeFiles/libclang.dir/BuildSystem.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/libclang/BuildSystem.cpp [1956/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/refactor/tweaks -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks/../.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/RemoveUsingNamespace.cpp.o -MF tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/RemoveUsingNamespace.cpp.o.d -o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/RemoveUsingNamespace.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/refactor/tweaks/RemoveUsingNamespace.cpp [1957/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/tool -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/tool -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/tool/CMakeFiles/obj.clangdMain.dir/Check.cpp.o -MF tools/extra/clangd/tool/CMakeFiles/obj.clangdMain.dir/Check.cpp.o.d -o tools/extra/clangd/tool/CMakeFiles/obj.clangdMain.dir/Check.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/tool/Check.cpp [1958/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/indexer -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/indexer -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/indexer/CMakeFiles/clangd-indexer.dir/IndexerMain.cpp.o -MF tools/extra/clangd/indexer/CMakeFiles/clangd-indexer.dir/IndexerMain.cpp.o.d -o tools/extra/clangd/indexer/CMakeFiles/clangd-indexer.dir/IndexerMain.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/indexer/IndexerMain.cpp [1959/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/tool -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/tool -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/tool/CMakeFiles/obj.clangdMain.dir/ClangdMain.cpp.o -MF tools/extra/clangd/tool/CMakeFiles/obj.clangdMain.dir/ClangdMain.cpp.o.d -o tools/extra/clangd/tool/CMakeFiles/obj.clangdMain.dir/ClangdMain.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/tool/ClangdMain.cpp [1960/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/index/dex/dexp -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/index/dex/dexp -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/../include-cleaner/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/../clang-tidy -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/extra/clangd/index/dex/dexp/CMakeFiles/dexp.dir/Dexp.cpp.o -MF tools/extra/clangd/index/dex/dexp/CMakeFiles/dexp.dir/Dexp.cpp.o.d -o tools/extra/clangd/index/dex/dexp/CMakeFiles/dexp.dir/Dexp.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/index/dex/dexp/Dexp.cpp [1961/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D_CINDEX_LIB_ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT tools/libclang/CMakeFiles/libclang.dir/CIndexCXX.cpp.o -MF tools/libclang/CMakeFiles/libclang.dir/CIndexCXX.cpp.o.d -o tools/libclang/CMakeFiles/libclang.dir/CIndexCXX.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/libclang/CIndexCXX.cpp [1962/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/test -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/test -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/test/BEFORE -I/builddir/build/BUILD/clang-tools-extra-17.0.6.src/test/.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT tools/extra/test/CMakeFiles/CTTestTidyModule.dir/clang-tidy/CTTestTidyModule.cpp.o -MF tools/extra/test/CMakeFiles/CTTestTidyModule.dir/clang-tidy/CTTestTidyModule.cpp.o.d -o tools/extra/test/CMakeFiles/CTTestTidyModule.dir/clang-tidy/CTTestTidyModule.cpp.o -c /builddir/build/BUILD/clang-tools-extra-17.0.6.src/test/clang-tidy/CTTestTidyModule.cpp [1963/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D_CINDEX_LIB_ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT tools/libclang/CMakeFiles/libclang.dir/CIndexer.cpp.o -MF tools/libclang/CMakeFiles/libclang.dir/CIndexer.cpp.o.d -o tools/libclang/CMakeFiles/libclang.dir/CIndexer.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/libclang/CIndexer.cpp [1964/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D_CINDEX_LIB_ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT tools/libclang/CMakeFiles/libclang.dir/CIndexDiagnostic.cpp.o -MF tools/libclang/CMakeFiles/libclang.dir/CIndexDiagnostic.cpp.o.d -o tools/libclang/CMakeFiles/libclang.dir/CIndexDiagnostic.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/libclang/CIndexDiagnostic.cpp [1965/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D_CINDEX_LIB_ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT tools/libclang/CMakeFiles/libclang.dir/CIndexUSRs.cpp.o -MF tools/libclang/CMakeFiles/libclang.dir/CIndexUSRs.cpp.o.d -o tools/libclang/CMakeFiles/libclang.dir/CIndexUSRs.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/libclang/CIndexUSRs.cpp [1966/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D_CINDEX_LIB_ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT tools/libclang/CMakeFiles/libclang.dir/CIndexInclusionStack.cpp.o -MF tools/libclang/CMakeFiles/libclang.dir/CIndexInclusionStack.cpp.o.d -o tools/libclang/CMakeFiles/libclang.dir/CIndexInclusionStack.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/libclang/CIndexInclusionStack.cpp [1967/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D_CINDEX_LIB_ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT tools/libclang/CMakeFiles/libclang.dir/CIndexHigh.cpp.o -MF tools/libclang/CMakeFiles/libclang.dir/CIndexHigh.cpp.o.d -o tools/libclang/CMakeFiles/libclang.dir/CIndexHigh.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/libclang/CIndexHigh.cpp [1968/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D_CINDEX_LIB_ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT tools/libclang/CMakeFiles/libclang.dir/CXCompilationDatabase.cpp.o -MF tools/libclang/CMakeFiles/libclang.dir/CXCompilationDatabase.cpp.o.d -o tools/libclang/CMakeFiles/libclang.dir/CXCompilationDatabase.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/libclang/CXCompilationDatabase.cpp [1969/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D_CINDEX_LIB_ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT tools/libclang/CMakeFiles/libclang.dir/CXComment.cpp.o -MF tools/libclang/CMakeFiles/libclang.dir/CXComment.cpp.o.d -o tools/libclang/CMakeFiles/libclang.dir/CXComment.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/libclang/CXComment.cpp [1970/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D_CINDEX_LIB_ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT tools/libclang/CMakeFiles/libclang.dir/CIndexCodeCompletion.cpp.o -MF tools/libclang/CMakeFiles/libclang.dir/CIndexCodeCompletion.cpp.o.d -o tools/libclang/CMakeFiles/libclang.dir/CIndexCodeCompletion.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/libclang/CIndexCodeCompletion.cpp [1971/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D_CINDEX_LIB_ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT tools/libclang/CMakeFiles/libclang.dir/CXLoadedDiagnostic.cpp.o -MF tools/libclang/CMakeFiles/libclang.dir/CXLoadedDiagnostic.cpp.o.d -o tools/libclang/CMakeFiles/libclang.dir/CXLoadedDiagnostic.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/libclang/CXLoadedDiagnostic.cpp [1972/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D_CINDEX_LIB_ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT tools/libclang/CMakeFiles/libclang.dir/CXCursor.cpp.o -MF tools/libclang/CMakeFiles/libclang.dir/CXCursor.cpp.o.d -o tools/libclang/CMakeFiles/libclang.dir/CXCursor.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/libclang/CXCursor.cpp [1973/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D_CINDEX_LIB_ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT tools/libclang/CMakeFiles/libclang.dir/CXStoredDiagnostic.cpp.o -MF tools/libclang/CMakeFiles/libclang.dir/CXStoredDiagnostic.cpp.o.d -o tools/libclang/CMakeFiles/libclang.dir/CXStoredDiagnostic.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/libclang/CXStoredDiagnostic.cpp [1974/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D_CINDEX_LIB_ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT tools/libclang/CMakeFiles/libclang.dir/CXSourceLocation.cpp.o -MF tools/libclang/CMakeFiles/libclang.dir/CXSourceLocation.cpp.o.d -o tools/libclang/CMakeFiles/libclang.dir/CXSourceLocation.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/libclang/CXSourceLocation.cpp [1975/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D_CINDEX_LIB_ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT tools/libclang/CMakeFiles/libclang.dir/FatalErrorHandler.cpp.o -MF tools/libclang/CMakeFiles/libclang.dir/FatalErrorHandler.cpp.o.d -o tools/libclang/CMakeFiles/libclang.dir/FatalErrorHandler.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/libclang/FatalErrorHandler.cpp [1976/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D_CINDEX_LIB_ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT tools/libclang/CMakeFiles/libclang.dir/CIndex.cpp.o -MF tools/libclang/CMakeFiles/libclang.dir/CIndex.cpp.o.d -o tools/libclang/CMakeFiles/libclang.dir/CIndex.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/libclang/CIndex.cpp [1977/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/amdgpu-arch -I/builddir/build/BUILD/clang-17.0.6.src/tools/amdgpu-arch -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/amdgpu-arch/CMakeFiles/amdgpu-arch.dir/AMDGPUArch.cpp.o -MF tools/amdgpu-arch/CMakeFiles/amdgpu-arch.dir/AMDGPUArch.cpp.o.d -o tools/amdgpu-arch/CMakeFiles/amdgpu-arch.dir/AMDGPUArch.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/amdgpu-arch/AMDGPUArch.cpp [1978/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D_CINDEX_LIB_ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT tools/libclang/CMakeFiles/libclang.dir/CXIndexDataConsumer.cpp.o -MF tools/libclang/CMakeFiles/libclang.dir/CXIndexDataConsumer.cpp.o.d -o tools/libclang/CMakeFiles/libclang.dir/CXIndexDataConsumer.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/libclang/CXIndexDataConsumer.cpp [1979/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/amdgpu-arch -I/builddir/build/BUILD/clang-17.0.6.src/tools/amdgpu-arch -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/amdgpu-arch/CMakeFiles/amdgpu-arch.dir/AMDGPUArchByHSA.cpp.o -MF tools/amdgpu-arch/CMakeFiles/amdgpu-arch.dir/AMDGPUArchByHSA.cpp.o.d -o tools/amdgpu-arch/CMakeFiles/amdgpu-arch.dir/AMDGPUArchByHSA.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/amdgpu-arch/AMDGPUArchByHSA.cpp [1980/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/amdgpu-arch -I/builddir/build/BUILD/clang-17.0.6.src/tools/amdgpu-arch -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/amdgpu-arch/CMakeFiles/amdgpu-arch.dir/AMDGPUArchByHIP.cpp.o -MF tools/amdgpu-arch/CMakeFiles/amdgpu-arch.dir/AMDGPUArchByHIP.cpp.o.d -o tools/amdgpu-arch/CMakeFiles/amdgpu-arch.dir/AMDGPUArchByHIP.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/amdgpu-arch/AMDGPUArchByHIP.cpp [1981/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-attr-docs -I /builddir/build/BUILD/clang-17.0.6.src/docs -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include -I/builddir/build/BUILD/clang-17.0.6.src/docs/../include/clang/Basic /builddir/build/BUILD/clang-17.0.6.src/docs/../include/clang/Basic/Attr.td --write-if-changed -o docs/AttributeReference.rst -d docs/AttributeReference.rst.d [1982/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-diag-docs -I /builddir/build/BUILD/clang-17.0.6.src/docs -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include -I/builddir/build/BUILD/clang-17.0.6.src/docs/../include/clang/Basic /builddir/build/BUILD/clang-17.0.6.src/docs/../include/clang/Basic/Diagnostic.td --write-if-changed -o docs/DiagnosticsReference.rst -d docs/DiagnosticsReference.rst.d [1983/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tblgen -gen-opt-docs -I /builddir/build/BUILD/clang-17.0.6.src/docs -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -I/usr/include -I/builddir/build/BUILD/clang-17.0.6.src/docs/../include/clang/Driver /builddir/build/BUILD/clang-17.0.6.src/docs/../include/clang/Driver/ClangOptionDocs.td --write-if-changed -o docs/ClangCommandLineReference.rst -d docs/ClangCommandLineReference.rst.d [1984/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D_CINDEX_LIB_ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT tools/libclang/CMakeFiles/libclang.dir/CXString.cpp.o -MF tools/libclang/CMakeFiles/libclang.dir/CXString.cpp.o.d -o tools/libclang/CMakeFiles/libclang.dir/CXString.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/libclang/CXString.cpp [1985/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/nvptx-arch -I/builddir/build/BUILD/clang-17.0.6.src/tools/nvptx-arch -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/nvptx-arch/CMakeFiles/nvptx-arch.dir/NVPTXArch.cpp.o -MF tools/nvptx-arch/CMakeFiles/nvptx-arch.dir/NVPTXArch.cpp.o.d -o tools/nvptx-arch/CMakeFiles/nvptx-arch.dir/NVPTXArch.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/nvptx-arch/NVPTXArch.cpp [1986/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D_CINDEX_LIB_ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT tools/libclang/CMakeFiles/libclang.dir/CXType.cpp.o -MF tools/libclang/CMakeFiles/libclang.dir/CXType.cpp.o.d -o tools/libclang/CMakeFiles/libclang.dir/CXType.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/libclang/CXType.cpp [1987/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D_CINDEX_LIB_ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT tools/libclang/CMakeFiles/libclang.dir/Rewrite.cpp.o -MF tools/libclang/CMakeFiles/libclang.dir/Rewrite.cpp.o.d -o tools/libclang/CMakeFiles/libclang.dir/Rewrite.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/libclang/Rewrite.cpp [1988/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D_CINDEX_LIB_ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT tools/libclang/CMakeFiles/libclang.dir/CXExtractAPI.cpp.o -MF tools/libclang/CMakeFiles/libclang.dir/CXExtractAPI.cpp.o.d -o tools/libclang/CMakeFiles/libclang.dir/CXExtractAPI.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/libclang/CXExtractAPI.cpp [1989/2013] /usr/bin/g++ -DCLANG_REPOSITORY_STRING="\"OpenCloudOS 17.0.6-2.ocs23\"" -D_CINDEX_LIB_ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/tools/libclang -I/builddir/build/BUILD/clang-17.0.6.src/include -I/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT tools/libclang/CMakeFiles/libclang.dir/Indexing.cpp.o -MF tools/libclang/CMakeFiles/libclang.dir/Indexing.cpp.o.d -o tools/libclang/CMakeFiles/libclang.dir/Indexing.cpp.o -c /builddir/build/BUILD/clang-17.0.6.src/tools/libclang/Indexing.cpp [1990/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/docs && /usr/bin/cmake -E env /usr/bin/sphinx-build -b man -d /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/docs/_doctrees-clang-man -q -t builder-man -D version=17 -D release=17.0.6 /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/docs /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/docs/man /usr/lib/python3.11/site-packages/recommonmark/parser.py:75: UserWarning: Container node skipped: type=document warn("Container node skipped: type={0}".format(mdnode.t)) [1991/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/docs && /usr/bin/cmake -E env /usr/bin/sphinx-build -b html -d /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/docs/_doctrees-clang-html -q -t builder-html -D version=17 -D release=17.0.6 /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/docs /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/docs/html /usr/lib/python3.11/site-packages/recommonmark/parser.py:75: UserWarning: Container node skipped: type=document warn("Container node skipped: type={0}".format(mdnode.t)) [1992/2013] cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/docs && /usr/bin/cmake -E copy /builddir/build/BUILD/clang-17.0.6.src/docs/LibASTMatchersReference.html /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/docs/html/LibASTMatchersReference.html [1993/2013] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,--export-dynamic -rdynamic -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 tools/extra/clang-tidy/tool/CMakeFiles/clang-tidy.dir/ClangTidyToolMain.cpp.o -o bin/clang-tidy lib64/libclangTidy.a lib64/libclangTidyMain.a lib64/libclangTidyAndroidModule.a lib64/libclangTidyAbseilModule.a lib64/libclangTidyAlteraModule.a lib64/libclangTidyBoostModule.a lib64/libclangTidyBugproneModule.a lib64/libclangTidyCERTModule.a lib64/libclangTidyConcurrencyModule.a lib64/libclangTidyCppCoreGuidelinesModule.a lib64/libclangTidyDarwinModule.a lib64/libclangTidyFuchsiaModule.a lib64/libclangTidyGoogleModule.a lib64/libclangTidyHICPPModule.a lib64/libclangTidyLinuxKernelModule.a lib64/libclangTidyLLVMModule.a lib64/libclangTidyLLVMLibcModule.a lib64/libclangTidyMiscModule.a lib64/libclangTidyModernizeModule.a lib64/libclangTidyObjCModule.a lib64/libclangTidyOpenMPModule.a lib64/libclangTidyPerformanceModule.a lib64/libclangTidyPortabilityModule.a lib64/libclangTidyReadabilityModule.a lib64/libclangTidyZirconModule.a lib64/libclangTidyMPIModule.a lib64/libclangTidyBugproneModule.a lib64/libclangTidyCppCoreGuidelinesModule.a lib64/libclangTidyGoogleModule.a lib64/libclangTidyMiscModule.a lib64/libclangAnalysis.a lib64/libclangASTMatchers.a lib64/libclangAST.a lib64/libclangLex.a lib64/libclangBasic.a lib64/libclangIncludeCleaner.a lib64/libclangTidyModernizeModule.a lib64/libclangTidyPerformanceModule.a lib64/libclangTidyReadabilityModule.a lib64/libclangTidyUtils.a lib64/libclangTidy.a lib64/libclang-cpp.so.17 /usr/lib64/libLLVM-17.so && : /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h: In function 'InitGlobal.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h: In function 'InitGlobalTemp.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:964:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 964 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In member function '__dt_base ', inlined from '__dt_base ' at /usr/include/llvm/ADT/APFloat.h:668:7, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1419:25, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1417:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:847:38, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:841:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1304:12, inlined from 'operator=' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Floating.h:26:7, inlined from 'InitGlobalTemp.constprop' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:964:32: /usr/include/c++/12/bits/unique_ptr.h:670:15: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 670 | __ptr = pointer(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In function 'InitGlobalTemp.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 48 into destination object 'B' of size 32 196 | Block B; | In member function '__dt_base ', inlined from '__dt_base ' at /usr/include/llvm/ADT/APFloat.h:668:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1419:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1417:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:847:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:841:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1304:0, inlined from 'operator=' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Floating.h:26:0, inlined from 'InitGlobal.constprop' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:0: /usr/include/c++/12/bits/unique_ptr.h:670: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 670 | __ptr = pointer(); | /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In function 'InitGlobal.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 48 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalFnPtr' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10658:30, inlined from 'emitInitGlobalFnPtr' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10655:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10559:31: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10645:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10555:30: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10643:31, inlined from 'emitInitGlobalUint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10640:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10553:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10638:31, inlined from 'emitInitGlobalSint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10635:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10551:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10633:31, inlined from 'emitInitGlobalUint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10630:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10549:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 4 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10628:31, inlined from 'emitInitGlobalSint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10625:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10547:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 4 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10623:31, inlined from 'emitInitGlobalUint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10620:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10545:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 2 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10618:31, inlined from 'emitInitGlobalSint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10615:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10543:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 2 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10613:30, inlined from 'emitInitGlobalUint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10610:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10541:31: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10608:30, inlined from 'emitInitGlobalSint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10605:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10539:31: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10645:0: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobalBool': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | [1994/2013] : && /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 && : [1995/2013] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/extra/tool-template/CMakeFiles/tool-template.dir/ToolTemplate.cpp.o -o bin/tool-template lib64/libclang-cpp.so.17 /usr/lib64/libLLVM-17.so && : [1996/2013] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/extra/pseudo/tool/CMakeFiles/clang-pseudo.dir/ClangPseudo.cpp.o tools/extra/pseudo/tool/CMakeFiles/clang-pseudo.dir/HTMLForest.cpp.o -o bin/clang-pseudo lib64/libclang-cpp.so.17 lib64/libclangPseudo.a lib64/libclangPseudoGrammar.a lib64/libclangPseudoCLI.a lib64/libclangPseudoCXX.a lib64/libclangPseudo.a lib64/libclangLex.a lib64/libclangPseudoGrammar.a lib64/libclangBasic.a /usr/lib64/libLLVM-17.so && : [1997/2013] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/extra/pseudo/fuzzer/CMakeFiles/clang-pseudo-fuzzer.dir/Main.cpp.o tools/extra/pseudo/fuzzer/CMakeFiles/clang-pseudo-fuzzer.dir/Fuzzer.cpp.o -o bin/clang-pseudo-fuzzer lib64/libclangPseudo.a lib64/libclangPseudoCLI.a lib64/libclangPseudoGrammar.a lib64/libclangPseudoCXX.a lib64/libclangPseudo.a lib64/libclangLex.a lib64/libclangPseudoGrammar.a lib64/libclangBasic.a /usr/lib64/libLLVM-17.so && : [1998/2013] : && /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 && : [1999/2013] : && /usr/bin/g++ -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-z,nodelete -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections -shared -o lib64/CTTestTidyModule.so tools/extra/test/CMakeFiles/CTTestTidyModule.dir/clang-tidy/CTTestTidyModule.cpp.o /usr/lib64/libLLVM-17.so && : [2000/2013] : && /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 && : [2001/2013] : && /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 && : [2002/2013] : && /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 && : [2003/2013] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/extra/clangd/fuzzer/CMakeFiles/clangd-fuzzer.dir/FuzzerClangdMain.cpp.o tools/extra/clangd/fuzzer/CMakeFiles/clangd-fuzzer.dir/clangd-fuzzer.cpp.o -o bin/clangd-fuzzer lib64/libclangDaemon.a lib64/libclangIncludeCleaner.a lib64/libclangdSupport.a lib64/libclangPseudo.a lib64/libclangPseudoGrammar.a lib64/libclangTidyAndroidModule.a lib64/libclangTidyAbseilModule.a lib64/libclangTidyAlteraModule.a lib64/libclangTidyBoostModule.a lib64/libclangTidyCERTModule.a lib64/libclangTidyConcurrencyModule.a lib64/libclangTidyDarwinModule.a lib64/libclangTidyFuchsiaModule.a lib64/libclangTidyHICPPModule.a lib64/libclangTidyBugproneModule.a lib64/libclangTidyCppCoreGuidelinesModule.a lib64/libclangTidyGoogleModule.a lib64/libclangTidyLinuxKernelModule.a lib64/libclangTidyLLVMModule.a lib64/libclangTidyLLVMLibcModule.a lib64/libclangTidyMiscModule.a lib64/libclangIncludeCleaner.a lib64/libclangAnalysis.a lib64/libclangASTMatchers.a lib64/libclangAST.a lib64/libclangLex.a lib64/libclangBasic.a lib64/libclangTidyModernizeModule.a lib64/libclangTidyObjCModule.a lib64/libclangTidyOpenMPModule.a lib64/libclangTidyPerformanceModule.a lib64/libclangTidyPortabilityModule.a lib64/libclangTidyReadabilityModule.a lib64/libclangTidyZirconModule.a lib64/libclangTidyMPIModule.a lib64/libclangTidyUtils.a lib64/libclangTidy.a lib64/libclang-cpp.so.17 /usr/lib64/libLLVM-17.so && : /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h: In function 'InitGlobal.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In member function '__dt_base ', inlined from '__dt_base ' at /usr/include/llvm/ADT/APFloat.h:668:7, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1419:25, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1417:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:847:38, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:841:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1304:12, inlined from 'operator=' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Floating.h:26:7, inlined from 'InitGlobal.constprop' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:32: /usr/include/c++/12/bits/unique_ptr.h:670:15: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 670 | __ptr = pointer(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In function 'InitGlobal.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 48 into destination object 'B' of size 32 196 | Block B; | /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h: In function 'InitGlobalTemp.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:964:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 964 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In member function '__dt_base ', inlined from '__dt_base ' at /usr/include/llvm/ADT/APFloat.h:668:7, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1419:25, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1417:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:847:38, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:841:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1304:12, inlined from 'operator=' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Floating.h:26:7, inlined from 'InitGlobalTemp.constprop' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:964:32: /usr/include/c++/12/bits/unique_ptr.h:670:15: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 670 | __ptr = pointer(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In function 'InitGlobalTemp.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 48 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalFnPtr' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10658:30, inlined from 'emitInitGlobalFnPtr' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10655:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10559:31: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10645:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10555:30: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10643:31, inlined from 'emitInitGlobalUint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10640:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10553:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10638:31, inlined from 'emitInitGlobalSint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10635:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10551:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10633:31, inlined from 'emitInitGlobalUint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10630:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10549:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 4 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10628:31, inlined from 'emitInitGlobalSint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10625:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10547:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 4 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10623:31, inlined from 'emitInitGlobalUint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10620:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10545:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 2 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10618:31, inlined from 'emitInitGlobalSint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10615:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10543:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 2 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10613:30, inlined from 'emitInitGlobalUint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10610:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10541:31: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10608:30, inlined from 'emitInitGlobalSint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10605:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10539:31: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10645:0: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobalBool': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | [2004/2013] : && /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 && : [2005/2013] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/extra/clangd/indexer/CMakeFiles/clangd-indexer.dir/IndexerMain.cpp.o -o bin/clangd-indexer lib64/libclangDaemon.a lib64/libclangdSupport.a lib64/libclangPseudo.a lib64/libclangPseudoGrammar.a lib64/libclangTidyAndroidModule.a lib64/libclangTidyAbseilModule.a lib64/libclangTidyAlteraModule.a lib64/libclangTidyBoostModule.a lib64/libclangTidyCERTModule.a lib64/libclangTidyConcurrencyModule.a lib64/libclangTidyDarwinModule.a lib64/libclangTidyFuchsiaModule.a lib64/libclangTidyHICPPModule.a lib64/libclangTidyBugproneModule.a lib64/libclangTidyCppCoreGuidelinesModule.a lib64/libclangTidyGoogleModule.a lib64/libclangTidyLinuxKernelModule.a lib64/libclangTidyLLVMModule.a lib64/libclangTidyLLVMLibcModule.a lib64/libclangTidyMiscModule.a lib64/libclangIncludeCleaner.a lib64/libclangAnalysis.a lib64/libclangASTMatchers.a lib64/libclangAST.a lib64/libclangLex.a lib64/libclangBasic.a lib64/libclangTidyModernizeModule.a lib64/libclangTidyObjCModule.a lib64/libclangTidyOpenMPModule.a lib64/libclangTidyPerformanceModule.a lib64/libclangTidyPortabilityModule.a lib64/libclangTidyReadabilityModule.a lib64/libclangTidyZirconModule.a lib64/libclangTidyMPIModule.a lib64/libclangTidyUtils.a lib64/libclangTidy.a lib64/libclang-cpp.so.17 /usr/lib64/libLLVM-17.so && : /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h: In function 'InitGlobal.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In member function '__dt_base ', inlined from '__dt_base ' at /usr/include/llvm/ADT/APFloat.h:668:7, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1419:25, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1417:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:847:38, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:841:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1304:12, inlined from 'operator=' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Floating.h:26:7, inlined from 'InitGlobal.constprop' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:32: /usr/include/c++/12/bits/unique_ptr.h:670:15: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 670 | __ptr = pointer(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In function 'InitGlobal.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 48 into destination object 'B' of size 32 196 | Block B; | /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h: In function 'InitGlobalTemp.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:964:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 964 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalFnPtr' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10658:30, inlined from 'emitInitGlobalFnPtr' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10655:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10559:31: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10645:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10555:30: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10643:31, inlined from 'emitInitGlobalUint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10640:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10553:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10638:31, inlined from 'emitInitGlobalSint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10635:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10551:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10633:31, inlined from 'emitInitGlobalUint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10630:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10549:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 4 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10628:31, inlined from 'emitInitGlobalSint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10625:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10547:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 4 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10623:31, inlined from 'emitInitGlobalUint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10620:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10545:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 2 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10618:31, inlined from 'emitInitGlobalSint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10615:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10543:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 2 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10613:30, inlined from 'emitInitGlobalUint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10610:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10541:31: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10608:30, inlined from 'emitInitGlobalSint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10605:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10539:31: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10645:0: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobalBool': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | [2006/2013] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/AddUsing.cpp.o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/AnnotateHighlightings.cpp.o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/DumpAST.cpp.o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/DefineInline.cpp.o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/DefineOutline.cpp.o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/ExpandDeducedType.cpp.o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/ExpandMacro.cpp.o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/ExtractFunction.cpp.o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/ExtractVariable.cpp.o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/MemberwiseConstructor.cpp.o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/ObjCLocalizeStringLiteral.cpp.o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/ObjCMemberwiseInitializer.cpp.o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/PopulateSwitch.cpp.o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/RawStringLiteral.cpp.o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/RemoveUsingNamespace.cpp.o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/SpecialMembers.cpp.o tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/SwapIfBranches.cpp.o tools/extra/clangd/tool/CMakeFiles/clangd.dir/ClangdToolMain.cpp.o -o bin/clangd lib64/libclangdMain.a lib64/libclangDaemon.a lib64/libclangdSupport.a lib64/libclangPseudo.a lib64/libclangPseudoGrammar.a lib64/libclangTidyAndroidModule.a lib64/libclangTidyAbseilModule.a lib64/libclangTidyAlteraModule.a lib64/libclangTidyBoostModule.a lib64/libclangTidyCERTModule.a lib64/libclangTidyConcurrencyModule.a lib64/libclangTidyDarwinModule.a lib64/libclangTidyFuchsiaModule.a lib64/libclangTidyHICPPModule.a lib64/libclangTidyBugproneModule.a lib64/libclangTidyCppCoreGuidelinesModule.a lib64/libclangTidyGoogleModule.a lib64/libclangTidyLinuxKernelModule.a lib64/libclangTidyLLVMModule.a lib64/libclangTidyLLVMLibcModule.a lib64/libclangTidyMiscModule.a lib64/libclangIncludeCleaner.a lib64/libclangAnalysis.a lib64/libclangASTMatchers.a lib64/libclangAST.a lib64/libclangLex.a lib64/libclangBasic.a lib64/libclangTidyModernizeModule.a lib64/libclangTidyObjCModule.a lib64/libclangTidyOpenMPModule.a lib64/libclangTidyPerformanceModule.a lib64/libclangTidyPortabilityModule.a lib64/libclangTidyReadabilityModule.a lib64/libclangTidyZirconModule.a lib64/libclangTidyMPIModule.a lib64/libclangTidyUtils.a lib64/libclangTidy.a lib64/libclang-cpp.so.17 lib64/libclangdRemoteIndex.a lib64/libclangdSupport.a /usr/lib64/libLLVM-17.so && : /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h: In function 'InitGlobal.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In member function '__dt_base ', inlined from '__dt_base ' at /usr/include/llvm/ADT/APFloat.h:668:7, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1419:25, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1417:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:847:38, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:841:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1304:12, inlined from 'operator=' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Floating.h:26:7, inlined from 'InitGlobal.constprop' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:32: /usr/include/c++/12/bits/unique_ptr.h:670:15: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 670 | __ptr = pointer(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In function 'InitGlobal.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 48 into destination object 'B' of size 32 196 | Block B; | /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h: In function 'InitGlobalTemp.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:964:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 964 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In member function '__dt_base ', inlined from '__dt_base ' at /usr/include/llvm/ADT/APFloat.h:668:7, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1419:25, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1417:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:847:38, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:841:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1304:12, inlined from 'operator=' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Floating.h:26:7, inlined from 'InitGlobalTemp.constprop' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:964:32: /usr/include/c++/12/bits/unique_ptr.h:670:15: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 670 | __ptr = pointer(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In function 'InitGlobalTemp.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 48 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalFnPtr' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10658:30, inlined from 'emitInitGlobalFnPtr' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10655:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10559:31: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10645:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10555:30: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10643:31, inlined from 'emitInitGlobalUint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10640:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10553:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10638:31, inlined from 'emitInitGlobalSint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10635:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10551:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10633:31, inlined from 'emitInitGlobalUint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10630:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10549:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 4 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10628:31, inlined from 'emitInitGlobalSint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10625:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10547:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 4 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10623:31, inlined from 'emitInitGlobalUint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10620:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10545:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 2 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10618:31, inlined from 'emitInitGlobalSint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10615:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10543:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 2 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10613:30, inlined from 'emitInitGlobalUint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10610:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10541:31: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10608:30, inlined from 'emitInitGlobalSint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10605:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10539:31: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10645:0: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobalBool': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | [2007/2013] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/extra/clangd/index/dex/dexp/CMakeFiles/dexp.dir/Dexp.cpp.o -o bin/dexp lib64/libclangDaemon.a lib64/libclangdRemoteIndex.a lib64/libclangPseudo.a lib64/libclangPseudoGrammar.a lib64/libclangTidyAndroidModule.a lib64/libclangTidyAbseilModule.a lib64/libclangTidyAlteraModule.a lib64/libclangTidyBoostModule.a lib64/libclangTidyCERTModule.a lib64/libclangTidyConcurrencyModule.a lib64/libclangTidyDarwinModule.a lib64/libclangTidyFuchsiaModule.a lib64/libclangTidyHICPPModule.a lib64/libclangTidyBugproneModule.a lib64/libclangTidyCppCoreGuidelinesModule.a lib64/libclangTidyGoogleModule.a lib64/libclangTidyLinuxKernelModule.a lib64/libclangTidyLLVMModule.a lib64/libclangTidyLLVMLibcModule.a lib64/libclangTidyMiscModule.a lib64/libclangIncludeCleaner.a lib64/libclangAnalysis.a lib64/libclangASTMatchers.a lib64/libclangAST.a lib64/libclangLex.a lib64/libclangBasic.a lib64/libclangTidyModernizeModule.a lib64/libclangTidyObjCModule.a lib64/libclangTidyOpenMPModule.a lib64/libclangTidyPerformanceModule.a lib64/libclangTidyPortabilityModule.a lib64/libclangTidyReadabilityModule.a lib64/libclangTidyZirconModule.a lib64/libclangTidyMPIModule.a lib64/libclangTidyUtils.a lib64/libclangTidy.a lib64/libclang-cpp.so.17 lib64/libclangdSupport.a /usr/lib64/libLLVM-17.so && : /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h: In function 'InitGlobal.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In member function '__dt_base ', inlined from '__dt_base ' at /usr/include/llvm/ADT/APFloat.h:668:7, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1419:25, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1417:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:847:38, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:841:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1304:12, inlined from 'operator=' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Floating.h:26:7, inlined from 'InitGlobal.constprop' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:32: /usr/include/c++/12/bits/unique_ptr.h:670:15: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 670 | __ptr = pointer(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In function 'InitGlobal.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 48 into destination object 'B' of size 32 196 | Block B; | /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h: In function 'InitGlobalTemp.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:964:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 964 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalFnPtr' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10658:30, inlined from 'emitInitGlobalFnPtr' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10655:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10559:31: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10645:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10555:30: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10643:31, inlined from 'emitInitGlobalUint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10640:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10553:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10638:31, inlined from 'emitInitGlobalSint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10635:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10551:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10633:31, inlined from 'emitInitGlobalUint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10630:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10549:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 4 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10628:31, inlined from 'emitInitGlobalSint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10625:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10547:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 4 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10623:31, inlined from 'emitInitGlobalUint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10620:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10545:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 2 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10618:31, inlined from 'emitInitGlobalSint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10615:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10543:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 2 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10613:30, inlined from 'emitInitGlobalUint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10610:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10541:31: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10608:30, inlined from 'emitInitGlobalSint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10605:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10539:31: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10645:0: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobalBool': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | [2008/2013] : && /usr/bin/g++ -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-z,defs -Wl,-z,nodelete -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections -Wl,--version-script,/builddir/build/BUILD/clang-17.0.6.src/tools/libclang/libclang.map -shared -Wl,-soname,libclang.so.17 -o lib64/libclang.so.17.0.6 tools/libclang/CMakeFiles/libclang.dir/ARCMigrate.cpp.o tools/libclang/CMakeFiles/libclang.dir/BuildSystem.cpp.o tools/libclang/CMakeFiles/libclang.dir/CIndex.cpp.o tools/libclang/CMakeFiles/libclang.dir/CIndexCXX.cpp.o tools/libclang/CMakeFiles/libclang.dir/CIndexCodeCompletion.cpp.o tools/libclang/CMakeFiles/libclang.dir/CIndexDiagnostic.cpp.o tools/libclang/CMakeFiles/libclang.dir/CIndexHigh.cpp.o tools/libclang/CMakeFiles/libclang.dir/CIndexInclusionStack.cpp.o tools/libclang/CMakeFiles/libclang.dir/CIndexUSRs.cpp.o tools/libclang/CMakeFiles/libclang.dir/CIndexer.cpp.o tools/libclang/CMakeFiles/libclang.dir/CXComment.cpp.o tools/libclang/CMakeFiles/libclang.dir/CXCursor.cpp.o tools/libclang/CMakeFiles/libclang.dir/CXExtractAPI.cpp.o tools/libclang/CMakeFiles/libclang.dir/CXIndexDataConsumer.cpp.o tools/libclang/CMakeFiles/libclang.dir/CXCompilationDatabase.cpp.o tools/libclang/CMakeFiles/libclang.dir/CXLoadedDiagnostic.cpp.o tools/libclang/CMakeFiles/libclang.dir/CXSourceLocation.cpp.o tools/libclang/CMakeFiles/libclang.dir/CXStoredDiagnostic.cpp.o tools/libclang/CMakeFiles/libclang.dir/CXString.cpp.o tools/libclang/CMakeFiles/libclang.dir/CXType.cpp.o tools/libclang/CMakeFiles/libclang.dir/Indexing.cpp.o tools/libclang/CMakeFiles/libclang.dir/FatalErrorHandler.cpp.o tools/libclang/CMakeFiles/libclang.dir/Rewrite.cpp.o lib64/libclangAST.a lib64/libclangBasic.a lib64/libclangDriver.a lib64/libclangExtractAPI.a lib64/libclangFrontend.a lib64/libclangIndex.a lib64/libclangLex.a lib64/libclangRewrite.a lib64/libclangSema.a lib64/libclangSerialization.a lib64/libclangTooling.a lib64/libclangARCMigrate.a -ldl lib64/libclangFormat.a lib64/libclangToolingInclusions.a lib64/libclangToolingCore.a lib64/libclangFrontend.a lib64/libclangDriver.a lib64/libclangParse.a lib64/libclangRewrite.a lib64/libclangSerialization.a lib64/libclangSema.a lib64/libclangSupport.a lib64/libclangEdit.a lib64/libclangAnalysis.a lib64/libclangASTMatchers.a lib64/libclangAST.a lib64/libclangLex.a lib64/libclangBasic.a /usr/lib64/libLLVM-17.so && : /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h: In function 'InitGlobal.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In member function '__dt_base ', inlined from '__dt_base ' at /usr/include/llvm/ADT/APFloat.h:668:7, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1419:25, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1417:16, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:847:38, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:841:14, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1304:12, inlined from 'operator=' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Floating.h:26:7, inlined from 'InitGlobal.constprop' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:32: /usr/include/c++/12/bits/unique_ptr.h:670:15: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 670 | __ptr = pointer(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In function 'InitGlobal.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 48 into destination object 'B' of size 32 196 | Block B; | /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h: In function 'InitGlobalTemp.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:964:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 964 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In member function '__dt_base ', inlined from '__dt_base ' at /usr/include/llvm/ADT/APFloat.h:668:7, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1419:25, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1417:16, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:847:38, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:841:14, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1304:12, inlined from 'operator=' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Floating.h:26:7, inlined from 'InitGlobalTemp.constprop' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:964:32: /usr/include/c++/12/bits/unique_ptr.h:670:15: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 670 | __ptr = pointer(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In function 'InitGlobalTemp.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 48 into destination object 'B' of size 32 196 | Block B; | /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/DeclSpec.cpp: In function 'getFunction.isra': /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/DeclSpec.cpp:286: warning: argument 1 value '18446744073709551615' exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 286 | I.Fun.DeclsInPrototype = new NamedDecl *[DeclsInPrototype.size()]; | /usr/include/c++/12/new:128:26: note: in a call to allocation function 'operator new []' declared here 128 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc) | ^ In member function '__dt_base ', inlined from '__dt_base ' at /usr/include/llvm/ADT/APInt.h:168:3, inlined from '__dt_base ' at /usr/include/llvm/ADT/APSInt.h:23:0, inlined from 'checkOMPArraySectionConstantForReduction' at /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaOpenMP.cpp:19108:0, inlined from 'actOnOMPReductionKindClause.constprop' at /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaOpenMP.cpp:19485:0: /usr/include/llvm/ADT/APInt.h:170: warning: 'operator delete []' called on a pointer to an unallocated object '1B' [-Wfree-nonheap-object] 170 | delete[] U.pVal; | In member function '__dt_base ', inlined from '__dt_base ' at /usr/include/llvm/ADT/APInt.h:168:3, inlined from '__dt_base ' at /usr/include/llvm/ADT/APSInt.h:23:0, inlined from 'checkOMPArraySectionConstantForReduction' at /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaOpenMP.cpp:19127:0, inlined from 'actOnOMPReductionKindClause.constprop' at /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaOpenMP.cpp:19485:0: /usr/include/llvm/ADT/APInt.h:170: warning: 'operator delete []' called on a pointer to an unallocated object '1B' [-Wfree-nonheap-object] 170 | delete[] U.pVal; | In function 'InitGlobal', inlined from 'emitInitGlobalFnPtr' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10658:30, inlined from 'emitInitGlobalFnPtr' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10655:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10559:31, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:36, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:26: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10645:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10555:30, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:36, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:26: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10643:31, inlined from 'emitInitGlobalUint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10640:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10553:32, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:36, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:26: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10638:31, inlined from 'emitInitGlobalSint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10635:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10551:32, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:36, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:26: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10633:31, inlined from 'emitInitGlobalUint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10630:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10549:32, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:36, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:26: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 4 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10628:31, inlined from 'emitInitGlobalSint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10625:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10547:32, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:36, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:26: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 4 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10623:31, inlined from 'emitInitGlobalUint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10620:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10545:32, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:36, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:26: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 2 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10618:31, inlined from 'emitInitGlobalSint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10615:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10543:32, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:36, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:26: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 2 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10613:30, inlined from 'emitInitGlobalUint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10610:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10541:31, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:36, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:26: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10608:30, inlined from 'emitInitGlobalSint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10605:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10539:31, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:36, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:26: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | [2009/2013] /usr/bin/cmake -E cmake_symlink_library lib64/libclang.so.17.0.6 lib64/libclang.so.17 lib64/libclang.so && : [2010/2013] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/amdgpu-arch/CMakeFiles/amdgpu-arch.dir/AMDGPUArch.cpp.o tools/amdgpu-arch/CMakeFiles/amdgpu-arch.dir/AMDGPUArchByHSA.cpp.o tools/amdgpu-arch/CMakeFiles/amdgpu-arch.dir/AMDGPUArchByHIP.cpp.o -o bin/amdgpu-arch lib64/libclangBasic.a /usr/lib64/libLLVM-17.so && : [2011/2013] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/c-index-test/CMakeFiles/c-index-test.dir/c-index-test.c.o tools/c-index-test/CMakeFiles/c-index-test.dir/core_main.cpp.o -o bin/c-index-test lib64/libclang.so.17.0.6 lib64/libclangAST.a lib64/libclangBasic.a lib64/libclangCodeGen.a lib64/libclangFrontend.a lib64/libclangIndex.a lib64/libclangSerialization.a /usr/lib64/libxml2.so lib64/libclangFrontend.a lib64/libclangDriver.a lib64/libclangParse.a lib64/libclangSerialization.a lib64/libclangSema.a lib64/libclangAnalysis.a lib64/libclangASTMatchers.a lib64/libclangEdit.a lib64/libclangAST.a lib64/libclangSupport.a lib64/libclangFormat.a lib64/libclangToolingInclusions.a lib64/libclangToolingCore.a lib64/libclangRewrite.a lib64/libclangLex.a lib64/libclangBasic.a /usr/lib64/libLLVM-17.so && : /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h: In function 'InitGlobal.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ In member function '__dt_base ', inlined from '__dt_base ' at /usr/include/llvm/ADT/APFloat.h:668:7, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1419:25, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1417:16, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:847:38, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:841:14, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1304:12, inlined from 'operator=' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Floating.h:26:7, inlined from 'InitGlobal.constprop' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:32: /usr/include/c++/12/bits/unique_ptr.h:670:15: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 670 | __ptr = pointer(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In function 'InitGlobal.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 48 into destination object 'B' of size 32 196 | Block B; | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h: In function 'InitGlobalTemp.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:964:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 964 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ In member function '__dt_base ', inlined from '__dt_base ' at /usr/include/llvm/ADT/APFloat.h:668:7, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1419:25, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1417:16, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:847:38, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:841:14, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1304:12, inlined from 'operator=' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Floating.h:26:7, inlined from 'InitGlobalTemp.constprop' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:964:32: /usr/include/c++/12/bits/unique_ptr.h:670:15: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 670 | __ptr = pointer(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In function 'InitGlobalTemp.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 48 into destination object 'B' of size 32 196 | Block B; | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/DeclSpec.cpp: In function 'getFunction.isra': /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/DeclSpec.cpp:286: warning: argument 1 value '18446744073709551615' exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 286 | I.Fun.DeclsInPrototype = new NamedDecl *[DeclsInPrototype.size()]; | /usr/include/c++/12/new:128:26: note: in a call to allocation function 'operator new []' declared here 128 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc) | ^ In member function '__dt_base ', inlined from '__dt_base ' at /usr/include/llvm/ADT/APInt.h:168:3, inlined from '__dt_base ' at /usr/include/llvm/ADT/APSInt.h:23:0, inlined from 'checkOMPArraySectionConstantForReduction' at /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaOpenMP.cpp:19108:0, inlined from 'actOnOMPReductionKindClause.constprop' at /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaOpenMP.cpp:19485:0: /usr/include/llvm/ADT/APInt.h:170: warning: 'operator delete []' called on a pointer to an unallocated object '1B' [-Wfree-nonheap-object] 170 | delete[] U.pVal; | In member function '__dt_base ', inlined from '__dt_base ' at /usr/include/llvm/ADT/APInt.h:168:3, inlined from '__dt_base ' at /usr/include/llvm/ADT/APSInt.h:23:0, inlined from 'checkOMPArraySectionConstantForReduction' at /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaOpenMP.cpp:19127:0, inlined from 'actOnOMPReductionKindClause.constprop' at /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaOpenMP.cpp:19485:0: /usr/include/llvm/ADT/APInt.h:170: warning: 'operator delete []' called on a pointer to an unallocated object '1B' [-Wfree-nonheap-object] 170 | delete[] U.pVal; | In function 'InitGlobal', inlined from 'emitInitGlobalFnPtr' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10658:30, inlined from 'emitInitGlobalFnPtr' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10655:6, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10559:31, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:36, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:26: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ In function 'InitGlobal', inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10645:6, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10555:30, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:36, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:26: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ In function 'InitGlobal', inlined from 'emitInitGlobalUint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10643:31, inlined from 'emitInitGlobalUint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10640:6, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10553:32, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:36, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:26: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ In function 'InitGlobal', inlined from 'emitInitGlobalSint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10638:31, inlined from 'emitInitGlobalSint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10635:6, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10551:32, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:36, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:26: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ In function 'InitGlobal', inlined from 'emitInitGlobalUint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10633:31, inlined from 'emitInitGlobalUint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10630:6, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10549:32, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:36, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:26: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 4 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ In function 'InitGlobal', inlined from 'emitInitGlobalSint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10628:31, inlined from 'emitInitGlobalSint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10625:6, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10547:32, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:36, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:26: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 4 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ In function 'InitGlobal', inlined from 'emitInitGlobalUint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10623:31, inlined from 'emitInitGlobalUint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10620:6, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10545:32, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:36, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:26: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 2 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ In function 'InitGlobal', inlined from 'emitInitGlobalSint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10618:31, inlined from 'emitInitGlobalSint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10615:6, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10543:32, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:36, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:26: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 2 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ In function 'InitGlobal', inlined from 'emitInitGlobalUint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10613:30, inlined from 'emitInitGlobalUint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10610:6, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10541:31, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:36, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:26: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ In function 'InitGlobal', inlined from 'emitInitGlobalSint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10608:30, inlined from 'emitInitGlobalSint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10605:6, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10539:31, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:36, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:26: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ [2012/2013] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/c-arcmt-test/CMakeFiles/c-arcmt-test.dir/c-arcmt-test.c.o -o bin/c-arcmt-test lib64/libclang.so.17.0.6 /usr/lib64/libLLVM-17.so && : [2013/2013] : && /usr/bin/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -Wno-address -Wno-nonnull -Wno-maybe-uninitialized -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -pedantic -Wno-long-long -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-rpath-link,/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/./lib64 -Wl,--gc-sections tools/nvptx-arch/CMakeFiles/nvptx-arch.dir/NVPTXArch.cpp.o -o bin/nvptx-arch lib64/libclangBasic.a /usr/lib64/libLLVM-17.so && : + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.fG3hnd + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64 ++ dirname /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64 + cd clang-17.0.6.src + DESTDIR=/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64 + /usr/bin/cmake --install aarch64-OpenCloudOS-linux-gnu -- Install configuration: "RelWithDebInfo" -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/AST.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/ASTImporterSharedState.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/CXXRecordDeclDefinitionBits.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/ExprConcepts.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/ASTContext.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/CXXInheritance.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/AbstractBasicWriter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/DeclarationName.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/DeclContextInternals.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/CurrentSourceLocExprScope.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/ASTLambda.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/DeclBase.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/ASTConsumer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/AbstractTypeReader.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/TemplateBase.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/Stmt.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/StmtIterator.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/AbstractTypeWriter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/DependentDiagnostic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/ASTDiagnostic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/ASTConcept.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/OperationKinds.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/CharUnits.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/CommentBriefParser.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/Expr.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/BuiltinTypes.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/TypeVisitor.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/OpenMPClause.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/OSLog.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/StmtCXX.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/DeclTemplate.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/CommentDiagnostic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/ExprCXX.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/TypeLoc.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/LocInfoType.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/IgnoreExpr.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/TypeLocNodes.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/ParentMap.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/CommentParser.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/ASTImporter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/RecordLayout.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/DeclObjCCommon.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/DeclOpenMP.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/TextNodeDumper.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/CommentVisitor.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/Decl.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/CanonicalType.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/DeclObjC.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/RawCommentList.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/ODRHash.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/ASTDumperUtils.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/ParentMapContext.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/AttrIterator.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/Comment.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/OptionalDiagnostic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/TypeLocVisitor.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/LexicallyOrderedRecursiveASTVisitor.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/Attr.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/StmtObjC.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/SelectorLocationsKind.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/Availability.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/DependenceFlags.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/TemplateName.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/Type.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/GlobalDecl.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/ODRDiagsEmitter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/LambdaCapture.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/APValue.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/AbstractBasicReader.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/ASTTypeTraits.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/NonTrivialTypeVisitor.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/FormatString.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/ASTImporterLookupTable.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/JSONNodeDumper.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/PrettyDeclStackTrace.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/QualTypeNames.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/AttrVisitor.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/ASTUnresolvedSet.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/StmtOpenMP.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/PrettyPrinter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/CommentCommandTraits.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/RecursiveASTVisitor.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/Redeclarable.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/DeclLookups.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/BaseSubobject.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/NestedNameSpecifier.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/DeclFriend.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/ASTContextAllocate.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/TypeOrdering.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/ExternalASTSource.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/ComparisonCategories.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/Randstruct.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/NSAPI.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/UnresolvedSet.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/ExternalASTMerger.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/DataCollection.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/MangleNumberingContext.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/ExprObjC.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/ExprOpenMP.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/ASTNodeTraverser.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/VTableBuilder.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/CommentSema.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/StmtGraphTraits.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/DeclVisitor.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/ASTVector.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/ASTMutationListener.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/DeclGroup.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/Mangle.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/TemplateArgumentVisitor.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/ASTImportError.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/OperationKinds.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/DeclAccessPair.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/DeclCXX.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/EvaluatedExprVisitor.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/ComputeDependence.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/VTTBuilder.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/CommentLexer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/ASTFwd.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/StmtVisitor.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/ASTDumper.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/ASTStructuralEquivalence.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Rewrite -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Rewrite/Frontend -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Rewrite/Frontend/FixItRewriter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Rewrite/Frontend/FrontendActions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Rewrite/Frontend/Rewriters.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Rewrite/Frontend/ASTConsumers.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Rewrite/Core -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Rewrite/Core/Rewriter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Rewrite/Core/RewriteRope.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Rewrite/Core/RewriteBuffer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Rewrite/Core/HTMLRewrite.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Rewrite/Core/TokenRewriter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Rewrite/Core/DeltaTree.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Lex -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Lex/Lexer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Lex/MultipleIncludeOpt.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Lex/MacroArgs.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Lex/ModuleLoader.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Lex/Preprocessor.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Lex/ModuleMap.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Lex/HeaderMap.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Lex/LiteralSupport.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Lex/LexDiagnostic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Lex/PreprocessorOptions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Lex/Token.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Lex/Pragma.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Lex/TokenLexer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Lex/HeaderMapTypes.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Lex/PPConditionalDirectiveRecord.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Lex/MacroInfo.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Lex/DependencyDirectivesScanner.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Lex/TokenConcatenation.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Lex/PPCallbacks.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Lex/VariadicMacroSupport.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Lex/ExternalPreprocessorSource.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Lex/PreprocessingRecord.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Lex/ScratchBuffer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Lex/CodeCompletionHandler.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Lex/HeaderSearch.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Lex/PreprocessorLexer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Lex/DirectoryLookup.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Lex/HeaderSearchOptions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Analysis -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Analysis/BodyFarm.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Analysis/SelectorExtras.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Analysis/CodeInjector.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Analysis/Analyses -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Analysis/Analyses/ThreadSafetyOps.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Analysis/Analyses/CFGReachabilityAnalysis.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Analysis/Analyses/UnsafeBufferUsage.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Analysis/Analyses/PostOrderCFGView.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Analysis/Analyses/ThreadSafety.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Analysis/Analyses/IntervalPartition.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Analysis/Analyses/ThreadSafetyLogical.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Analysis/Analyses/UninitializedValues.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Analysis/Analyses/LiveVariables.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Analysis/Analyses/Consumed.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Analysis/Analyses/ThreadSafetyCommon.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Analysis/Analyses/Dominators.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Analysis/Analyses/ThreadSafetyTIL.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Analysis/Analyses/ExprMutationAnalyzer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Analysis/Analyses/ThreadSafetyTraverse.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Analysis/Analyses/UnsafeBufferUsageGadgets.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Analysis/Analyses/ThreadSafetyUtil.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Analysis/Analyses/CalledOnceCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Analysis/Analyses/ReachableCode.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Analysis/CallGraph.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Analysis/ConstructionContext.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Analysis/CFGStmtMap.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Analysis/IssueHash.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Analysis/CFG.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Analysis/Support -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Analysis/Support/BumpVector.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Analysis/CloneDetection.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Analysis/AnalysisDeclContext.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Analysis/AnyCall.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Analysis/RetainSummaryManager.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Analysis/MacroExpansionContext.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Analysis/DomainSpecific -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Analysis/DomainSpecific/CocoaConventions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Analysis/DomainSpecific/ObjCNoReturn.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Analysis/ProgramPoint.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Analysis/FlowSensitive -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Analysis/FlowSensitive/Solver.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Analysis/FlowSensitive/DataflowAnalysisContext.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Analysis/FlowSensitive/Logger.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Analysis/FlowSensitive/TypeErasedDataflowAnalysis.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Analysis/FlowSensitive/Transfer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Analysis/FlowSensitive/DataflowWorklist.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Analysis/FlowSensitive/DataflowValues.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Analysis/FlowSensitive/WatchedLiteralsSolver.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Analysis/FlowSensitive/ControlFlowContext.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Analysis/FlowSensitive/Arena.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Analysis/FlowSensitive/Value.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Analysis/FlowSensitive/Models -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Analysis/FlowSensitive/Models/ChromiumCheckModel.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Analysis/FlowSensitive/Models/UncheckedOptionalAccessModel.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Analysis/FlowSensitive/DataflowLattice.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Analysis/FlowSensitive/RecordOps.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Analysis/FlowSensitive/MapLattice.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Analysis/FlowSensitive/DebugSupport.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Analysis/FlowSensitive/NoopAnalysis.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Analysis/FlowSensitive/DataflowEnvironment.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Analysis/FlowSensitive/Formula.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Analysis/FlowSensitive/MatchSwitch.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Analysis/FlowSensitive/NoopLattice.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Analysis/FlowSensitive/CFGMatchSwitch.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Analysis/FlowSensitive/DataflowAnalysis.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Analysis/FlowSensitive/StorageLocation.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Analysis/PathDiagnostic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/DirectoryWatcher -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/DirectoryWatcher/DirectoryWatcher.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Driver -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Driver/Compilation.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Driver/SanitizerArgs.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Driver/InputInfo.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Driver/Job.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Driver/Tool.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Driver/Multilib.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Driver/Options.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Driver/Action.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Driver/DriverDiagnostic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Driver/MultilibBuilder.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Driver/Types.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Driver/Util.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Driver/XRayArgs.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Driver/Phases.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Driver/Types.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Driver/ToolChain.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Driver/Distro.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Driver/Driver.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Driver/OffloadBundler.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Driver/OptionUtils.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Edit -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Edit/EditsReceiver.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Edit/EditedSource.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Edit/Rewriters.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Edit/FileOffset.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Edit/Commit.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Index -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Index/IndexingOptions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Index/USRGeneration.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Index/DeclOccurrence.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Index/CommentToXML.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Index/IndexDataConsumer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Index/IndexSymbol.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Index/IndexingAction.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Sema -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Sema/EnterExpressionEvaluationContext.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Sema/ExternalSemaSource.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Sema/SemaConcept.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Sema/Lookup.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Sema/Ownership.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Sema/SemaLambda.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Sema/Initialization.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Sema/ParsedAttr.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Sema/IdentifierResolver.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Sema/SemaConsumer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Sema/CodeCompleteOptions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Sema/CXXFieldCollector.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Sema/TemplateInstCallback.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Sema/ParsedTemplate.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Sema/Sema.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Sema/Designator.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Sema/SemaInternal.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Sema/RISCVIntrinsicManager.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Sema/Overload.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Sema/Template.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Sema/DeclSpec.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Sema/MultiplexExternalSemaSource.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Sema/HLSLExternalSemaSource.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Sema/SemaFixItUtils.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Sema/CodeCompleteConsumer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Sema/TemplateDeduction.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Sema/CleanupInfo.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Sema/AnalysisBasedWarnings.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Sema/ScopeInfo.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Sema/TypoCorrection.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Sema/ObjCMethodList.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Sema/Weak.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Sema/Scope.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Sema/SemaDiagnostic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Sema/DelayedDiagnostic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/CodeGen -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/CodeGen/CodeGenABITypes.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/CodeGen/ConstantInitBuilder.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/CodeGen/CGFunctionInfo.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/CodeGen/ObjectFilePCHContainerOperations.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/CodeGen/SwiftCallingConv.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/CodeGen/BackendUtil.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/CodeGen/ConstantInitFuture.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/CodeGen/CodeGenAction.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/CodeGen/ModuleBuilder.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Frontend -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Frontend/SerializedDiagnostics.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Frontend/FrontendDiagnostic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Frontend/SerializedDiagnosticReader.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Frontend/PrecompiledPreamble.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Frontend/MigratorOptions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Frontend/FrontendActions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Frontend/ASTUnit.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Frontend/CommandLineSourceLoc.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Frontend/PreprocessorOutputOptions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Frontend/PCHContainerOperations.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Frontend/MultiplexConsumer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Frontend/CompilerInvocation.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Frontend/SARIFDiagnosticPrinter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Frontend/TextDiagnosticPrinter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Frontend/CompilerInstance.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Frontend/TextDiagnosticBuffer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Frontend/DiagnosticRenderer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Frontend/Utils.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Frontend/FrontendOptions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Frontend/LogDiagnosticPrinter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Frontend/SerializedDiagnosticPrinter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Frontend/ChainedDiagnosticConsumer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Frontend/ASTConsumers.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Frontend/SARIFDiagnostic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Frontend/TextDiagnostic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Frontend/LayoutOverrideSource.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Frontend/FrontendPluginRegistry.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Frontend/DependencyOutputOptions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Frontend/VerifyDiagnosticConsumer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Frontend/FrontendAction.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/ABI.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/LangStandards.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/DiagnosticRefactoring.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/BuiltinsX86_64.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/BuiltinsX86.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/PlistSupport.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/Version.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/DiagnosticAnalysis.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/OperatorPrecedence.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/Lambda.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/TargetInfo.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/OperatorKinds.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/BuiltinsPPC.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/CLWarnings.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/MacroBuilder.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/BuiltinsNVPTX.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/LangOptions.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/Visibility.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/BuiltinsSVE.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/BitmaskEnum.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/OpenCLOptions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/TargetCXXABI.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/ObjCRuntime.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/DiagnosticCategories.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/TransformTypeTraits.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/IdentifierTable.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/SanitizerSpecialCaseList.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/BuiltinsSME.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/XRayLists.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/HeaderInclude.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/BuiltinsVE.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/PrettyStackTrace.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/OpenMPKinds.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/MakeSupport.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/ProfileList.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/AddressSpaces.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/AllDiagnostics.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/BuiltinsAMDGPU.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/TypeTraits.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/FPOptions.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/Linkage.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/CommentOptions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/BuiltinsAArch64NeonSVEBridge_cg.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/ExceptionSpecificationType.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/AArch64SVEACLETypes.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/Sarif.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/BuiltinsWebAssembly.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/HLSLRuntime.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/XRayInstr.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/Thunk.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/AlignedAllocation.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/DiagnosticParse.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/Builtins.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/DiagnosticError.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/CapturedStmt.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/DirectoryEntry.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/DiagnosticOptions.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/ParsedAttrInfo.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/RISCVVTypes.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/BuiltinsMips.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/PPCTypes.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/DarwinSDKInfo.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/BuiltinsAArch64.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/DiagnosticCrossTU.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/PragmaKinds.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/BuiltinHeaders.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/BuiltinsRISCV.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/TokenKinds.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/AttrKinds.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/Specifiers.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/FileSystemOptions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/ExpressionTraits.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/CodeGenOptions.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/BuiltinsHexagonDep.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/TokenKinds.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/BuiltinsBPF.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/FileManager.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/TemplateKinds.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/BuiltinsAArch64NeonSVEBridge.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/OpenCLExtensionTypes.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/OpenMPKinds.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/DiagnosticSerialization.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/DiagnosticAST.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/PartialDiagnostic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/BuiltinsLoongArch.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/SourceManagerInternals.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/Builtins.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/LangStandard.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/NoSanitizeList.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/TargetBuiltins.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/CodeGenOptions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/Module.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/DiagnosticLex.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/BuiltinsRISCVVector.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/DiagnosticDriver.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/LLVM.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/BuiltinsVEVL.gen.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/CustomizableOptional.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/Diagnostic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/FileSystemStatCache.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/DiagnosticOptions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/Stack.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/OperatorKinds.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/BuiltinsXCore.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/DiagnosticSema.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/SourceLocation.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/OpenCLExtensions.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/BuiltinsHexagon.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/LangOptions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/SyncScope.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/BuiltinsHexagonMapCustomDep.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/BuiltinsARM.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/Sanitizers.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/JsonSupport.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/AttributeCommonInfo.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/BuiltinsSystemZ.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/TargetID.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/Features.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/Cuda.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/FileEntry.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/OpenCLImageTypes.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/WebAssemblyReferenceTypes.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/CharInfo.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/AttrSubjectMatchRules.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/Sanitizers.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/TargetCXXABI.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/SourceManager.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/DiagnosticIDs.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/Attributes.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/MSP430Target.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/TargetOptions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/DiagnosticComment.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/BuiltinsNEON.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/DiagnosticFrontend.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/CrossTU -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/CrossTU/CrossTranslationUnit.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/CrossTU/CrossTUDiagnostic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/ARCMigrate -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/ARCMigrate/ARCMT.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/ARCMigrate/ARCMTActions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/ARCMigrate/FileRemapper.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Testing -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Testing/TestAST.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Testing/CommandLineArgs.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Testing/TestClangConfig.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/APINotes -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/APINotes/APINotesYAMLCompiler.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/APINotes/Types.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Support -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Support/RISCVVIntrinsicUtils.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/FrontendTool -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/FrontendTool/Utils.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Config -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/ExtractAPI -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/ExtractAPI/TypedefUnderlyingTypeResolver.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/ExtractAPI/ExtractAPIActionBase.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/ExtractAPI/AvailabilityInfo.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/ExtractAPI/APIIgnoresList.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/ExtractAPI/FrontendActions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/ExtractAPI/API.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/ExtractAPI/ExtractAPIVisitor.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/ExtractAPI/Serialization -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/ExtractAPI/Serialization/SymbolGraphSerializer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/ExtractAPI/Serialization/SerializerBase.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/ExtractAPI/DeclarationFragments.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Interpreter -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Interpreter/PartialTranslationUnit.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Interpreter/Value.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Interpreter/Interpreter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Parse -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Parse/LoopHint.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Parse/ParseAST.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Parse/ParseDiagnostic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Parse/RAIIObjectsForParser.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Parse/Parser.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/StaticAnalyzer -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Frontend -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Frontend/ModelConsumer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Frontend/FrontendActions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Frontend/AnalysisConsumer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Frontend/AnalyzerHelpFlags.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Frontend/CheckerRegistry.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/AnalyzerOptions.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/CheckerRegistryData.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/AnalyzerOptions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/Analyses.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/SValVisitor.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/SMTConv.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/CallDescription.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/Store.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/APSIntType.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/SymExpr.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/DynamicExtent.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/BlockCounter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/StoreRef.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerHelpers.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/DynamicType.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/Environment.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/DynamicTypeInfo.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/SMTConstraintManager.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/WorkList.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/DynamicCastInfo.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/ConstraintManager.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/SummaryManager.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/LoopUnrolling.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/FunctionSummary.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/BasicValueFactory.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/LoopWidening.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/SimpleConstraintManager.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/SValBuilder.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/Regions.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/RangedConstraintManager.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/PathDiagnosticConsumers.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/Checker.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/BugReporter -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/BugReporter/BugReporterVisitors.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/BugReporter/BugType.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/BugReporter/CommonBugCategories.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Core/CheckerManager.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Checkers -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Checkers/MPIFunctionClassifier.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Checkers/BuiltinCheckerRegistration.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Checkers/SValExplainer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Checkers/Taint.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Serialization -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Serialization/TypeBitCodes.def -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Serialization/ASTWriter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Serialization/ModuleFile.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Serialization/ASTReader.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Serialization/SourceLocationEncoding.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Serialization/PCHContainerOperations.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Serialization/InMemoryModuleCache.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Serialization/ASTDeserializationListener.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Serialization/GlobalModuleIndex.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Serialization/ModuleFileExtension.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Serialization/ContinuousRangeMap.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Serialization/SerializationDiagnostic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Serialization/ASTRecordWriter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Serialization/ModuleManager.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Serialization/ASTBitCodes.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Serialization/ASTRecordReader.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Format -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Format/Format.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/IndexSerialization -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/IndexSerialization/SerializablePathCollection.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/ASTMatchers -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/ASTMatchers/Dynamic -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/ASTMatchers/Dynamic/Registry.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/ASTMatchers/Dynamic/Parser.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/ASTMatchers/Dynamic/VariantValue.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/ASTMatchers/Dynamic/Diagnostics.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/ASTMatchers/ASTMatchFinder.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/ASTMatchers/ASTMatchersMacros.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/ASTMatchers/GtestMatchers.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/ASTMatchers/ASTMatchersInternal.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/ASTMatchers/ASTMatchers.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Tooling -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Tooling/ArgumentsAdjusters.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Tooling/ASTDiff -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Tooling/ASTDiff/ASTDiffInternal.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Tooling/ASTDiff/ASTDiff.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Tooling/FixIt.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Tooling/CompilationDatabasePluginRegistry.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Tooling/NodeIntrospection.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Tooling/DependencyScanning -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Tooling/DependencyScanning/DependencyScanningTool.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Tooling/DependencyScanning/DependencyScanningWorker.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Tooling/DependencyScanning/DependencyScanningService.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Tooling/DependencyScanning/DependencyScanningFilesystem.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Tooling/DependencyScanning/ModuleDepCollector.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Tooling/AllTUsExecution.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Tooling/FileMatchTrie.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Tooling/Refactoring.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Tooling/RefactoringCallbacks.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Tooling/CommonOptionsParser.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Tooling/JSONCompilationDatabase.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Tooling/Transformer -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Tooling/Transformer/Transformer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Tooling/Transformer/SourceCode.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Tooling/Transformer/RewriteRule.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Tooling/Transformer/RangeSelector.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Tooling/Transformer/SourceCodeBuilders.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Tooling/Transformer/Stencil.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Tooling/Transformer/Parsing.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Tooling/Transformer/MatchConsumer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Tooling/Core -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Tooling/Core/Diagnostic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Tooling/Core/Replacement.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Tooling/Execution.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Tooling/ToolExecutorPluginRegistry.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Tooling/ReplacementsYaml.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Tooling/Inclusions -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Tooling/Inclusions/HeaderIncludes.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Tooling/Inclusions/StandardLibrary.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Tooling/Inclusions/HeaderAnalysis.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Tooling/Inclusions/IncludeStyle.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Tooling/Refactoring -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Tooling/Refactoring/Lookup.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Tooling/Refactoring/ASTSelection.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Tooling/Refactoring/AtomicChange.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Tooling/Refactoring/RefactoringActionRulesInternal.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Tooling/Refactoring/Extract -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Tooling/Refactoring/Extract/SourceExtraction.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Tooling/Refactoring/Extract/Extract.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Tooling/Refactoring/RefactoringActionRuleRequirements.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Tooling/Refactoring/RefactoringActionRules.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Tooling/Refactoring/RefactoringAction.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Tooling/Refactoring/RefactoringActionRule.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Tooling/Refactoring/RefactoringOption.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Tooling/Refactoring/RefactoringRuleContext.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Tooling/Refactoring/RefactoringOptions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Tooling/Refactoring/RefactoringResultConsumer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Tooling/Refactoring/RefactoringOptionVisitor.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Tooling/Refactoring/Rename -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Tooling/Refactoring/Rename/USRFindingAction.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Tooling/Refactoring/Rename/USRFinder.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Tooling/Refactoring/Rename/SymbolName.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Tooling/Refactoring/Rename/SymbolOccurrences.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Tooling/Refactoring/Rename/USRLocFinder.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Tooling/Refactoring/Rename/RenamingAction.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Tooling/Refactoring/RecursiveSymbolVisitor.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Tooling/Refactoring/RefactoringDiagnostic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Tooling/Syntax -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Tooling/Syntax/Tree.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Tooling/Syntax/Tokens.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Tooling/Syntax/Mutations.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Tooling/Syntax/TokenBufferTokenManager.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Tooling/Syntax/TokenManager.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Tooling/Syntax/Nodes.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Tooling/Syntax/BuildTree.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Tooling/CompilationDatabase.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Tooling/DiagnosticsYaml.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Tooling/Tooling.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Tooling/StandaloneExecution.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-c -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-c/Rewrite.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-c/FatalErrorHandler.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-c/CXErrorCode.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-c/CXFile.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-c/Index.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-c/CXString.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-c/CXCompilationDatabase.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-c/BuildSystem.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-c/CXSourceLocation.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-c/Platform.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-c/Documentation.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-c/ExternC.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-c/CXDiagnostic.h -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/DeclNodes.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/TypeNodes.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/CommentCommandInfo.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/CommentNodes.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/AbstractTypeReader.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/AttrVisitor.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/AttrTextNodeDump.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/AttrNodeTraverse.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/AbstractTypeWriter.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/CommentHTMLNamedCharacterReferences.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/CommentCommandList.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/AbstractBasicReader.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/Attrs.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/StmtNodes.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/AttrImpl.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/CommentHTMLTagsProperties.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/AbstractBasicWriter.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/CommentHTMLTags.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/AST/StmtDataCollectors.inc -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Driver -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Driver/Options.inc -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Sema -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Sema/AttrParsedAttrList.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Sema/AttrTemplateInstantiate.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Sema/AttrSpellingListIndex.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Sema/AttrParsedAttrKinds.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Sema/AttrParsedAttrImpl.inc -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/DiagnosticSemaKinds.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/AttrSubMatchRulesList.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/arm_cde_builtin_aliases.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/arm_cde_builtin_cg.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/arm_fp16.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/DiagnosticSerializationKinds.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/arm_sve_builtins.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/riscv_sifive_vector_builtins.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/DiagnosticCrossTUKinds.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/riscv_vector_builtins.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/Version.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/DiagnosticGroups.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/arm_sve_builtin_cg.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/DiagnosticLexKinds.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/DiagnosticCommentKinds.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/arm_mve_builtin_aliases.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/riscv_vector_builtin_sema.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/AttrTokenKinds.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/DiagnosticCommonKinds.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/DiagnosticAnalysisKinds.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/arm_neon.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/arm_mve_builtin_sema.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/arm_mve_builtins.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/riscv_vector_builtin_cg.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/arm_sme_sema_rangechecks.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/DiagnosticDriverKinds.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/arm_cde_builtin_sema.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/DiagnosticASTKinds.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/arm_sve_typeflags.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/DiagnosticRefactoringKinds.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/AttrList.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/riscv_sifive_vector_builtin_cg.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/arm_sme_builtin_cg.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/riscv_sifive_vector_builtin_sema.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/DiagnosticIndexName.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/AttrHasAttributeImpl.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/DiagnosticFrontendKinds.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/arm_sme_builtins.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/arm_sve_sema_rangechecks.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/arm_mve_builtin_cg.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/DiagnosticParseKinds.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Basic/arm_cde_builtins.inc -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Config -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Config/config.h -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Parse -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Parse/AttrSubMatchRulesParserStringSwitches.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Parse/AttrParserStringSwitches.inc -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/StaticAnalyzer -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Checkers -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/StaticAnalyzer/Checkers/Checkers.inc -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Serialization -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Serialization/AttrPCHWrite.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Serialization/AttrPCHRead.inc -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Tooling -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Tooling/NodeIntrospection.inc -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Tooling/Syntax -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Tooling/Syntax/NodeClasses.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang/Tooling/Syntax/Nodes.inc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/clang/bash-autocomplete.sh -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/builtins.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/float.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/inttypes.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/iso646.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/limits.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/module.modulemap -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/stdalign.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/stdarg.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/stdatomic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/stdbool.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/stddef.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/__stddef_max_align_t.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/stdint.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/stdnoreturn.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/tgmath.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/unwind.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/varargs.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/arm_acle.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/arm_cmse.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/armintr.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/arm64intr.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/arm_neon_sve_bridge.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/__clang_cuda_builtin_vars.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/__clang_cuda_math.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/__clang_cuda_cmath.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/__clang_cuda_complex_builtins.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/__clang_cuda_device_functions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/__clang_cuda_intrinsics.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/__clang_cuda_texture_intrinsics.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/__clang_cuda_libdevice_declares.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/__clang_cuda_math_forward_declares.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/__clang_cuda_runtime_wrapper.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/hexagon_circ_brev_intrinsics.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/hexagon_protos.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/hexagon_types.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/hvx_hexagon_protos.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/__clang_hip_libdevice_declares.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/__clang_hip_cmath.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/__clang_hip_math.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/__clang_hip_stdlib.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/__clang_hip_runtime_wrapper.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/larchintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/msa.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/opencl-c.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/opencl-c-base.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/altivec.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/htmintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/htmxlintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/riscv_ntlh.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/sifive_vector.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/s390intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/vecintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/velintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/velintrin_gen.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/velintrin_approx.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/adxintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/ammintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/amxcomplexintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/amxfp16intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/amxintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/avx2intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/avx512bf16intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/avx512bitalgintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/avx512bwintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/avx512cdintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/avx512dqintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/avx512erintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/avx512fintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/avx512fp16intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/avx512ifmaintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/avx512ifmavlintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/avx512pfintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/avx512vbmi2intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/avx512vbmiintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/avx512vbmivlintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/avx512vlbf16intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/avx512vlbitalgintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/avx512vlbwintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/avx512vlcdintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/avx512vldqintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/avx512vlfp16intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/avx512vlintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/avx512vlvbmi2intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/avx512vlvnniintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/avx512vlvp2intersectintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/avx512vnniintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/avx512vp2intersectintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/avx512vpopcntdqintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/avx512vpopcntdqvlintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/avxifmaintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/avxintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/avxneconvertintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/avxvnniint16intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/avxvnniint8intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/avxvnniintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/bmi2intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/bmiintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/cetintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/cldemoteintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/clflushoptintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/clwbintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/clzerointrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/cmpccxaddintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/crc32intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/emmintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/enqcmdintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/f16cintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/fma4intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/fmaintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/fxsrintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/gfniintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/hresetintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/ia32intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/immintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/invpcidintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/keylockerintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/lwpintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/lzcntintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/mm3dnow.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/mmintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/movdirintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/mwaitxintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/nmmintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/pconfigintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/pkuintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/pmmintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/popcntintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/prfchiintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/prfchwintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/ptwriteintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/raointintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/rdpruintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/rdseedintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/rtmintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/serializeintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/sgxintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/sha512intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/shaintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/sm3intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/sm4intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/smmintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/tbmintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/tmmintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/tsxldtrkintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/uintrintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/vaesintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/vpclmulqdqintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/waitpkgintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/wbnoinvdintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/__wmmintrin_aes.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/wmmintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/__wmmintrin_pclmul.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/x86gprintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/x86intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/xmmintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/xopintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/xsavecintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/xsaveintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/xsaveoptintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/xsavesintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/xtestintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/cet.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/cpuid.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/wasm_simd128.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/vadefs.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/mm_malloc.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/arm_neon.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/arm_fp16.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/arm_sve.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/arm_sme_draft_spec_subject_to_change.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/arm_bf16.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/arm_mve.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/arm_cde.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/riscv_vector.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/cuda_wrappers/algorithm -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/cuda_wrappers/cmath -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/cuda_wrappers/complex -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/cuda_wrappers/new -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/cuda_wrappers/bits/shared_ptr_base.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/cuda_wrappers/bits/basic_string.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/cuda_wrappers/bits/basic_string.tcc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/ppc_wrappers/mmintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/ppc_wrappers/xmmintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/ppc_wrappers/mm_malloc.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/ppc_wrappers/emmintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/ppc_wrappers/pmmintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/ppc_wrappers/tmmintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/ppc_wrappers/smmintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/ppc_wrappers/bmiintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/ppc_wrappers/bmi2intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/ppc_wrappers/immintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/ppc_wrappers/x86intrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/ppc_wrappers/x86gprintrin.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/llvm_libc_wrappers/stdio.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/llvm_libc_wrappers/stdlib.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/llvm_libc_wrappers/string.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/llvm_libc_wrappers/ctype.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/llvm_libc_wrappers/inttypes.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/openmp_wrappers/math.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/openmp_wrappers/cmath -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/openmp_wrappers/complex.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/openmp_wrappers/complex -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/openmp_wrappers/__clang_openmp_device_functions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/openmp_wrappers/complex_cmath.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/openmp_wrappers/new -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/bin/diagtool -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/bin/clang-17 -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/bin/clang -- Creating clang++ -- Creating clang-cl -- Creating clang-cpp -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/bin/clang-format -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/clang/clang-format-bbedit.applescript -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/clang/clang-format-diff.py -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/clang/clang-format-sublime.py -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/clang/clang-format.el -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/clang/clang-format.py -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/bin/git-clang-format -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/bin/clang-linker-wrapper -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/bin/clang-offload-packager -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/bin/clang-offload-bundler -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/bin/clang-scan-deps -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/bin/clang-repl -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/bin/c-index-test -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/bin/clang-rename -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/clang/clang-rename.py -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/clang/clang-rename.el -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/bin/clang-refactor -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/libclang-cpp.so.17 -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/libclang-cpp.so -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/bin/clang-check -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/bin/clang-extdef-mapping -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/bin/scan-build -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/libexec/ccc-analyzer -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/libexec/c++-analyzer -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/man/man1/scan-build.1 -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/scan-build/scanview.css -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/scan-build/sorttable.js -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/bin/analyze-build -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/bin/intercept-build -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/bin/scan-build-py -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/libexec/analyze-c++ -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/libexec/analyze-cc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/libexec/intercept-c++ -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/libexec/intercept-cc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/libscanbuild/__init__.py -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/libscanbuild/analyze.py -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/libscanbuild/arguments.py -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/libscanbuild/clang.py -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/libscanbuild/compilation.py -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/libscanbuild/intercept.py -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/libscanbuild/report.py -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/libscanbuild/shell.py -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/libscanbuild/resources/scanview.css -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/libscanbuild/resources/selectable.js -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/libscanbuild/resources/sorttable.js -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/libear/__init__.py -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/libear/config.h.in -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/libear/ear.c -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/bin/scan-view -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/scan-view/ScanView.py -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/scan-view/Reporter.py -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/scan-view/startfile.py -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/scan-view/bugcatcher.ico -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/bin/clang-apply-replacements -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/bin/clang-reorder-fields -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/bin/modularize -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/bin/modularize -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/bin/clang-tidy -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/clang/clang-tidy-diff.py -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/bin/run-clang-tidy -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/. -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./tool -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./tool/ClangTidyMain.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./bugprone -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./bugprone/StandaloneEmptyCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./bugprone/SuspiciousMemoryComparisonCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./bugprone/UndefinedMemoryManipulationCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./bugprone/UniquePtrArrayMismatchCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./bugprone/InaccurateEraseCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./bugprone/MisplacedWideningCastCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./bugprone/StringLiteralWithEmbeddedNulCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./bugprone/SuspiciousStringCompareCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./bugprone/MultipleNewInOneExpressionCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./bugprone/BadSignalToKillThreadCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./bugprone/UncheckedOptionalAccessCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./bugprone/LambdaFunctionNameCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./bugprone/SignalHandlerCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./bugprone/TooSmallLoopVariableCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./bugprone/VirtualNearMissCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./bugprone/MacroParenthesesCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./bugprone/SuspiciousEnumUsageCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./bugprone/MisplacedPointerArithmeticInAllocCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./bugprone/CopyConstructorInitCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./bugprone/SharedPtrArrayMismatchCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./bugprone/ExceptionEscapeCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./bugprone/NotNullTerminatedResultCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./bugprone/AssignmentInIfConditionCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./bugprone/MisplacedOperatorInStrlenInAllocCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./bugprone/MultipleStatementMacroCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./bugprone/BranchCloneCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./bugprone/RedundantBranchConditionCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./bugprone/StringIntegerAssignmentCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./bugprone/SmartPtrArrayMismatchCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./bugprone/PosixReturnCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./bugprone/ImplicitWideningOfMultiplicationResultCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./bugprone/DynamicStaticInitializersCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./bugprone/SuspiciousIncludeCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./bugprone/UndelegatedConstructorCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./bugprone/StringviewNullptrCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./bugprone/UnhandledExceptionAtNewCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./bugprone/SuspiciousReallocUsageCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./bugprone/ForwardingReferenceOverloadCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./bugprone/ArgumentCommentCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./bugprone/NonZeroEnumToBoolConversionCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./bugprone/UnhandledSelfAssignmentCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./bugprone/IntegerDivisionCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./bugprone/FoldInitTypeCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./bugprone/UnusedReturnValueCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./bugprone/SuspiciousMemsetUsageCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./bugprone/SuspiciousSemicolonCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./bugprone/TerminatingContinueCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./bugprone/UnusedRaiiCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./bugprone/EasilySwappableParametersCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./bugprone/SwappedArgumentsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./bugprone/UnsafeFunctionsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./bugprone/InfiniteLoopCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./bugprone/SignedCharMisuseCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./bugprone/EmptyCatchCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./bugprone/UseAfterMoveCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./bugprone/BoolPointerImplicitConversionCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./bugprone/ForwardDeclarationNamespaceCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./bugprone/DanglingHandleCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./bugprone/SwitchMissingDefaultCaseCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./bugprone/ParentVirtualCallCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./bugprone/ReservedIdentifierCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./bugprone/SuspiciousMissingCommaCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./bugprone/SizeofContainerCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./bugprone/IncorrectRoundingsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./bugprone/MoveForwardingReferenceCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./bugprone/ThrowKeywordMissingCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./bugprone/MacroRepeatedSideEffectsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./bugprone/NoEscapeCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./bugprone/SizeofExpressionCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./bugprone/StringConstructorCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./bugprone/AssertSideEffectCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./bugprone/SpuriouslyWakeUpFunctionsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./zircon -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./zircon/TemporaryObjectsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./boost -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./boost/UseToStringCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./modernize -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./modernize/ReturnBracedInitListCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./modernize/UseEqualsDeleteCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./modernize/ReplaceAutoPtrCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./modernize/MakeSharedCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./modernize/UseNullptrCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./modernize/AvoidCArraysCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./modernize/UnaryStaticAssertCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./modernize/UseTrailingReturnTypeCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./modernize/UseTransparentFunctorsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./modernize/IntegralLiteralExpressionMatcher.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./modernize/UseUncaughtExceptionsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./modernize/MacroToEnumCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./modernize/RedundantVoidArgCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./modernize/ShrinkToFitCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./modernize/UseEqualsDefaultCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./modernize/UseAutoCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./modernize/MakeSmartPtrCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./modernize/UseNoexceptCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./modernize/DeprecatedIosBaseAliasesCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./modernize/DeprecatedHeadersCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./modernize/LoopConvertCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./modernize/UseOverrideCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./modernize/TypeTraitsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./modernize/ConcatNestedNamespacesCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./modernize/LoopConvertUtils.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./modernize/PassByValueCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./modernize/UseDefaultMemberInitCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./modernize/UseEmplaceCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./modernize/UseBoolLiteralsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./modernize/ReplaceRandomShuffleCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./modernize/MakeUniqueCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./modernize/UseStdPrintCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./modernize/AvoidBindCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./modernize/UseNodiscardCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./modernize/ReplaceDisallowCopyAndAssignMacroCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./modernize/RawStringLiteralCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./modernize/UseUsingCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./hicpp -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./hicpp/ExceptionBaseclassCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./hicpp/SignedBitwiseCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./hicpp/NoAssemblerCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./hicpp/MultiwayPathsCoveredCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./ExpandModularHeadersPPCallbacks.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./portability -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./portability/RestrictSystemIncludesCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./portability/StdAllocatorConstCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./portability/SIMDIntrinsicsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./objc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./objc/NSInvocationArgumentLifetimeCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./objc/PropertyDeclarationCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./objc/SuperSelfCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./objc/MissingHashCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./objc/NSDateFormatterCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./objc/ForbiddenSubclassingCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./objc/AssertEquals.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./objc/AvoidNSErrorInitCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./objc/DeallocInCategoryCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./cert -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./cert/VariadicFunctionDefCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./cert/MutatingCopyCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./cert/NonTrivialTypesLibcMemoryCallsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./cert/DefaultOperatorNewAlignmentCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./cert/DontModifyStdNamespaceCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./cert/ProperlySeededRandomGeneratorCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./cert/FloatLoopCounter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./cert/StrToNumCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./cert/ThrownExceptionTypeCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./cert/LimitedRandomnessCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./cert/CommandProcessorCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./cert/PostfixOperatorCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./cert/SetLongJmpCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./cert/StaticObjectExceptionCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./ClangTidyModule.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./openmp -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./openmp/ExceptionEscapeCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./openmp/UseDefaultNoneCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./abseil -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./abseil/DurationFactoryScaleCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./abseil/DurationConversionCastCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./abseil/TimeSubtractionCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./abseil/FasterStrsplitDelimiterCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./abseil/DurationRewriter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./abseil/DurationFactoryFloatCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./abseil/RedundantStrcatCallsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./abseil/StringFindStartswithCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./abseil/DurationDivisionCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./abseil/AbseilMatcher.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./abseil/CleanupCtadCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./abseil/StrCatAppendCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./abseil/TimeComparisonCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./abseil/DurationAdditionCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./abseil/NoInternalDependenciesCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./abseil/StringFindStrContainsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./abseil/NoNamespaceCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./abseil/DurationUnnecessaryConversionCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./abseil/UpgradeDurationConversionsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./abseil/DurationComparisonCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./abseil/DurationSubtractionCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./FileExtensionsSet.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./llvmlibc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./llvmlibc/CalleeNamespaceCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./llvmlibc/ImplementationInNamespaceCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./llvmlibc/RestrictSystemLibcHeadersCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./llvmlibc/InlineFunctionDeclCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./performance -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./performance/UnnecessaryValueParamCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./performance/NoAutomaticMoveCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./performance/NoexceptFunctionBaseCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./performance/TriviallyDestructibleCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./performance/TypePromotionInMathFnCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./performance/MoveConstructorInitCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./performance/UnnecessaryCopyInitialization.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./performance/ForRangeCopyCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./performance/AvoidEndlCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./performance/NoexceptMoveConstructorCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./performance/InefficientAlgorithmCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./performance/InefficientVectorOperationCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./performance/MoveConstArgCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./performance/ImplicitConversionInLoopCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./performance/NoexceptSwapCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./performance/InefficientStringConcatenationCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./performance/NoIntToPtrCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./performance/FasterStringFindCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./performance/NoexceptDestructorCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./ClangTidyDiagnosticConsumer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./readability -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./readability/UseAnyOfAllOfCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./readability/StaticDefinitionInAnonymousNamespaceCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./readability/ImplicitBoolConversionCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./readability/UppercaseLiteralSuffixCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./readability/IdentifierNamingCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./readability/RedundantStringCStrCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./readability/FunctionCognitiveComplexityCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./readability/ElseAfterReturnCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./readability/RedundantPreprocessorCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./readability/MakeMemberFunctionConstCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./readability/NamespaceCommentCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./readability/MisplacedArrayIndexCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./readability/RedundantControlFlowCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./readability/NamedParameterCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./readability/SuspiciousCallArgumentCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./readability/ConvertMemberFunctionsToStatic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./readability/SimplifyBooleanExprCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./readability/MisleadingIndentationCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./readability/UniqueptrDeleteReleaseCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./readability/FunctionSizeCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./readability/IsolateDeclarationCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./readability/ContainerDataPointerCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./readability/ContainerContainsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./readability/ContainerSizeEmptyCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./readability/InconsistentDeclarationParameterNameCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./readability/AvoidUnconditionalPreprocessorIfCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./readability/RedundantFunctionPtrDereferenceCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./readability/DeleteNullPointerCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./readability/AvoidConstParamsInDecls.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./readability/NonConstParameterCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./readability/OperatorsRepresentationCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./readability/RedundantSmartptrGetCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./readability/MagicNumbersCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./readability/RedundantDeclarationCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./readability/QualifiedAutoCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./readability/RedundantMemberInitCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./readability/RedundantStringInitCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./readability/RedundantAccessSpecifiersCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./readability/StaticAccessedThroughInstanceCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./readability/IdentifierLengthCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./readability/SimplifySubscriptExprCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./readability/StringCompareCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./readability/DuplicateIncludeCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./readability/ConstReturnTypeCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./readability/BracesAroundStatementsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./ClangTidyForceLinker.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./ClangTidyProfiling.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./altera -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./altera/KernelNameRestrictionCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./altera/UnrollLoopsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./altera/SingleWorkItemBarrierCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./altera/IdDependentBackwardBranchCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./altera/StructPackAlignCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./ClangTidy.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./misc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./misc/ConfusableTable -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./misc/RedundantExpressionCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./misc/NonCopyableObjects.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./misc/StaticAssertCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./misc/UnusedAliasDeclsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./misc/DefinitionsInHeadersCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./misc/NoRecursionCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./misc/UseAnonymousNamespaceCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./misc/HeaderIncludeCycleCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./misc/ThrowByValueCatchByReferenceCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./misc/NewDeleteOverloadsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./misc/MisleadingIdentifier.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./misc/ConstCorrectnessCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./misc/UnconventionalAssignOperatorCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./misc/ConfusableIdentifierCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./misc/UnusedUsingDeclsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./misc/UniqueptrResetReleaseCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./misc/NonPrivateMemberVariablesInClassesCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./misc/IncludeCleanerCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./misc/MisleadingBidirectional.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./misc/UnusedParametersCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./misc/MisplacedConstCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./plugin -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./ClangTidyCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./mpi -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./mpi/TypeMismatchCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./mpi/BufferDerefCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./concurrency -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./concurrency/MtUnsafeCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./concurrency/ThreadCanceltypeAsynchronousCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./ClangTidyModuleRegistry.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./android -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./android/CloexecPipe2Check.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./android/CloexecDupCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./android/CloexecEpollCreate1Check.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./android/CloexecSocketCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./android/CloexecInotifyInitCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./android/CloexecPipeCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./android/CloexecMemfdCreateCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./android/ComparisonInTempFailureRetryCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./android/CloexecAccept4Check.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./android/CloexecInotifyInit1Check.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./android/CloexecAcceptCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./android/CloexecCreatCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./android/CloexecFopenCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./android/CloexecOpenCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./android/CloexecEpollCreateCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./android/CloexecCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./google -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./google/AvoidCStyleCastsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./google/GlobalNamesInHeadersCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./google/GlobalVariableDeclarationCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./google/OverloadedUnaryAndCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./google/AvoidThrowingObjCExceptionCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./google/AvoidNSObjectNewCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./google/ExplicitConstructorCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./google/AvoidUnderscoreInGoogletestNameCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./google/DefaultArgumentsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./google/IntegerTypesCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./google/UpgradeGoogletestCaseCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./google/TodoCommentCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./google/FunctionNamingCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./google/UnnamedNamespaceInHeaderCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./google/UsingNamespaceDirectiveCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./google/ExplicitMakePairCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./ClangTidyOptions.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./GlobList.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./darwin -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./darwin/DispatchOnceNonstaticCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./darwin/AvoidSpinlockCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./cppcoreguidelines -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./cppcoreguidelines/RvalueReferenceParamNotMovedCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./cppcoreguidelines/MisleadingCaptureDefaultByValueCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./cppcoreguidelines/MacroUsageCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./cppcoreguidelines/AvoidGotoCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./cppcoreguidelines/ProTypeUnionAccessCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./cppcoreguidelines/ProTypeConstCastCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./cppcoreguidelines/PreferMemberInitializerCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./cppcoreguidelines/ProTypeReinterpretCastCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./cppcoreguidelines/ProBoundsArrayToPointerDecayCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./cppcoreguidelines/ProTypeMemberInitCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./cppcoreguidelines/SlicingCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./cppcoreguidelines/ProTypeVarargCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./cppcoreguidelines/AvoidConstOrRefDataMembersCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./cppcoreguidelines/ProTypeStaticCastDowncastCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./cppcoreguidelines/AvoidCapturingLambdaCoroutinesCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./cppcoreguidelines/ProBoundsPointerArithmeticCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./cppcoreguidelines/ProBoundsConstantArrayIndexCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./cppcoreguidelines/NarrowingConversionsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./cppcoreguidelines/AvoidNonConstGlobalVariablesCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./cppcoreguidelines/InitVariablesCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./cppcoreguidelines/ProTypeCstyleCastCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./cppcoreguidelines/SpecialMemberFunctionsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./cppcoreguidelines/AvoidReferenceCoroutineParametersCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./cppcoreguidelines/MissingStdForwardCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./cppcoreguidelines/VirtualClassDestructorCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./cppcoreguidelines/AvoidDoWhileCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./cppcoreguidelines/OwningMemoryCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./cppcoreguidelines/InterfacesGlobalInitCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./cppcoreguidelines/NoMallocCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./NoLintDirectiveHandler.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./llvm -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./llvm/HeaderGuardCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./llvm/TwineLocalCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./llvm/PreferRegisterOverUnsignedCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./llvm/PreferIsaOrDynCastInConditionalsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./llvm/IncludeOrderCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./utils -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./utils/TransformerClangTidyCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./utils/UsingInserter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./utils/ASTUtils.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./utils/ExceptionSpecAnalyzer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./utils/ExceptionAnalyzer.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./utils/RenamerClangTidyCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./utils/TypeTraits.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./utils/DeclRefExprUtils.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./utils/IncludeSorter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./utils/FileExtensionsUtils.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./utils/NamespaceAliaser.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./utils/Matchers.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./utils/IncludeInserter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./utils/Aliasing.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./utils/FixItHintUtils.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./utils/OptionsUtils.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./utils/LexerUtils.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./utils/ExprSequence.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./utils/HeaderGuard.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./utils/FormatStringConverter.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./fuchsia -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./fuchsia/MultipleInheritanceCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./fuchsia/DefaultArgumentsDeclarationsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./fuchsia/DefaultArgumentsCallsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./fuchsia/VirtualInheritanceCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./fuchsia/OverloadedOperatorCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./fuchsia/TrailingReturnCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./fuchsia/StaticallyConstructedObjectsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./linuxkernel -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/./linuxkernel/MustCheckErrsCheck.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/bin/clang-change-namespace -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/bin/clang-doc -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/clang/clang-doc-default-stylesheet.css -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/clang/index.js -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/bin/clang-include-fixer -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/clang/clang-include-fixer.el -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/clang/clang-include-fixer.py -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/bin/find-all-symbols -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/clang/run-find-all-symbols.py -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/bin/clang-move -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/bin/clang-query -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/bin/clang-include-cleaner -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/bin/pp-trace -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/bin/clang-pseudo -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/bin/clangd -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/libclang.so.17.0.6 -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/libclang.so.17 -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/libclang.so -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-c -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-c/Rewrite.h -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-c/FatalErrorHandler.h -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-c/CXErrorCode.h -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-c/CXFile.h -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-c/Index.h -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-c/CXString.h -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-c/CXCompilationDatabase.h -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-c/BuildSystem.h -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-c/CXSourceLocation.h -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-c/Platform.h -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-c/Documentation.h -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-c/ExternC.h -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-c/CXDiagnostic.h -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/bin/amdgpu-arch -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/bin/nvptx-arch -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/. -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./ShadowCallStack.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./ClangFormat.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./analyzer -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./analyzer/checkers.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./analyzer/user-docs.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./analyzer/user-docs -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./analyzer/user-docs/TaintAnalysisConfiguration.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./analyzer/user-docs/CrossTranslationUnit.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./analyzer/developer-docs.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./analyzer/developer-docs -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./analyzer/developer-docs/DebugChecks.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./analyzer/developer-docs/RegionStore.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./analyzer/developer-docs/IPA.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./analyzer/developer-docs/nullability.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./analyzer/developer-docs/InitializerLists.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./HardwareAssistedAddressSanitizerDesign.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./SanitizerCoverage.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./DebuggingCoroutines.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./.buildinfo -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./AddressSanitizer.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./genindex.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./Toolchain.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./AttributeReference.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./OpenMPSupport.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./SYCLSupport.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./RefactoringEngine.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./SanitizerStats.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./APINotes.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./ClangOffloadPackager.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./ClangStaticAnalyzer.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./index.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./ReleaseNotes.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./LibASTMatchersReference.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./Block-ABI-Apple.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./MemorySanitizer.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/ItaniumMangleAbiTags.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/ClangOffloadPackager.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/LTOVisibility.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/Block-ABI-Apple.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/analyzer -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/analyzer/user-docs -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/analyzer/user-docs/CrossTranslationUnit.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/analyzer/user-docs/TaintAnalysisConfiguration.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/analyzer/checkers.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/analyzer/user-docs.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/analyzer/developer-docs -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/analyzer/developer-docs/InitializerLists.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/analyzer/developer-docs/nullability.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/analyzer/developer-docs/RegionStore.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/analyzer/developer-docs/DebugChecks.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/analyzer/developer-docs/IPA.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/analyzer/developer-docs.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/StandardCPlusPlusModules.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/MisExpect.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/AddressSanitizer.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/ClangPlugins.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/CodeOwners.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/OffloadingDesign.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/ConstantInterpreter.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/ThinLTO.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/AMDGPUSupport.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/ThreadSafetyAnalysis.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/ClangFormat.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/OpenCLSupport.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/RAVFrontendAction.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/ClangTransformerTutorial.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/ThreadSanitizer.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/APINotes.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/DataFlowSanitizer.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/DebuggingCoroutines.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/OpenMPSupport.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/MatrixTypes.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/Modules.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/RefactoringEngine.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/LibFormat.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/Toolchain.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/AttributeReference.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/SourceBasedCodeCoverage.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/ClangTools.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/LibTooling.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/ControlFlowIntegrityDesign.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/SYCLSupport.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/ShadowCallStack.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/Tooling.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/CrossCompilation.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/HLSL -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/HLSL/HLSLSupport.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/HLSL/HLSLIRReference.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/HLSL/ResourceTypes.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/HLSL/HLSLDocs.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/HLSL/EntryFunctions.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/ClangCheck.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/ClangCommandLineReference.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/LanguageExtensions.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/AutomaticReferenceCounting.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/index.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/InternalsManual.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/IntroductionToTheClangAST.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/CommandGuide -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/CommandGuide/index.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/CommandGuide/diagtool.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/CommandGuide/clang.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/ReleaseNotes.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/ClangStaticAnalyzer.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/SafeStack.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/UndefinedBehaviorSanitizer.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/ClangLinkerWrapper.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/ObjectiveCLiterals.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/LibASTMatchersTutorial.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/DataFlowSanitizerDesign.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/LibASTImporter.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/DataFlowAnalysisIntro.md.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/PCHInternals.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/SanitizerCoverage.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/SanitizerSpecialCaseList.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/DiagnosticsReference.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/BlockLanguageSpec.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/ClangFormattedStatus.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/DriverInternals.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/JSONCompilationDatabase.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/HowToSetupToolingForLLVM.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/LeakSanitizer.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/LibASTMatchers.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/ClangFormatStyleOptions.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/HardwareAssistedAddressSanitizerDesign.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/SanitizerStats.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/ExternalClangExamples.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/ClangOffloadBundler.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/UsersManual.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/FAQ.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/MemorySanitizer.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/MSVCCompatibility.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/LibClang.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/ClangRepl.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/ControlFlowIntegrity.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_sources/Multilib.rst.txt -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./PCHInternals.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_images -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_images/IntegerSetsFiniteLattice.svg -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_images/OutputParameterIdentificationLattice.svg -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_images/DriverArchitecture.png -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_images/ClangRepl_design.png -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_images/CFGJoinRule.svg -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_images/PCHLayout.png -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_images/DefinitiveInitializationLattice.svg -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_images/CFGExample.svg -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_images/IntegerSetsInfiniteLattice.svg -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_images/UniquePtrLattice.svg -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./LibASTMatchers.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./Tooling.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./DiagnosticsReference.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_static -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_static/alert_info_32.png -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_static/basic.css -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_static/haiku.css -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_static/pygments.css -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_static/plus.png -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_static/sphinx_highlight.js -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_static/bullet_orange.png -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_static/file.png -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_static/alert_warning_32.png -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_static/bg-page.png -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_static/documentation_options.js -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_static/doctools.js -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_static/minus.png -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_static/searchtools.js -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./_static/language_data.js -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./ControlFlowIntegrityDesign.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./OffloadingDesign.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./SanitizerSpecialCaseList.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./ControlFlowIntegrity.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./SafeStack.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./ConstantInterpreter.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./InternalsManual.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./LibFormat.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./ClangPlugins.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./SourceBasedCodeCoverage.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./OpenCLSupport.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./FAQ.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./ClangOffloadBundler.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./BlockLanguageSpec.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./UsersManual.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./AutomaticReferenceCounting.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./DataFlowSanitizerDesign.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./UndefinedBehaviorSanitizer.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./HowToSetupToolingForLLVM.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./HLSL -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./HLSL/ResourceTypes.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./HLSL/EntryFunctions.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./HLSL/HLSLIRReference.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./HLSL/HLSLSupport.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./HLSL/HLSLDocs.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./DataFlowAnalysisIntro.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./ClangTools.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./LibClang.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./CommandGuide -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./CommandGuide/index.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./CommandGuide/diagtool.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./CommandGuide/clang.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./ThreadSafetyAnalysis.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./ClangRepl.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./ClangFormattedStatus.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./objects.inv -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./searchindex.js -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./ThinLTO.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./ItaniumMangleAbiTags.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./AMDGPUSupport.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./IntroductionToTheClangAST.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./LibASTMatchersTutorial.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./Multilib.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./Modules.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./StandardCPlusPlusModules.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./MatrixTypes.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./ThreadSanitizer.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./MSVCCompatibility.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./RAVFrontendAction.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./LibASTImporter.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./ClangCheck.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./JSONCompilationDatabase.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./ObjectiveCLiterals.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./LanguageExtensions.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./ClangLinkerWrapper.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./ClangCommandLineReference.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./CrossCompilation.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./ClangTransformerTutorial.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./DataFlowSanitizer.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./search.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./MisExpect.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./LibTooling.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./ExternalClangExamples.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./CodeOwners.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./LeakSanitizer.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./LTOVisibility.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./DriverInternals.html -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/./ClangFormatStyleOptions.html -- Up-to-date: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/man/man1 -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/man/man1/diagtool.1 -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/man/man1/clang.1 -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/cmake/clang/ClangTargets.cmake -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/cmake/clang/ClangTargets-relwithdebinfo.cmake -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/cmake/clang/ClangConfig.cmake -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/cmake/clang/ClangConfigVersion.cmake -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/cmake/clang/AddClang.cmake -- Installing: /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/bin/hmaptool + rm -rf '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/*.a' + mkdir -p /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib/python3.11/site-packages/clang/ + install -p -m644 bindings/python/clang/__init__.py bindings/python/clang/cindex.py bindings/python/clang/enumerations.py /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib/python3.11/site-packages/clang/ + [[ /usr/bin/python3 =~ - ]] ++ /usr/bin/python3 -c 'import sys; sys.stdout.write('\''{0.major}{0.minor}'\''.format(sys.version_info))' + python_version=311 + py3_byte_compile /usr/bin/python3 /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib/python3.11/site-packages/clang + python_binary='env PYTHONHASHSEED=0 /usr/bin/python3' + bytecode_compilation_path=/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib/python3.11/site-packages/clang + env PYTHONHASHSEED=0 /usr/bin/python3 -s -B -m compileall -o 0 -o 1 -s /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64 -p / /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib/python3.11/site-packages/clang Listing '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib/python3.11/site-packages/clang'... Compiling '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib/python3.11/site-packages/clang/__init__.py'... Compiling '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib/python3.11/site-packages/clang/cindex.py'... Compiling '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib/python3.11/site-packages/clang/enumerations.py'... + mv /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/libear /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/libscanbuild /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib/python3.11/site-packages + [[ /usr/bin/python3 =~ - ]] ++ /usr/bin/python3 -c 'import sys; sys.stdout.write('\''{0.major}{0.minor}'\''.format(sys.version_info))' + python_version=311 + py3_byte_compile /usr/bin/python3 '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib/python3.11/site-packages/{libear,libscanbuild}' + python_binary='env PYTHONHASHSEED=0 /usr/bin/python3' + bytecode_compilation_path='/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib/python3.11/site-packages/{libear,libscanbuild}' + env PYTHONHASHSEED=0 /usr/bin/python3 -s -B -m compileall -o 0 -o 1 -s /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64 -p / '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib/python3.11/site-packages/{libear,libscanbuild}' Listing '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib/python3.11/site-packages/{libear,libscanbuild}'... Can't list '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib/python3.11/site-packages/{libear,libscanbuild}' + chmod a+x /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/scan-view/Reporter.py /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/scan-view/startfile.py + mkdir -p /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/emacs/site-lisp/site-start.d + for f in clang-format.el clang-rename.el clang-include-fixer.el + mv /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/clang/clang-format.el /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/emacs/site-lisp/site-start.d/clang-format.el + for f in clang-format.el clang-rename.el clang-include-fixer.el + mv /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/clang/clang-rename.el /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/emacs/site-lisp/site-start.d/clang-rename.el + for f in clang-format.el clang-rename.el clang-include-fixer.el + mv /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/clang/clang-include-fixer.el /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/emacs/site-lisp/site-start.d/clang-include-fixer.el + rm -vf /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/clang/clang-format-bbedit.applescript removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/clang/clang-format-bbedit.applescript' + rm -vf /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/clang/clang-format-sublime.py removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/clang/clang-format-sublime.py' + rm -Rvf /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/ShadowCallStack.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/ClangFormat.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/analyzer/checkers.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/analyzer/user-docs.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/analyzer/user-docs/TaintAnalysisConfiguration.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/analyzer/user-docs/CrossTranslationUnit.html' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/analyzer/user-docs' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/analyzer/developer-docs.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/analyzer/developer-docs/DebugChecks.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/analyzer/developer-docs/RegionStore.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/analyzer/developer-docs/IPA.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/analyzer/developer-docs/nullability.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/analyzer/developer-docs/InitializerLists.html' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/analyzer/developer-docs' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/analyzer' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/HardwareAssistedAddressSanitizerDesign.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/SanitizerCoverage.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/DebuggingCoroutines.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/.buildinfo' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/AddressSanitizer.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/genindex.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/Toolchain.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/AttributeReference.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/OpenMPSupport.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/SYCLSupport.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/RefactoringEngine.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/SanitizerStats.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/APINotes.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/ClangOffloadPackager.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/ClangStaticAnalyzer.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/index.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/ReleaseNotes.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/LibASTMatchersReference.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/Block-ABI-Apple.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/MemorySanitizer.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/ItaniumMangleAbiTags.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/ClangOffloadPackager.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/LTOVisibility.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/Block-ABI-Apple.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/analyzer/user-docs/CrossTranslationUnit.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/analyzer/user-docs/TaintAnalysisConfiguration.rst.txt' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/analyzer/user-docs' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/analyzer/checkers.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/analyzer/user-docs.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/analyzer/developer-docs/InitializerLists.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/analyzer/developer-docs/nullability.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/analyzer/developer-docs/RegionStore.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/analyzer/developer-docs/DebugChecks.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/analyzer/developer-docs/IPA.rst.txt' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/analyzer/developer-docs' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/analyzer/developer-docs.rst.txt' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/analyzer' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/StandardCPlusPlusModules.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/MisExpect.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/AddressSanitizer.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/ClangPlugins.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/CodeOwners.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/OffloadingDesign.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/ConstantInterpreter.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/ThinLTO.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/AMDGPUSupport.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/ThreadSafetyAnalysis.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/ClangFormat.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/OpenCLSupport.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/RAVFrontendAction.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/ClangTransformerTutorial.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/ThreadSanitizer.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/APINotes.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/DataFlowSanitizer.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/DebuggingCoroutines.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/OpenMPSupport.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/MatrixTypes.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/Modules.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/RefactoringEngine.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/LibFormat.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/Toolchain.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/AttributeReference.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/SourceBasedCodeCoverage.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/ClangTools.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/LibTooling.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/ControlFlowIntegrityDesign.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/SYCLSupport.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/ShadowCallStack.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/Tooling.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/CrossCompilation.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/HLSL/HLSLSupport.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/HLSL/HLSLIRReference.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/HLSL/ResourceTypes.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/HLSL/HLSLDocs.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/HLSL/EntryFunctions.rst.txt' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/HLSL' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/ClangCheck.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/ClangCommandLineReference.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/LanguageExtensions.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/AutomaticReferenceCounting.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/index.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/InternalsManual.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/IntroductionToTheClangAST.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/CommandGuide/index.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/CommandGuide/diagtool.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/CommandGuide/clang.rst.txt' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/CommandGuide' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/ReleaseNotes.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/ClangStaticAnalyzer.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/SafeStack.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/UndefinedBehaviorSanitizer.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/ClangLinkerWrapper.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/ObjectiveCLiterals.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/LibASTMatchersTutorial.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/DataFlowSanitizerDesign.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/LibASTImporter.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/DataFlowAnalysisIntro.md.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/PCHInternals.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/SanitizerCoverage.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/SanitizerSpecialCaseList.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/DiagnosticsReference.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/BlockLanguageSpec.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/ClangFormattedStatus.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/DriverInternals.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/JSONCompilationDatabase.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/HowToSetupToolingForLLVM.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/LeakSanitizer.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/LibASTMatchers.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/ClangFormatStyleOptions.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/HardwareAssistedAddressSanitizerDesign.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/SanitizerStats.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/ExternalClangExamples.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/ClangOffloadBundler.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/UsersManual.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/FAQ.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/MemorySanitizer.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/MSVCCompatibility.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/LibClang.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/ClangRepl.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/ControlFlowIntegrity.rst.txt' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources/Multilib.rst.txt' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_sources' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/PCHInternals.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_images/IntegerSetsFiniteLattice.svg' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_images/OutputParameterIdentificationLattice.svg' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_images/DriverArchitecture.png' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_images/ClangRepl_design.png' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_images/CFGJoinRule.svg' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_images/PCHLayout.png' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_images/DefinitiveInitializationLattice.svg' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_images/CFGExample.svg' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_images/IntegerSetsInfiniteLattice.svg' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_images/UniquePtrLattice.svg' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_images' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/LibASTMatchers.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/Tooling.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/DiagnosticsReference.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_static/alert_info_32.png' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_static/basic.css' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_static/haiku.css' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_static/pygments.css' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_static/plus.png' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_static/sphinx_highlight.js' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_static/bullet_orange.png' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_static/file.png' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_static/alert_warning_32.png' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_static/bg-page.png' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_static/documentation_options.js' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_static/doctools.js' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_static/minus.png' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_static/searchtools.js' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_static/language_data.js' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/_static' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/ControlFlowIntegrityDesign.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/OffloadingDesign.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/SanitizerSpecialCaseList.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/ControlFlowIntegrity.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/SafeStack.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/ConstantInterpreter.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/InternalsManual.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/LibFormat.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/ClangPlugins.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/SourceBasedCodeCoverage.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/OpenCLSupport.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/FAQ.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/ClangOffloadBundler.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/BlockLanguageSpec.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/UsersManual.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/AutomaticReferenceCounting.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/DataFlowSanitizerDesign.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/UndefinedBehaviorSanitizer.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/HowToSetupToolingForLLVM.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/HLSL/ResourceTypes.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/HLSL/EntryFunctions.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/HLSL/HLSLIRReference.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/HLSL/HLSLSupport.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/HLSL/HLSLDocs.html' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/HLSL' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/DataFlowAnalysisIntro.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/ClangTools.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/LibClang.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/CommandGuide/index.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/CommandGuide/diagtool.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/CommandGuide/clang.html' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/CommandGuide' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/ThreadSafetyAnalysis.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/ClangRepl.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/ClangFormattedStatus.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/objects.inv' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/searchindex.js' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/ThinLTO.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/ItaniumMangleAbiTags.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/AMDGPUSupport.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/IntroductionToTheClangAST.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/LibASTMatchersTutorial.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/Multilib.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/Modules.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/StandardCPlusPlusModules.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/MatrixTypes.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/ThreadSanitizer.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/MSVCCompatibility.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/RAVFrontendAction.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/LibASTImporter.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/ClangCheck.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/JSONCompilationDatabase.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/ObjectiveCLiterals.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/LanguageExtensions.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/ClangLinkerWrapper.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/ClangCommandLineReference.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/CrossCompilation.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/ClangTransformerTutorial.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/DataFlowSanitizer.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/search.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/MisExpect.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/LibTooling.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/ExternalClangExamples.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/CodeOwners.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/LeakSanitizer.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/LTOVisibility.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/DriverInternals.html' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html/ClangFormatStyleOptions.html' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/doc/Clang/clang/html' + rm -Rvf /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/clang/clang-doc-default-stylesheet.css removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/clang/clang-doc-default-stylesheet.css' + rm -Rvf /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/clang/index.js removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/clang/index.js' + rm -Rvf /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/ removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/tool/ClangTidyMain.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/tool' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/bugprone/StandaloneEmptyCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/bugprone/SuspiciousMemoryComparisonCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/bugprone/UndefinedMemoryManipulationCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/bugprone/UniquePtrArrayMismatchCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/bugprone/InaccurateEraseCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/bugprone/MisplacedWideningCastCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/bugprone/StringLiteralWithEmbeddedNulCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/bugprone/SuspiciousStringCompareCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/bugprone/MultipleNewInOneExpressionCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/bugprone/BadSignalToKillThreadCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/bugprone/UncheckedOptionalAccessCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/bugprone/LambdaFunctionNameCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/bugprone/SignalHandlerCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/bugprone/TooSmallLoopVariableCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/bugprone/VirtualNearMissCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/bugprone/MacroParenthesesCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/bugprone/SuspiciousEnumUsageCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/bugprone/MisplacedPointerArithmeticInAllocCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/bugprone/CopyConstructorInitCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/bugprone/SharedPtrArrayMismatchCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/bugprone/ExceptionEscapeCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/bugprone/NotNullTerminatedResultCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/bugprone/AssignmentInIfConditionCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/bugprone/MisplacedOperatorInStrlenInAllocCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/bugprone/MultipleStatementMacroCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/bugprone/BranchCloneCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/bugprone/RedundantBranchConditionCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/bugprone/StringIntegerAssignmentCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/bugprone/SmartPtrArrayMismatchCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/bugprone/PosixReturnCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/bugprone/ImplicitWideningOfMultiplicationResultCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/bugprone/DynamicStaticInitializersCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/bugprone/SuspiciousIncludeCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/bugprone/UndelegatedConstructorCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/bugprone/StringviewNullptrCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/bugprone/UnhandledExceptionAtNewCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/bugprone/SuspiciousReallocUsageCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/bugprone/ForwardingReferenceOverloadCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/bugprone/ArgumentCommentCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/bugprone/NonZeroEnumToBoolConversionCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/bugprone/UnhandledSelfAssignmentCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/bugprone/IntegerDivisionCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/bugprone/FoldInitTypeCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/bugprone/UnusedReturnValueCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/bugprone/SuspiciousMemsetUsageCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/bugprone/SuspiciousSemicolonCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/bugprone/TerminatingContinueCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/bugprone/UnusedRaiiCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/bugprone/EasilySwappableParametersCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/bugprone/SwappedArgumentsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/bugprone/UnsafeFunctionsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/bugprone/InfiniteLoopCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/bugprone/SignedCharMisuseCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/bugprone/EmptyCatchCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/bugprone/UseAfterMoveCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/bugprone/BoolPointerImplicitConversionCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/bugprone/ForwardDeclarationNamespaceCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/bugprone/DanglingHandleCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/bugprone/SwitchMissingDefaultCaseCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/bugprone/ParentVirtualCallCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/bugprone/ReservedIdentifierCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/bugprone/SuspiciousMissingCommaCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/bugprone/SizeofContainerCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/bugprone/IncorrectRoundingsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/bugprone/MoveForwardingReferenceCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/bugprone/ThrowKeywordMissingCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/bugprone/MacroRepeatedSideEffectsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/bugprone/NoEscapeCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/bugprone/SizeofExpressionCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/bugprone/StringConstructorCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/bugprone/AssertSideEffectCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/bugprone/SpuriouslyWakeUpFunctionsCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/bugprone' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/zircon/TemporaryObjectsCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/zircon' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/boost/UseToStringCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/boost' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/modernize/ReturnBracedInitListCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/modernize/UseEqualsDeleteCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/modernize/ReplaceAutoPtrCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/modernize/MakeSharedCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/modernize/UseNullptrCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/modernize/AvoidCArraysCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/modernize/UnaryStaticAssertCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/modernize/UseTrailingReturnTypeCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/modernize/UseTransparentFunctorsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/modernize/IntegralLiteralExpressionMatcher.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/modernize/UseUncaughtExceptionsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/modernize/MacroToEnumCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/modernize/RedundantVoidArgCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/modernize/ShrinkToFitCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/modernize/UseEqualsDefaultCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/modernize/UseAutoCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/modernize/MakeSmartPtrCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/modernize/UseNoexceptCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/modernize/DeprecatedIosBaseAliasesCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/modernize/DeprecatedHeadersCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/modernize/LoopConvertCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/modernize/UseOverrideCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/modernize/TypeTraitsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/modernize/ConcatNestedNamespacesCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/modernize/LoopConvertUtils.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/modernize/PassByValueCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/modernize/UseDefaultMemberInitCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/modernize/UseEmplaceCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/modernize/UseBoolLiteralsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/modernize/ReplaceRandomShuffleCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/modernize/MakeUniqueCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/modernize/UseStdPrintCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/modernize/AvoidBindCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/modernize/UseNodiscardCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/modernize/ReplaceDisallowCopyAndAssignMacroCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/modernize/RawStringLiteralCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/modernize/UseUsingCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/modernize' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/hicpp/ExceptionBaseclassCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/hicpp/SignedBitwiseCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/hicpp/NoAssemblerCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/hicpp/MultiwayPathsCoveredCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/hicpp' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/ExpandModularHeadersPPCallbacks.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/portability/RestrictSystemIncludesCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/portability/StdAllocatorConstCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/portability/SIMDIntrinsicsCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/portability' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/objc/NSInvocationArgumentLifetimeCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/objc/PropertyDeclarationCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/objc/SuperSelfCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/objc/MissingHashCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/objc/NSDateFormatterCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/objc/ForbiddenSubclassingCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/objc/AssertEquals.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/objc/AvoidNSErrorInitCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/objc/DeallocInCategoryCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/objc' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/cert/VariadicFunctionDefCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/cert/MutatingCopyCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/cert/NonTrivialTypesLibcMemoryCallsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/cert/DefaultOperatorNewAlignmentCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/cert/DontModifyStdNamespaceCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/cert/ProperlySeededRandomGeneratorCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/cert/FloatLoopCounter.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/cert/StrToNumCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/cert/ThrownExceptionTypeCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/cert/LimitedRandomnessCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/cert/CommandProcessorCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/cert/PostfixOperatorCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/cert/SetLongJmpCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/cert/StaticObjectExceptionCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/cert' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/ClangTidyModule.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/openmp/ExceptionEscapeCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/openmp/UseDefaultNoneCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/openmp' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/abseil/DurationFactoryScaleCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/abseil/DurationConversionCastCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/abseil/TimeSubtractionCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/abseil/FasterStrsplitDelimiterCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/abseil/DurationRewriter.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/abseil/DurationFactoryFloatCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/abseil/RedundantStrcatCallsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/abseil/StringFindStartswithCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/abseil/DurationDivisionCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/abseil/AbseilMatcher.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/abseil/CleanupCtadCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/abseil/StrCatAppendCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/abseil/TimeComparisonCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/abseil/DurationAdditionCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/abseil/NoInternalDependenciesCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/abseil/StringFindStrContainsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/abseil/NoNamespaceCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/abseil/DurationUnnecessaryConversionCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/abseil/UpgradeDurationConversionsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/abseil/DurationComparisonCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/abseil/DurationSubtractionCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/abseil' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/FileExtensionsSet.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/llvmlibc/CalleeNamespaceCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/llvmlibc/ImplementationInNamespaceCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/llvmlibc/RestrictSystemLibcHeadersCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/llvmlibc/InlineFunctionDeclCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/llvmlibc' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/performance/UnnecessaryValueParamCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/performance/NoAutomaticMoveCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/performance/NoexceptFunctionBaseCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/performance/TriviallyDestructibleCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/performance/TypePromotionInMathFnCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/performance/MoveConstructorInitCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/performance/UnnecessaryCopyInitialization.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/performance/ForRangeCopyCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/performance/AvoidEndlCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/performance/NoexceptMoveConstructorCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/performance/InefficientAlgorithmCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/performance/InefficientVectorOperationCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/performance/MoveConstArgCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/performance/ImplicitConversionInLoopCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/performance/NoexceptSwapCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/performance/InefficientStringConcatenationCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/performance/NoIntToPtrCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/performance/FasterStringFindCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/performance/NoexceptDestructorCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/performance' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/ClangTidyDiagnosticConsumer.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/readability/UseAnyOfAllOfCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/readability/StaticDefinitionInAnonymousNamespaceCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/readability/ImplicitBoolConversionCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/readability/UppercaseLiteralSuffixCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/readability/IdentifierNamingCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/readability/RedundantStringCStrCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/readability/FunctionCognitiveComplexityCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/readability/ElseAfterReturnCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/readability/RedundantPreprocessorCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/readability/MakeMemberFunctionConstCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/readability/NamespaceCommentCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/readability/MisplacedArrayIndexCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/readability/RedundantControlFlowCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/readability/NamedParameterCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/readability/SuspiciousCallArgumentCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/readability/ConvertMemberFunctionsToStatic.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/readability/SimplifyBooleanExprCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/readability/MisleadingIndentationCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/readability/UniqueptrDeleteReleaseCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/readability/FunctionSizeCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/readability/IsolateDeclarationCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/readability/ContainerDataPointerCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/readability/ContainerContainsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/readability/ContainerSizeEmptyCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/readability/InconsistentDeclarationParameterNameCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/readability/AvoidUnconditionalPreprocessorIfCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/readability/RedundantFunctionPtrDereferenceCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/readability/DeleteNullPointerCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/readability/AvoidConstParamsInDecls.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/readability/NonConstParameterCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/readability/OperatorsRepresentationCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/readability/RedundantSmartptrGetCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/readability/MagicNumbersCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/readability/RedundantDeclarationCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/readability/QualifiedAutoCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/readability/RedundantMemberInitCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/readability/RedundantStringInitCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/readability/RedundantAccessSpecifiersCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/readability/StaticAccessedThroughInstanceCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/readability/IdentifierLengthCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/readability/SimplifySubscriptExprCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/readability/StringCompareCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/readability/DuplicateIncludeCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/readability/ConstReturnTypeCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/readability/BracesAroundStatementsCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/readability' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/ClangTidyForceLinker.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/ClangTidyProfiling.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/altera/KernelNameRestrictionCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/altera/UnrollLoopsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/altera/SingleWorkItemBarrierCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/altera/IdDependentBackwardBranchCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/altera/StructPackAlignCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/altera' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/ClangTidy.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/misc/ConfusableTable' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/misc/RedundantExpressionCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/misc/NonCopyableObjects.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/misc/StaticAssertCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/misc/UnusedAliasDeclsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/misc/DefinitionsInHeadersCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/misc/NoRecursionCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/misc/UseAnonymousNamespaceCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/misc/HeaderIncludeCycleCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/misc/ThrowByValueCatchByReferenceCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/misc/NewDeleteOverloadsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/misc/MisleadingIdentifier.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/misc/ConstCorrectnessCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/misc/UnconventionalAssignOperatorCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/misc/ConfusableIdentifierCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/misc/UnusedUsingDeclsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/misc/UniqueptrResetReleaseCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/misc/NonPrivateMemberVariablesInClassesCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/misc/IncludeCleanerCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/misc/MisleadingBidirectional.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/misc/UnusedParametersCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/misc/MisplacedConstCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/misc' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/plugin' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/ClangTidyCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/mpi/TypeMismatchCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/mpi/BufferDerefCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/mpi' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/concurrency/MtUnsafeCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/concurrency/ThreadCanceltypeAsynchronousCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/concurrency' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/ClangTidyModuleRegistry.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/android/CloexecPipe2Check.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/android/CloexecDupCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/android/CloexecEpollCreate1Check.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/android/CloexecSocketCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/android/CloexecInotifyInitCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/android/CloexecPipeCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/android/CloexecMemfdCreateCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/android/ComparisonInTempFailureRetryCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/android/CloexecAccept4Check.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/android/CloexecInotifyInit1Check.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/android/CloexecAcceptCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/android/CloexecCreatCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/android/CloexecFopenCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/android/CloexecOpenCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/android/CloexecEpollCreateCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/android/CloexecCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/android' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/google/AvoidCStyleCastsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/google/GlobalNamesInHeadersCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/google/GlobalVariableDeclarationCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/google/OverloadedUnaryAndCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/google/AvoidThrowingObjCExceptionCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/google/AvoidNSObjectNewCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/google/ExplicitConstructorCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/google/AvoidUnderscoreInGoogletestNameCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/google/DefaultArgumentsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/google/IntegerTypesCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/google/UpgradeGoogletestCaseCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/google/TodoCommentCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/google/FunctionNamingCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/google/UnnamedNamespaceInHeaderCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/google/UsingNamespaceDirectiveCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/google/ExplicitMakePairCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/google' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/ClangTidyOptions.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/GlobList.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/darwin/DispatchOnceNonstaticCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/darwin/AvoidSpinlockCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/darwin' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/cppcoreguidelines/RvalueReferenceParamNotMovedCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/cppcoreguidelines/MisleadingCaptureDefaultByValueCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/cppcoreguidelines/MacroUsageCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/cppcoreguidelines/AvoidGotoCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/cppcoreguidelines/ProTypeUnionAccessCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/cppcoreguidelines/ProTypeConstCastCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/cppcoreguidelines/PreferMemberInitializerCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/cppcoreguidelines/ProTypeReinterpretCastCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/cppcoreguidelines/ProBoundsArrayToPointerDecayCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/cppcoreguidelines/ProTypeMemberInitCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/cppcoreguidelines/SlicingCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/cppcoreguidelines/ProTypeVarargCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/cppcoreguidelines/AvoidConstOrRefDataMembersCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/cppcoreguidelines/ProTypeStaticCastDowncastCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/cppcoreguidelines/AvoidCapturingLambdaCoroutinesCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/cppcoreguidelines/ProBoundsPointerArithmeticCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/cppcoreguidelines/ProBoundsConstantArrayIndexCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/cppcoreguidelines/NarrowingConversionsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/cppcoreguidelines/AvoidNonConstGlobalVariablesCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/cppcoreguidelines/InitVariablesCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/cppcoreguidelines/ProTypeCstyleCastCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/cppcoreguidelines/SpecialMemberFunctionsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/cppcoreguidelines/AvoidReferenceCoroutineParametersCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/cppcoreguidelines/MissingStdForwardCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/cppcoreguidelines/VirtualClassDestructorCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/cppcoreguidelines/AvoidDoWhileCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/cppcoreguidelines/OwningMemoryCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/cppcoreguidelines/InterfacesGlobalInitCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/cppcoreguidelines/NoMallocCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/cppcoreguidelines' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/NoLintDirectiveHandler.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/llvm/HeaderGuardCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/llvm/TwineLocalCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/llvm/PreferRegisterOverUnsignedCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/llvm/PreferIsaOrDynCastInConditionalsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/llvm/IncludeOrderCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/llvm' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/utils/TransformerClangTidyCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/utils/UsingInserter.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/utils/ASTUtils.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/utils/ExceptionSpecAnalyzer.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/utils/ExceptionAnalyzer.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/utils/RenamerClangTidyCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/utils/TypeTraits.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/utils/DeclRefExprUtils.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/utils/IncludeSorter.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/utils/FileExtensionsUtils.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/utils/NamespaceAliaser.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/utils/Matchers.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/utils/IncludeInserter.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/utils/Aliasing.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/utils/FixItHintUtils.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/utils/OptionsUtils.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/utils/LexerUtils.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/utils/ExprSequence.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/utils/HeaderGuard.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/utils/FormatStringConverter.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/utils' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/fuchsia/MultipleInheritanceCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/fuchsia/DefaultArgumentsDeclarationsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/fuchsia/DefaultArgumentsCallsCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/fuchsia/VirtualInheritanceCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/fuchsia/OverloadedOperatorCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/fuchsia/TrailingReturnCheck.h' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/fuchsia/StaticallyConstructedObjectsCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/fuchsia' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/linuxkernel/MustCheckErrsCheck.h' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/linuxkernel' removed directory '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/include/clang-tidy/' removed '/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/clang/bash-autocomplete.sh' + rm -vf /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/clang/bash-autocomplete.sh + ln -s clang.1.gz /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/man/man1/clang++.1.gz + ln -s clang.1.gz /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/man/man1/clang-17.1.gz + ln -s clang.1.gz /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/man/man1/clang++-17.1.gz + ln -s clang++ /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/bin/clang++-17 + chmod u-x /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/man/man1/scan-build.1 + mkdir -p /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/include/ /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/lib/ /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/clang/17/share/ + ln -s /usr/share/clang/clang-format-diff.py /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/bin/clang-format-diff + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 17.0.6-2.ocs23 --unique-debug-suffix -17.0.6-2.ocs23.aarch64 --unique-debug-src-base clang-17.0.6-2.ocs23.aarch64 -S debugsourcefiles.list /builddir/build/BUILD/clang-17.0.6.src extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/bin/c-index-test extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/bin/clang-cl extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/bin/clang-check extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/bin/amdgpu-arch extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/bin/clang-17 extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/bin/clang++ extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/bin/clang-change-namespace extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/bin/clang-apply-replacements extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/bin/clang-cpp extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/bin/clang-doc extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/bin/clang-extdef-mapping extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/bin/clang-format extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/bin/clang-include-cleaner extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/bin/clang-include-fixer extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/bin/clang-linker-wrapper extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/bin/clang-move extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/bin/clang-offload-bundler extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/bin/clang-offload-packager extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/bin/clang-pseudo extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/bin/clang-query extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/bin/clang-refactor extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/bin/clang-rename extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/bin/clang-reorder-fields extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/bin/clang-repl extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/bin/clang-scan-deps extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/bin/clang-tidy extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/bin/clangd extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/bin/diagtool extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/bin/modularize extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/bin/find-all-symbols extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/bin/nvptx-arch extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/bin/pp-trace extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/libclang-cpp.so.17 extracting debug info from /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib64/libclang.so.17.0.6 134169 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs mangling shebang in /usr/libexec/c++-analyzer from /usr/bin/env perl to #!/usr/bin/perl mangling shebang in /usr/libexec/ccc-analyzer from /usr/bin/env perl to #!/usr/bin/perl mangling shebang in /usr/bin/scan-build from /usr/bin/env perl to #!/usr/bin/perl + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib/python3.11 using python3.11 + /usr/lib/rpm/OpenCloudOS/brp-fix-pyc-reproducibility /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib/python3.11/site-packages Removed 44 unused FLAG_REFs from /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib/python3.11/site-packages/libscanbuild/__pycache__/shell.cpython-311.pyc Removed 107 unused FLAG_REFs from /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib/python3.11/site-packages/libscanbuild/__pycache__/intercept.cpython-311.opt-1.pyc Removed 91 unused FLAG_REFs from /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib/python3.11/site-packages/libscanbuild/__pycache__/arguments.cpython-311.opt-1.pyc Removed 82 unused FLAG_REFs from /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib/python3.11/site-packages/libscanbuild/__pycache__/__init__.cpython-311.opt-1.pyc Removed 185 unused FLAG_REFs from /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib/python3.11/site-packages/libscanbuild/__pycache__/analyze.cpython-311.pyc Removed 42 unused FLAG_REFs from /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib/python3.11/site-packages/libscanbuild/__pycache__/compilation.cpython-311.opt-1.pyc Removed 69 unused FLAG_REFs from /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib/python3.11/site-packages/libscanbuild/__pycache__/clang.cpython-311.opt-1.pyc No unused FLAG_REFs in /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib/python3.11/site-packages/libscanbuild/__pycache__/__init__.cpython-311.pyc Removed 185 unused FLAG_REFs from /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib/python3.11/site-packages/libscanbuild/__pycache__/analyze.cpython-311.opt-1.pyc Removed 171 unused FLAG_REFs from /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib/python3.11/site-packages/libscanbuild/__pycache__/report.cpython-311.opt-1.pyc No unused FLAG_REFs in /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib/python3.11/site-packages/libscanbuild/__pycache__/shell.cpython-311.opt-1.pyc No unused FLAG_REFs in /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib/python3.11/site-packages/libscanbuild/__pycache__/arguments.cpython-311.pyc No unused FLAG_REFs in /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib/python3.11/site-packages/libscanbuild/__pycache__/compilation.cpython-311.pyc No unused FLAG_REFs in /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib/python3.11/site-packages/libscanbuild/__pycache__/clang.cpython-311.pyc No unused FLAG_REFs in /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib/python3.11/site-packages/libscanbuild/__pycache__/report.cpython-311.pyc No unused FLAG_REFs in /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib/python3.11/site-packages/libscanbuild/__pycache__/intercept.cpython-311.pyc Removed 130 unused FLAG_REFs from /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib/python3.11/site-packages/libear/__pycache__/__init__.cpython-311.opt-1.pyc No unused FLAG_REFs in /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib/python3.11/site-packages/libear/__pycache__/__init__.cpython-311.pyc Removed 1001 unused FLAG_REFs from /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib/python3.11/site-packages/clang/__pycache__/cindex.cpython-311.opt-1.pyc Removed 7 unused FLAG_REFs from /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib/python3.11/site-packages/clang/__pycache__/__init__.cpython-311.opt-1.pyc Removed 16 unused FLAG_REFs from /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib/python3.11/site-packages/clang/__pycache__/enumerations.cpython-311.opt-1.pyc No unused FLAG_REFs in /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib/python3.11/site-packages/clang/__pycache__/__init__.cpython-311.pyc No unused FLAG_REFs in /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib/python3.11/site-packages/clang/__pycache__/enumerations.cpython-311.pyc Removed 997 unused FLAG_REFs from /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib/python3.11/site-packages/clang/__pycache__/cindex.cpython-311.pyc + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.ad1vkC + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd clang-17.0.6.src + LD_LIBRARY_PATH=/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64//usr/lib64 + /usr/bin/ninja check-all -C aarch64-OpenCloudOS-linux-gnu ninja: Entering directory `aarch64-OpenCloudOS-linux-gnu' [1/441] Building CXX object lib/Testing/CMakeFiles/clangTesting.dir/CommandLineArgs.cpp.o [2/441] Building CXX object tools/extra/pseudo/unittests/CMakeFiles/ClangPseudoTests.dir/CXXTest.cpp.o [3/441] Building CXX object tools/extra/pseudo/unittests/CMakeFiles/ClangPseudoTests.dir/BracketTest.cpp.o [4/441] Building CXX object tools/extra/include-cleaner/unittests/CMakeFiles/ClangIncludeCleanerTests.dir/TypesTest.cpp.o [5/441] Building CXX object tools/extra/pseudo/unittests/CMakeFiles/ClangPseudoTests.dir/DisambiguateTest.cpp.o [6/441] Building CXX object tools/extra/pseudo/unittests/CMakeFiles/ClangPseudoTests.dir/DirectiveTreeTest.cpp.o [7/441] Building CXX object tools/extra/pseudo/unittests/CMakeFiles/ClangPseudoTests.dir/ForestTest.cpp.o [8/441] Building CXX object tools/extra/include-cleaner/unittests/CMakeFiles/ClangIncludeCleanerTests.dir/IncludeSpellerTest.cpp.o [9/441] Building CXX object lib/Testing/CMakeFiles/clangTesting.dir/TestAST.cpp.o [10/441] Linking CXX static library lib64/libclangTesting.a [11/441] Generating code completion model runtime... [12/441] Building CXX object tools/extra/include-cleaner/unittests/CMakeFiles/ClangIncludeCleanerTests.dir/WalkASTTest.cpp.o [13/441] Building CXX object tools/extra/pseudo/unittests/CMakeFiles/ClangPseudoTests.dir/LRTableTest.cpp.o [14/441] Building CXX object tools/extra/pseudo/unittests/CMakeFiles/ClangPseudoTests.dir/GrammarTest.cpp.o [15/441] Building CXX object tools/extra/pseudo/unittests/CMakeFiles/ClangPseudoTests.dir/TokenTest.cpp.o [16/441] Building CXX object tools/extra/pseudo/unittests/CMakeFiles/ClangPseudoTests.dir/GLRTest.cpp.o [17/441] Building CXX object tools/extra/include-cleaner/unittests/CMakeFiles/ClangIncludeCleanerTests.dir/AnalysisTest.cpp.o [18/441] Building CXX object tools/extra/include-cleaner/unittests/CMakeFiles/ClangIncludeCleanerTests.dir/RecordTest.cpp.o [19/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/Annotations.cpp.o [20/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/CanonicalIncludesTests.cpp.o [21/441] Linking CXX executable tools/extra/pseudo/unittests/ClangPseudoTests [22/441] Building CXX object tools/extra/include-cleaner/unittests/CMakeFiles/ClangIncludeCleanerTests.dir/LocateSymbolTest.cpp.o [23/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/ASTTests.cpp.o [24/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/ASTSignalsTests.cpp.o [25/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/CallHierarchyTests.cpp.o [26/441] Building CXX object tools/extra/include-cleaner/unittests/CMakeFiles/ClangIncludeCleanerTests.dir/FindHeadersTest.cpp.o [27/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/CompileCommandsTests.cpp.o [28/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/ClangdLSPServerTests.cpp.o [29/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/CodeCompletionStringsTests.cpp.o [30/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/DecisionForestTests.cpp.o [31/441] Linking CXX executable tools/extra/include-cleaner/unittests/ClangIncludeCleanerTests [32/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/BackgroundIndexTests.cpp.o [33/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/CollectMacrosTests.cpp.o [34/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/CompilerTests.cpp.o [35/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/ConfigCompileTests.cpp.o [36/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/ConfigProviderTests.cpp.o [37/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/ClangdTests.cpp.o [38/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/DraftStoreTests.cpp.o [39/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/ConfigYAMLTests.cpp.o [40/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/FileDistanceTests.cpp.o [41/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/DexTests.cpp.o [42/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/FormatTests.cpp.o [43/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/FSTests.cpp.o [44/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/FeatureModulesTests.cpp.o [45/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/ExpectedTypeTest.cpp.o [46/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/FuzzyMatchTests.cpp.o [47/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/DumpASTTests.cpp.o [48/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/GlobalCompilationDatabaseTests.cpp.o [49/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/CodeCompleteTests.cpp.o [50/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/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"); | ^ [51/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/FindSymbolsTests.cpp.o [52/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/FileIndexTests.cpp.o [53/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/DiagnosticsTests.cpp.o [54/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/HeaderSourceSwitchTests.cpp.o [55/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/JSONTransportTests.cpp.o [56/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/LoggerTests.cpp.o [57/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/HeadersTests.cpp.o [58/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/LSPClient.cpp.o [59/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/IncludeCleanerTests.cpp.o [60/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/LSPBinderTests.cpp.o [61/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/HoverTests.cpp.o [62/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/PathMappingTests.cpp.o [63/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/IndexActionTests.cpp.o [64/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/InsertionPointTests.cpp.o [65/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/RIFFTests.cpp.o [66/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/InlayHintTests.cpp.o [67/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/ProjectAwareIndexTests.cpp.o [68/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/ModulesTests.cpp.o [69/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/IndexTests.cpp.o [70/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/QualityTests.cpp.o [71/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/SelectionTests.cpp.o [72/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/SemanticSelectionTests.cpp.o [73/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/PreambleTests.cpp.o [74/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/SemanticHighlightingTests.cpp.o [75/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/ParsedASTTests.cpp.o [76/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/RenameTests.cpp.o [77/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/ReplayPeambleTests.cpp.o [78/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/SerializationTests.cpp.o [79/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/TestFS.cpp.o [80/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/PrintASTTests.cpp.o [81/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/TestIndex.cpp.o [82/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/ThreadCrashReporterTests.cpp.o [83/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/TidyProviderTests.cpp.o [84/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/URITests.cpp.o [85/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/SymbolInfoTests.cpp.o [86/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/DecisionForestRuntimeTest.cpp.o [87/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/SourceCodeTests.cpp.o [88/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/StdLibTests.cpp.o [89/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/support/ContextTests.cpp.o [90/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/support/CancellationTests.cpp.o [91/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/SyncAPI.cpp.o [92/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/TestWorkspace.cpp.o [93/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/support/FunctionTests.cpp.o [94/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/support/TestTracer.cpp.o [95/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/support/PathTests.cpp.o [96/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/support/FileCacheTests.cpp.o [97/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/support/MemoryTreeTests.cpp.o [98/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/support/MarkupTests.cpp.o [99/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/support/ThreadingTests.cpp.o [100/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/support/TraceTests.cpp.o [101/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/TypeHierarchyTests.cpp.o [102/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/SymbolCollectorTests.cpp.o /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/unittests/SymbolCollectorTests.cpp: In member function 'virtual void clang::clangd::{anonymous}::SymbolCollectorTest_SpelledReferences_Test::TestBody()': /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/unittests/SymbolCollectorTests.cpp:1059:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 1059 | if (!SpelledRanges.empty()) | ^ /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clangd/unittests/SymbolCollectorTests.cpp:1062:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 1062 | if (!ImplicitRanges.empty()) | ^ [103/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/TestTU.cpp.o [104/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/AnnotateHighlightingsTests.cpp.o [105/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) | ^ [106/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/AddUsingTests.cpp.o [107/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/DefineOutlineTests.cpp.o [108/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/DumpASTTests.cpp.o [109/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/XRefsTests.cpp.o [110/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/DefineInlineTests.cpp.o [111/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/DumpRecordLayoutTests.cpp.o [112/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/DumpSymbolTests.cpp.o [113/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/ExpandMacroTests.cpp.o [114/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/ExpandDeducedTypeTests.cpp.o [115/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/ObjCMemberwiseInitializerTests.cpp.o [116/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/ExtractFunctionTests.cpp.o [117/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/PopulateSwitchTests.cpp.o [118/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/ExtractVariableTests.cpp.o [119/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/MemberwiseConstructorTests.cpp.o [120/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/ObjCLocalizeStringLiteralTests.cpp.o [121/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/RemoveUsingNamespaceTests.cpp.o [122/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/RawStringLiteralTests.cpp.o [123/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/SpecialMembersTests.cpp.o [124/441] Building CXX object tools/extra/unittests/clang-apply-replacements/CMakeFiles/ClangApplyReplacementsTests.dir/ApplyReplacementsTest.cpp.o [125/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/ShowSelectionTreeTests.cpp.o [126/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/SwapIfBranchesTests.cpp.o [127/441] Linking CXX executable tools/extra/unittests/clang-apply-replacements/ClangApplyReplacementsTests [128/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/TweakTests.cpp.o [129/441] Building CXX object tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/tweaks/TweakTesting.cpp.o [130/441] Building CXX object tools/extra/unittests/clang-doc/CMakeFiles/ClangDocTests.dir/GeneratorTest.cpp.o [131/441] Building CXX object tools/extra/unittests/clang-doc/CMakeFiles/ClangDocTests.dir/ClangDocTest.cpp.o [132/441] Building CXX object tools/extra/unittests/clang-doc/CMakeFiles/ClangDocTests.dir/BitcodeTest.cpp.o [133/441] Building CXX object tools/extra/unittests/clang-include-fixer/CMakeFiles/ClangIncludeFixerTests.dir/FuzzySymbolIndexTests.cpp.o [134/441] Building CXX object tools/extra/unittests/clang-doc/CMakeFiles/ClangDocTests.dir/HTMLGeneratorTest.cpp.o [135/441] Building CXX object tools/extra/unittests/clang-doc/CMakeFiles/ClangDocTests.dir/MDGeneratorTest.cpp.o [136/441] Building CXX object tools/extra/unittests/clang-change-namespace/CMakeFiles/ClangChangeNamespaceTests.dir/ChangeNamespaceTests.cpp.o [137/441] Building CXX object tools/extra/unittests/clang-doc/CMakeFiles/ClangDocTests.dir/MergeTest.cpp.o [138/441] Building CXX object tools/extra/unittests/clang-doc/CMakeFiles/ClangDocTests.dir/YAMLGeneratorTest.cpp.o [139/441] Building CXX object tools/extra/unittests/clang-include-fixer/CMakeFiles/ClangIncludeFixerTests.dir/IncludeFixerTest.cpp.o [140/441] Building CXX object tools/extra/unittests/clang-query/CMakeFiles/ClangQueryTests.dir/QueryEngineTest.cpp.o [141/441] Building CXX object tools/extra/unittests/clang-query/CMakeFiles/ClangQueryTests.dir/QueryParserTest.cpp.o [142/441] Building CXX object tools/extra/unittests/clang-doc/CMakeFiles/ClangDocTests.dir/SerializeTest.cpp.o [143/441] Building CXX object tools/extra/unittests/clang-include-fixer/find-all-symbols/CMakeFiles/FindAllSymbolsTests.dir/FindAllSymbolsTests.cpp.o [144/441] Building CXX object tools/extra/unittests/clang-tidy/CMakeFiles/ClangTidyTests.dir/GlobListTest.cpp.o [145/441] Building CXX object tools/extra/unittests/clang-move/CMakeFiles/ClangMoveTests.dir/ClangMoveTests.cpp.o [146/441] Building CXX object tools/extra/unittests/clang-tidy/CMakeFiles/ClangTidyTests.dir/DeclRefExprUtilsTest.cpp.o [147/441] Building CXX object tools/extra/unittests/clang-tidy/CMakeFiles/ClangTidyTests.dir/ClangTidyOptionsTest.cpp.o [148/441] Building CXX object tools/extra/unittests/clang-tidy/CMakeFiles/ClangTidyTests.dir/ClangTidyDiagnosticConsumerTest.cpp.o [149/441] Building CXX object tools/extra/unittests/clang-tidy/CMakeFiles/ClangTidyTests.dir/OptionsProviderTest.cpp.o [150/441] Building CXX object tools/extra/unittests/clang-tidy/CMakeFiles/ClangTidyTests.dir/AddConstTest.cpp.o [151/441] Building CXX object tools/extra/unittests/clang-tidy/CMakeFiles/ClangTidyTests.dir/IncludeCleanerTest.cpp.o [152/441] Building CXX object tools/extra/unittests/clang-tidy/CMakeFiles/ClangTidyTests.dir/GoogleModuleTest.cpp.o [153/441] Building CXX object tools/extra/unittests/clang-tidy/CMakeFiles/ClangTidyTests.dir/ModernizeModuleTest.cpp.o [154/441] Building CXX object tools/extra/unittests/clang-tidy/CMakeFiles/ClangTidyTests.dir/IncludeInserterTest.cpp.o [155/441] Building CXX object tools/extra/unittests/clang-tidy/CMakeFiles/ClangTidyTests.dir/LLVMModuleTest.cpp.o [156/441] Building CXX object tools/extra/unittests/clang-tidy/CMakeFiles/ClangTidyTests.dir/NamespaceAliaserTest.cpp.o [157/441] Building CXX object tools/extra/unittests/clang-tidy/CMakeFiles/ClangTidyTests.dir/ObjCModuleTest.cpp.o [158/441] Building CXX object unittests/Basic/CMakeFiles/BasicTests.dir/DarwinSDKInfoTest.cpp.o [159/441] Building CXX object unittests/Basic/CMakeFiles/BasicTests.dir/CharInfoTest.cpp.o [160/441] Building CXX object unittests/Basic/CMakeFiles/BasicTests.dir/DiagnosticTest.cpp.o /builddir/build/BUILD/clang-17.0.6.src/unittests/Basic/DiagnosticTest.cpp:19:6: warning: 'void clang::DiagnosticsTestHelper(DiagnosticsEngine&)' has not been declared within 'clang' 19 | void clang::DiagnosticsTestHelper(DiagnosticsEngine &diag) { | ^~~~~ In file included from /builddir/build/BUILD/clang-17.0.6.src/unittests/Basic/DiagnosticTest.cpp:9: /builddir/build/BUILD/clang-17.0.6.src/include/clang/Basic/Diagnostic.h:548:15: note: only here as a 'friend' 548 | friend void DiagnosticsTestHelper(DiagnosticsEngine &); | ^~~~~~~~~~~~~~~~~~~~~ [161/441] Building CXX object unittests/Basic/CMakeFiles/BasicTests.dir/SanitizersTest.cpp.o [162/441] Building CXX object unittests/Basic/CMakeFiles/BasicTests.dir/FileEntryTest.cpp.o [163/441] Building CXX object unittests/Basic/CMakeFiles/BasicTests.dir/LineOffsetMappingTest.cpp.o [164/441] Building CXX object unittests/Basic/CMakeFiles/BasicTests.dir/FileManagerTest.cpp.o [165/441] Building CXX object tools/extra/unittests/clang-tidy/CMakeFiles/ClangTidyTests.dir/UsingInserterTest.cpp.o [166/441] Building CXX object unittests/Lex/CMakeFiles/LexTests.dir/HeaderMapTest.cpp.o [167/441] Building CXX object unittests/Lex/CMakeFiles/LexTests.dir/DependencyDirectivesScannerTest.cpp.o [168/441] Building CXX object unittests/Basic/CMakeFiles/BasicTests.dir/SarifTest.cpp.o [169/441] Building CXX object unittests/Lex/CMakeFiles/LexTests.dir/HeaderSearchTest.cpp.o [170/441] Building CXX object unittests/Basic/CMakeFiles/BasicTests.dir/SourceManagerTest.cpp.o [171/441] Building CXX object tools/extra/unittests/clang-tidy/CMakeFiles/ClangTidyTests.dir/ReadabilityModuleTest.cpp.o [172/441] Building CXX object unittests/Lex/CMakeFiles/LexTests.dir/ModuleDeclStateTest.cpp.o [173/441] Building CXX object unittests/Lex/CMakeFiles/LexTests.dir/PPConditionalDirectiveRecordTest.cpp.o [174/441] Building CXX object unittests/Lex/CMakeFiles/LexTests.dir/LexerTest.cpp.o [175/441] Building CXX object unittests/Driver/CMakeFiles/ClangDriverTests.dir/DistroTest.cpp.o [176/441] Building CXX object unittests/Lex/CMakeFiles/LexTests.dir/PPDependencyDirectivesTest.cpp.o [177/441] Building CXX object unittests/Lex/CMakeFiles/LexTests.dir/PPMemoryAllocationsTest.cpp.o [178/441] Building CXX object unittests/Driver/CMakeFiles/ClangDriverTests.dir/ModuleCacheTest.cpp.o [179/441] Building CXX object tools/extra/unittests/clang-tidy/CMakeFiles/ClangTidyTests.dir/OverlappingReplacementsTest.cpp.o [180/441] Building CXX object tools/extra/unittests/clang-tidy/CMakeFiles/ClangTidyTests.dir/TransformerClangTidyCheckTest.cpp.o [181/441] Building CXX object unittests/Driver/CMakeFiles/ClangDriverTests.dir/MultilibBuilderTest.cpp.o [182/441] Building CXX object unittests/Lex/CMakeFiles/LexTests.dir/PPCallbacksTest.cpp.o [183/441] Building CXX object unittests/Driver/CMakeFiles/ClangDriverTests.dir/MultilibTest.cpp.o [184/441] Building CXX object unittests/Driver/CMakeFiles/ClangDriverTests.dir/SanitizerArgsTest.cpp.o [185/441] Building CXX object unittests/Driver/CMakeFiles/ClangDriverTests.dir/DXCModeTest.cpp.o [186/441] Building CXX object unittests/Analysis/CMakeFiles/ClangAnalysisTests.dir/UnsafeBufferUsageTest.cpp.o [187/441] Building CXX object unittests/Driver/CMakeFiles/ClangDriverTests.dir/ToolChainTest.cpp.o [188/441] Building CXX object unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/ArenaTest.cpp.o [189/441] Building CXX object unittests/Analysis/CMakeFiles/ClangAnalysisTests.dir/MacroExpansionContextTest.cpp.o [190/441] Building CXX object unittests/Analysis/CMakeFiles/ClangAnalysisTests.dir/CFGTest.cpp.o [191/441] Building CXX object unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/DataflowAnalysisContextTest.cpp.o [192/441] Building CXX object unittests/Analysis/CMakeFiles/ClangAnalysisTests.dir/CloneDetectionTest.cpp.o [193/441] Building CXX object unittests/Analysis/CMakeFiles/ClangAnalysisTests.dir/CFGDominatorTree.cpp.o [194/441] Building CXX object unittests/Analysis/CMakeFiles/ClangAnalysisTests.dir/IntervalPartitionTest.cpp.o [195/441] Building CXX object unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/CFGMatchSwitchTest.cpp.o [196/441] Building CXX object unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/ChromiumCheckModelTest.cpp.o [197/441] Building CXX object unittests/Analysis/CMakeFiles/ClangAnalysisTests.dir/ExprMutationAnalyzerTest.cpp.o [198/441] Building CXX object unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/MapLatticeTest.cpp.o [199/441] Building CXX object unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/DebugSupportTest.cpp.o [200/441] Building CXX object unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/DataflowEnvironmentTest.cpp.o [201/441] Building CXX object unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/DeterminismTest.cpp.o [202/441] Building CXX object unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/LoggerTest.cpp.o [203/441] Building CXX object unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/MatchSwitchTest.cpp.o [204/441] Building CXX object unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/RecordOpsTest.cpp.o [205/441] Building CXX object unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/MultiVarConstantPropagationTest.cpp.o [206/441] Building CXX object unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/SolverTest.cpp.o [207/441] Building CXX object unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/SingleVarConstantPropagationTest.cpp.o [208/441] Building CXX object unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/SignAnalysisTest.cpp.o [209/441] Building CXX object unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/TestingSupport.cpp.o [210/441] Building CXX object unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/ValueTest.cpp.o [211/441] Building CXX object unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/TransferBranchTest.cpp.o [212/441] Building CXX object unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/TestingSupportTest.cpp.o [213/441] Building CXX object unittests/StaticAnalyzer/CMakeFiles/StaticAnalysisTests.dir/AnalyzerOptionsTest.cpp.o [214/441] Building CXX object unittests/StaticAnalyzer/CMakeFiles/StaticAnalysisTests.dir/APSIntTypeTest.cpp.o [215/441] Building CXX object unittests/StaticAnalyzer/CMakeFiles/StaticAnalysisTests.dir/ConflictingEvalCallsTest.cpp.o [216/441] Building CXX object unittests/StaticAnalyzer/CMakeFiles/StaticAnalysisTests.dir/CallEventTest.cpp.o [217/441] Building CXX object unittests/StaticAnalyzer/CMakeFiles/StaticAnalysisTests.dir/BugReportInterestingnessTest.cpp.o [218/441] Building CXX object unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/TypeErasedDataflowAnalysisTest.cpp.o [219/441] Building CXX object unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/UncheckedOptionalAccessModelTest.cpp.o [220/441] Building CXX object unittests/StaticAnalyzer/CMakeFiles/StaticAnalysisTests.dir/NoStateChangeFuncVisitorTest.cpp.o [221/441] Building CXX object unittests/Analysis/FlowSensitive/CMakeFiles/ClangAnalysisFlowSensitiveTests.dir/TransferTest.cpp.o [222/441] Building CXX object unittests/StaticAnalyzer/CMakeFiles/StaticAnalysisTests.dir/CallDescriptionTest.cpp.o [223/441] Building CXX object unittests/StaticAnalyzer/CMakeFiles/StaticAnalysisTests.dir/FalsePositiveRefutationBRVisitorTest.cpp.o [224/441] Building CXX object unittests/StaticAnalyzer/CMakeFiles/StaticAnalysisTests.dir/ParamRegionTest.cpp.o [225/441] Building CXX object unittests/StaticAnalyzer/CMakeFiles/StaticAnalysisTests.dir/TestReturnValueUnderConstruction.cpp.o [226/441] Building CXX object unittests/StaticAnalyzer/CMakeFiles/StaticAnalysisTests.dir/RegisterCustomCheckersTest.cpp.o [227/441] Building CXX object unittests/StaticAnalyzer/CMakeFiles/StaticAnalysisTests.dir/SValTest.cpp.o [228/441] Building CXX object unittests/StaticAnalyzer/CMakeFiles/StaticAnalysisTests.dir/StoreTest.cpp.o [229/441] Building CXX object unittests/StaticAnalyzer/CMakeFiles/StaticAnalysisTests.dir/SymbolReaperTest.cpp.o [230/441] Building CXX object unittests/StaticAnalyzer/CMakeFiles/StaticAnalysisTests.dir/RangeSetTest.cpp.o [231/441] Building CXX object unittests/ASTMatchers/CMakeFiles/ASTMatchersTests.dir/ASTMatchersInternalTest.cpp.o [232/441] Building CXX object unittests/ASTMatchers/CMakeFiles/ASTMatchersTests.dir/GtestMatchersTest.cpp.o [233/441] Building CXX object unittests/ASTMatchers/Dynamic/CMakeFiles/DynamicASTMatchersTests.dir/VariantValueTest.cpp.o [234/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/ASTExprTest.cpp.o [235/441] Building CXX object unittests/ASTMatchers/Dynamic/CMakeFiles/DynamicASTMatchersTests.dir/RegistryTest.cpp.o [236/441] Building CXX object unittests/ASTMatchers/Dynamic/CMakeFiles/DynamicASTMatchersTests.dir/ParserTest.cpp.o [237/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/ASTContextParentMapTest.cpp.o [238/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/ASTImporterFixtures.cpp.o [239/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/ASTImporterObjCTest.cpp.o [240/441] Building CXX object unittests/ASTMatchers/CMakeFiles/ASTMatchersTests.dir/ASTMatchersNodeTest.cpp.o [241/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/ASTVectorTest.cpp.o [242/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/ASTImporterVisibilityTest.cpp.o [243/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/ASTTypeTraitsTest.cpp.o [244/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/ASTTraverserTest.cpp.o [245/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/ASTImporterODRStrategiesTest.cpp.o [246/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/ASTImporterGenericRedeclTest.cpp.o [247/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/CommentTextTest.cpp.o [248/441] Building CXX object unittests/ASTMatchers/CMakeFiles/ASTMatchersTests.dir/ASTMatchersNarrowingTest.cpp.o [249/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/AttrTest.cpp.o [250/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/CommentParser.cpp.o [251/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/CommentLexer.cpp.o [252/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/ExternalASTSourceTest.cpp.o [253/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/DataCollectionTest.cpp.o [254/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/DeclTest.cpp.o [255/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/NamedDeclPrinterTest.cpp.o [256/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/DeclPrinterTest.cpp.o [257/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/RandstructTest.cpp.o [258/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/SizelessTypesTest.cpp.o [259/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/EvaluateAsRValueTest.cpp.o [260/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/UnresolvedSetTest.cpp.o [261/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/RecursiveASTVisitorTest.cpp.o [262/441] Building CXX object unittests/ASTMatchers/CMakeFiles/ASTMatchersTests.dir/ASTMatchersTraversalTest.cpp.o [263/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/StmtPrinterTest.cpp.o [264/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/TemplateNameTest.cpp.o [265/441] Building CXX object unittests/CrossTU/CMakeFiles/CrossTUTests.dir/CrossTranslationUnitTest.cpp.o [266/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/SourceLocationTest.cpp.o [267/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/TypePrinterTest.cpp.o [268/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/ASTImporterTest.cpp.o [269/441] Building CXX object unittests/AST/CMakeFiles/ASTTests.dir/StructuralEquivalenceTest.cpp.o [270/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/CompilationDatabaseTest.cpp.o [271/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/ASTSelectionTest.cpp.o [272/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/CastExprTest.cpp.o [273/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/DiagnosticsYamlTest.cpp.o [274/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/CommentHandlerTest.cpp.o [275/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/HeaderIncludesTest.cpp.o [276/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/DependencyScannerTest.cpp.o [277/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/HeaderAnalysisTest.cpp.o [278/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/StandardLibraryTest.cpp.o [279/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/FixItTest.cpp.o [280/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/ExecutionTest.cpp.o [281/441] Linking CXX executable tools/extra/clangd/unittests/ClangdTests /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h: In function 'InitGlobal.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In member function '__dt_base ', inlined from '__dt_base ' at /usr/include/llvm/ADT/APFloat.h:668:7, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1419:25, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1417:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:847:38, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:841:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1304:12, inlined from 'operator=' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Floating.h:26:7, inlined from 'InitGlobal.constprop' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:32: /usr/include/c++/12/bits/unique_ptr.h:670:15: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 670 | __ptr = pointer(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In function 'InitGlobal.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 48 into destination object 'B' of size 32 196 | Block B; | /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h: In function 'InitGlobalTemp.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:964: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 964 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalFnPtr' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10658:30, inlined from 'emitInitGlobalFnPtr' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10655:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10559:31: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10645:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10555:30: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10643:31, inlined from 'emitInitGlobalUint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10640:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10553:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10638:31, inlined from 'emitInitGlobalSint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10635:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10551:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10633:31, inlined from 'emitInitGlobalUint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10630:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10549:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 4 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10628:31, inlined from 'emitInitGlobalSint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10625:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10547:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 4 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10623:31, inlined from 'emitInitGlobalUint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10620:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10545:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 2 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10618:31, inlined from 'emitInitGlobalSint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10615:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10543:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 2 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10613:30, inlined from 'emitInitGlobalUint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10610:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10541:31: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10608:30, inlined from 'emitInitGlobalSint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10605:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10539:31: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10645:0: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobalBool': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | [282/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/LookupTest.cpp.o [283/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/QualTypeNamesTest.cpp.o [284/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/LexicallyOrderedRecursiveASTVisitorTest.cpp.o [285/441] Linking CXX executable tools/extra/unittests/clang-change-namespace/ClangChangeNamespaceTests [286/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/Attr.cpp.o [287/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RangeSelectorTest.cpp.o [288/441] Linking CXX executable tools/extra/unittests/clang-doc/ClangDocTests [289/441] Linking CXX executable tools/extra/unittests/clang-include-fixer/ClangIncludeFixerTests [290/441] Linking CXX executable tools/extra/unittests/clang-include-fixer/find-all-symbols/FindAllSymbolsTests [291/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/Class.cpp.o [292/441] Linking CXX executable tools/extra/unittests/clang-move/ClangMoveTests [293/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/CallbacksLeaf.cpp.o [294/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/CallbacksUnaryOperator.cpp.o [295/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/CallbacksBinaryOperator.cpp.o [296/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/CXXBoolLiteralExpr.cpp.o [297/441] Linking CXX executable tools/extra/unittests/clang-query/ClangQueryTests [298/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/ConstructExpr.cpp.o [299/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/CallbacksCompoundAssignOperator.cpp.o [300/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/Concept.cpp.o [301/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/CallbacksCallExpr.cpp.o [302/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/CXXMemberCall.cpp.o [303/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/CXXOperatorCallExprTraverser.cpp.o [304/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/CXXMethodDecl.cpp.o [305/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/DeclRefExpr.cpp.o [306/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/ImplicitCtor.cpp.o [307/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/InitListExprPostOrder.cpp.o [308/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/InitListExprPostOrderNoQueue.cpp.o [309/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/ImplicitCtorInitializer.cpp.o [310/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/InitListExprPreOrderNoQueue.cpp.o [311/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/InitListExprPreOrder.cpp.o [312/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/IntegerLiteral.cpp.o [313/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/LambdaDefaultCapture.cpp.o [314/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/LambdaTemplateParams.cpp.o [315/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/MemberPointerTypeLoc.cpp.o [316/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/LambdaExpr.cpp.o [317/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/NestedNameSpecifiers.cpp.o [318/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/ParenExpr.cpp.o [319/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/TemplateArgumentLocTraverser.cpp.o [320/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/ReplacementsYamlTest.cpp.o [321/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RefactoringActionRulesTest.cpp.o [322/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTests/TraversalScope.cpp.o [323/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RewriterTest.cpp.o [324/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTestPostOrderVisitor.cpp.o [325/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RefactoringCallbacksTest.cpp.o [326/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTestTypeLocVisitor.cpp.o [327/441] Linking CXX executable tools/extra/unittests/clang-tidy/ClangTidyTests /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h: In function 'InitGlobal.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In member function '__dt_base ', inlined from '__dt_base ' at /usr/include/llvm/ADT/APFloat.h:668:7, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1419:25, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1417:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:847:38, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:841:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1304:12, inlined from 'operator=' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Floating.h:26:7, inlined from 'InitGlobal.constprop' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:32: /usr/include/c++/12/bits/unique_ptr.h:670:15: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 670 | __ptr = pointer(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In function 'InitGlobal.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 48 into destination object 'B' of size 32 196 | Block B; | /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h: In function 'InitGlobalTemp.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:964:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 964 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalFnPtr' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10658:30, inlined from 'emitInitGlobalFnPtr' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10655:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10559:31: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10645:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10555:30: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10643:31, inlined from 'emitInitGlobalUint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10640:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10553:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10638:31, inlined from 'emitInitGlobalSint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10635:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10551:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10633:31, inlined from 'emitInitGlobalUint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10630:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10549:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 4 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10628:31, inlined from 'emitInitGlobalSint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10625:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10547:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 4 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10623:31, inlined from 'emitInitGlobalUint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10620:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10545:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 2 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10618:31, inlined from 'emitInitGlobalSint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10615:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10543:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 2 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10613:30, inlined from 'emitInitGlobalUint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10610:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10541:31: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10608:30, inlined from 'emitInitGlobalSint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10605:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10539:31: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10645:0: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobalBool': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | [328/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/ToolingTest.cpp.o [329/441] Building CXX object unittests/Tooling/Syntax/CMakeFiles/SyntaxTests.dir/TreeTestBase.cpp.o [330/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RecursiveASTVisitorTestDeclVisitor.cpp.o [331/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/SourceCodeBuildersTest.cpp.o [332/441] Linking CXX executable unittests/Basic/BasicTests [333/441] Linking CXX executable unittests/Lex/LexTests [334/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/StencilTest.cpp.o [335/441] Building CXX object unittests/Tooling/Syntax/CMakeFiles/SyntaxTests.dir/BuildTreeTest.cpp.o [336/441] Linking CXX executable unittests/Driver/ClangDriverTests [337/441] Building CXX object unittests/Tooling/Syntax/CMakeFiles/SyntaxTests.dir/MutationsTest.cpp.o [338/441] Building CXX object unittests/Tooling/Syntax/CMakeFiles/SyntaxTests.dir/SynthesisTest.cpp.o [339/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/BracesInserterTest.cpp.o [340/441] Building CXX object unittests/Tooling/Syntax/CMakeFiles/SyntaxTests.dir/TreeTest.cpp.o [341/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/BracesRemoverTest.cpp.o [342/441] Linking CXX executable unittests/Analysis/ClangAnalysisTests [343/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/DefinitionBlockSeparatorTest.cpp.o [344/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/RefactoringTest.cpp.o [345/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/CleanupTest.cpp.o [346/441] Building CXX object unittests/Tooling/Syntax/CMakeFiles/SyntaxTests.dir/TokensTest.cpp.o [347/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/FormatTestCSharp.cpp.o [348/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/TransformerTest.cpp.o [349/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/FormatTestJava.cpp.o [350/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/FormatTestJson.cpp.o [351/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/FormatTestJS.cpp.o [352/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/FormatTestMacroExpansion.cpp.o [353/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/FormatTestProto.cpp.o [354/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/FormatTestObjC.cpp.o [355/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/FormatTestComments.cpp.o [356/441] Linking CXX executable unittests/Analysis/FlowSensitive/ClangAnalysisFlowSensitiveTests [357/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/FormatTestTableGen.cpp.o [358/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/FormatTestSelective.cpp.o [359/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/FormatTestRawStrings.cpp.o [360/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/FormatTestTextProto.cpp.o [361/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/IntegerLiteralSeparatorTest.cpp.o [362/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/FormatReplacementTest.cpp.o [363/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/FormatTestVerilog.cpp.o [364/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/FormatTokenSourceTest.cpp.o [365/441] Linking CXX executable unittests/StaticAnalyzer/StaticAnalysisTests [366/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/NamespaceEndCommentsFixerTest.cpp.o [367/441] Building CXX object unittests/Introspection/CMakeFiles/IntrospectionTests.dir/IntrospectionTest.cpp.o [368/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/SortImportsTestJS.cpp.o [369/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/MacroExpanderTest.cpp.o [370/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/MacroCallReconstructorTest.cpp.o [371/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/SortImportsTestJava.cpp.o [372/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/UsingDeclarationsSorterTest.cpp.o [373/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/SortIncludesTest.cpp.o [374/441] Building CXX object unittests/Frontend/CMakeFiles/FrontendTests.dir/FixedPointString.cpp.o [375/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/QualifierFixerTest.cpp.o [376/441] Building CXX object unittests/Frontend/CMakeFiles/FrontendTests.dir/CompilerInstanceTest.cpp.o [377/441] Building CXX object unittests/Frontend/CMakeFiles/FrontendTests.dir/ASTUnitTest.cpp.o [378/441] Building CXX object unittests/Frontend/CMakeFiles/FrontendTests.dir/ParsedSourceLocationTest.cpp.o [379/441] Building CXX object unittests/Frontend/CMakeFiles/FrontendTests.dir/CodeGenActionTest.cpp.o [380/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/FormatTest.cpp.o [381/441] Linking CXX executable unittests/ASTMatchers/ASTMatchersTests [382/441] Building CXX object unittests/Frontend/CMakeFiles/FrontendTests.dir/CompilerInvocationTest.cpp.o [383/441] Building CXX object unittests/Frontend/CMakeFiles/FrontendTests.dir/TextDiagnosticTest.cpp.o [384/441] Building CXX object unittests/Tooling/CMakeFiles/ToolingTests.dir/SourceCodeTest.cpp.o [385/441] Linking CXX executable unittests/ASTMatchers/Dynamic/DynamicASTMatchersTests [386/441] Building CXX object unittests/Rewrite/CMakeFiles/RewriteTests.dir/RewriteBufferTest.cpp.o [387/441] Building CXX object unittests/Frontend/CMakeFiles/FrontendTests.dir/PCHPreambleTest.cpp.o [388/441] Building CXX object unittests/Frontend/CMakeFiles/FrontendTests.dir/ReparseWorkingDirTest.cpp.o [389/441] Building CXX object unittests/Frontend/CMakeFiles/FrontendTests.dir/FrontendActionTest.cpp.o [390/441] Building CXX object unittests/Frontend/CMakeFiles/FrontendTests.dir/UtilsTest.cpp.o [391/441] Building CXX object unittests/Rewrite/CMakeFiles/RewriteTests.dir/RewriterTest.cpp.o [392/441] Building CXX object unittests/Frontend/CMakeFiles/FrontendTests.dir/OutputStreamTest.cpp.o [393/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/ConfigParseTest.cpp.o In file included from /usr/include/llvm-gtest/gtest/gtest-printers.h:114, from /usr/include/llvm-gtest/gtest/gtest-matchers.h:47, from /usr/include/llvm-gtest/gtest/internal/gtest-death-test-internal.h:43, from /usr/include/llvm-gtest/gtest/gtest-death-test.h:45, from /usr/include/llvm-gtest/gtest/gtest.h:61, from /builddir/build/BUILD/clang-17.0.6.src/unittests/Format/ConfigParseTest.cpp:12: /builddir/build/BUILD/clang-17.0.6.src/unittests/Format/ConfigParseTest.cpp: In member function 'clang::format::(anonymous namespace)::ConfigParseTest_ParsesConfiguration_Test::TestBody()': /builddir/build/BUILD/clang-17.0.6.src/unittests/Format/ConfigParseTest.cpp:233:6: note: variable tracking size limit exceeded with '-fvar-tracking-assignments', retrying without 233 | TEST(ConfigParseTest, ParsesConfiguration) { | ^~~~~~~~~~~~~~~ [394/441] Building CXX object unittests/Format/CMakeFiles/FormatTests.dir/TokenAnnotatorTest.cpp.o [395/441] Building CXX object unittests/CodeGen/CMakeFiles/ClangCodeGenTests.dir/CheckTargetFeaturesTest.cpp.o [396/441] Building CXX object unittests/Sema/CMakeFiles/SemaTests.dir/ExternalSemaSourceTest.cpp.o [397/441] Building CXX object unittests/Sema/CMakeFiles/SemaTests.dir/SemaLookupTest.cpp.o [398/441] Building CXX object unittests/Sema/CMakeFiles/SemaTests.dir/CodeCompleteTest.cpp.o [399/441] Building CXX object unittests/Sema/CMakeFiles/SemaTests.dir/GslOwnerPointerInference.cpp.o [400/441] Building CXX object unittests/CodeGen/CMakeFiles/ClangCodeGenTests.dir/BufferSourceTest.cpp.o [401/441] Building CXX object unittests/libclang/CrashTests/CMakeFiles/libclangCrashTests.dir/LibclangCrashTest.cpp.o [402/441] Building CXX object unittests/CodeGen/CMakeFiles/ClangCodeGenTests.dir/CodeGenExternalTest.cpp.o [403/441] Building CXX object unittests/libclang/CMakeFiles/libclangTests.dir/LibclangTest.cpp.o [404/441] Building CXX object unittests/Sema/CMakeFiles/SemaTests.dir/SemaNoloadLookupTest.cpp.o [405/441] Building CXX object unittests/CodeGen/CMakeFiles/ClangCodeGenTests.dir/TBAAMetadataTest.cpp.o [406/441] Building CXX object unittests/Interpreter/CMakeFiles/ClangReplInterpreterTests.dir/IncrementalProcessingTest.cpp.o [407/441] Building CXX object unittests/DirectoryWatcher/CMakeFiles/DirectoryWatcherTests.dir/DirectoryWatcherTest.cpp.o [408/441] Linking CXX executable unittests/AST/ASTTests [409/441] Building CXX object unittests/Serialization/CMakeFiles/SerializationTests.dir/InMemoryModuleCacheTest.cpp.o [410/441] Building CXX object unittests/Interpreter/ExceptionTests/CMakeFiles/ClangReplInterpreterExceptionTests.dir/InterpreterExceptionTest.cpp.o [411/441] Linking CXX executable unittests/CrossTU/CrossTUTests [412/441] Building CXX object unittests/Interpreter/CMakeFiles/ClangReplInterpreterTests.dir/InterpreterTest.cpp.o [413/441] Building CXX object unittests/Serialization/CMakeFiles/SerializationTests.dir/SourceLocationEncodingTest.cpp.o /builddir/build/BUILD/clang-17.0.6.src/unittests/Serialization/SourceLocationEncodingTest.cpp: In function 'void {anonymous}::roundTrip(clang::SourceLocation::UIntTy, std::optional)': /builddir/build/BUILD/clang-17.0.6.src/unittests/Serialization/SourceLocationEncodingTest.cpp:28:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 28 | if (ExpectedEncoded) | ^ /builddir/build/BUILD/clang-17.0.6.src/unittests/Serialization/SourceLocationEncodingTest.cpp: In function 'void {anonymous}::roundTrip(std::vector, std::vector)': /builddir/build/BUILD/clang-17.0.6.src/unittests/Serialization/SourceLocationEncodingTest.cpp:44:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 44 | if (!ExpectedEncoded.empty()) | ^ /builddir/build/BUILD/clang-17.0.6.src/unittests/Serialization/SourceLocationEncodingTest.cpp: In member function 'virtual void {anonymous}::SourceLocationEncoding_Individual_Test::TestBody()': /builddir/build/BUILD/clang-17.0.6.src/unittests/Serialization/SourceLocationEncodingTest.cpp:73:28: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 73 | roundTrip(MacroBit | Big + 1); | ~~~~^~~ [414/441] Building CXX object unittests/Serialization/CMakeFiles/SerializationTests.dir/ModuleCacheTest.cpp.o [415/441] Building CXX object unittests/Index/CMakeFiles/IndexTests.dir/IndexTests.cpp.o [416/441] Building CXX object unittests/Rename/CMakeFiles/ClangRenameTests.dir/RenameEnumTest.cpp.o [417/441] Building CXX object unittests/Rename/CMakeFiles/ClangRenameTests.dir/RenameClassTest.cpp.o [418/441] Building CXX object unittests/Rename/CMakeFiles/ClangRenameTests.dir/RenameAliasTest.cpp.o [419/441] Building CXX object unittests/Rename/CMakeFiles/ClangRenameTests.dir/RenameFunctionTest.cpp.o [420/441] Building CXX object unittests/Rename/CMakeFiles/ClangRenameTests.dir/RenameMemberTest.cpp.o [421/441] Building CXX object unittests/Serialization/CMakeFiles/SerializationTests.dir/NoCommentsTest.cpp.o [422/441] Building CXX object unittests/Support/CMakeFiles/ClangSupportTests.dir/TimeProfilerTest.cpp.o [423/441] Building CXX object unittests/Serialization/CMakeFiles/SerializationTests.dir/VarDeclConstantInitTest.cpp.o [424/441] Linking CXX executable unittests/Tooling/ToolingTests [425/441] Linking CXX executable unittests/Tooling/Syntax/SyntaxTests [426/441] Linking CXX executable unittests/Introspection/IntrospectionTests [427/441] Linking CXX executable unittests/Format/FormatTests /builddir/build/BUILD/clang-17.0.6.src/unittests/Format/ConfigParseTest.cpp: In member function 'TestBody': /builddir/build/BUILD/clang-17.0.6.src/unittests/Format/ConfigParseTest.cpp:233:1: note: variable tracking size limit exceeded with '-fvar-tracking-assignments', retrying without 233 | TEST(ConfigParseTest, ParsesConfiguration) { | ^ [428/441] Linking CXX executable unittests/Frontend/FrontendTests [429/441] Linking CXX executable unittests/Rewrite/RewriteTests [430/441] Linking CXX executable unittests/Sema/SemaTests [431/441] Linking CXX executable unittests/CodeGen/ClangCodeGenTests [432/441] Linking CXX executable unittests/Interpreter/ClangReplInterpreterTests /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h: In function 'InitGlobal.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In member function '__dt_base ', inlined from '__dt_base ' at /usr/include/llvm/ADT/APFloat.h:668:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1419:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1417:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:847:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:841:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1304:0, inlined from 'operator=' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Floating.h:26:0, inlined from 'InitGlobal.constprop' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:0: /usr/include/c++/12/bits/unique_ptr.h:670:15: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 670 | __ptr = pointer(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In function 'InitGlobal.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 48 into destination object 'B' of size 32 196 | Block B; | /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h: In function 'InitGlobalTemp.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:964: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 964 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In member function '__dt_base ', inlined from '__dt_base ' at /usr/include/llvm/ADT/APFloat.h:668:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1419:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1417:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:847:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:841:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1304:0, inlined from 'operator=' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Floating.h:26:0, inlined from 'InitGlobalTemp.constprop' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:964:0: /usr/include/c++/12/bits/unique_ptr.h:670:15: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 670 | __ptr = pointer(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In function 'InitGlobalTemp.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 48 into destination object 'B' of size 32 196 | Block B; | /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/DeclSpec.cpp: In member function 'setDecompositionBindings': /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/DeclSpec.cpp:317:63: warning: argument 1 value '18446744073709551615' exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 317 | new DecompositionDeclarator::Binding[Bindings.size()]; | ^ /usr/include/c++/12/new:128: note: in a call to allocation function 'operator new []' declared here 128 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc) | /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/DeclSpec.cpp: In function 'getFunction': /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/DeclSpec.cpp:286:69: warning: argument 1 value '18446744073709551615' exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 286 | I.Fun.DeclsInPrototype = new NamedDecl *[DeclsInPrototype.size()]; | ^ /usr/include/c++/12/new:128: note: in a call to allocation function 'operator new []' declared here 128 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc) | In function 'InitGlobal', inlined from 'emitInitGlobalFnPtr' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10658:30, inlined from 'emitInitGlobalFnPtr' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10655:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10559:31: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10645:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10555:30: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10643:31, inlined from 'emitInitGlobalUint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10640:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10553:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10638:31, inlined from 'emitInitGlobalSint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10635:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10551:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10633:31, inlined from 'emitInitGlobalUint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10630:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10549:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 4 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10628:31, inlined from 'emitInitGlobalSint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10625:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10547:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 4 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10623:31, inlined from 'emitInitGlobalUint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10620:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10545:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 2 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10618:31, inlined from 'emitInitGlobalSint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10615:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10543:32: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 2 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalUint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10613:30, inlined from 'emitInitGlobalUint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10610:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10541:31: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalSint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10608:30, inlined from 'emitInitGlobalSint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10605:0, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10539:31: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobal': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In function 'InitGlobal', inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:29, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10645:0: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:3: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobalBool': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | In member function '__dt_base ', inlined from '__dt_base ' at /usr/include/llvm/ADT/APFloat.h:668:7, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1419:25, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1417:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:847:38, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:841:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1304:12, inlined from 'operator=' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Floating.h:26:7, inlined from 'InitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:32, inlined from 'emitInitGlobalFloat' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10663:30, inlined from 'emitInitGlobalFloat' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10660:0: /usr/include/c++/12/bits/unique_ptr.h:670:15: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 670 | __ptr = pointer(); | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'emitInitGlobalFloat': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196: note: at offset 48 into destination object 'B' of size 32 196 | Block B; | [433/441] Linking CXX executable unittests/Interpreter/ExceptionTests/ClangReplInterpreterExceptionTests /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h: In function 'InitGlobal.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ In member function '__dt_base ', inlined from '__dt_base ' at /usr/include/llvm/ADT/APFloat.h:668:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1419:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1417:16, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:847:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:841:14, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1304:0, inlined from 'operator=' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Floating.h:26:0, inlined from 'InitGlobal.constprop' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948:0: /usr/include/c++/12/bits/unique_ptr.h:670: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 670 | __ptr = pointer(); | /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In function 'InitGlobal.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 48 into destination object 'B' of size 32 196 | Block B; | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h: In function 'InitGlobalTemp.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:964: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 964 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ In member function '__dt_base ', inlined from '__dt_base ' at /usr/include/llvm/ADT/APFloat.h:668:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1419:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1417:16, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:847:0, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:841:14, inlined from 'operator=' at /usr/include/llvm/ADT/APFloat.h:1304:0, inlined from 'operator=' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Floating.h:26:0, inlined from 'InitGlobalTemp.constprop' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:964:0: /usr/include/c++/12/bits/unique_ptr.h:670: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 670 | __ptr = pointer(); | /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In function 'InitGlobalTemp.constprop': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 48 into destination object 'B' of size 32 196 | Block B; | ^ /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/DeclSpec.cpp: In function 'getFunction.isra': /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/DeclSpec.cpp:286: warning: argument 1 value '18446744073709551615' exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 286 | I.Fun.DeclsInPrototype = new NamedDecl *[DeclsInPrototype.size()]; | /usr/include/c++/12/new:128:26: note: in a call to allocation function 'operator new []' declared here 128 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc) | ^ In member function '__dt_base ', inlined from '__dt_base ' at /usr/include/llvm/ADT/APInt.h:168:3, inlined from '__dt_base ' at /usr/include/llvm/ADT/APSInt.h:23:0, inlined from 'checkOMPArraySectionConstantForReduction' at /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaOpenMP.cpp:19108:0, inlined from 'actOnOMPReductionKindClause.constprop' at /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaOpenMP.cpp:19485:0: /usr/include/llvm/ADT/APInt.h:170:18: warning: 'operator delete []' called on a pointer to an unallocated object '1B' [-Wfree-nonheap-object] 170 | delete[] U.pVal; | ^ In member function '__dt_base ', inlined from '__dt_base ' at /usr/include/llvm/ADT/APInt.h:168:3, inlined from '__dt_base ' at /usr/include/llvm/ADT/APSInt.h:23:0, inlined from 'checkOMPArraySectionConstantForReduction' at /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaOpenMP.cpp:19127:0, inlined from 'actOnOMPReductionKindClause.constprop' at /builddir/build/BUILD/clang-17.0.6.src/lib/Sema/SemaOpenMP.cpp:19485:0: /usr/include/llvm/ADT/APInt.h:170:18: warning: 'operator delete []' called on a pointer to an unallocated object '1B' [-Wfree-nonheap-object] 170 | delete[] U.pVal; | ^ In function 'InitGlobal', inlined from 'emitInitGlobalFnPtr' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10658:0, inlined from 'emitInitGlobalFnPtr' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10655:6, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10559:0, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:0, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:0: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ In function 'InitGlobal', inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10648:0, inlined from 'emitInitGlobalBool' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10645:6, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10555:0, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:0, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:0: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ In function 'InitGlobal', inlined from 'emitInitGlobalUint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10643:0, inlined from 'emitInitGlobalUint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10640:6, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10553:0, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:0, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:0: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ In function 'InitGlobal', inlined from 'emitInitGlobalSint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10638:0, inlined from 'emitInitGlobalSint64' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10635:6, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10551:0, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:0, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:0: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948: warning: writing 8 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ In function 'InitGlobal', inlined from 'emitInitGlobalUint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10633:0, inlined from 'emitInitGlobalUint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10630:6, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10549:0, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:0, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:0: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948: warning: writing 4 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ In function 'InitGlobal', inlined from 'emitInitGlobalSint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10628:0, inlined from 'emitInitGlobalSint32' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10625:6, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10547:0, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:0, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:0: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948: warning: writing 4 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ In function 'InitGlobal', inlined from 'emitInitGlobalUint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10623:0, inlined from 'emitInitGlobalUint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10620:6, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10545:0, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:0, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:0: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948: warning: writing 2 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ In function 'InitGlobal', inlined from 'emitInitGlobalSint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10618:0, inlined from 'emitInitGlobalSint16' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10615:6, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10543:0, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:0, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:0: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948: warning: writing 2 bytes into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ In function 'InitGlobal', inlined from 'emitInitGlobalUint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10613:0, inlined from 'emitInitGlobalUint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10610:6, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10541:0, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:0, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:0: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ In function 'InitGlobal', inlined from 'emitInitGlobalSint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10608:0, inlined from 'emitInitGlobalSint8' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10605:6, inlined from 'emitInitGlobal' at /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib/AST/Opcodes.inc:10539:0, inlined from 'visitVarDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1691:0, inlined from 'visitDecl' at /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/ByteCodeExprGen.cpp:1638:0: /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Interp.h:948: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 948 | S.P.getGlobal(I)->deref() = S.Stk.pop(); | /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h: In member function 'visitDecl': /builddir/build/BUILD/clang-17.0.6.src/lib/AST/Interp/Program.h:196:11: note: at offset 32 into destination object 'B' of size 32 196 | Block B; | ^ [434/441] Linking CXX executable unittests/libclang/libclangTests [435/441] Linking CXX executable unittests/libclang/CrashTests/libclangCrashTests [436/441] Linking CXX executable unittests/DirectoryWatcher/DirectoryWatcherTests [437/441] Linking CXX executable unittests/Rename/ClangRenameTests [438/441] Linking CXX executable unittests/Index/IndexTests [439/441] Linking CXX executable unittests/Serialization/SerializationTests [440/441] Linking CXX executable unittests/Support/ClangSupportTests [440/441] Running all regression tests lit: /usr/lib/python3.11/site-packages/lit/llvm/config.py:459: note: using clang: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang lit: /usr/lib/python3.11/site-packages/lit/llvm/config.py:459: note: using clang: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang lit: /usr/lib/python3.11/site-packages/lit/llvm/config.py:459: note: using clang: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -- Testing: 18953 tests, 8 workers -- Testing: 0 FAIL: Clang :: Analysis/CheckThatArraySubsciptNodeIsNotCollected.cpp (393 of 18953) ******************** TEST 'Clang :: Analysis/CheckThatArraySubsciptNodeIsNotCollected.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/CheckThatArraySubsciptNodeIsNotCollected.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/CheckThatArraySubsciptNodeIsNotCollected.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling test() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/CheckThatArraySubsciptNodeIsNotCollected.cpp:25:19: Error evaluating branch #0 0x0000ffffb3efacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb3ef9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb3efb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffbce36800 (linux-vdso.so.1+0x800) #4 0x0000ffffbc153688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffbc153688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffbc153688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffbc153688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffbc153688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffbc153688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffbc153688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffbc153688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffbbe00c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffbbe00c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffbbe00c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffbbe00c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffbbe01ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffbbe01ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffbbe01ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffbbe01ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffbbe14770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffbbe14770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffbbe14770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffbbe15cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffbbe15cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffbbe15cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffbbe15190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffbbe15190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffbbe15190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffbbe217d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffbbe217d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffbbe217d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffbbe2b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffbbe2b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffbbe2b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffbbd8f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffbbd8f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffbbd8f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffbbd8f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffbc27d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffbc27d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffbc27d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffbbda58c8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffffbbda58c8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffffbbda58c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffffbbda58c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffffbbda58c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffffbbda58c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffffbbda58c8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffffbbda58c8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffffbbda58c8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffffbbda58c8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffffbbda5e30 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffffbbdbd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffbbdbd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffbbdbd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffbbdbd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffbbdbd764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffbc08787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffbc08787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffbc08787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffbc08787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffbc08787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffbc0887e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffbc0887e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffbc0887e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffbc08cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffbc08cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffbc08cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffbc08cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffbc08cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffba4e1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffba4e1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffba4e1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffba4e1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffbbba7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffbbb5fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffbbb5fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffbbb5fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffbbbe610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaab34e59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaab34e94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaab34eaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaab34e1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffb315098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffb3150a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaab34e20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/CheckThatArraySubsciptNodeIsNotCollected.cpp.script: line 1: 1823057 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/CheckThatArraySubsciptNodeIsNotCollected.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/CFRetainRelease_NSAssertionHandler.m (394 of 18953) ******************** TEST 'Clang :: Analysis/CFRetainRelease_NSAssertionHandler.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount,alpha.core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/CFRetainRelease_NSAssertionHandler.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount,alpha.core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/CFRetainRelease_NSAssertionHandler.m 1. parser at end of file 2. While analyzing stack: #0 Calling pointerFunction 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/CFRetainRelease_NSAssertionHandler.m:70:15: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/CFRetainRelease_NSAssertionHandler.m:70:15: Error evaluating statement #0 0x0000ffff9375acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff93759100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9375b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9c69f800 (linux-vdso.so.1+0x800) #4 0x0000ffff9b9b3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9b9b3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9b9b3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9b9b3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9b9b3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9b9b3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff9b9b3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff9b9b3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9b660c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9b660c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9b660c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9b660c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9b661ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9b661ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9b661ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9b661ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff9b674770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff9b674770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff9b674770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff9b675cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff9b675cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff9b675cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff9b675190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff9b675190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff9b675190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff9b6817d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff9b6817d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff9b6817d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9b68b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9b68b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9b68b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9b5ef72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9b5ef72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9b5ef72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9b5ef72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9badd3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9badd3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9badd3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff9b602a0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff9b602a0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff9b602a0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffff9b61ccac llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffff9b61ccac llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffff9b61ccac llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffff9b61ccac clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffff9b61ccac clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffff9b61cf08 clang::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 0x0000ffff9b61d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff9b61d41c clang::ento::CoreEngine::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 0x0000ffff9b61d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff9b61d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff9b61d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff9b61d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff9b61d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff9b8e787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff9b8e787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff9b8e787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff9b8e787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff9b8e787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff9b8e87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff9b8e87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff9b8e87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff9b8ecde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff9b8ecde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff9b8ecde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff9b8ecde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff9b8ecde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff99d41e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff99d41e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff99d41e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff99d41e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff9b407ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff9b3bfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff9b3bfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff9b3bfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff9b44610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaadac759f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaadac794b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaadac7aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaadac71fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff929b098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff929b0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaadac720b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/CFRetainRelease_NSAssertionHandler.m.script: line 1: 1823051 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount,alpha.core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/CFRetainRelease_NSAssertionHandler.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/DeallocMissingRelease.m (395 of 18953) ******************** TEST 'Clang :: Analysis/DeallocMissingRelease.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=osx.cocoa.Dealloc -fblocks -triple x86_64-apple-ios4.0 -DMACOS=0 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/DeallocMissingRelease.m : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=osx.cocoa.Dealloc -fblocks -triple x86_64-apple-macosx10.6.0 -DMACOS=1 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/DeallocMissingRelease.m : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=osx.cocoa.Dealloc -fblocks -triple x86_64-apple-darwin10 -fobjc-arc -fobjc-runtime-has-weak -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/DeallocMissingRelease.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=osx.cocoa.Dealloc -fblocks -triple x86_64-apple-ios4.0 -DMACOS=0 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/DeallocMissingRelease.m 1. parser at end of file #0 0x0000ffffaf13acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffaf139100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffaf13b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb8078800 (linux-vdso.so.1+0x800) #4 0x0000ffffb7393688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb7393688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb7393688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb7393688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb7393688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb7393688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb7393688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb7393688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb7040c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb7040c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb7040c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb7040c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb7041ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb7041ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb7041ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb7041ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb7054770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb7054770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb7054770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb7055cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb7055cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb7055cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb7055190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb7055190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb7055190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb70617d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb70617d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb70617d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb706b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb706b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb706b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb6fcf72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb6fcf72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb6fcf72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb6fcf72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb6fcfbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb6fcfbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb6fcfbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffb6fa31c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffb6fa31c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffb6fa31c0 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffb6fdfba8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffb6fdfba8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffb6fdfba8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffffb6ffdaa8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffb6ffdaa8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffb6ffdaa8 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffb72c787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffb72c787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffb72c787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffb72c787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffb72c787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffb72c87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffffb72c87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffb72c87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffb72ccde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffb72ccde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffb72ccde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffb72ccde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffb72ccde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffb5721e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffffb5721e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffb5721e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffffb5721e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffb6de7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffb6d9fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffb6d9fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffb6d9fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffb6e2610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaad14959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaad14994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaad149aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaad1491fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffffae39098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffffae390a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaad14920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/DeallocMissingRelease.m.script: line 3: 1823094 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=osx.cocoa.Dealloc -fblocks -triple x86_64-apple-ios4.0 -DMACOS=0 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/DeallocMissingRelease.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/CheckNSError.m (396 of 18953) ******************** TEST 'Clang :: Analysis/CheckNSError.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/CheckNSError.m -analyzer-checker=core -analyzer-checker=nullability -analyzer-checker=osx.cocoa.NSError -analyzer-checker=osx.coreFoundation.CFError -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/CheckNSError.m -analyzer-checker=core -analyzer-checker=nullability -analyzer-checker=osx.cocoa.NSError -analyzer-checker=osx.coreFoundation.CFError 1. parser at end of file #0 0x0000ffffa43bacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa43b9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa43bb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffad2f8800 (linux-vdso.so.1+0x800) #4 0x0000ffffac613688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffac613688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffac613688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffac613688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffac613688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffac613688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffac613688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffac613688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffac2c0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffac2c0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffac2c0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffac2c0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffac2c1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffac2c1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffac2c1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffac2c1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffac2d4770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffac2d4770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffac2d4770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffac2d5cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffac2d5cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffac2d5cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffac2d5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffac2d5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffac2d5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffac2e17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffac2e17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffac2e17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffac2eb074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffac2eb074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffac2eb074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffac24f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffac24f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffac24f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffac24f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffac24fbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffac24fbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffac24fbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffac431680 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffac431680 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffac431680 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffac431680 checkBeginFunction /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/NonNullParamChecker.cpp:269:0 #46 0x0000ffffac431680 void clang::ento::check::BeginFunction::_checkBeginFunction<(anonymous namespace)::NonNullParamChecker>(void*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:244:0 #47 0x0000ffffac238388 expandGraphWithCheckers<(anonymous namespace)::CheckBeginFunctionContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #48 0x0000ffffac238388 clang::ento::CheckerManager::runCheckersForBeginFunction(clang::ento::ExplodedNodeSet&, clang::BlockEdge const&, clang::ento::ExplodedNode*, clang::ento::ExprEngine&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:441:0 #49 0x0000ffffac27da24 llvm::SaveAndRestore::~SaveAndRestore() /usr/include/llvm/Support/SaveAndRestore.h:29:25 #50 0x0000ffffac27da24 clang::ento::ExprEngine::processBeginOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::BlockEdge const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2884:1 #51 0x0000ffffac27da24 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:124:0 #52 0x0000ffffac54787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #53 0x0000ffffac54787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #54 0x0000ffffac54787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #55 0x0000ffffac54787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #56 0x0000ffffac54787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #57 0x0000ffffac5487e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #58 0x0000ffffac5487e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #59 0x0000ffffac5487e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #60 0x0000ffffac54cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #61 0x0000ffffac54cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #62 0x0000ffffac54cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #63 0x0000ffffac54cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #64 0x0000ffffac54cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #65 0x0000ffffaa9a1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #66 0x0000ffffaa9a1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #67 0x0000ffffaa9a1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #68 0x0000ffffaa9a1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #69 0x0000ffffac067ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #70 0x0000ffffac01fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #71 0x0000ffffac01fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #72 0x0000ffffac01fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #73 0x0000ffffac0a610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #74 0x0000aaaabf7559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #75 0x0000aaaabf7594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #76 0x0000aaaabf75aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #77 0x0000aaaabf751fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #78 0x0000ffffa361098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #79 0x0000ffffa3610a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #80 0x0000aaaabf7520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/CheckNSError.m.script: line 1: 1823055 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/CheckNSError.m -analyzer-checker=core -analyzer-checker=nullability -analyzer-checker=osx.cocoa.NSError -analyzer-checker=osx.coreFoundation.CFError -- ******************** Testing: 0 FAIL: Clang :: Analysis/CGColorSpace.c (397 of 18953) ******************** TEST 'Clang :: Analysis/CGColorSpace.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/CGColorSpace.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/CGColorSpace.c 1. parser at end of file 2. While analyzing stack: #0 Calling fb 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/CGColorSpace.c:14:3: Error evaluating statement #0 0x0000ffff7c3aacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7c3a9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7c3ab388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff852e0800 (linux-vdso.so.1+0x800) #4 0x0000ffff8448a9a8 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff8448a9a8 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff8448a9a8 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff8448a9a8 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff8448a9a8 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff8448a9a8 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 0x0000ffff8448a9a8 get<(anonymous namespace)::RefBindings> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff8448a9a8 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 0x0000ffff8423d814 void expandGraphWithCheckers<(anonymous namespace)::CheckDeadSymbolsContext>((anonymous namespace)::CheckDeadSymbolsContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #13 0x0000ffff84257fe8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x0000ffff84257fe8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x0000ffff84257fe8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #16 0x0000ffff84257fe8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #17 0x0000ffff84257fe8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #18 0x0000ffff84257fe8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #19 0x0000ffff84257fe8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1080:48 #20 0x0000ffff8426ce94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #21 0x0000ffff8426ce94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #22 0x0000ffff8426ce94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #23 0x0000ffff8426ce94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #24 0x0000ffff8426ce94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #25 0x0000ffff8426ce94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #26 0x0000ffff8426ce94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #27 0x0000ffff8426ce94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #28 0x0000ffff8426ce94 clang::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 0x0000ffff8426d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8426d41c clang::ento::CoreEngine::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 0x0000ffff8426d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #32 0x0000ffff8426d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #33 0x0000ffff8426d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #34 0x0000ffff8426d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #35 0x0000ffff8426d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #36 0x0000ffff8453787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffff8453787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffff8453787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #39 0x0000ffff8453787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #40 0x0000ffff8453787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #41 0x0000ffff845387e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #42 0x0000ffff845387e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #43 0x0000ffff845387e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #44 0x0000ffff8453cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #45 0x0000ffff8453cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #46 0x0000ffff8453cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #47 0x0000ffff8453cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #48 0x0000ffff8453cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #49 0x0000ffff82991e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #50 0x0000ffff82991e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #51 0x0000ffff82991e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #52 0x0000ffff82991e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #53 0x0000ffff84057ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #54 0x0000ffff8400fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #55 0x0000ffff8400fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #56 0x0000ffff8400fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #57 0x0000ffff8409610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #58 0x0000aaaabe0159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #59 0x0000aaaabe0194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #60 0x0000aaaabe01aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #61 0x0000aaaabe011fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #62 0x0000ffff7b60098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #63 0x0000ffff7b600a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #64 0x0000aaaabe0120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/CGColorSpace.c.script: line 1: 1823053 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/CGColorSpace.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/Checkers/RunLoopAutoreleaseLeakChecker.m (398 of 18953) ******************** TEST 'Clang :: Analysis/Checkers/RunLoopAutoreleaseLeakChecker.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fobjc-arc -triple x86_64-darwin -analyzer-checker=core,osx.cocoa.RunLoopAutoreleaseLeak -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Checkers/RunLoopAutoreleaseLeakChecker.m : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -DEXTRA=1 -DAP1=1 -fobjc-arc -triple x86_64-darwin -analyzer-checker=core,osx.cocoa.RunLoopAutoreleaseLeak -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Checkers/RunLoopAutoreleaseLeakChecker.m : 'RUN: at line 5'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -DEXTRA=1 -DAP2=1 -fobjc-arc -triple x86_64-darwin -analyzer-checker=core,osx.cocoa.RunLoopAutoreleaseLeak -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Checkers/RunLoopAutoreleaseLeakChecker.m : 'RUN: at line 7'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -DEXTRA=1 -DAP3=1 -fobjc-arc -triple x86_64-darwin -analyzer-checker=core,osx.cocoa.RunLoopAutoreleaseLeak -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Checkers/RunLoopAutoreleaseLeakChecker.m : 'RUN: at line 9'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -DEXTRA=1 -DAP4=1 -fobjc-arc -triple x86_64-darwin -analyzer-checker=core,osx.cocoa.RunLoopAutoreleaseLeak -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Checkers/RunLoopAutoreleaseLeakChecker.m : 'RUN: at line 11'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -DEXTRA=1 -DAP5=1 -fobjc-arc -triple x86_64-darwin -analyzer-checker=core,osx.cocoa.RunLoopAutoreleaseLeak -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Checkers/RunLoopAutoreleaseLeakChecker.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fobjc-arc -triple x86_64-darwin -analyzer-checker=core,osx.cocoa.RunLoopAutoreleaseLeak -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Checkers/RunLoopAutoreleaseLeakChecker.m 1. parser at end of file 2. While analyzing stack: #0 Calling runloop_init_after 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Checkers/RunLoopAutoreleaseLeakChecker.m:75:5: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Checkers/RunLoopAutoreleaseLeakChecker.m:75:5: Error evaluating statement #0 0x0000ffffa3f1acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa3f19100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa3f1b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000fffface5b800 (linux-vdso.so.1+0x800) #4 0x0000ffffac173688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffac173688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffac173688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffac173688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffac173688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffac173688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffac173688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffac173688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffabe20c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffabe20c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffabe20c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffabe20c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffabe21ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffabe21ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffabe21ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffabe21ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffabe34770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffabe34770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffabe34770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffabe35cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffabe35cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffabe35cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffabe35190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffabe35190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffabe35190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffabe417d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffabe417d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffabe417d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffabe4b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffabe4b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffabe4b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffabdaf72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffabdaf72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffabdaf72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffabdaf72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffac29d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffac29d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffac29d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffabe1171c std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #43 0x0000ffffabe1171c std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #44 0x0000ffffabe1171c std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #45 0x0000ffffabe1171c std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #46 0x0000ffffabe1171c std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #47 0x0000ffffabe1171c clang::ento::ExprEngine::VisitObjCMessage(clang::ObjCMessageExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineObjC.cpp:192:0 #48 0x0000ffffabddba38 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #49 0x0000ffffabddba38 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2309:0 #50 0x0000ffffabddcf08 clang::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 0x0000ffffabddd1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffabddd41c clang::ento::CoreEngine::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 0x0000ffffabddd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffabddd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffabddd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffabddd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffabddd764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffac0a787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffac0a787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffac0a787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffac0a787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffac0a787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffac0a87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffac0a87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffac0a87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffac0acde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffac0acde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffac0acde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffac0acde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffac0acde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffaa501e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffaa501e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffaa501e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffaa501e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffabbc7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffabb7fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffabb7fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffabb7fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffabc0610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaab8b059f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaab8b094b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaab8b0aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaab8b01fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffa317098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffa3170a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaab8b020b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Checkers/Output/RunLoopAutoreleaseLeakChecker.m.script: line 6: 1823059 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fobjc-arc -triple x86_64-darwin -analyzer-checker=core,osx.cocoa.RunLoopAutoreleaseLeak -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Checkers/RunLoopAutoreleaseLeakChecker.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/CFContainers.mm (399 of 18953) ******************** TEST 'Clang :: Analysis/CFContainers.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin -analyzer-output=text -analyzer-checker=osx.coreFoundation.containers.PointerSizedValues -analyzer-checker=osx.coreFoundation.containers.OutOfBounds -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/CFContainers.mm -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin -analyzer-output=text -analyzer-checker=osx.coreFoundation.containers.PointerSizedValues -analyzer-checker=osx.coreFoundation.containers.OutOfBounds -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/CFContainers.mm 1. parser at end of file 2. While analyzing stack: #0 Calling TestCFMutableArrayRefEscapeViaImmutableArgument(CFMutableArrayRef) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/CFContainers.mm:241:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/CFContainers.mm:241:3: Error evaluating statement #0 0x0000ffffa26facd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa26f9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa26fb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffab63b800 (linux-vdso.so.1+0x800) #4 0x0000ffffaa937660 llvm::ImutKeyValueInfo::isEqual(clang::ento::SymExpr const* const&, clang::ento::SymExpr const* const&) /usr/include/llvm/ADT/ImmutableMap.h:45:0 #5 0x0000ffffaa937660 llvm::ImutAVLFactory>::remove_internal(clang::ento::SymExpr const* const&, llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:558:0 #6 0x0000ffffaa937660 llvm::ImutAVLFactory>::remove(llvm::ImutAVLTree>*, clang::ento::SymExpr const* const&) /usr/include/llvm/ADT/ImmutableSet.h:403:0 #7 0x0000ffffaa937660 llvm::ImmutableMap>::Factory::remove(llvm::ImmutableMap>, clang::ento::SymExpr const* const&) /usr/include/llvm/ADT/ImmutableMap.h:105:0 #8 0x0000ffffaa937660 clang::ento::ProgramStatePartialTrait>, void>::Remove(llvm::ImmutableMap>, clang::ento::SymExpr const*, llvm::ImmutableMap>::Factory&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:175:0 #9 0x0000ffffaa937660 remove<(anonymous namespace)::ArraySizeMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:669:0 #10 0x0000ffffaa937660 remove<(anonymous namespace)::ArraySizeMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:854:0 #11 0x0000ffffaa937660 (anonymous namespace)::ObjCContainersChecker::checkPointerEscape(llvm::IntrusiveRefCntPtr, llvm::DenseSet> const&, clang::ento::CallEvent const*, clang::ento::PointerEscapeKind) const (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ObjCContainersChecker.cpp:167:0 #12 0x0000ffffaa78d970 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #13 0x0000ffffaa78d970 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #14 0x0000ffffaa78d970 llvm::IntrusiveRefCntPtr clang::ento::check::PointerEscape::_checkPointerEscape<(anonymous namespace)::ObjCContainersChecker>(void*, llvm::IntrusiveRefCntPtr, llvm::DenseSet> const&, clang::ento::CallEvent const*, clang::ento::PointerEscapeKind, clang::ento::RegionAndSymbolInvalidationTraits*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:386:0 #15 0x0000ffffaa55c1a4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #16 0x0000ffffaa55c1a4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #17 0x0000ffffaa55c1a4 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, llvm::DenseSet> const&, clang::ento::CallEvent const*, clang::ento::PointerEscapeKind, clang::ento::RegionAndSymbolInvalidationTraits*)>::operator()(llvm::IntrusiveRefCntPtr, llvm::DenseSet> const&, clang::ento::CallEvent const*, clang::ento::PointerEscapeKind, clang::ento::RegionAndSymbolInvalidationTraits*) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:0 #18 0x0000ffffaa55c1a4 clang::ento::CheckerManager::runCheckersForPointerEscape(llvm::IntrusiveRefCntPtr, llvm::DenseSet> const&, clang::ento::CallEvent const*, clang::ento::PointerEscapeKind, clang::ento::RegionAndSymbolInvalidationTraits*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:630:0 #19 0x0000ffffaa5a397c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #20 0x0000ffffaa5a397c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #21 0x0000ffffaa5a397c clang::ento::ExprEngine::notifyCheckersOfPointerEscape(llvm::IntrusiveRefCntPtr, llvm::DenseSet> const*, llvm::ArrayRef, clang::ento::CallEvent const*, clang::ento::RegionAndSymbolInvalidationTraits&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3553:79 #22 0x0000ffffaa5ed424 llvm::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 0x0000ffffaa5ed424 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #24 0x0000ffffaa5ed424 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x0000ffffaa5ed424 clang::ento::ProgramState::invalidateRegionsImpl(llvm::ArrayRef, clang::Expr const*, unsigned int, clang::LocationContext const*, bool, llvm::DenseSet>*, clang::ento::RegionAndSymbolInvalidationTraits*, clang::ento::CallEvent const*) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:208:0 #26 0x0000ffffaa570774 std::_Rb_tree, std::less, std::allocator>::~_Rb_tree() /usr/include/c++/12/bits/stl_tree.h:986:0 #27 0x0000ffffaa570774 std::set, std::allocator>::~set() /usr/include/c++/12/bits/stl_set.h:281:0 #28 0x0000ffffaa570774 llvm::SmallSet>::~SmallSet() /usr/include/llvm/ADT/SmallSet.h:135:0 #29 0x0000ffffaa570774 clang::ento::CallEvent::invalidateRegions(unsigned int, llvm::IntrusiveRefCntPtr) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:286:0 #30 0x0000ffffaa5f08d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #31 0x0000ffffaa5f08d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #32 0x0000ffffaa5f08d0 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 0x0000ffffaa5f12e4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #34 0x0000ffffaa5f12e4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #35 0x0000ffffaa5f12e4 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 0x0000ffffaa579fd8 clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:288:0 #37 0x0000ffffaa5d981c llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #38 0x0000ffffaa5d981c llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #39 0x0000ffffaa5d981c clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #40 0x0000ffffaa5d981c clang::ento::ExprEngine::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 0x0000ffffaa5da144 clang::ento::ExprEngine::VisitCallExpr(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 0x0000ffffaa5bbea0 clang::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 0x0000ffffaa5bbea0 clang::ento::ExprEngine::Visit(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 0x0000ffffaa5bcf08 clang::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 0x0000ffffaa5bd1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffaa5bd41c clang::ento::CoreEngine::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 0x0000ffffaa5bd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #48 0x0000ffffaa5bd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #49 0x0000ffffaa5bd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #50 0x0000ffffaa5bd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #51 0x0000ffffaa5bd764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #52 0x0000ffffaa88787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #53 0x0000ffffaa88787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #54 0x0000ffffaa88787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #55 0x0000ffffaa88787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #56 0x0000ffffaa88787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #57 0x0000ffffaa8887e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #58 0x0000ffffaa8887e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #59 0x0000ffffaa8887e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #60 0x0000ffffaa88cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #61 0x0000ffffaa88cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #62 0x0000ffffaa88cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #63 0x0000ffffaa88cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #64 0x0000ffffaa88cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #65 0x0000ffffa8ce1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #66 0x0000ffffa8ce1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #67 0x0000ffffa8ce1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #68 0x0000ffffa8ce1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #69 0x0000ffffaa3a7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #70 0x0000ffffaa35fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #71 0x0000ffffaa35fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #72 0x0000ffffaa35fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #73 0x0000ffffaa3e610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #74 0x0000aaaac48259f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #75 0x0000aaaac48294b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #76 0x0000aaaac482aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #77 0x0000aaaac4821fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #78 0x0000ffffa195098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #79 0x0000ffffa1950a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #80 0x0000aaaac48220b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/CFContainers.mm.script: line 1: 1823043 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin -analyzer-output=text -analyzer-checker=osx.coreFoundation.containers.PointerSizedValues -analyzer-checker=osx.coreFoundation.containers.OutOfBounds -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/CFContainers.mm -- ******************** Testing: 0 FAIL: Clang :: Analysis/CFNumber.c (400 of 18953) ******************** TEST 'Clang :: Analysis/CFNumber.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.coreFoundation.CFNumber,osx.cocoa.RetainCount -verify -triple x86_64-apple-darwin9 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/CFNumber.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.coreFoundation.CFNumber,osx.cocoa.RetainCount -verify -triple x86_64-apple-darwin9 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/CFNumber.c 1. parser at end of file 2. While analyzing stack: #0 Calling f3 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/CFNumber.c:34:3: Error evaluating statement #0 0x0000ffffb263acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb2639100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb263b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffbb572800 (linux-vdso.so.1+0x800) #4 0x0000ffffba71a9a8 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffba71a9a8 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffba71a9a8 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffba71a9a8 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffba71a9a8 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffba71a9a8 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 0x0000ffffba71a9a8 get<(anonymous namespace)::RefBindings> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffba71a9a8 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 0x0000ffffba4cd814 void expandGraphWithCheckers<(anonymous namespace)::CheckDeadSymbolsContext>((anonymous namespace)::CheckDeadSymbolsContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #13 0x0000ffffba4e7fe8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x0000ffffba4e7fe8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x0000ffffba4e7fe8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #16 0x0000ffffba4e7fe8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #17 0x0000ffffba4e7fe8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #18 0x0000ffffba4e7fe8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #19 0x0000ffffba4e7fe8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1080:48 #20 0x0000ffffba4fce94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #21 0x0000ffffba4fce94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #22 0x0000ffffba4fce94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #23 0x0000ffffba4fce94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #24 0x0000ffffba4fce94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #25 0x0000ffffba4fce94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #26 0x0000ffffba4fce94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #27 0x0000ffffba4fce94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #28 0x0000ffffba4fce94 clang::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 0x0000ffffba4fd1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffba4fd41c clang::ento::CoreEngine::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 0x0000ffffba4fd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #32 0x0000ffffba4fd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #33 0x0000ffffba4fd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #34 0x0000ffffba4fd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #35 0x0000ffffba4fd764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #36 0x0000ffffba7c787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffffba7c787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffffba7c787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #39 0x0000ffffba7c787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #40 0x0000ffffba7c787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #41 0x0000ffffba7c87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #42 0x0000ffffba7c87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #43 0x0000ffffba7c87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #44 0x0000ffffba7ccde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #45 0x0000ffffba7ccde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #46 0x0000ffffba7ccde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #47 0x0000ffffba7ccde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #48 0x0000ffffba7ccde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #49 0x0000ffffb8c21e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #50 0x0000ffffb8c21e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #51 0x0000ffffb8c21e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #52 0x0000ffffb8c21e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #53 0x0000ffffba2e7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #54 0x0000ffffba29fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #55 0x0000ffffba29fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #56 0x0000ffffba29fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #57 0x0000ffffba32610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #58 0x0000aaaac10d59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #59 0x0000aaaac10d94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #60 0x0000aaaac10daac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #61 0x0000aaaac10d1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #62 0x0000ffffb189098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #63 0x0000ffffb1890a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #64 0x0000aaaac10d20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/CFNumber.c.script: line 1: 1823048 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.coreFoundation.CFNumber,osx.cocoa.RetainCount -verify -triple x86_64-apple-darwin9 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/CFNumber.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/MemRegion.cpp (401 of 18953) ******************** TEST 'Clang :: Analysis/MemRegion.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=optin.mpi.MPI-Checker -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/MemRegion.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=optin.mpi.MPI-Checker -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/MemRegion.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling testGetDescriptiveName5()::(anonymous struct)::ReqStruct() at line 44 #1 Calling testGetDescriptiveName5() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/MemRegion.cpp:43:11: Error evaluating statement #0 0x0000ffffb112acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb1129100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb112b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffba06b800 (linux-vdso.so.1+0x800) #4 0x0000ffffb8fd7db8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffb8fd7db8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffb8fd7db8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffb8fd7db8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffb8fd7db8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffb8fd7db8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffb8fd7db8 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffb8fd7db8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1059:61 #12 0x0000ffffb8fece94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffffb8fece94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffffb8fece94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffffb8fece94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffffb8fece94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffffb8fece94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffffb8fece94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffffb8fece94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffffb8fece94 clang::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 0x0000ffffb8fed1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffb8fed310 clang::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 0x0000ffffb8fed5dc clang::ento::CoreEngine::dispatchWorkItem(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 0x0000ffffb8fed764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x0000ffffb8fed764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x0000ffffb8fed764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #27 0x0000ffffb8fed764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #28 0x0000ffffb8fed764 clang::ento::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 0x0000ffffb92b787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffffb92b787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffffb92b787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #32 0x0000ffffb92b787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #33 0x0000ffffb92b787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #34 0x0000ffffb92b87e8 llvm::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 0x0000ffffb92b87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x0000ffffb92b87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #37 0x0000ffffb92bcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x0000ffffb92bcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x0000ffffb92bcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x0000ffffb92bcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x0000ffffb92bcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x0000ffffb7711e58 __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 0x0000ffffb7711e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x0000ffffb7711e58 void clang::finalize>, 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 0x0000ffffb7711e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x0000ffffb8dd7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #47 0x0000ffffb8d8fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #48 0x0000ffffb8d8fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #49 0x0000ffffb8d8fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #50 0x0000ffffb8e1610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #51 0x0000aaaaca2359f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x0000aaaaca2394b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x0000aaaaca23aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x0000aaaaca231fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x0000ffffb038098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #56 0x0000ffffb0380a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #57 0x0000aaaaca2320b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/MemRegion.cpp.script: line 1: 1823160 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=optin.mpi.MPI-Checker -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/MemRegion.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/DynamicTypePropagation.m (402 of 18953) ******************** TEST 'Clang :: Analysis/DynamicTypePropagation.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.ObjCGenerics -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/DynamicTypePropagation.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.ObjCGenerics -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/DynamicTypePropagation.m 1. parser at end of file 2. While analyzing stack: #0 Calling testArgument 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/DynamicTypePropagation.m:56:3: Error evaluating statement #0 0x0000ffff8f56acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8f569100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8f56b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff984ad800 (linux-vdso.so.1+0x800) #4 0x0000ffff97408e44 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff97408e44 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff97408e44 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff97408e44 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff97408e44 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff97408e44 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 0x0000ffff97408e44 get<(anonymous namespace)::DynamicTypeMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff97408e44 llvm::IntrusiveRefCntPtr clang::ento::removeDeadImpl<(anonymous namespace)::DynamicTypeMap>(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/DynamicType.cpp:166:15 #12 0x0000ffff977b2928 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #13 0x0000ffff977b2928 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #14 0x0000ffff977b2928 clang::ento::removeDeadTypes(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/DynamicType.cpp:176:0 #15 0x0000ffff977b2928 (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 0x0000ffff973fd814 void expandGraphWithCheckers<(anonymous namespace)::CheckDeadSymbolsContext>((anonymous namespace)::CheckDeadSymbolsContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #17 0x0000ffff97417fe8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #18 0x0000ffff97417fe8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #19 0x0000ffff97417fe8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #20 0x0000ffff97417fe8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #21 0x0000ffff97417fe8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #22 0x0000ffff97417fe8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #23 0x0000ffff97417fe8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1080:48 #24 0x0000ffff9742ce94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #25 0x0000ffff9742ce94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #26 0x0000ffff9742ce94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #27 0x0000ffff9742ce94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #28 0x0000ffff9742ce94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #29 0x0000ffff9742ce94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #30 0x0000ffff9742ce94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #31 0x0000ffff9742ce94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #32 0x0000ffff9742ce94 clang::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 0x0000ffff9742d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff9742d41c clang::ento::CoreEngine::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 0x0000ffff9742d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x0000ffff9742d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x0000ffff9742d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #38 0x0000ffff9742d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #39 0x0000ffff9742d764 clang::ento::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 0x0000ffff976f787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #41 0x0000ffff976f787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #42 0x0000ffff976f787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #43 0x0000ffff976f787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #44 0x0000ffff976f787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #45 0x0000ffff976f87e8 llvm::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 0x0000ffff976f87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #47 0x0000ffff976f87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #48 0x0000ffff976fcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #49 0x0000ffff976fcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #50 0x0000ffff976fcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #51 0x0000ffff976fcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #52 0x0000ffff976fcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #53 0x0000ffff95b51e58 __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 0x0000ffff95b51e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #55 0x0000ffff95b51e58 void clang::finalize>, 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 0x0000ffff95b51e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #57 0x0000ffff97217ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #58 0x0000ffff971cfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #59 0x0000ffff971cfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #60 0x0000ffff971cfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #61 0x0000ffff9725610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #62 0x0000aaaab8b459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #63 0x0000aaaab8b494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #64 0x0000aaaab8b4aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #65 0x0000aaaab8b41fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #66 0x0000ffff8e7c098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #67 0x0000ffff8e7c0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #68 0x0000aaaab8b420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/DynamicTypePropagation.m.script: line 1: 1823137 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.ObjCGenerics -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/DynamicTypePropagation.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/Issue56873.cpp (403 of 18953) ******************** TEST 'Clang :: Analysis/Issue56873.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Issue56873.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Issue56873.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling Issue56873_2() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Issue56873.cpp:21:16: Error evaluating New Allocator Call #0 0x0000ffffa13aacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa13a9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa13ab388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffaa2ea800 (linux-vdso.so.1+0x800) #4 0x0000ffffa9603688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa9603688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa9603688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa9603688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa9603688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa9603688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa9603688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa9603688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa92b0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa92b0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa92b0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa92b0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa92b1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa92b1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa92b1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa92b1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa92c4770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa92c4770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa92c4770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa92c5cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa92c5cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa92c5cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa92c5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa92c5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa92c5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa92d17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa92d17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa92d17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa92db074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa92db074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa92db074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa923f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa923f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa923f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa923f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa923fbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa923fbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa923fbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffa9269b98 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #43 0x0000ffffa9269b98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #44 0x0000ffffa9269b98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffffa9269b98 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #46 0x0000ffffa9269b98 clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #47 0x0000ffffa9269fac llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #48 0x0000ffffa9269fac llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #49 0x0000ffffa9269fac clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #50 0x0000ffffa9269fac clang::ento::CoreEngine::enqueue(clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:613:23 #51 0x0000ffffa9269fac clang::ento::ExprEngine::ProcessNewAllocator(clang::CXXNewExpr const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1326:0 #52 0x0000ffffa926d22c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:984:0 #53 0x0000ffffa926d41c clang::ento::CoreEngine::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 0x0000ffffa926d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #55 0x0000ffffa926d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #56 0x0000ffffa926d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #57 0x0000ffffa926d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #58 0x0000ffffa926d764 clang::ento::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 0x0000ffffa953787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #60 0x0000ffffa953787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #61 0x0000ffffa953787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #62 0x0000ffffa953787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #63 0x0000ffffa953787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #64 0x0000ffffa95387e8 llvm::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 0x0000ffffa95387e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x0000ffffa95387e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #67 0x0000ffffa953cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x0000ffffa953cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x0000ffffa953cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x0000ffffa953cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x0000ffffa953cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x0000ffffa7991e58 __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 0x0000ffffa7991e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x0000ffffa7991e58 void clang::finalize>, 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 0x0000ffffa7991e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x0000ffffa9057ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #77 0x0000ffffa900fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #78 0x0000ffffa900fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #79 0x0000ffffa900fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #80 0x0000ffffa909610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #81 0x0000aaaad97d59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x0000aaaad97d94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x0000aaaad97daac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x0000aaaad97d1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x0000ffffa060098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #86 0x0000ffffa0600a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #87 0x0000aaaad97d20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/Issue56873.cpp.script: line 1: 1823141 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Issue56873.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/DeleteWithNonVirtualDtor.cpp (404 of 18953) ******************** TEST 'Clang :: Analysis/DeleteWithNonVirtualDtor.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-checker=alpha.cplusplus.DeleteWithNonVirtualDtor -std=c++11 -verify -analyzer-output=text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/DeleteWithNonVirtualDtor.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-checker=alpha.cplusplus.DeleteWithNonVirtualDtor -std=c++11 -verify -analyzer-output=text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/DeleteWithNonVirtualDtor.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling privateDtor() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/DeleteWithNonVirtualDtor.cpp:185:14: Error evaluating New Allocator Call #0 0x0000ffffa5ecacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa5ec9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa5ecb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffaee03800 (linux-vdso.so.1+0x800) #4 0x0000ffffae123688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffae123688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffae123688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffae123688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffae123688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffae123688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffae123688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffae123688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffaddd0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffaddd0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffaddd0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffaddd0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffaddd1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffaddd1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffaddd1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffaddd1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffadde4770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffadde4770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffadde4770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffadde5cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffadde5cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffadde5cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffadde5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffadde5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffadde5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffaddf17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffaddf17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffaddf17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffaddfb074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffaddfb074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffaddfb074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffadd5f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffadd5f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffadd5f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffadd5f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffadd5fbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffadd5fbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffadd5fbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffadd89b98 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #43 0x0000ffffadd89b98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #44 0x0000ffffadd89b98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffffadd89b98 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #46 0x0000ffffadd89b98 clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #47 0x0000ffffadd89fac llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #48 0x0000ffffadd89fac llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #49 0x0000ffffadd89fac clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #50 0x0000ffffadd89fac clang::ento::CoreEngine::enqueue(clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:613:23 #51 0x0000ffffadd89fac clang::ento::ExprEngine::ProcessNewAllocator(clang::CXXNewExpr const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1326:0 #52 0x0000ffffadd8d22c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:984:0 #53 0x0000ffffadd8d310 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #54 0x0000ffffadd8d5dc clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #55 0x0000ffffadd8d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #56 0x0000ffffadd8d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #57 0x0000ffffadd8d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #58 0x0000ffffadd8d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #59 0x0000ffffadd8d764 clang::ento::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 0x0000ffffae05787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #61 0x0000ffffae05787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #62 0x0000ffffae05787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #63 0x0000ffffae05787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #64 0x0000ffffae05787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #65 0x0000ffffae0587e8 llvm::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 0x0000ffffae0587e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #67 0x0000ffffae0587e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #68 0x0000ffffae05cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #69 0x0000ffffae05cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #70 0x0000ffffae05cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #71 0x0000ffffae05cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #72 0x0000ffffae05cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #73 0x0000ffffac4b1e58 __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 0x0000ffffac4b1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #75 0x0000ffffac4b1e58 void clang::finalize>, 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 0x0000ffffac4b1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #77 0x0000ffffadb77ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #78 0x0000ffffadb2fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #79 0x0000ffffadb2fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #80 0x0000ffffadb2fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #81 0x0000ffffadbb610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #82 0x0000aaaabb3b59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #83 0x0000aaaabb3b94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #84 0x0000aaaabb3baac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #85 0x0000aaaabb3b1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #86 0x0000ffffa512098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #87 0x0000ffffa5120a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #88 0x0000aaaabb3b20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/DeleteWithNonVirtualDtor.cpp.script: line 1: 1823132 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-checker=alpha.cplusplus.DeleteWithNonVirtualDtor -std=c++11 -verify -analyzer-output=text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/DeleteWithNonVirtualDtor.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/Malloc+MismatchedDeallocator+NewDelete.cpp (405 of 18953) ******************** TEST 'Clang :: Analysis/Malloc+MismatchedDeallocator+NewDelete.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,unix.MismatchedDeallocator,cplusplus.NewDelete -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Malloc+MismatchedDeallocator+NewDelete.cpp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,unix.MismatchedDeallocator,cplusplus.NewDelete,cplusplus.NewDeleteLeaks -DLEAKS -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Malloc+MismatchedDeallocator+NewDelete.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,unix.MismatchedDeallocator,cplusplus.NewDelete -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Malloc+MismatchedDeallocator+NewDelete.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling allocIntArray(unsigned int) at line 104 #1 Calling testMismatchedChangePointeeThroughAssignment() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Malloc+MismatchedDeallocator+NewDelete.cpp:101:10: Error evaluating New Allocator Call #0 0x0000ffff892dacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff892d9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff892db388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff92215800 (linux-vdso.so.1+0x800) #4 0x0000ffff91533688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff91533688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff91533688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff91533688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff91533688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff91533688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff91533688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff91533688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff911e0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff911e0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff911e0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff911e0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff911e1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff911e1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff911e1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff911e1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff911f4770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff911f4770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff911f4770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff911f5cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff911f5cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff911f5cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff911f5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff911f5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff911f5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff912017d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff912017d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff912017d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9120b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9120b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9120b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9116f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9116f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9116f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9116f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9116fbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9116fbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9116fbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff91199b98 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #43 0x0000ffff91199b98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #44 0x0000ffff91199b98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffff91199b98 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #46 0x0000ffff91199b98 clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #47 0x0000ffff91199fac llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #48 0x0000ffff91199fac llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #49 0x0000ffff91199fac clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #50 0x0000ffff91199fac clang::ento::CoreEngine::enqueue(clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:613:23 #51 0x0000ffff91199fac clang::ento::ExprEngine::ProcessNewAllocator(clang::CXXNewExpr const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1326:0 #52 0x0000ffff9119d22c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:984:0 #53 0x0000ffff9119d41c clang::ento::CoreEngine::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 0x0000ffff9119d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #55 0x0000ffff9119d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #56 0x0000ffff9119d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #57 0x0000ffff9119d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #58 0x0000ffff9119d764 clang::ento::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 0x0000ffff9146787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #60 0x0000ffff9146787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #61 0x0000ffff9146787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #62 0x0000ffff9146787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #63 0x0000ffff9146787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #64 0x0000ffff914687e8 llvm::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 0x0000ffff914687e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x0000ffff914687e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #67 0x0000ffff9146cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x0000ffff9146cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x0000ffff9146cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x0000ffff9146cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x0000ffff9146cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x0000ffff8f8c1e58 __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 0x0000ffff8f8c1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x0000ffff8f8c1e58 void clang::finalize>, 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 0x0000ffff8f8c1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x0000ffff90f87ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #77 0x0000ffff90f3fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #78 0x0000ffff90f3fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #79 0x0000ffff90f3fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #80 0x0000ffff90fc610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #81 0x0000aaaad62c59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x0000aaaad62c94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x0000aaaad62caac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x0000aaaad62c1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x0000ffff8853098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #86 0x0000ffff88530a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #87 0x0000aaaad62c20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/Malloc+MismatchedDeallocator+NewDelete.cpp.script: line 2: 1823142 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,unix.MismatchedDeallocator,cplusplus.NewDelete -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Malloc+MismatchedDeallocator+NewDelete.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/DeallocUseAfterFreeErrors.m (406 of 18953) ******************** TEST 'Clang :: Analysis/DeallocUseAfterFreeErrors.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.SuperDealloc,debug.ExprInspection -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/DeallocUseAfterFreeErrors.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.SuperDealloc,debug.ExprInspection -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/DeallocUseAfterFreeErrors.m 1. parser at end of file #0 0x0000ffffb05dacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb05d9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb05db388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb951e800 (linux-vdso.so.1+0x800) #4 0x0000ffffb8833688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb8833688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb8833688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb8833688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb8833688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb8833688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb8833688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb8833688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb84e0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb84e0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb84e0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb84e0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb84e1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb84e1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb84e1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb84e1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb84f4770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb84f4770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb84f4770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb84f5cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb84f5cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb84f5cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb84f5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb84f5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb84f5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb85017d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb85017d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb85017d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb850b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb850b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb850b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb846f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb846f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb846f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb846f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb846fbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb846fbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb846fbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffb84431c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffb84431c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffb84431c0 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffb847fba8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffb847fba8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffb847fba8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffffb849daa8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffb849daa8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffb849daa8 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffb876787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffb876787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffb876787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffb876787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffb876787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffb87687e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffffb87687e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffb87687e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffb876cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffb876cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffb876cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffb876cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffb876cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffb6bc1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffffb6bc1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffb6bc1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffffb6bc1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffb8287ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffb823fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffb823fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffb823fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffb82c610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaad25d59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaad25d94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaad25daac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaad25d1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffffaf83098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffffaf830a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaad25d20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/DeallocUseAfterFreeErrors.m.script: line 1: 1823133 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.SuperDealloc,debug.ExprInspection -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/DeallocUseAfterFreeErrors.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/MismatchedDeallocator-checker-test.mm (407 of 18953) ******************** TEST 'Clang :: Analysis/MismatchedDeallocator-checker-test.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.MismatchedDeallocator -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/MismatchedDeallocator-checker-test.mm : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.MismatchedDeallocator -fblocks -DTEST_INLINABLE_ALLOCATORS -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/MismatchedDeallocator-checker-test.mm -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.MismatchedDeallocator -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/MismatchedDeallocator-checker-test.mm 1. parser at end of file 2. While analyzing stack: #0 Calling testSimpleSmartPointerMalloc() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/MismatchedDeallocator-checker-test.mm:227:31: Error evaluating New Allocator Call #0 0x0000ffffa53eacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa53e9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa53eb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffae32f800 (linux-vdso.so.1+0x800) #4 0x0000ffffad643688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffad643688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffad643688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffad643688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffad643688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffad643688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffad643688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffad643688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffad2f0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffad2f0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffad2f0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffad2f0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffad2f1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffad2f1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffad2f1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffad2f1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffad304770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffad304770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffad304770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffad305cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffad305cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffad305cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffad305190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffad305190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffad305190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffad3117d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffad3117d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffad3117d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffad31b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffad31b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffad31b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffad27f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffad27f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffad27f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffad27f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffad27fbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffad27fbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffad27fbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffad2a9b98 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #43 0x0000ffffad2a9b98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #44 0x0000ffffad2a9b98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffffad2a9b98 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #46 0x0000ffffad2a9b98 clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #47 0x0000ffffad2a9fac llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #48 0x0000ffffad2a9fac llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #49 0x0000ffffad2a9fac clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #50 0x0000ffffad2a9fac clang::ento::CoreEngine::enqueue(clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:613:23 #51 0x0000ffffad2a9fac clang::ento::ExprEngine::ProcessNewAllocator(clang::CXXNewExpr const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1326:0 #52 0x0000ffffad2ad22c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:984:0 #53 0x0000ffffad2ad310 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #54 0x0000ffffad2ad5dc clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #55 0x0000ffffad2ad764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #56 0x0000ffffad2ad764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #57 0x0000ffffad2ad764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #58 0x0000ffffad2ad764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #59 0x0000ffffad2ad764 clang::ento::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 0x0000ffffad57787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #61 0x0000ffffad57787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #62 0x0000ffffad57787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #63 0x0000ffffad57787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #64 0x0000ffffad57787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #65 0x0000ffffad5787e8 llvm::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 0x0000ffffad5787e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #67 0x0000ffffad5787e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #68 0x0000ffffad57cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #69 0x0000ffffad57cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #70 0x0000ffffad57cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #71 0x0000ffffad57cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #72 0x0000ffffad57cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #73 0x0000ffffab9d1e58 __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 0x0000ffffab9d1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #75 0x0000ffffab9d1e58 void clang::finalize>, 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 0x0000ffffab9d1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #77 0x0000ffffad097ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #78 0x0000ffffad04fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #79 0x0000ffffad04fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #80 0x0000ffffad04fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #81 0x0000ffffad0d610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #82 0x0000aaaac4b559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #83 0x0000aaaac4b594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #84 0x0000aaaac4b5aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #85 0x0000aaaac4b51fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #86 0x0000ffffa464098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #87 0x0000ffffa4640a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #88 0x0000aaaac4b520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/MismatchedDeallocator-checker-test.mm.script: line 2: 1823159 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.MismatchedDeallocator -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/MismatchedDeallocator-checker-test.mm -- ******************** Testing: 0 FAIL: Clang :: Analysis/Malloc+MismatchedDeallocator_intersections.cpp (408 of 18953) ******************** TEST 'Clang :: Analysis/Malloc+MismatchedDeallocator_intersections.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,unix.MismatchedDeallocator -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Malloc+MismatchedDeallocator_intersections.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,unix.MismatchedDeallocator -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Malloc+MismatchedDeallocator_intersections.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling testUseZeroAllocNoWarn() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Malloc+MismatchedDeallocator_intersections.cpp:31:20: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Malloc+MismatchedDeallocator_intersections.cpp:31:20: Error evaluating statement #0 0x0000ffffa2b4acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa2b49100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa2b4b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffaba8e800 (linux-vdso.so.1+0x800) #4 0x0000ffffaad89f20 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffaad89f20 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffaad89f20 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffaad89f20 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffaad89f20 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffaad89f20 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffaad89f20 get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffaad89f20 (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 0x0000ffffaab983d0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x0000ffffaab983d0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x0000ffffaab983d0 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 0x0000ffffaa9ac2f8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #16 0x0000ffffaa9ac2f8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #17 0x0000ffffaa9ac2f8 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool)>::operator()(llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:0 #18 0x0000ffffaa9ac2f8 clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:0 #19 0x0000ffffaaa71844 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffffaaa71844 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffffaaa71844 clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:78 #22 0x0000ffffaaa71844 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:53 #23 0x0000ffffaaa7b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x0000ffffaaa7b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x0000ffffaaa7b074 clang::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 0x0000ffffaa9df6d8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffaa9df6d8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffaa9df6d8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #29 0x0000ffffaa9df6d8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #30 0x0000ffffaaecd3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffffaaecd3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffffaaecd3d4 clang::ento::ProgramState::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 0x0000ffffaaba44b0 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x0000ffffaaba44b0 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x0000ffffaaba44b0 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x0000ffffaaba44b0 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x0000ffffaaba44b0 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x0000ffffaaba44b0 (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 0x0000ffffaabb0ff8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #40 0x0000ffffaabb0ff8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #41 0x0000ffffaabb0ff8 checkCXXNewOrCXXDelete /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1361:0 #42 0x0000ffffaabb0ff8 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1484:0 #43 0x0000ffffaabb0ff8 void clang::ento::check::PostCall::_checkCall<(anonymous namespace)::MallocChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:183:0 #44 0x0000ffffaa9c9524 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #45 0x0000ffffaa9c9524 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x0000ffffaa9c9524 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #47 0x0000ffffaa9c9524 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #48 0x0000ffffaa9c9524 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #49 0x0000ffffaaa298b8 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #50 0x0000ffffaaa298b8 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #51 0x0000ffffaaa298b8 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #52 0x0000ffffaaa298b8 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #53 0x0000ffffaaa298b8 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #54 0x0000ffffaaa298b8 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #55 0x0000ffffaaa2a144 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #56 0x0000ffffaaa0bea0 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #57 0x0000ffffaaa0bea0 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #58 0x0000ffffaaa0cf08 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #59 0x0000ffffaaa0d1f0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #60 0x0000ffffaaa0d41c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #61 0x0000ffffaaa0d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #62 0x0000ffffaaa0d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #63 0x0000ffffaaa0d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #64 0x0000ffffaaa0d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #65 0x0000ffffaaa0d764 clang::ento::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 0x0000ffffaacd787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #67 0x0000ffffaacd787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #68 0x0000ffffaacd787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #69 0x0000ffffaacd787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #70 0x0000ffffaacd787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #71 0x0000ffffaacd87e8 llvm::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 0x0000ffffaacd87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #73 0x0000ffffaacd87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #74 0x0000ffffaacdcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #75 0x0000ffffaacdcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #76 0x0000ffffaacdcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #77 0x0000ffffaacdcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #78 0x0000ffffaacdcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #79 0x0000ffffa9131e58 __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 0x0000ffffa9131e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #81 0x0000ffffa9131e58 void clang::finalize>, 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 0x0000ffffa9131e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #83 0x0000ffffaa7f7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #84 0x0000ffffaa7afc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #85 0x0000ffffaa7afc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #86 0x0000ffffaa7afc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #87 0x0000ffffaa83610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #88 0x0000aaaad80559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #89 0x0000aaaad80594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #90 0x0000aaaad805aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #91 0x0000aaaad8051fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #92 0x0000ffffa1da098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #93 0x0000ffffa1da0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #94 0x0000aaaad80520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/Malloc+MismatchedDeallocator_intersections.cpp.script: line 1: 1823151 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,unix.MismatchedDeallocator -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Malloc+MismatchedDeallocator_intersections.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/MismatchedDeallocator-path-notes.cpp (409 of 18953) ******************** TEST 'Clang :: Analysis/MismatchedDeallocator-path-notes.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.MismatchedDeallocator -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/MismatchedDeallocator-path-notes.cpp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.MismatchedDeallocator -analyzer-output=plist /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/MismatchedDeallocator-path-notes.cpp -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/MismatchedDeallocator-path-notes.cpp.tmp.plist : 'RUN: at line 3'; tail -n +11 /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/MismatchedDeallocator-path-notes.cpp.tmp.plist | grep -Ev '^[[:space:]]*.* version .*[[:space:]]*$|^[[:space:]]*/.*[[:space:]]*$|^[[:space:]]*.:.*[[:space:]]*$' | diff -ub /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/Inputs/expected-plists/MismatchedDeallocator-path-notes.cpp.plist - -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.MismatchedDeallocator -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/MismatchedDeallocator-path-notes.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling allocIntArray(unsigned int) at line 10 #1 Calling test() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/MismatchedDeallocator-path-notes.cpp:7:10: Error evaluating New Allocator Call #0 0x0000ffff7bd4acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7bd49100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7bd4b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff84c8a800 (linux-vdso.so.1+0x800) #4 0x0000ffff83fa3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff83fa3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff83fa3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff83fa3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff83fa3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff83fa3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff83fa3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff83fa3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff83c50c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff83c50c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff83c50c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff83c50c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff83c51ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff83c51ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff83c51ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff83c51ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff83c64770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff83c64770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff83c64770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff83c65cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff83c65cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff83c65cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff83c65190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff83c65190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff83c65190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff83c717d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff83c717d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff83c717d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff83c7b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff83c7b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff83c7b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff83bdf72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff83bdf72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff83bdf72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff83bdf72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff83bdfbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff83bdfbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff83bdfbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff83c09b98 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #43 0x0000ffff83c09b98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #44 0x0000ffff83c09b98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffff83c09b98 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #46 0x0000ffff83c09b98 clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #47 0x0000ffff83c09fac llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #48 0x0000ffff83c09fac llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #49 0x0000ffff83c09fac clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #50 0x0000ffff83c09fac clang::ento::CoreEngine::enqueue(clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:613:23 #51 0x0000ffff83c09fac clang::ento::ExprEngine::ProcessNewAllocator(clang::CXXNewExpr const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1326:0 #52 0x0000ffff83c0d22c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:984:0 #53 0x0000ffff83c0d41c clang::ento::CoreEngine::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 0x0000ffff83c0d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #55 0x0000ffff83c0d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #56 0x0000ffff83c0d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #57 0x0000ffff83c0d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #58 0x0000ffff83c0d764 clang::ento::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 0x0000ffff83ed787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #60 0x0000ffff83ed787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #61 0x0000ffff83ed787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #62 0x0000ffff83ed787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #63 0x0000ffff83ed787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #64 0x0000ffff83ed87e8 llvm::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 0x0000ffff83ed87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x0000ffff83ed87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #67 0x0000ffff83edcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x0000ffff83edcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x0000ffff83edcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x0000ffff83edcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x0000ffff83edcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x0000ffff82331e58 __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 0x0000ffff82331e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x0000ffff82331e58 void clang::finalize>, 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 0x0000ffff82331e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x0000ffff839f7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #77 0x0000ffff839afc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #78 0x0000ffff839afc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #79 0x0000ffff839afc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #80 0x0000ffff83a3610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #81 0x0000aaaadf9359f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x0000aaaadf9394b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x0000aaaadf93aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x0000aaaadf931fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x0000ffff7afa098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #86 0x0000ffff7afa0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #87 0x0000aaaadf9320b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/MismatchedDeallocator-path-notes.cpp.script: line 3: 1823191 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.MismatchedDeallocator -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/MismatchedDeallocator-path-notes.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/NSPanel.m (410 of 18953) ******************** TEST 'Clang :: Analysis/NSPanel.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount,alpha.core -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NSPanel.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount,alpha.core -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NSPanel.m 1. parser at end of file #0 0x0000ffff9d22acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff9d229100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9d22b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa6168800 (linux-vdso.so.1+0x800) #4 0x0000ffffa5483688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa5483688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa5483688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa5483688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa5483688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa5483688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa5483688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa5483688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa5130c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa5130c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa5130c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa5130c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa5131ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa5131ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa5131ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa5131ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa5144770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa5144770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa5144770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa5145cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa5145cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa5145cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa5145190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa5145190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa5145190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa51517d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa51517d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa51517d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa515b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa515b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa515b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa50bf72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa50bf72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa50bf72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa50bf72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa50bfbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa50bfbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa50bfbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffa50931c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffa50931c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffa50931c0 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffa50cfba8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffa50cfba8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffa50cfba8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffffa50edaa8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffa50edaa8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffa50edaa8 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffa53b787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffa53b787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffa53b787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffa53b787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffa53b787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffa53b87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffffa53b87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffa53b87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffa53bcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffa53bcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffa53bcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffa53bcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffa53bcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffa3811e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffffa3811e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffa3811e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffffa3811e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffa4ed7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffa4e8fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffa4e8fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffa4e8fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffa4f1610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaad03859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaad03894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaad038aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaad0381fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff9c48098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff9c480a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaad03820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/NSPanel.m.script: line 1: 1823203 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount,alpha.core -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NSPanel.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/NSContainers.m (411 of 18953) ******************** TEST 'Clang :: Analysis/NSContainers.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-objc-literal-conversion -Wno-objc-root-class -fobjc-arc -analyzer-checker=core,osx.cocoa,nullability -analyzer-config eagerly-assume=false -analyzer-checker=debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NSContainers.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-objc-literal-conversion -Wno-objc-root-class -fobjc-arc -analyzer-checker=core,osx.cocoa,nullability -analyzer-config eagerly-assume=false -analyzer-checker=debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NSContainers.m 1. parser at end of file 2. While analyzing stack: #0 Calling testCreateArrayLiteralWithNullableArg 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NSContainers.m:355:3: Error evaluating statement #0 0x0000ffff8be1acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8be19100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8be1b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff94d55800 (linux-vdso.so.1+0x800) #4 0x0000ffff94061434 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff94061434 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff94061434 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff94061434 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff94061434 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff94061434 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff94061434 get<(anonymous namespace)::NullabilityMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff94061434 (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 0x0000ffff93cad814 void expandGraphWithCheckers<(anonymous namespace)::CheckDeadSymbolsContext>((anonymous namespace)::CheckDeadSymbolsContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #13 0x0000ffff93cc7fe8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x0000ffff93cc7fe8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x0000ffff93cc7fe8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #16 0x0000ffff93cc7fe8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #17 0x0000ffff93cc7fe8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #18 0x0000ffff93cc7fe8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #19 0x0000ffff93cc7fe8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1080:48 #20 0x0000ffff93cdce94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #21 0x0000ffff93cdce94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #22 0x0000ffff93cdce94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #23 0x0000ffff93cdce94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #24 0x0000ffff93cdce94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #25 0x0000ffff93cdce94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #26 0x0000ffff93cdce94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #27 0x0000ffff93cdce94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #28 0x0000ffff93cdce94 clang::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 0x0000ffff93cdd1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff93cdd41c clang::ento::CoreEngine::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 0x0000ffff93cdd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #32 0x0000ffff93cdd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #33 0x0000ffff93cdd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #34 0x0000ffff93cdd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #35 0x0000ffff93cdd764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #36 0x0000ffff93fa787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffff93fa787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffff93fa787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #39 0x0000ffff93fa787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #40 0x0000ffff93fa787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #41 0x0000ffff93fa87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #42 0x0000ffff93fa87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #43 0x0000ffff93fa87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #44 0x0000ffff93facde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #45 0x0000ffff93facde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #46 0x0000ffff93facde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #47 0x0000ffff93facde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #48 0x0000ffff93facde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #49 0x0000ffff92401e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #50 0x0000ffff92401e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #51 0x0000ffff92401e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #52 0x0000ffff92401e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #53 0x0000ffff93ac7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #54 0x0000ffff93a7fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #55 0x0000ffff93a7fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #56 0x0000ffff93a7fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #57 0x0000ffff93b0610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #58 0x0000aaaac9f659f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #59 0x0000aaaac9f694b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #60 0x0000aaaac9f6aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #61 0x0000aaaac9f61fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #62 0x0000ffff8b07098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #63 0x0000ffff8b070a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #64 0x0000aaaac9f620b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/NSContainers.m.script: line 1: 1823199 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-objc-literal-conversion -Wno-objc-root-class -fobjc-arc -analyzer-checker=core,osx.cocoa,nullability -analyzer-config eagerly-assume=false -analyzer-checker=debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NSContainers.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/NSWindow.m (412 of 18953) ******************** TEST 'Clang :: Analysis/NSWindow.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount,alpha.core,deadcode.DeadStores -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NSWindow.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount,alpha.core,deadcode.DeadStores -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NSWindow.m 1. parser at end of file 2. While analyzing stack: #0 Calling f3 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NSWindow.m:85:3: Error evaluating statement #0 0x0000ffff7b96acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7b969100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7b96b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff848a8800 (linux-vdso.so.1+0x800) #4 0x0000ffff83808e44 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff83808e44 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff83808e44 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff83808e44 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff83808e44 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff83808e44 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 0x0000ffff83808e44 get<(anonymous namespace)::DynamicTypeMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff83808e44 llvm::IntrusiveRefCntPtr clang::ento::removeDeadImpl<(anonymous namespace)::DynamicTypeMap>(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/DynamicType.cpp:166:15 #12 0x0000ffff83bb2928 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #13 0x0000ffff83bb2928 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #14 0x0000ffff83bb2928 clang::ento::removeDeadTypes(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/DynamicType.cpp:176:0 #15 0x0000ffff83bb2928 (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 0x0000ffff837fd814 void expandGraphWithCheckers<(anonymous namespace)::CheckDeadSymbolsContext>((anonymous namespace)::CheckDeadSymbolsContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #17 0x0000ffff83817fe8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #18 0x0000ffff83817fe8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #19 0x0000ffff83817fe8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #20 0x0000ffff83817fe8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #21 0x0000ffff83817fe8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #22 0x0000ffff83817fe8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #23 0x0000ffff83817fe8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1080:48 #24 0x0000ffff8382ce94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #25 0x0000ffff8382ce94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #26 0x0000ffff8382ce94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #27 0x0000ffff8382ce94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #28 0x0000ffff8382ce94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #29 0x0000ffff8382ce94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #30 0x0000ffff8382ce94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #31 0x0000ffff8382ce94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #32 0x0000ffff8382ce94 clang::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 0x0000ffff8382d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8382d41c clang::ento::CoreEngine::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 0x0000ffff8382d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x0000ffff8382d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x0000ffff8382d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #38 0x0000ffff8382d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #39 0x0000ffff8382d764 clang::ento::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 0x0000ffff83af787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #41 0x0000ffff83af787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #42 0x0000ffff83af787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #43 0x0000ffff83af787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #44 0x0000ffff83af787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #45 0x0000ffff83af87e8 llvm::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 0x0000ffff83af87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #47 0x0000ffff83af87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #48 0x0000ffff83afcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #49 0x0000ffff83afcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #50 0x0000ffff83afcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #51 0x0000ffff83afcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #52 0x0000ffff83afcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #53 0x0000ffff81f51e58 __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 0x0000ffff81f51e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #55 0x0000ffff81f51e58 void clang::finalize>, 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 0x0000ffff81f51e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #57 0x0000ffff83617ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #58 0x0000ffff835cfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #59 0x0000ffff835cfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #60 0x0000ffff835cfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #61 0x0000ffff8365610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #62 0x0000aaaad77659f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #63 0x0000aaaad77694b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #64 0x0000aaaad776aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #65 0x0000aaaad7761fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #66 0x0000ffff7abc098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #67 0x0000ffff7abc0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #68 0x0000aaaad77620b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/NSWindow.m.script: line 1: 1823232 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount,alpha.core,deadcode.DeadStores -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NSWindow.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/MissingDealloc.m (413 of 18953) ******************** TEST 'Clang :: Analysis/MissingDealloc.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=osx.cocoa.Dealloc -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/MissingDealloc.m : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=osx.cocoa.Dealloc -fblocks -verify -triple x86_64-apple-darwin10 -fobjc-arc /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/MissingDealloc.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=osx.cocoa.Dealloc -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/MissingDealloc.m 1. parser at end of file #0 0x0000ffffac2eacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffac2e9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffac2eb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb5224800 (linux-vdso.so.1+0x800) #4 0x0000ffffb4543688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb4543688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb4543688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb4543688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb4543688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb4543688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb4543688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb4543688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb41f0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb41f0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb41f0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb41f0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb41f1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb41f1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb41f1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb41f1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb4204770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb4204770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb4204770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb4205cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb4205cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb4205cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb4205190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb4205190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb4205190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb42117d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb42117d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb42117d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb421b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb421b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb421b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb417f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb417f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb417f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb417f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb417fbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb417fbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb417fbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffb41531c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffb41531c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffb41531c0 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffb418fba8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffb418fba8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffb418fba8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffffb41adaa8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffb41adaa8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffb41adaa8 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffb447787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffb447787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffb447787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffb447787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffb447787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffb44787e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffffb44787e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffb44787e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffb447cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffb447cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffb447cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffb447cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffb447cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffb28d1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffffb28d1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffb28d1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffffb28d1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffb3f97ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffb3f4fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffb3f4fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffb3f4fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffb3fd610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaab60759f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaab60794b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaab607aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaab6071fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffffab54098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffffab540a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaab60720b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/MissingDealloc.m.script: line 2: 1823200 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=osx.cocoa.Dealloc -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/MissingDealloc.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/NSString.m (414 of 18953) ******************** TEST 'Clang :: Analysis/NSString.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin10 -analyzer-checker=core,osx.cocoa.NilArg,osx.cocoa.RetainCount,alpha.core -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NSString.m : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin10 -analyzer-checker=core,osx.cocoa.NilArg,osx.cocoa.RetainCount,alpha.core -analyzer-config mode=shallow -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NSString.m : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -DTEST_64 -triple x86_64-apple-darwin10 -analyzer-checker=core,osx.cocoa.NilArg,osx.cocoa.RetainCount,alpha.core -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NSString.m : 'RUN: at line 4'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -DOSATOMIC_USE_INLINED -triple i386-apple-darwin10 -analyzer-checker=core,osx.cocoa.NilArg,osx.cocoa.RetainCount,alpha.core -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NSString.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin10 -analyzer-checker=core,osx.cocoa.NilArg,osx.cocoa.RetainCount,alpha.core -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NSString.m 1. parser at end of file #0 0x0000ffff8bc8acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8bc89100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8bc8b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff94bc1800 (linux-vdso.so.1+0x800) #4 0x0000ffff93ee3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff93ee3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff93ee3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff93ee3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff93ee3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff93ee3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff93ee3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff93ee3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff93b90c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff93b90c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff93b90c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff93b90c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff93b91ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff93b91ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff93b91ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff93b91ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff93ba4770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff93ba4770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff93ba4770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff93ba5cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff93ba5cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff93ba5cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff93ba5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff93ba5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff93ba5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff93bb17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff93bb17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff93bb17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff93bbb074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff93bbb074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff93bbb074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff93b1f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff93b1f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff93b1f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff93b1f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff93b1fbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff93b1fbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff93b1fbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff93af31c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff93af31c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff93af31c0 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff93b2fba8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff93b2fba8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff93b2fba8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffff93b4daa8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff93b4daa8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff93b4daa8 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff93e1787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff93e1787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff93e1787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff93e1787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff93e1787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff93e187e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffff93e187e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff93e187e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff93e1cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff93e1cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff93e1cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff93e1cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff93e1cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff92271e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffff92271e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff92271e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffff92271e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff93937ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff938efc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff938efc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff938efc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff9397610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaad82f59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaad82f94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaad82faac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaad82f1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff8aee098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff8aee0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaad82f20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/NSString.m.script: line 4: 1823205 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin10 -analyzer-checker=core,osx.cocoa.NilArg,osx.cocoa.RetainCount,alpha.core -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NSString.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/NewDelete+MismatchedDeallocator_intersections.cpp (415 of 18953) ******************** TEST 'Clang :: Analysis/NewDelete+MismatchedDeallocator_intersections.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete+MismatchedDeallocator_intersections.cpp -analyzer-checker=core -analyzer-checker=cplusplus.NewDelete -analyzer-checker=unix.MismatchedDeallocator : 'RUN: at line 6'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete+MismatchedDeallocator_intersections.cpp -analyzer-checker=core -analyzer-checker=cplusplus.NewDelete -analyzer-checker=cplusplus.NewDeleteLeaks -analyzer-checker=unix.MismatchedDeallocator -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete+MismatchedDeallocator_intersections.cpp -analyzer-checker=core -analyzer-checker=cplusplus.NewDelete -analyzer-checker=unix.MismatchedDeallocator 1. parser at end of file 2. While analyzing stack: #0 Calling testMallocFreeNoWarn() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete+MismatchedDeallocator_intersections.cpp:26:20: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete+MismatchedDeallocator_intersections.cpp:26:20: Error evaluating statement #0 0x0000ffff8417acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff84179100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8417b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8d0b2800 (linux-vdso.so.1+0x800) #4 0x0000ffff8c3b9f20 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8c3b9f20 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8c3b9f20 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8c3b9f20 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8c3b9f20 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8c3b9f20 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff8c3b9f20 get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff8c3b9f20 (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 0x0000ffff8c1c83d0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x0000ffff8c1c83d0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x0000ffff8c1c83d0 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 0x0000ffff8bfdc2f8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #16 0x0000ffff8bfdc2f8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #17 0x0000ffff8bfdc2f8 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool)>::operator()(llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:0 #18 0x0000ffff8bfdc2f8 clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:0 #19 0x0000ffff8c0a1844 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffff8c0a1844 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffff8c0a1844 clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:78 #22 0x0000ffff8c0a1844 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:53 #23 0x0000ffff8c0ab074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x0000ffff8c0ab074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x0000ffff8c0ab074 clang::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 0x0000ffff8c00f818 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8c00f818 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8c00f818 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #29 0x0000ffff8c00f818 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:68:21 #30 0x0000ffff8c4fd3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff8c4fd3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff8c4fd3d4 clang::ento::ProgramState::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 0x0000ffff8c1d44b0 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x0000ffff8c1d44b0 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x0000ffff8c1d44b0 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x0000ffff8c1d44b0 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x0000ffff8c1d44b0 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x0000ffff8c1d44b0 (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 0x0000ffff8c1d4900 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #40 0x0000ffff8c1d4900 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #41 0x0000ffff8c1d4900 (anonymous namespace)::MallocChecker::checkBasicAlloc(clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1217:0 #42 0x0000ffff8c1e0e00 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #43 0x0000ffff8c1e0e00 void clang::ento::check::PostCall::_checkCall<(anonymous namespace)::MallocChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:183:0 #44 0x0000ffff8bff9524 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #45 0x0000ffff8bff9524 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x0000ffff8bff9524 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #47 0x0000ffff8bff9524 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #48 0x0000ffff8bff9524 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #49 0x0000ffff8c0598b8 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #50 0x0000ffff8c0598b8 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #51 0x0000ffff8c0598b8 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #52 0x0000ffff8c0598b8 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #53 0x0000ffff8c0598b8 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #54 0x0000ffff8c0598b8 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #55 0x0000ffff8c05a144 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #56 0x0000ffff8c03bea0 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #57 0x0000ffff8c03bea0 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #58 0x0000ffff8c03cf08 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #59 0x0000ffff8c03d1f0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #60 0x0000ffff8c03d41c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #61 0x0000ffff8c03d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #62 0x0000ffff8c03d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #63 0x0000ffff8c03d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #64 0x0000ffff8c03d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #65 0x0000ffff8c03d764 clang::ento::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 0x0000ffff8c30787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #67 0x0000ffff8c30787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #68 0x0000ffff8c30787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #69 0x0000ffff8c30787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #70 0x0000ffff8c30787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #71 0x0000ffff8c3087e8 llvm::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 0x0000ffff8c3087e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #73 0x0000ffff8c3087e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #74 0x0000ffff8c30cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #75 0x0000ffff8c30cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #76 0x0000ffff8c30cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #77 0x0000ffff8c30cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #78 0x0000ffff8c30cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #79 0x0000ffff8a761e58 __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 0x0000ffff8a761e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #81 0x0000ffff8a761e58 void clang::finalize>, 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 0x0000ffff8a761e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #83 0x0000ffff8be27ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #84 0x0000ffff8bddfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #85 0x0000ffff8bddfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #86 0x0000ffff8bddfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #87 0x0000ffff8be6610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #88 0x0000aaaabbbe59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #89 0x0000aaaabbbe94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #90 0x0000aaaabbbeaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #91 0x0000aaaabbbe1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #92 0x0000ffff833d098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #93 0x0000ffff833d0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #94 0x0000aaaabbbe20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/NewDelete+MismatchedDeallocator_intersections.cpp.script: line 2: 1823234 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete+MismatchedDeallocator_intersections.cpp -analyzer-checker=core -analyzer-checker=cplusplus.NewDelete -analyzer-checker=unix.MismatchedDeallocator -- ******************** Testing: 0 FAIL: Clang :: Analysis/NewDelete-atomics.cpp (416 of 18953) ******************** TEST 'Clang :: Analysis/NewDelete-atomics.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus.NewDelete -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-atomics.cpp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus.NewDeleteLeaks -DLEAKS -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-atomics.cpp : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus.NewDelete -std=c++11 -DTEST_INLINABLE_ALLOCATORS -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-atomics.cpp : 'RUN: at line 4'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus.NewDeleteLeaks -DLEAKS -std=c++11 -DTEST_INLINABLE_ALLOCATORS -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-atomics.cpp : 'RUN: at line 5'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-inline-max-stack-depth 2 -analyzer-config ipa-always-inline-size=2 -analyzer-checker=core,cplusplus.NewDelete -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-atomics.cpp : 'RUN: at line 6'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-inline-max-stack-depth 2 -analyzer-config ipa-always-inline-size=2 -analyzer-checker=core,cplusplus.NewDeleteLeaks -DLEAKS -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-atomics.cpp : 'RUN: at line 7'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-inline-max-stack-depth 2 -analyzer-config ipa-always-inline-size=2 -analyzer-checker=core,cplusplus.NewDelete -std=c++11 -DTEST_INLINABLE_ALLOCATORS -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-atomics.cpp : 'RUN: at line 8'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-inline-max-stack-depth 2 -analyzer-config ipa-always-inline-size=2 -analyzer-checker=core,cplusplus.NewDeleteLeaks -DLEAKS -std=c++11 -DTEST_INLINABLE_ALLOCATORS -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-atomics.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus.NewDelete -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-atomics.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling testDestroySymbolicRefPtr(const IntrusivePtr &) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-atomics.cpp:73:18: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-atomics.cpp:73:18: Error evaluating statement #0 0x0000ffff83b7acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff83b79100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff83b7b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8cab4800 (linux-vdso.so.1+0x800) #4 0x0000ffff8ba28434 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8ba28434 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8ba28434 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8ba28434 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8ba28434 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8ba28434 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff8ba28434 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:0 #11 0x0000ffff8ba28434 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 0x0000ffff8b9f0f7c std::_Optional_base_impl>::_M_is_engaged() const /usr/include/c++/12/optional:471:0 #13 0x0000ffff8b9f0f7c std::optional::has_value() const /usr/include/c++/12/optional:988:0 #14 0x0000ffff8b9f0f7c clang::ento::CallEvent::isArgumentConstructedDirectly(unsigned int) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:431:0 #15 0x0000ffff8b9f0f7c addParameterValuesToBindings(clang::StackFrameContext const*, llvm::SmallVectorImpl>&, clang::ento::SValBuilder&, clang::ento::CallEvent const&, llvm::ArrayRef) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:478:0 #16 0x0000ffff8b9f1f7c clang::ento::AnyCXXConstructorCall::getCXXThisVal() const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:896:0 #17 0x0000ffff8b9f1f7c clang::ento::AnyCXXConstructorCall::getInitialStackFrameContents(clang::StackFrameContext const*, llvm::SmallVectorImpl>&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:915:0 #18 0x0000ffff8bab2cb0 llvm::SmallVectorTemplateCommon, void>::end() /usr/include/llvm/ADT/SmallVector.h:272:0 #19 0x0000ffff8bab2cb0 clang::ento::StoreManager::enterStackFrame(void const*, clang::ento::CallEvent const&, clang::StackFrameContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/Store.cpp:54:0 #20 0x0000ffff8ba6def8 clang::ento::ProgramState::makeWithStore(clang::ento::StoreRef const&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:434:27 #21 0x0000ffff8ba6def8 clang::ento::ProgramState::enterStackFrame(clang::ento::CallEvent const&, clang::StackFrameContext const*) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:234:0 #22 0x0000ffff8ba6e0a8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #23 0x0000ffff8ba6e0a8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #24 0x0000ffff8ba6e0a8 clang::ento::ExprEngine::inlineCall(clang::ento::WorkList*, clang::ento::CallEvent const&, clang::Decl const*, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:561:0 #25 0x0000ffff8ba70b40 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #26 0x0000ffff8ba70b40 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #27 0x0000ffff8ba70b40 clang::ento::ExprEngine::ctuBifurcate(clang::ento::CallEvent const&, clang::Decl const*, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:527:0 #28 0x0000ffff8ba7156c llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #29 0x0000ffff8ba7156c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #30 0x0000ffff8ba7156c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x0000ffff8ba7156c clang::ento::ExprEngine::defaultEvalCall(clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:1255:0 #32 0x0000ffff8b9f9fd8 clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:288:0 #33 0x0000ffff8ba36028 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #34 0x0000ffff8ba36028 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #35 0x0000ffff8ba36028 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #36 0x0000ffff8ba36028 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #37 0x0000ffff8ba36028 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #38 0x0000ffff8ba36028 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #39 0x0000ffff8ba36028 clang::ento::ExprEngine::handleConstructor(clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:789:0 #40 0x0000ffff8ba3be5c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #41 0x0000ffff8ba3be5c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2158:0 #42 0x0000ffff8ba3cf08 clang::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 0x0000ffff8ba3d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8ba3d41c clang::ento::CoreEngine::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 0x0000ffff8ba3d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #46 0x0000ffff8ba3d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #47 0x0000ffff8ba3d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #48 0x0000ffff8ba3d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #49 0x0000ffff8ba3d764 clang::ento::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 0x0000ffff8bd0787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #51 0x0000ffff8bd0787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x0000ffff8bd0787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #53 0x0000ffff8bd0787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #54 0x0000ffff8bd0787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #55 0x0000ffff8bd087e8 llvm::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 0x0000ffff8bd087e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #57 0x0000ffff8bd087e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #58 0x0000ffff8bd0cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #59 0x0000ffff8bd0cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #60 0x0000ffff8bd0cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #61 0x0000ffff8bd0cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #62 0x0000ffff8bd0cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #63 0x0000ffff8a161e58 __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 0x0000ffff8a161e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #65 0x0000ffff8a161e58 void clang::finalize>, 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 0x0000ffff8a161e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #67 0x0000ffff8b827ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #68 0x0000ffff8b7dfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #69 0x0000ffff8b7dfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #70 0x0000ffff8b7dfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #71 0x0000ffff8b86610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #72 0x0000aaaac28759f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #73 0x0000aaaac28794b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #74 0x0000aaaac287aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #75 0x0000aaaac2871fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #76 0x0000ffff82dd098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #77 0x0000ffff82dd0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #78 0x0000aaaac28720b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/NewDelete-atomics.cpp.script: line 8: 1823242 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus.NewDelete -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-atomics.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/NewDelete-variadic.cpp (417 of 18953) ******************** TEST 'Clang :: Analysis/NewDelete-variadic.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus.NewDelete,cplusplus.NewDeleteLeaks,unix.Malloc -std=c++11 -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-variadic.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus.NewDelete,cplusplus.NewDeleteLeaks,unix.Malloc -std=c++11 -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-variadic.cpp 1. parser at end of file #0 0x0000ffff9006acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff90069100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9006b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff98fa6800 (linux-vdso.so.1+0x800) #4 0x0000ffff97f1cc54 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff97f1cc54 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff97f1cc54 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff97f1cc54 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff97f1cc54 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff97f1cc54 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff97f1cc54 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff97f1cc54 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 0x0000ffff97f1d578 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 0x0000ffff97f2d5a4 clang::ento::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 0x0000ffff97f2d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #15 0x0000ffff97f2d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #16 0x0000ffff97f2d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #17 0x0000ffff97f2d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #18 0x0000ffff97f2d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #19 0x0000ffff981f787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffff981f787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffff981f787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #22 0x0000ffff981f787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #23 0x0000ffff981f787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #24 0x0000ffff981f87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #25 0x0000ffff981f87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #26 0x0000ffff981f87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #27 0x0000ffff981fcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #28 0x0000ffff981fcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #29 0x0000ffff981fcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #30 0x0000ffff981fcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #31 0x0000ffff981fcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #32 0x0000ffff96651e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #33 0x0000ffff96651e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #34 0x0000ffff96651e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #35 0x0000ffff96651e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #36 0x0000ffff97d17ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #37 0x0000ffff97ccfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #38 0x0000ffff97ccfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #39 0x0000ffff97ccfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #40 0x0000ffff97d5610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #41 0x0000aaaae95e59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #42 0x0000aaaae95e94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #43 0x0000aaaae95eaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #44 0x0000aaaae95e1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #45 0x0000ffff8f2c098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #46 0x0000ffff8f2c0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #47 0x0000aaaae95e20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/NewDelete-variadic.cpp.script: line 1: 1823297 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus.NewDelete,cplusplus.NewDeleteLeaks,unix.Malloc -std=c++11 -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-variadic.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/NewDelete-custom.cpp (418 of 18953) ******************** TEST 'Clang :: Analysis/NewDelete-custom.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus.NewDelete,cplusplus.NewDeleteLeaks,unix.Malloc -std=c++11 -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-custom.cpp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus.NewDelete,cplusplus.NewDeleteLeaks,unix.Malloc -std=c++11 -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-custom.cpp -analyzer-config c++-allocator-inlining=false -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus.NewDelete,cplusplus.NewDeleteLeaks,unix.Malloc -std=c++11 -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-custom.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling testNewExprPlacement() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-custom.cpp:61:12: Error evaluating New Allocator Call #0 0x0000ffff7a1dacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7a1d9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7a1db388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff83118800 (linux-vdso.so.1+0x800) #4 0x0000ffff82433688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff82433688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff82433688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff82433688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff82433688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff82433688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff82433688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff82433688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff820e0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff820e0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff820e0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff820e0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff820e1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff820e1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff820e1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff820e1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff820f4770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff820f4770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff820f4770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff820f5cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff820f5cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff820f5cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff820f5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff820f5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff820f5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff821017d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff821017d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff821017d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8210b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8210b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8210b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8206f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8206f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8206f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8206f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff8206fbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8206fbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8206fbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff82099b98 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #43 0x0000ffff82099b98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #44 0x0000ffff82099b98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffff82099b98 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #46 0x0000ffff82099b98 clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #47 0x0000ffff82099fac llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #48 0x0000ffff82099fac llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #49 0x0000ffff82099fac clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #50 0x0000ffff82099fac clang::ento::CoreEngine::enqueue(clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:613:23 #51 0x0000ffff82099fac clang::ento::ExprEngine::ProcessNewAllocator(clang::CXXNewExpr const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1326:0 #52 0x0000ffff8209d22c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:984:0 #53 0x0000ffff8209d41c clang::ento::CoreEngine::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 0x0000ffff8209d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #55 0x0000ffff8209d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #56 0x0000ffff8209d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #57 0x0000ffff8209d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #58 0x0000ffff8209d764 clang::ento::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 0x0000ffff8236787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #60 0x0000ffff8236787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #61 0x0000ffff8236787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #62 0x0000ffff8236787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #63 0x0000ffff8236787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #64 0x0000ffff823687e8 llvm::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 0x0000ffff823687e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x0000ffff823687e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #67 0x0000ffff8236cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x0000ffff8236cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x0000ffff8236cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x0000ffff8236cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x0000ffff8236cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x0000ffff807c1e58 __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 0x0000ffff807c1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x0000ffff807c1e58 void clang::finalize>, 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 0x0000ffff807c1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x0000ffff81e87ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #77 0x0000ffff81e3fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #78 0x0000ffff81e3fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #79 0x0000ffff81e3fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #80 0x0000ffff81ec610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #81 0x0000aaaadbc959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x0000aaaadbc994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x0000aaaadbc9aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x0000aaaadbc91fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x0000ffff7943098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #86 0x0000ffff79430a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #87 0x0000aaaadbc920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/NewDelete-custom.cpp.script: line 2: 1823270 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus.NewDelete,cplusplus.NewDeleteLeaks,unix.Malloc -std=c++11 -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-custom.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/NewDelete-sized-deallocation.cpp (419 of 18953) ******************** TEST 'Clang :: Analysis/NewDelete-sized-deallocation.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus -verify -analyzer-output=text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-sized-deallocation.cpp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus -verify -analyzer-output=text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-sized-deallocation.cpp -fsized-deallocation : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus -verify -analyzer-output=text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-sized-deallocation.cpp -DINCLUDE_INCLUDES : 'RUN: at line 4'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus -verify -analyzer-output=text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-sized-deallocation.cpp -DINCLUDE_INCLUDES -fsized-deallocation : 'RUN: at line 5'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus -verify -analyzer-output=text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-sized-deallocation.cpp -DINCLUDE_INCLUDES -DTEST_INLINABLE_ALLOCATORS : 'RUN: at line 6'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus -verify -analyzer-output=text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-sized-deallocation.cpp -DINCLUDE_INCLUDES -DTEST_INLINABLE_ALLOCATORS -fsized-deallocation : 'RUN: at line 8'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus -verify -analyzer-output=text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-sized-deallocation.cpp -std=c++14 : 'RUN: at line 9'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus -verify -analyzer-output=text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-sized-deallocation.cpp -std=c++14 -fsized-deallocation : 'RUN: at line 10'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus -verify -analyzer-output=text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-sized-deallocation.cpp -std=c++14 -DINCLUDE_INCLUDES : 'RUN: at line 11'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus -verify -analyzer-output=text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-sized-deallocation.cpp -std=c++14 -DINCLUDE_INCLUDES -fsized-deallocation : 'RUN: at line 12'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus -verify -analyzer-output=text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-sized-deallocation.cpp -std=c++14 -DINCLUDE_INCLUDES -DTEST_INLINABLE_ALLOCATORS : 'RUN: at line 13'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus -verify -analyzer-output=text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-sized-deallocation.cpp -std=c++14 -DINCLUDE_INCLUDES -DTEST_INLINABLE_ALLOCATORS -fsized-deallocation : 'RUN: at line 15'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus -verify -analyzer-output=text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-sized-deallocation.cpp -std=c++17 : 'RUN: at line 16'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus -verify -analyzer-output=text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-sized-deallocation.cpp -std=c++17 -fsized-deallocation : 'RUN: at line 17'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus -verify -analyzer-output=text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-sized-deallocation.cpp -std=c++17 -DINCLUDE_INCLUDES : 'RUN: at line 18'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus -verify -analyzer-output=text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-sized-deallocation.cpp -std=c++17 -DINCLUDE_INCLUDES -fsized-deallocation : 'RUN: at line 19'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus -verify -analyzer-output=text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-sized-deallocation.cpp -std=c++17 -DINCLUDE_INCLUDES -DTEST_INLINABLE_ALLOCATORS : 'RUN: at line 20'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus -verify -analyzer-output=text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-sized-deallocation.cpp -std=c++17 -DINCLUDE_INCLUDES -DTEST_INLINABLE_ALLOCATORS -fsized-deallocation -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus -verify -analyzer-output=text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-sized-deallocation.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling no_leak() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-sized-deallocation.cpp:37:12: Error evaluating New Allocator Call #0 0x0000ffffac2facd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffac2f9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffac2fb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb5232800 (linux-vdso.so.1+0x800) #4 0x0000ffffb4553688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb4553688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb4553688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb4553688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb4553688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb4553688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb4553688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb4553688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb4200c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb4200c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb4200c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb4200c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb4201ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb4201ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb4201ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb4201ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb4214770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb4214770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb4214770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb4215cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb4215cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb4215cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb4215190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb4215190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb4215190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb42217d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb42217d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb42217d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb422b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb422b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb422b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb418f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb418f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb418f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb418f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb418fbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb418fbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb418fbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffb41b9b98 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #43 0x0000ffffb41b9b98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #44 0x0000ffffb41b9b98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffffb41b9b98 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #46 0x0000ffffb41b9b98 clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #47 0x0000ffffb41b9fac llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #48 0x0000ffffb41b9fac llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #49 0x0000ffffb41b9fac clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #50 0x0000ffffb41b9fac clang::ento::CoreEngine::enqueue(clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:613:23 #51 0x0000ffffb41b9fac clang::ento::ExprEngine::ProcessNewAllocator(clang::CXXNewExpr const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1326:0 #52 0x0000ffffb41bd22c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:984:0 #53 0x0000ffffb41bd310 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #54 0x0000ffffb41bd5dc clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #55 0x0000ffffb41bd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #56 0x0000ffffb41bd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #57 0x0000ffffb41bd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #58 0x0000ffffb41bd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #59 0x0000ffffb41bd764 clang::ento::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 0x0000ffffb448787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #61 0x0000ffffb448787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #62 0x0000ffffb448787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #63 0x0000ffffb448787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #64 0x0000ffffb448787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #65 0x0000ffffb44887e8 llvm::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 0x0000ffffb44887e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #67 0x0000ffffb44887e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #68 0x0000ffffb448cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #69 0x0000ffffb448cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #70 0x0000ffffb448cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #71 0x0000ffffb448cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #72 0x0000ffffb448cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #73 0x0000ffffb28e1e58 __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 0x0000ffffb28e1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #75 0x0000ffffb28e1e58 void clang::finalize>, 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 0x0000ffffb28e1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #77 0x0000ffffb3fa7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #78 0x0000ffffb3f5fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #79 0x0000ffffb3f5fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #80 0x0000ffffb3f5fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #81 0x0000ffffb3fe610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #82 0x0000aaaac6bf59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #83 0x0000aaaac6bf94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #84 0x0000aaaac6bfaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #85 0x0000aaaac6bf1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #86 0x0000ffffab55098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #87 0x0000ffffab550a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #88 0x0000aaaac6bf20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/NewDelete-sized-deallocation.cpp.script: line 18: 1823295 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus -verify -analyzer-output=text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-sized-deallocation.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/NewDelete-intersections.mm (420 of 18953) ******************** TEST 'Clang :: Analysis/NewDelete-intersections.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-intersections.mm -verify=newdelete -analyzer-checker=core -analyzer-checker=cplusplus.NewDelete : 'RUN: at line 6'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -DLEAKS -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-intersections.mm -verify=leak -analyzer-checker=core -analyzer-checker=cplusplus.NewDeleteLeaks : 'RUN: at line 13'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -DLEAKS -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-intersections.mm -verify=mismatch -analyzer-checker=core -analyzer-checker=unix.MismatchedDeallocator -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-intersections.mm -verify=newdelete -analyzer-checker=core -analyzer-checker=cplusplus.NewDelete 1. parser at end of file 2. While analyzing stack: #0 Calling testStandardPlacementNewAfterDelete() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-intersections.mm:85:12: Error evaluating New Allocator Call #0 0x0000ffffb4a2acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb4a29100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb4a2b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffbd962800 (linux-vdso.so.1+0x800) #4 0x0000ffffbcc83688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffbcc83688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffbcc83688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffbcc83688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffbcc83688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffbcc83688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffbcc83688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffbcc83688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffbc930c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffbc930c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffbc930c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffbc930c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffbc931ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffbc931ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffbc931ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffbc931ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffbc944770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffbc944770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffbc944770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffbc945cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffbc945cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffbc945cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffbc945190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffbc945190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffbc945190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffbc9517d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffbc9517d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffbc9517d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffbc95b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffbc95b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffbc95b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffbc8bf72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffbc8bf72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffbc8bf72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffbc8bf72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffbc8bfbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffbc8bfbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffbc8bfbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffbc8e9b98 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #43 0x0000ffffbc8e9b98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #44 0x0000ffffbc8e9b98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffffbc8e9b98 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #46 0x0000ffffbc8e9b98 clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #47 0x0000ffffbc8e9fac llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #48 0x0000ffffbc8e9fac llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #49 0x0000ffffbc8e9fac clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #50 0x0000ffffbc8e9fac clang::ento::CoreEngine::enqueue(clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:613:23 #51 0x0000ffffbc8e9fac clang::ento::ExprEngine::ProcessNewAllocator(clang::CXXNewExpr const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1326:0 #52 0x0000ffffbc8ed22c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:984:0 #53 0x0000ffffbc8ed310 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #54 0x0000ffffbc8ed5dc clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #55 0x0000ffffbc8ed764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #56 0x0000ffffbc8ed764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #57 0x0000ffffbc8ed764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #58 0x0000ffffbc8ed764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #59 0x0000ffffbc8ed764 clang::ento::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 0x0000ffffbcbb787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #61 0x0000ffffbcbb787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #62 0x0000ffffbcbb787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #63 0x0000ffffbcbb787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #64 0x0000ffffbcbb787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #65 0x0000ffffbcbb87e8 llvm::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 0x0000ffffbcbb87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #67 0x0000ffffbcbb87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #68 0x0000ffffbcbbcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #69 0x0000ffffbcbbcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #70 0x0000ffffbcbbcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #71 0x0000ffffbcbbcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #72 0x0000ffffbcbbcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #73 0x0000ffffbb011e58 __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 0x0000ffffbb011e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #75 0x0000ffffbb011e58 void clang::finalize>, 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 0x0000ffffbb011e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #77 0x0000ffffbc6d7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #78 0x0000ffffbc68fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #79 0x0000ffffbc68fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #80 0x0000ffffbc68fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #81 0x0000ffffbc71610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #82 0x0000aaaacfd259f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #83 0x0000aaaacfd294b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #84 0x0000aaaacfd2aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #85 0x0000aaaacfd21fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #86 0x0000ffffb3c8098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #87 0x0000ffffb3c80a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #88 0x0000aaaacfd220b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/NewDelete-intersections.mm.script: line 3: 1823280 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-intersections.mm -verify=newdelete -analyzer-checker=core -analyzer-checker=cplusplus.NewDelete -- ******************** Testing: 0 FAIL: Clang :: Analysis/NewDelete-checker-test.cpp (422 of 18953) ******************** TEST 'Clang :: Analysis/NewDelete-checker-test.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-checker-test.cpp -verify=expected,newdelete -analyzer-checker=core -analyzer-checker=cplusplus.NewDelete : 'RUN: at line 6'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -DLEAKS -std=c++11 -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-checker-test.cpp -verify=expected,newdelete,leak -analyzer-checker=core -analyzer-checker=cplusplus.NewDelete -analyzer-checker=cplusplus.NewDeleteLeaks : 'RUN: at line 12'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-checker-test.cpp -verify=expected,leak -analyzer-checker=core -analyzer-checker=cplusplus.NewDeleteLeaks : 'RUN: at line 17'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++17 -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-checker-test.cpp -verify=expected,newdelete -analyzer-checker=core -analyzer-checker=cplusplus.NewDelete : 'RUN: at line 22'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -DLEAKS -std=c++17 -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-checker-test.cpp -verify=expected,newdelete,leak -analyzer-checker=core -analyzer-checker=cplusplus.NewDelete -analyzer-checker=cplusplus.NewDeleteLeaks : 'RUN: at line 28'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++17 -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-checker-test.cpp -verify=expected,leak -analyzer-checker=core -analyzer-checker=cplusplus.NewDeleteLeaks -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-checker-test.cpp -verify=expected,newdelete -analyzer-checker=core -analyzer-checker=cplusplus.NewDelete 1. parser at end of file 2. While analyzing stack: #0 Calling testLeakBecauseNTTPIsNotDeallocation() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-checker-test.cpp:458:13: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-checker-test.cpp:458:13: Error evaluating statement #0 0x0000ffff7bbbacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7bbb9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7bbbb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff84af3800 (linux-vdso.so.1+0x800) #4 0x0000ffff83df9f20 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff83df9f20 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff83df9f20 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff83df9f20 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff83df9f20 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff83df9f20 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff83df9f20 get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff83df9f20 (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 0x0000ffff83c083d0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x0000ffff83c083d0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x0000ffff83c083d0 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 0x0000ffff83a1c2f8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #16 0x0000ffff83a1c2f8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #17 0x0000ffff83a1c2f8 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool)>::operator()(llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:0 #18 0x0000ffff83a1c2f8 clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:0 #19 0x0000ffff83ae1844 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffff83ae1844 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffff83ae1844 clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:78 #22 0x0000ffff83ae1844 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:53 #23 0x0000ffff83aeb074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x0000ffff83aeb074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x0000ffff83aeb074 clang::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 0x0000ffff83a4f818 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff83a4f818 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff83a4f818 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #29 0x0000ffff83a4f818 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:68:21 #30 0x0000ffff83f3d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff83f3d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff83f3d3d4 clang::ento::ProgramState::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 0x0000ffff83c144b0 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x0000ffff83c144b0 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x0000ffff83c144b0 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x0000ffff83c144b0 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x0000ffff83c144b0 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x0000ffff83c144b0 (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 0x0000ffff83c20ff8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #40 0x0000ffff83c20ff8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #41 0x0000ffff83c20ff8 checkCXXNewOrCXXDelete /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1361:0 #42 0x0000ffff83c20ff8 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1484:0 #43 0x0000ffff83c20ff8 void clang::ento::check::PostCall::_checkCall<(anonymous namespace)::MallocChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:183:0 #44 0x0000ffff83a39524 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #45 0x0000ffff83a39524 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x0000ffff83a39524 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #47 0x0000ffff83a39524 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #48 0x0000ffff83a39524 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #49 0x0000ffff83a998b8 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #50 0x0000ffff83a998b8 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #51 0x0000ffff83a998b8 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #52 0x0000ffff83a998b8 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #53 0x0000ffff83a998b8 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #54 0x0000ffff83a998b8 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #55 0x0000ffff83a9a144 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #56 0x0000ffff83a7bea0 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #57 0x0000ffff83a7bea0 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #58 0x0000ffff83a7cf08 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #59 0x0000ffff83a7d1f0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #60 0x0000ffff83a7d41c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #61 0x0000ffff83a7d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #62 0x0000ffff83a7d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #63 0x0000ffff83a7d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #64 0x0000ffff83a7d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #65 0x0000ffff83a7d764 clang::ento::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 0x0000ffff83d4787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #67 0x0000ffff83d4787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #68 0x0000ffff83d4787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #69 0x0000ffff83d4787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #70 0x0000ffff83d4787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #71 0x0000ffff83d487e8 llvm::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 0x0000ffff83d487e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #73 0x0000ffff83d487e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #74 0x0000ffff83d4cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #75 0x0000ffff83d4cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #76 0x0000ffff83d4cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #77 0x0000ffff83d4cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #78 0x0000ffff83d4cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #79 0x0000ffff821a1e58 __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 0x0000ffff821a1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #81 0x0000ffff821a1e58 void clang::finalize>, 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 0x0000ffff821a1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #83 0x0000ffff83867ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #84 0x0000ffff8381fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #85 0x0000ffff8381fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #86 0x0000ffff8381fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #87 0x0000ffff838a610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #88 0x0000aaaaaf2559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #89 0x0000aaaaaf2594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #90 0x0000aaaaaf25aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #91 0x0000aaaaaf251fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #92 0x0000ffff7ae1098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #93 0x0000ffff7ae10a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #94 0x0000aaaaaf2520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/NewDelete-checker-test.cpp.script: line 6: 1823263 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-checker-test.cpp -verify=expected,newdelete -analyzer-checker=core -analyzer-checker=cplusplus.NewDelete -- ******************** Testing: 0 FAIL: Clang :: Analysis/NewDelete-path-notes.cpp (424 of 18953) ******************** TEST 'Clang :: Analysis/NewDelete-path-notes.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=cplusplus.NewDelete,unix.Malloc -analyzer-config add-pop-up-notes=false -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-path-notes.cpp : 'RUN: at line 5'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=cplusplus.NewDelete,unix.Malloc -analyzer-config add-pop-up-notes=false -analyzer-output=plist /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-path-notes.cpp -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/NewDelete-path-notes.cpp.tmp.plist : 'RUN: at line 9'; grep -Ev '^[[:space:]]*.* version .*[[:space:]]*$|^[[:space:]]*/.*[[:space:]]*$|^[[:space:]]*.:.*[[:space:]]*$' parser at end of file 2. While analyzing stack: #0 Calling Odd::kill() at line 30 #1 Calling test(Odd *) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-path-notes.cpp:25:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-path-notes.cpp:25:3: Error evaluating statement #0 0x0000ffffa17cacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa17c9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa17cb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffaa70f800 (linux-vdso.so.1+0x800) #4 0x0000ffffa9a23688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa9a23688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa9a23688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa9a23688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa9a23688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa9a23688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa9a23688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa9a23688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa96d0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa96d0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa96d0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa96d0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa96d1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa96d1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa96d1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa96d1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa96e4770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa96e4770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa96e4770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa96e5cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa96e5cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa96e5cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa96e5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa96e5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa96e5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa96f17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa96f17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa96f17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa96fb074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa96fb074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa96fb074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa965f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa965f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa965f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa965f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa9b4d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa9b4d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa9b4d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffa9828c54 (anonymous namespace)::MallocChecker::FreeMemAux(clang::ento::CheckerContext&, clang::Expr const*, clang::ento::CallEvent const&, llvm::IntrusiveRefCntPtr, bool, bool&, (anonymous namespace)::AllocationFamily, bool) const (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1909:0 #43 0x0000ffffa98306c4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #44 0x0000ffffa98306c4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #45 0x0000ffffa98306c4 checkPreCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:2867:0 #46 0x0000ffffa98306c4 void clang::ento::check::PreCall::_checkCall<(anonymous namespace)::MallocChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:168:0 #47 0x0000ffffa9649524 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #48 0x0000ffffa9649524 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #49 0x0000ffffa9649524 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #50 0x0000ffffa9649524 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #51 0x0000ffffa9649524 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #52 0x0000ffffa968714c llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #53 0x0000ffffa968714c llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #54 0x0000ffffa968714c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #55 0x0000ffffa968714c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #56 0x0000ffffa968714c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #57 0x0000ffffa968714c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #58 0x0000ffffa968714c clang::ento::ExprEngine::VisitCXXDeleteExpr(clang::CXXDeleteExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:1135:0 #59 0x0000ffffa968c3fc clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2184:0 #60 0x0000ffffa968cf08 clang::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 0x0000ffffa968d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffa968d41c clang::ento::CoreEngine::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 0x0000ffffa968d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x0000ffffa968d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x0000ffffa968d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #66 0x0000ffffa968d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #67 0x0000ffffa968d764 clang::ento::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 0x0000ffffa995787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #69 0x0000ffffa995787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #70 0x0000ffffa995787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #71 0x0000ffffa995787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #72 0x0000ffffa995787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #73 0x0000ffffa99587e8 llvm::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 0x0000ffffa99587e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #75 0x0000ffffa99587e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #76 0x0000ffffa995cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #77 0x0000ffffa995cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #78 0x0000ffffa995cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #79 0x0000ffffa995cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #80 0x0000ffffa995cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #81 0x0000ffffa7db1e58 __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 0x0000ffffa7db1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #83 0x0000ffffa7db1e58 void clang::finalize>, 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 0x0000ffffa7db1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #85 0x0000ffffa9477ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #86 0x0000ffffa942fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #87 0x0000ffffa942fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #88 0x0000ffffa942fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #89 0x0000ffffa94b610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #90 0x0000aaaabcc959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #91 0x0000aaaabcc994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #92 0x0000aaaabcc9aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #93 0x0000aaaabcc91fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #94 0x0000ffffa0a2098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #95 0x0000ffffa0a20a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #96 0x0000aaaabcc920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/NewDelete-path-notes.cpp.script: line 3: 1823285 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=cplusplus.NewDelete,unix.Malloc -analyzer-config add-pop-up-notes=false -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDelete-path-notes.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/NewDeleteLeaks-PR18394.cpp (425 of 18953) ******************** TEST 'Clang :: Analysis/NewDeleteLeaks-PR18394.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-config graph-trim-interval=1 -analyzer-max-loop 1 -analyzer-checker=core,cplusplus.NewDeleteLeaks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDeleteLeaks-PR18394.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-config graph-trim-interval=1 -analyzer-max-loop 1 -analyzer-checker=core,cplusplus.NewDeleteLeaks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDeleteLeaks-PR18394.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling error() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDeleteLeaks-PR18394.cpp:14:10: Error evaluating New Allocator Call #0 0x0000ffff97a8acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff97a89100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff97a8b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa09c3800 (linux-vdso.so.1+0x800) #4 0x0000ffff9fce3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9fce3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9fce3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9fce3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9fce3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9fce3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff9fce3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff9fce3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9f990c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9f990c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9f990c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9f990c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9f991ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9f991ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9f991ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9f991ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff9f9a4770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff9f9a4770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff9f9a4770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff9f9a5cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff9f9a5cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff9f9a5cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff9f9a5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff9f9a5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff9f9a5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff9f9b17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff9f9b17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff9f9b17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9f9bb074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9f9bb074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9f9bb074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9f91f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9f91f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9f91f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9f91f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9f91fbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9f91fbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9f91fbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff9f949b98 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #43 0x0000ffff9f949b98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #44 0x0000ffff9f949b98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffff9f949b98 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #46 0x0000ffff9f949b98 clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #47 0x0000ffff9f949fac llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #48 0x0000ffff9f949fac llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #49 0x0000ffff9f949fac clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #50 0x0000ffff9f949fac clang::ento::CoreEngine::enqueue(clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:613:23 #51 0x0000ffff9f949fac clang::ento::ExprEngine::ProcessNewAllocator(clang::CXXNewExpr const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1326:0 #52 0x0000ffff9f94d22c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:984:0 #53 0x0000ffff9f94d310 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #54 0x0000ffff9f94d5dc clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #55 0x0000ffff9f94d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #56 0x0000ffff9f94d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #57 0x0000ffff9f94d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #58 0x0000ffff9f94d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #59 0x0000ffff9f94d764 clang::ento::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 0x0000ffff9fc1787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #61 0x0000ffff9fc1787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #62 0x0000ffff9fc1787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #63 0x0000ffff9fc1787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #64 0x0000ffff9fc1787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #65 0x0000ffff9fc187e8 llvm::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 0x0000ffff9fc187e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #67 0x0000ffff9fc187e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #68 0x0000ffff9fc1cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #69 0x0000ffff9fc1cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #70 0x0000ffff9fc1cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #71 0x0000ffff9fc1cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #72 0x0000ffff9fc1cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #73 0x0000ffff9e071e58 __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 0x0000ffff9e071e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #75 0x0000ffff9e071e58 void clang::finalize>, 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 0x0000ffff9e071e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #77 0x0000ffff9f737ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #78 0x0000ffff9f6efc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #79 0x0000ffff9f6efc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #80 0x0000ffff9f6efc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #81 0x0000ffff9f77610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #82 0x0000aaaada2459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #83 0x0000aaaada2494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #84 0x0000aaaada24aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #85 0x0000aaaada241fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #86 0x0000ffff96ce098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #87 0x0000ffff96ce0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #88 0x0000aaaada2420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/NewDeleteLeaks-PR18394.cpp.script: line 1: 1823307 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-config graph-trim-interval=1 -analyzer-max-loop 1 -analyzer-checker=core,cplusplus.NewDeleteLeaks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDeleteLeaks-PR18394.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/NewDeleteLeaks-PR19102.cpp (427 of 18953) ******************** TEST 'Clang :: Analysis/NewDeleteLeaks-PR19102.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus.NewDeleteLeaks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDeleteLeaks-PR19102.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus.NewDeleteLeaks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDeleteLeaks-PR19102.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling test() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDeleteLeaks-PR19102.cpp:25:3: Error evaluating New Allocator Call #0 0x0000ffff7a3bacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7a3b9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7a3bb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff832f6800 (linux-vdso.so.1+0x800) #4 0x0000ffff82613688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff82613688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff82613688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff82613688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff82613688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff82613688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff82613688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff82613688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff822c0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff822c0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff822c0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff822c0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff822c1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff822c1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff822c1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff822c1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff822d4770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff822d4770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff822d4770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff822d5cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff822d5cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff822d5cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff822d5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff822d5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff822d5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff822e17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff822e17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff822e17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff822eb074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff822eb074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff822eb074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8224f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8224f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8224f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8224f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff8224fbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8224fbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8224fbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff82279b98 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #43 0x0000ffff82279b98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #44 0x0000ffff82279b98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffff82279b98 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #46 0x0000ffff82279b98 clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #47 0x0000ffff82279fac llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #48 0x0000ffff82279fac llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #49 0x0000ffff82279fac clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #50 0x0000ffff82279fac clang::ento::CoreEngine::enqueue(clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:613:23 #51 0x0000ffff82279fac clang::ento::ExprEngine::ProcessNewAllocator(clang::CXXNewExpr const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1326:0 #52 0x0000ffff8227d22c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:984:0 #53 0x0000ffff8227d310 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #54 0x0000ffff8227d5dc clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #55 0x0000ffff8227d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #56 0x0000ffff8227d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #57 0x0000ffff8227d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #58 0x0000ffff8227d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #59 0x0000ffff8227d764 clang::ento::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 0x0000ffff8254787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #61 0x0000ffff8254787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #62 0x0000ffff8254787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #63 0x0000ffff8254787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #64 0x0000ffff8254787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #65 0x0000ffff825487e8 llvm::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 0x0000ffff825487e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #67 0x0000ffff825487e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #68 0x0000ffff8254cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #69 0x0000ffff8254cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #70 0x0000ffff8254cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #71 0x0000ffff8254cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #72 0x0000ffff8254cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #73 0x0000ffff809a1e58 __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 0x0000ffff809a1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #75 0x0000ffff809a1e58 void clang::finalize>, 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 0x0000ffff809a1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #77 0x0000ffff82067ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #78 0x0000ffff8201fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #79 0x0000ffff8201fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #80 0x0000ffff8201fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #81 0x0000ffff820a610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #82 0x0000aaaac2b159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #83 0x0000aaaac2b194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #84 0x0000aaaac2b1aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #85 0x0000aaaac2b11fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #86 0x0000ffff7961098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #87 0x0000ffff79610a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #88 0x0000aaaac2b120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/NewDeleteLeaks-PR19102.cpp.script: line 1: 1823320 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus.NewDeleteLeaks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDeleteLeaks-PR19102.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/NoReturn.m (428 of 18953) ******************** TEST 'Clang :: Analysis/NoReturn.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NoReturn.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NoReturn.m 1. parser at end of file 2. While analyzing stack: #0 Calling PR11959 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NoReturn.m:123:8: Error evaluating statement #0 0x0000ffff9e0aacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff9e0a9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9e0ab388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa6fee800 (linux-vdso.so.1+0x800) #4 0x0000ffffa5facd64 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa5facd64 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa5facd64 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa5facd64 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffffa5facd64 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffffa5facd64 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffffa5f580bc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffffa5f580bc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffffa5f580bc clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffffa5f6ce94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffffa5f6ce94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffffa5f6ce94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffffa5f6ce94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffffa5f6ce94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffffa5f6ce94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffffa5f6ce94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffffa5f6ce94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffffa5f6ce94 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffffa5f6d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffa5f6d310 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffffa5f6d5dc clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffffa5f6d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffffa5f6d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffffa5f6d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffffa5f6d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffffa5f6d764 clang::ento::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 0x0000ffffa623787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffffa623787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffffa623787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffffa623787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffffa623787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffffa62387e8 llvm::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 0x0000ffffa62387e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffffa62387e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffffa623cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffffa623cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffffa623cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffffa623cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffffa623cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffffa4691e58 __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 0x0000ffffa4691e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffffa4691e58 void clang::finalize>, 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 0x0000ffffa4691e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffffa5d57ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffffa5d0fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffffa5d0fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffffa5d0fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffffa5d9610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaabf2559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaabf2594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaabf25aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaabf251fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffff9d30098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffff9d300a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaabf2520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/NoReturn.m.script: line 1: 1823351 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NoReturn.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/NewDeleteLeaks.cpp (430 of 18953) ******************** TEST 'Clang :: Analysis/NewDeleteLeaks.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify -analyzer-output=text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDeleteLeaks.cpp -analyzer-checker=core -analyzer-checker=cplusplus -analyzer-checker=unix -analyzer-config unix.DynamicMemoryModeling:AddNoOwnershipChangeNotes=false : 'RUN: at line 8'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify=expected,ownership -analyzer-output=text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDeleteLeaks.cpp -analyzer-checker=core -analyzer-checker=cplusplus -analyzer-checker=unix -analyzer-config unix.DynamicMemoryModeling:AddNoOwnershipChangeNotes=true -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify -analyzer-output=text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDeleteLeaks.cpp -analyzer-checker=core -analyzer-checker=cplusplus -analyzer-checker=unix -analyzer-config unix.DynamicMemoryModeling:AddNoOwnershipChangeNotes=false 1. parser at end of file 2. While analyzing stack: #0 Calling symbol_reaper_lifetime::allocateWrappingAndReturnNested() at line 217 #1 Calling symbol_reaper_lifetime::caller() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDeleteLeaks.cpp:209:23: Error evaluating New Allocator Call #0 0x0000ffffb180acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb1809100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb180b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffba74d800 (linux-vdso.so.1+0x800) #4 0x0000ffffb9a63688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb9a63688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb9a63688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb9a63688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb9a63688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb9a63688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb9a63688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb9a63688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb9710c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb9710c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb9710c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb9710c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb9711ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb9711ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb9711ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb9711ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb9724770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb9724770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb9724770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb9725cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb9725cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb9725cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb9725190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb9725190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb9725190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb97317d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb97317d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb97317d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb973b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb973b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb973b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb969f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb969f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb969f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb969f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb969fbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb969fbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb969fbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffb96c9b98 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #43 0x0000ffffb96c9b98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #44 0x0000ffffb96c9b98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffffb96c9b98 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #46 0x0000ffffb96c9b98 clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #47 0x0000ffffb96c9fac llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #48 0x0000ffffb96c9fac llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #49 0x0000ffffb96c9fac clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #50 0x0000ffffb96c9fac clang::ento::CoreEngine::enqueue(clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:613:23 #51 0x0000ffffb96c9fac clang::ento::ExprEngine::ProcessNewAllocator(clang::CXXNewExpr const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1326:0 #52 0x0000ffffb96cd22c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:984:0 #53 0x0000ffffb96cd310 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #54 0x0000ffffb96cd5dc clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #55 0x0000ffffb96cd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #56 0x0000ffffb96cd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #57 0x0000ffffb96cd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #58 0x0000ffffb96cd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #59 0x0000ffffb96cd764 clang::ento::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 0x0000ffffb999787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #61 0x0000ffffb999787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #62 0x0000ffffb999787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #63 0x0000ffffb999787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #64 0x0000ffffb999787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #65 0x0000ffffb99987e8 llvm::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 0x0000ffffb99987e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #67 0x0000ffffb99987e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #68 0x0000ffffb999cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #69 0x0000ffffb999cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #70 0x0000ffffb999cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #71 0x0000ffffb999cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #72 0x0000ffffb999cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #73 0x0000ffffb7df1e58 __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 0x0000ffffb7df1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #75 0x0000ffffb7df1e58 void clang::finalize>, 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 0x0000ffffb7df1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #77 0x0000ffffb94b7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #78 0x0000ffffb946fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #79 0x0000ffffb946fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #80 0x0000ffffb946fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #81 0x0000ffffb94f610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #82 0x0000aaaac74459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #83 0x0000aaaac74494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #84 0x0000aaaac744aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #85 0x0000aaaac7441fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #86 0x0000ffffb0a6098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #87 0x0000ffffb0a60a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #88 0x0000aaaac74420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/NewDeleteLeaks.cpp.script: line 2: 1823331 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify -analyzer-output=text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/NewDeleteLeaks.cpp -analyzer-checker=core -analyzer-checker=cplusplus -analyzer-checker=unix -analyzer-config unix.DynamicMemoryModeling:AddNoOwnershipChangeNotes=false -- ******************** Testing: 0 FAIL: Clang :: Analysis/OSAtomic_mac.cpp (431 of 18953) ******************** TEST 'Clang :: Analysis/OSAtomic_mac.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin9 -analyzer-checker=core,osx -verify -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/OSAtomic_mac.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin9 -analyzer-checker=core,osx -verify -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/OSAtomic_mac.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling rdar9339920_test() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/OSAtomic_mac.cpp:14:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/OSAtomic_mac.cpp:14:7: Error evaluating statement #0 0x0000ffff9f9facd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff9f9f9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9f9fb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa8932800 (linux-vdso.so.1+0x800) #4 0x0000ffffa7901074 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffa7901074 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffa7901074 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffa7901074 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffa7901074 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffa7901074 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffa7901074 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffa7901074 markDisequal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2507:0 #12 0x0000ffffa7901074 markDisequal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2494:0 #13 0x0000ffffa7901074 markDisequal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2487:0 #14 0x0000ffffa7901074 trackDisequality /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2155:0 #15 0x0000ffffa7901074 assignSymSymExprToRangeSet /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2241:0 #16 0x0000ffffa7901074 assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:0 #17 0x0000ffffa7901074 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:0 #18 0x0000ffffa7901074 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:0 #19 0x0000ffffa7901074 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:0 #20 0x0000ffffa7901074 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #21 0x0000ffffa7901074 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #22 0x0000ffffa7901940 llvm::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 0x0000ffffa7901940 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #24 0x0000ffffa7901940 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x0000ffffa7901940 (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:0 #26 0x0000ffffa791591c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa791591c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa791591c 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 0x0000ffffa7915190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffffa7915190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffffa7915190 clang::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 0x0000ffffa79217d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #33 0x0000ffffa79217d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #34 0x0000ffffa79217d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #35 0x0000ffffa792b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #36 0x0000ffffa792b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #37 0x0000ffffa792b074 clang::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 0x0000ffffa788f6d8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #39 0x0000ffffa788f6d8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #40 0x0000ffffa788f6d8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #41 0x0000ffffa788f6d8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #42 0x0000ffffa7d7d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #43 0x0000ffffa7d7d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #44 0x0000ffffa7d7d3d4 clang::ento::ProgramState::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 0x0000ffffa78a2a0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #46 0x0000ffffa78a2a0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #47 0x0000ffffa78a2a0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #48 0x0000ffffa78bccac llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #49 0x0000ffffa78bccac llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #50 0x0000ffffa78bccac llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #51 0x0000ffffa78bccac clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #52 0x0000ffffa78bccac clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #53 0x0000ffffa78bcf08 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #54 0x0000ffffa78bd1f0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #55 0x0000ffffa78bd41c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #56 0x0000ffffa78bd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #57 0x0000ffffa78bd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #58 0x0000ffffa78bd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #59 0x0000ffffa78bd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #60 0x0000ffffa78bd764 clang::ento::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 0x0000ffffa7b8787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #62 0x0000ffffa7b8787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #63 0x0000ffffa7b8787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #64 0x0000ffffa7b8787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #65 0x0000ffffa7b8787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #66 0x0000ffffa7b887e8 llvm::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 0x0000ffffa7b887e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #68 0x0000ffffa7b887e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #69 0x0000ffffa7b8cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #70 0x0000ffffa7b8cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #71 0x0000ffffa7b8cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #72 0x0000ffffa7b8cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #73 0x0000ffffa7b8cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #74 0x0000ffffa5fe1e58 __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 0x0000ffffa5fe1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #76 0x0000ffffa5fe1e58 void clang::finalize>, 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 0x0000ffffa5fe1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #78 0x0000ffffa76a7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #79 0x0000ffffa765fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #80 0x0000ffffa765fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #81 0x0000ffffa765fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #82 0x0000ffffa76e610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #83 0x0000aaaad3f959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #84 0x0000aaaad3f994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #85 0x0000aaaad3f9aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #86 0x0000aaaad3f91fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #87 0x0000ffff9ec5098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #88 0x0000ffff9ec50a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #89 0x0000aaaad3f920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/OSAtomic_mac.cpp.script: line 1: 1823361 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin9 -analyzer-checker=core,osx -verify -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/OSAtomic_mac.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/ObjCProperties.m (434 of 18953) ******************** TEST 'Clang :: Analysis/ObjCProperties.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -Wno-int-conversion /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ObjCProperties.m -verify -analyzer-checker=core,alpha.core,debug.ExprInspection -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -Wno-int-conversion /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ObjCProperties.m -verify -analyzer-checker=core,alpha.core,debug.ExprInspection 1. parser at end of file #0 0x0000ffffa591acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa5919100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa591b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffae85b800 (linux-vdso.so.1+0x800) #4 0x0000ffffadb73688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffadb73688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffadb73688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffadb73688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffadb73688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffadb73688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffadb73688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffadb73688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffad820c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffad820c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffad820c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffad820c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffad821ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffad821ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffad821ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffad821ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffad834770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffad834770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffad834770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffad835cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffad835cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffad835cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffad835190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffad835190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffad835190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffad8417d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffad8417d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffad8417d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffad84b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffad84b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffad84b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffad7af72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffad7af72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffad7af72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffad7af72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffad7afbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffad7afbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffad7afbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffad7831c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffad7831c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffad7831c0 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffad7bfba8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffad7bfba8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffad7bfba8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffffad7ddaa8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffad7ddaa8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffad7ddaa8 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffadaa787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffadaa787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffadaa787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffadaa787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffadaa787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffadaa87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffffadaa87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffadaa87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffadaacde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffadaacde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffadaacde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffadaacde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffadaacde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffabf01e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffffabf01e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffabf01e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffffabf01e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffad5c7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffad57fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffad57fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffad57fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffad60610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaab01859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaab01894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaab018aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaab0181fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffffa4b7098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffffa4b70a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaab01820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ObjCProperties.m.script: line 1: 1823365 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -Wno-int-conversion /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ObjCProperties.m -verify -analyzer-checker=core,alpha.core,debug.ExprInspection -- ******************** Testing: 0 FAIL: Clang :: Analysis/ObjCRetSigs.m (435 of 18953) ******************** TEST 'Clang :: Analysis/ObjCRetSigs.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -analyzer-checker=osx.cocoa.IncompatibleMethodTypes -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ObjCRetSigs.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -analyzer-checker=osx.cocoa.IncompatibleMethodTypes -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ObjCRetSigs.m 1. parser at end of file #0 0x0000ffff9857acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff98579100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9857b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa14b8800 (linux-vdso.so.1+0x800) #4 0x0000ffffa07d3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa07d3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa07d3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa07d3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa07d3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa07d3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa07d3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa07d3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa0480c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa0480c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa0480c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa0480c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa0481ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa0481ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa0481ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa0481ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa0494770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa0494770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa0494770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa0495cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa0495cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa0495cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa0495190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa0495190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa0495190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa04a17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa04a17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa04a17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa04ab074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa04ab074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa04ab074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa040f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa040f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa040f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa040f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa040fbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa040fbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa040fbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffa03e31c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffa03e31c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffa03e31c0 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffa041fba8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffa041fba8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffa041fba8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffffa043daa8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffa043daa8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffa043daa8 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffa070787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffa070787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffa070787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffa070787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffa070787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffa07087e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffffa07087e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffa07087e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffa070cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffa070cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffa070cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffa070cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffa070cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff9eb61e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffff9eb61e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff9eb61e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffff9eb61e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffa0227ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffa01dfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffa01dfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffa01dfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffa026610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaac3e859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaac3e894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaac3e8aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaac3e81fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff977d098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff977d0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaac3e820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ObjCRetSigs.m.script: line 1: 1823382 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -analyzer-checker=osx.cocoa.IncompatibleMethodTypes -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ObjCRetSigs.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/PR2978.m (436 of 18953) ******************** TEST 'Clang :: Analysis/PR2978.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core,osx.cocoa.Dealloc /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR2978.m -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core,osx.cocoa.Dealloc /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR2978.m -verify 1. parser at end of file #0 0x0000ffff9d3eacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff9d3e9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9d3eb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa632f800 (linux-vdso.so.1+0x800) #4 0x0000ffffa5643688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa5643688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa5643688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa5643688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa5643688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa5643688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa5643688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa5643688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa52f0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa52f0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa52f0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa52f0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa52f1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa52f1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa52f1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa52f1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa5304770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa5304770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa5304770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa5305cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa5305cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa5305cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa5305190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa5305190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa5305190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa53117d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa53117d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa53117d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa531b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa531b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa531b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa527f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa527f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa527f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa527f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa527fbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa527fbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa527fbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffa52531c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffa52531c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffa52531c0 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffa528fba8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffa528fba8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffa528fba8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffffa52adaa8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffa52adaa8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffa52adaa8 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffa557787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffa557787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffa557787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffa557787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffa557787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffa55787e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffffa55787e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffa55787e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffa557cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffa557cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffa557cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffa557cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffa557cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffa39d1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffffa39d1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffa39d1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffffa39d1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffa5097ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffa504fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffa504fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffa504fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffa50d610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaab59959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaab59994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaab599aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaab5991fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff9c64098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff9c640a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaab59920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/PR2978.m.script: line 1: 1823391 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core,osx.cocoa.Dealloc /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR2978.m -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/PR24184.cpp (437 of 18953) ******************** TEST 'Clang :: Analysis/PR24184.cpp' FAILED ******************** Script: -- : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -fcxx-exceptions -analyzer-checker=core -analyzer-checker=alpha.core.PointerArithm,alpha.core.CastToStruct -analyzer-max-loop 64 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR24184.cpp : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core -analyzer-checker=cplusplus -fcxx-exceptions -analyzer-checker alpha.core.PointerArithm,alpha.core.CastToStruct -analyzer-max-loop 63 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR24184.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -fcxx-exceptions -analyzer-checker=core -analyzer-checker=alpha.core.PointerArithm,alpha.core.CastToStruct -analyzer-max-loop 64 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR24184.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling foo2() at line 95 #1 Calling foo3(int *) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR24184.cpp:90:10: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR24184.cpp:90:10: Error evaluating statement #0 0x0000ffffac0cacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffac0c9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffac0cb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb5008800 (linux-vdso.so.1+0x800) #4 0x0000ffffb4323688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb4323688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb4323688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb4323688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb4323688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb4323688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb4323688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb4323688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb3fd0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb3fd0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb3fd0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb3fd0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb3fd1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb3fd1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb3fd1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb3fd1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb3fe4770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb3fe4770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb3fe4770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb3fe5cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb3fe5cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb3fe5cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb3fe5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb3fe5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb3fe5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb3ff17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb3ff17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb3ff17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb3ffb074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb3ffb074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb3ffb074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb3f5f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb3f5f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb3f5f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb3f5f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb444d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb444d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb444d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffb407eee0 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffb407eee0 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffb407eee0 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:61 #45 0x0000ffffb407eee0 void clang::ento::check::Location::_checkLocation<(anonymous namespace)::DereferenceChecker>(void*, clang::ento::SVal const&, bool, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:199:46 #46 0x0000ffffb3f499b8 void expandGraphWithCheckers<(anonymous namespace)::CheckLocationContext>((anonymous namespace)::CheckLocationContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #47 0x0000ffffb3f72270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:60 #48 0x0000ffffb3f72270 clang::ento::ExprEngine::evalLocation(clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::Stmt const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3710:19 #49 0x0000ffffb3f724ac llvm::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 0x0000ffffb3f724ac llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #51 0x0000ffffb3f724ac llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x0000ffffb3f724ac clang::ento::ExprEngine::evalLoad(clang::ento::ExplodedNodeSet&, clang::Expr const*, clang::Expr const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, clang::ProgramPointTag const*, clang::QualType) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3653:15 #53 0x0000ffffb3f82170 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #54 0x0000ffffb3f82170 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #55 0x0000ffffb3f82170 clang::ento::ExprEngine::VisitCast(clang::CastExpr const*, clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:292:0 #56 0x0000ffffb3f8b884 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #57 0x0000ffffb3f8b884 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #58 0x0000ffffb3f8b884 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2258:0 #59 0x0000ffffb3f8cf08 clang::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 0x0000ffffb3f8d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffb3f8d41c clang::ento::CoreEngine::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 0x0000ffffb3f8d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #63 0x0000ffffb3f8d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #64 0x0000ffffb3f8d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #65 0x0000ffffb3f8d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #66 0x0000ffffb3f8d764 clang::ento::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 0x0000ffffb425787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #68 0x0000ffffb425787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #69 0x0000ffffb425787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #70 0x0000ffffb425787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #71 0x0000ffffb425787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #72 0x0000ffffb42587e8 llvm::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 0x0000ffffb42587e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #74 0x0000ffffb42587e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #75 0x0000ffffb425cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #76 0x0000ffffb425cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #77 0x0000ffffb425cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #78 0x0000ffffb425cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #79 0x0000ffffb425cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #80 0x0000ffffb26b1e58 __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 0x0000ffffb26b1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #82 0x0000ffffb26b1e58 void clang::finalize>, 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 0x0000ffffb26b1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #84 0x0000ffffb3d77ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #85 0x0000ffffb3d2fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #86 0x0000ffffb3d2fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #87 0x0000ffffb3d2fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #88 0x0000ffffb3db610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #89 0x0000aaaacaab59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #90 0x0000aaaacaab94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #91 0x0000aaaacaabaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #92 0x0000aaaacaab1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #93 0x0000ffffab32098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #94 0x0000ffffab320a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #95 0x0000aaaacaab20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/PR24184.cpp.script: line 2: 1823386 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -fcxx-exceptions -analyzer-checker=core -analyzer-checker=alpha.core.PointerArithm,alpha.core.CastToStruct -analyzer-max-loop 64 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR24184.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/PR35418.cpp (438 of 18953) ******************** TEST 'Clang :: Analysis/PR35418.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR35418.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR35418.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling decode(unsigned int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR35418.cpp:12:10: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR35418.cpp:12:10: Error evaluating statement #0 0x0000ffff7d9cacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7d9c9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7d9cb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8690c800 (linux-vdso.so.1+0x800) #4 0x0000ffff85c23688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff85c23688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff85c23688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff85c23688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff85c23688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff85c23688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff85c23688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff85c23688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff858d0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff858d0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff858d0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff858d0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff858d15a4 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff858d15a4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff858d15a4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff858d15a4 (anonymous namespace)::RangeConstraintManager::assumeSymLE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3214:0 #20 0x0000ffff858e4770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff858e4770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff858e4770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff858e5cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff858e5cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff858e5cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff858e5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff858e5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff858e5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff858f17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff858f17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff858f17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff858fb074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff858fb074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff858fb074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8585f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8585f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8585f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8585f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff85d4d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff85d4d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff85d4d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff85872a0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff85872a0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff85872a0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffff8588ccac llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffff8588ccac llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffff8588ccac llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffff8588ccac clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffff8588ccac clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffff8588cf08 clang::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 0x0000ffff8588d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8588d41c clang::ento::CoreEngine::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 0x0000ffff8588d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff8588d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff8588d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff8588d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff8588d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff85b5787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff85b5787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff85b5787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff85b5787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff85b5787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff85b587e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff85b587e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff85b587e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff85b5cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff85b5cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff85b5cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff85b5cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff85b5cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff83fb1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff83fb1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff83fb1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff83fb1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff85677ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff8562fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff8562fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff8562fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff856b610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaabc8959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaabc8994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaabc89aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaabc891fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff7cc2098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff7cc20a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaabc8920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/PR35418.cpp.script: line 1: 1823401 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/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/PR3991.m (441 of 18953) ******************** TEST 'Clang :: Analysis/PR3991.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -verify -triple x86_64-apple-darwin9 -Wno-incomplete-implementation /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR3991.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -verify -triple x86_64-apple-darwin9 -Wno-incomplete-implementation /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR3991.m 1. parser at end of file #0 0x0000ffff84bfacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff84bf9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff84bfb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8db3d800 (linux-vdso.so.1+0x800) #4 0x0000ffff8ce53688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8ce53688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8ce53688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8ce53688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8ce53688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8ce53688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff8ce53688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff8ce53688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8cb00c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8cb00c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8cb00c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8cb00c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8cb01ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8cb01ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8cb01ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8cb01ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff8cb14770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff8cb14770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff8cb14770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff8cb15cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff8cb15cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff8cb15cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff8cb15190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8cb15190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8cb15190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff8cb217d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff8cb217d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff8cb217d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8cb2b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8cb2b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8cb2b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8ca8f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8ca8f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8ca8f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8ca8f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff8ca8fbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8ca8fbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8ca8fbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff8ca631c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff8ca631c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff8ca631c0 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff8ca9fba8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff8ca9fba8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff8ca9fba8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffff8cabdaa8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff8cabdaa8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff8cabdaa8 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff8cd8787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff8cd8787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff8cd8787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff8cd8787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff8cd8787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff8cd887e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffff8cd887e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff8cd887e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff8cd8cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff8cd8cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff8cd8cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff8cd8cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff8cd8cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff8b1e1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffff8b1e1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff8b1e1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffff8b1e1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff8c8a7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff8c85fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff8c85fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff8c85fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff8c8e610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaadd3659f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaadd3694b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaadd36aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaadd361fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff83e5098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff83e50a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaadd3620b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/PR3991.m.script: line 1: 1823424 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -verify -triple x86_64-apple-darwin9 -Wno-incomplete-implementation /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR3991.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/PR46264.cpp (442 of 18953) ******************** TEST 'Clang :: Analysis/PR46264.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR46264.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR46264.cpp 1. parser at end of file #0 0x0000ffff80e4acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff80e49100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff80e4b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff89d8a800 (linux-vdso.so.1+0x800) #4 0x0000ffff890a3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff890a3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff890a3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff890a3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff890a3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff890a3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff890a3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff890a3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff88d50c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff88d50c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff88d50c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff88d50c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff88d51ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff88d51ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff88d51ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff88d51ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff88d64770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff88d64770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff88d64770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff88d65cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff88d65cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff88d65cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff88d65190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff88d65190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff88d65190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff88d717d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff88d717d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff88d717d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff88d7b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff88d7b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff88d7b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff88cdf72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff88cdf72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff88cdf72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff88cdf72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff88cdfbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff88cdfbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff88cdfbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff88cb31c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff88cb31c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff88cb31c0 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff88cefb5c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff88cefb5c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff88cefb5c clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:42 #48 0x0000ffff88d0daa8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff88d0daa8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff88d0daa8 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff88fd787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff88fd787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff88fd787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff88fd787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff88fd787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff88fd87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffff88fd87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff88fd87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff88fdcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff88fdcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff88fdcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff88fdcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff88fdcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff87431e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffff87431e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff87431e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffff87431e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff88af7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff88aafc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff88aafc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff88aafc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff88b3610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaadfe659f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaadfe694b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaadfe6aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaadfe61fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff800a098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff800a0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaadfe620b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/PR46264.cpp.script: line 1: 1823435 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/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/PR49490.cpp (443 of 18953) ******************** TEST 'Clang :: Analysis/PR49490.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR49490.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR49490.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling get_global_toggle() at line 29 #1 Calling bar() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR49490.cpp:10:37: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR49490.cpp:10:37: Error evaluating statement #0 0x0000ffffabc0acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffabc09100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffabc0b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb4b4c800 (linux-vdso.so.1+0x800) #4 0x0000ffffb3ab8434 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb3ab8434 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb3ab8434 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb3ab8434 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb3ab8434 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb3ab8434 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb3ab8434 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:0 #11 0x0000ffffb3ab8434 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 0x0000ffffb3ae92b0 clang::ento::ExprEngine::finishArgumentConstruction(llvm::IntrusiveRefCntPtr, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:640:59 #13 0x0000ffffb3ae9454 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #14 0x0000ffffb3ae9454 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #15 0x0000ffffb3ae9454 clang::ento::ExprEngine::finishArgumentConstruction(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:657:72 #16 0x0000ffffb3ac6164 clang::ento::ExprEngine::handleConstructor(clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:832:0 #17 0x0000ffffb3acbe5c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #18 0x0000ffffb3acbe5c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2158:0 #19 0x0000ffffb3accf08 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #20 0x0000ffffb3acd1f0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #21 0x0000ffffb3acd41c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #22 0x0000ffffb3acd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #23 0x0000ffffb3acd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #24 0x0000ffffb3acd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #25 0x0000ffffb3acd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #26 0x0000ffffb3acd764 clang::ento::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 0x0000ffffb3d9787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x0000ffffb3d9787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x0000ffffb3d9787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #30 0x0000ffffb3d9787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #31 0x0000ffffb3d9787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #32 0x0000ffffb3d987e8 llvm::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 0x0000ffffb3d987e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #34 0x0000ffffb3d987e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #35 0x0000ffffb3d9cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x0000ffffb3d9cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x0000ffffb3d9cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #38 0x0000ffffb3d9cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #39 0x0000ffffb3d9cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #40 0x0000ffffb21f1e58 __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 0x0000ffffb21f1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #42 0x0000ffffb21f1e58 void clang::finalize>, 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 0x0000ffffb21f1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #44 0x0000ffffb38b7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #45 0x0000ffffb386fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #46 0x0000ffffb386fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #47 0x0000ffffb386fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #48 0x0000ffffb38f610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #49 0x0000aaaae48a59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #50 0x0000aaaae48a94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #51 0x0000aaaae48aaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #52 0x0000aaaae48a1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #53 0x0000ffffaae6098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #54 0x0000ffffaae60a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #55 0x0000aaaae48a20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/PR49490.cpp.script: line 1: 1823447 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR49490.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/PR50268.c (444 of 18953) ******************** TEST 'Clang :: Analysis/PR50268.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR50268.c -analyzer-config eagerly-assume=true -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR50268.c -analyzer-config eagerly-assume=true 1. parser at end of file 2. While analyzing stack: #0 Calling test 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR50268.c:10:3: Error evaluating statement #0 0x0000ffff7a38acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7a389100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7a38b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff832ce800 (linux-vdso.so.1+0x800) #4 0x0000ffff8228cd64 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8228cd64 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8228cd64 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8228cd64 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffff8228cd64 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffff8228cd64 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffff822380bc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffff822380bc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffff822380bc clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffff8224ce94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffff8224ce94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffff8224ce94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffff8224ce94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffff8224ce94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffff8224ce94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffff8224ce94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffff8224ce94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffff8224ce94 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffff8224d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8224d310 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffff8224d5dc clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffff8224d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffff8224d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffff8224d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffff8224d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffff8224d764 clang::ento::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 0x0000ffff8251787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff8251787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff8251787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffff8251787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffff8251787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffff825187e8 llvm::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 0x0000ffff825187e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffff825187e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffff8251cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffff8251cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffff8251cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffff8251cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffff8251cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffff80971e58 __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 0x0000ffff80971e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffff80971e58 void clang::finalize>, 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 0x0000ffff80971e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffff82037ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffff81fefc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffff81fefc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffff81fefc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffff8207610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaac18d59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaac18d94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaac18daac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaac18d1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffff795e098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffff795e0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaac18d20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/PR50268.c.script: line 1: 1823461 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR50268.c -analyzer-config eagerly-assume=true -- ******************** Testing: 0 FAIL: Clang :: Analysis/PR47511.cpp (445 of 18953) ******************** TEST 'Clang :: Analysis/PR47511.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++20 -w -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR47511.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++20 -w -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR47511.cpp 1. parser at end of file #0 0x0000ffffad2dacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffad2d9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffad2db388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb6214800 (linux-vdso.so.1+0x800) #4 0x0000ffffb5533688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb5533688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb5533688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb5533688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb5533688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb5533688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb5533688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb5533688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb51e0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb51e0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb51e0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb51e0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb51e1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb51e1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb51e1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb51e1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb51f4770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb51f4770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb51f4770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb51f5cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb51f5cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb51f5cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb51f5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb51f5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb51f5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb52017d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb52017d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb52017d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb520b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb520b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb520b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb516f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb516f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb516f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb516f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb516fbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb516fbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb516fbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffb51431c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffb51431c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffb51431c0 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffb517fb5c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffb517fb5c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffb517fb5c clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:42 #48 0x0000ffffb519daa8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffb519daa8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffb519daa8 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffb546787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffb546787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffb546787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffb546787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffb546787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffb54687e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffffb54687e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffb54687e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffb546cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffb546cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffb546cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffb546cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffb546cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffb38c1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffffb38c1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffb38c1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffffb38c1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffb4f87ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffb4f3fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffb4f3fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffb4f3fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffb4fc610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaaccf059f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaaccf094b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaaccf0aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaaccf01fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffffac53098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffffac530a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaaccf020b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/PR47511.cpp.script: line 1: 1823438 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++20 -w -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR47511.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/PR60412.cpp (446 of 18953) ******************** TEST 'Clang :: Analysis/PR60412.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.deadcode.UnreachableCode -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR60412.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.deadcode.UnreachableCode -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR60412.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling foo()::a::a() at line 12 #1 Calling foo() at line 17 #2 Calling main() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR60412.cpp:10:10: Error evaluating statement #0 0x0000ffff8369acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff83699100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8369b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8c5d4800 (linux-vdso.so.1+0x800) #4 0x0000ffff8b547db8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff8b547db8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff8b547db8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff8b547db8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff8b547db8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff8b547db8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff8b547db8 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff8b547db8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1059:61 #12 0x0000ffff8b55ce94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffff8b55ce94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffff8b55ce94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffff8b55ce94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffff8b55ce94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffff8b55ce94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffff8b55ce94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffff8b55ce94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffff8b55ce94 clang::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 0x0000ffff8b55d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8b55d310 clang::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 0x0000ffff8b55d5dc clang::ento::CoreEngine::dispatchWorkItem(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 0x0000ffff8b55d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x0000ffff8b55d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x0000ffff8b55d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #27 0x0000ffff8b55d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #28 0x0000ffff8b55d764 clang::ento::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 0x0000ffff8b82787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffff8b82787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffff8b82787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #32 0x0000ffff8b82787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #33 0x0000ffff8b82787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #34 0x0000ffff8b8287e8 llvm::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 0x0000ffff8b8287e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x0000ffff8b8287e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #37 0x0000ffff8b82cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x0000ffff8b82cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x0000ffff8b82cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x0000ffff8b82cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x0000ffff8b82cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x0000ffff89c81e58 __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 0x0000ffff89c81e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x0000ffff89c81e58 void clang::finalize>, 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 0x0000ffff89c81e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x0000ffff8b347ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #47 0x0000ffff8b2ffc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #48 0x0000ffff8b2ffc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #49 0x0000ffff8b2ffc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #50 0x0000ffff8b38610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #51 0x0000aaaabf4f59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x0000aaaabf4f94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x0000aaaabf4faac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x0000aaaabf4f1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x0000ffff828f098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #56 0x0000ffff828f0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #57 0x0000aaaabf4f20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/PR60412.cpp.script: line 1: 1823468 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.deadcode.UnreachableCode -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR60412.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/PR49642.c (447 of 18953) ******************** TEST 'Clang :: Analysis/PR49642.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-implicit-function-declaration -Wno-implicit-int -w -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR49642.c -analyzer-checker=core -analyzer-checker=alpha.unix.StdCLibraryFunctions -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-implicit-function-declaration -Wno-implicit-int -w -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR49642.c -analyzer-checker=core -analyzer-checker=alpha.unix.StdCLibraryFunctions 1. parser at end of file 2. While analyzing stack: #0 Calling a 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR49642.c:15:10: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR49642.c:15:10: Error evaluating statement #0 0x0000ffffa015acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa0159100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa015b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa909e800 (linux-vdso.so.1+0x800) #4 0x0000ffffa83b3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa83b3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa83b3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa83b3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa83b3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa83b3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa83b3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa83b3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa8060c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa8060c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa8060c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa8060c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa80615a4 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa80615a4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa80615a4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa80615a4 (anonymous namespace)::RangeConstraintManager::assumeSymLE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3214:0 #20 0x0000ffffa8074770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa8074770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa8074770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa8075cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa8075cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa8075cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa8075190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa8075190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa8075190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa80817d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa80817d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa80817d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa808b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa808b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa808b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa7fef72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa7fef72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa7fef72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa7fef72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa84dd3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa84dd3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa84dd3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffa8002a0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffa8002a0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffa8002a0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffffa801ccac llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffffa801ccac llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffffa801ccac llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffffa801ccac clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffffa801ccac clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffffa801cf08 clang::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 0x0000ffffa801d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffa801d41c clang::ento::CoreEngine::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 0x0000ffffa801d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffa801d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffa801d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffa801d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffa801d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffa82e787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffa82e787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffa82e787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffa82e787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffa82e787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffa82e87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffa82e87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffa82e87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffa82ecde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffa82ecde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffa82ecde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffa82ecde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffa82ecde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffa6741e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffa6741e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffa6741e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffa6741e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffa7e07ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffa7dbfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffa7dbfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffa7dbfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffa7e4610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaae24959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaae24994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaae249aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaae2491fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff9f3b098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff9f3b0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaae24920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/PR49642.c.script: line 1: 1823453 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-implicit-function-declaration -Wno-implicit-int -w -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/PR49642.c -analyzer-checker=core -analyzer-checker=alpha.unix.StdCLibraryFunctions -- ******************** Testing: 0 FAIL: Clang :: Analysis/SpecialFunctionsCFError.cpp (453 of 18953) ******************** TEST 'Clang :: Analysis/SpecialFunctionsCFError.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.coreFoundation.CFError -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/SpecialFunctionsCFError.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.coreFoundation.CFError -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/SpecialFunctionsCFError.cpp 1. parser at end of file #0 0x0000ffff8337acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff83379100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8337b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8c2b0800 (linux-vdso.so.1+0x800) #4 0x0000ffff8b5d3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8b5d3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8b5d3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8b5d3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8b5d3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8b5d3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff8b5d3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff8b5d3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8b280c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8b280c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8b280c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8b280c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8b281ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8b281ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8b281ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8b281ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff8b294770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff8b294770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff8b294770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff8b295cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff8b295cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff8b295cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff8b295190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8b295190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8b295190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff8b2a17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff8b2a17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff8b2a17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8b2ab074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8b2ab074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8b2ab074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8b20f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8b20f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8b20f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8b20f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff8b20fbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8b20fbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8b20fbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff8b1e31c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff8b1e31c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff8b1e31c0 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff8b21fb5c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff8b21fb5c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff8b21fb5c clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:42 #48 0x0000ffff8b23daa8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff8b23daa8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff8b23daa8 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff8b50787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff8b50787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff8b50787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff8b50787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff8b50787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff8b5087e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffff8b5087e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff8b5087e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff8b50cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff8b50cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff8b50cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff8b50cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff8b50cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff89961e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffff89961e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff89961e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffff89961e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff8b027ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff8afdfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff8afdfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff8afdfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff8b06610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaae88959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaae88994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaae889aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaae8891fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff825d098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff825d0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaae88920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/SpecialFunctionsCFError.cpp.script: line 1: 1823481 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.coreFoundation.CFError -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/SpecialFunctionsCFError.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/additive-folding-range-constraints.c (461 of 18953) ******************** TEST 'Clang :: Analysis/additive-folding-range-constraints.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/additive-folding-range-constraints.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/additive-folding-range-constraints.c 1. parser at end of file 2. While analyzing stack: #0 Calling mixedSignedness18 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/additive-folding-range-constraints.c:301:3: Error evaluating statement #0 0x0000ffff8162acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff81629100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8162b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8a567800 (linux-vdso.so.1+0x800) #4 0x0000ffff8952cd64 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8952cd64 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8952cd64 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8952cd64 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffff8952cd64 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffff8952cd64 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffff894d80bc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffff894d80bc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffff894d80bc clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffff894ece94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffff894ece94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffff894ece94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffff894ece94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffff894ece94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffff894ece94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffff894ece94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffff894ece94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffff894ece94 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffff894ed1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff894ed310 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffff894ed5dc clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffff894ed764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffff894ed764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffff894ed764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffff894ed764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffff894ed764 clang::ento::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 0x0000ffff897b787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff897b787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff897b787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffff897b787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffff897b787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffff897b87e8 llvm::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 0x0000ffff897b87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffff897b87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffff897bcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffff897bcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffff897bcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffff897bcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffff897bcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffff87c11e58 __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 0x0000ffff87c11e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffff87c11e58 void clang::finalize>, 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 0x0000ffff87c11e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffff892d7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffff8928fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffff8928fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffff8928fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffff8931610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaad6eb59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaad6eb94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaad6ebaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaad6eb1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffff8088098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffff80880a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaad6eb20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/additive-folding-range-constraints.c.script: line 1: 1823527 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/additive-folding-range-constraints.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/additive-op-on-sym-int-expr.c (462 of 18953) ******************** TEST 'Clang :: Analysis/additive-op-on-sym-int-expr.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple=x86_64-unknown-linux-gnu -analyzer-checker=core,apiModeling,debug.ExprInspection -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/additive-op-on-sym-int-expr.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple=x86_64-unknown-linux-gnu -analyzer-checker=core,apiModeling,debug.ExprInspection -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/additive-op-on-sym-int-expr.c 1. parser at end of file 2. While analyzing stack: #0 Calling crashTest 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/additive-op-on-sym-int-expr.c:163:7: Error evaluating branch #0 0x0000ffff90d7acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff90d79100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff90d7b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff99cb0800 (linux-vdso.so.1+0x800) #4 0x0000ffff98fd3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff98fd3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff98fd3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff98fd3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff98fd3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff98fd3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff98fd3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff98fd3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff98c80c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff98c80c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff98c80c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff98c80c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff98c81ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff98c81ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff98c81ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff98c81ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff98c9591c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff98c9591c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff98c9591c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffff98c95bf0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff98c95bf0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff98c95bf0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffff98c95190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff98c95190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff98c95190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff98ca17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff98ca17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff98ca17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff98cab074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff98cab074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff98cab074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff98c0f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff98c0f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff98c0f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff98c0f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff990fd3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff990fd3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff990fd3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff98c258c8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffff98c258c8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffff98c258c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffff98c258c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffff98c258c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffff98c258c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffff98c258c8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffff98c258c8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffff98c258c8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffff98c258c8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffff98c25e30 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffff98c3d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff98c3d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff98c3d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff98c3d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff98c3d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff98f0787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff98f0787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff98f0787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff98f0787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff98f0787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff98f087e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff98f087e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff98f087e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff98f0cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff98f0cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff98f0cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff98f0cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff98f0cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff97361e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff97361e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff97361e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff97361e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff98a27ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff989dfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff989dfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff989dfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff98a6610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaad19e59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaad19e94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaad19eaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaad19e1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff8ffd098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff8ffd0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaad19e20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/additive-op-on-sym-int-expr.c.script: line 1: 1823529 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple=x86_64-unknown-linux-gnu -analyzer-checker=core,apiModeling,debug.ExprInspection -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/additive-op-on-sym-int-expr.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/a_flaky_crash.cpp (463 of 18953) ******************** TEST 'Clang :: Analysis/a_flaky_crash.cpp' FAILED ******************** Script: -- : 'RUN: at line 22'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 23'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 24'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 25'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 26'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 27'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 28'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 29'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 30'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 31'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 32'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 33'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 34'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 35'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 36'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 37'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 38'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 39'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 40'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 41'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 42'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 43'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 44'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 45'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 46'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 47'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 48'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 49'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 50'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 51'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 52'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 53'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 54'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 55'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 56'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 57'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 58'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 59'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 60'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 61'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 62'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 63'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 64'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 65'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 66'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 67'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 68'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 69'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 70'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 71'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 72'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 73'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 74'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 75'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 76'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 77'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 78'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 79'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 80'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 81'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 82'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 83'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 84'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 85'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 86'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 87'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 88'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 89'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 90'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 91'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 92'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 93'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 94'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 95'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 96'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 97'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 98'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 99'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 100'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 101'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 102'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 103'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 104'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 105'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 106'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 107'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 108'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 109'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 110'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 111'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 112'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 113'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 114'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 115'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 116'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 117'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 118'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 119'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 120'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 121'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 122'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 123'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 124'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 125'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 126'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 127'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 128'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 129'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 130'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 131'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 132'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 133'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 134'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 135'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 136'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 137'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 138'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 139'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 140'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 141'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 142'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 143'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 144'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 145'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 146'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 147'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 148'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 149'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 150'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 151'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 152'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 153'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 154'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 155'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 156'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 157'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 158'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 159'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 160'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 161'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 162'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 163'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 164'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 165'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 166'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 167'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 168'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 169'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 170'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 171'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 172'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 173'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 174'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 175'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 176'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 177'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 178'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 179'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 180'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 181'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 182'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 183'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 184'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 185'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 186'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 187'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 188'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 189'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 190'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 191'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 192'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 193'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 194'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 195'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 196'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 197'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 198'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 199'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 200'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 201'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 202'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 203'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 204'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 205'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 206'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 207'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 208'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 209'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 210'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 211'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 212'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 213'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 214'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 215'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 216'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 217'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 218'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 219'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 220'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 221'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 222'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 223'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 224'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 225'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 226'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 227'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 228'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 229'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 230'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 231'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 232'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 233'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 234'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 235'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 236'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 237'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 238'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 239'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 240'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 241'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 242'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 243'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 244'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 245'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 246'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 247'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 248'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 249'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 250'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 251'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 252'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 253'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 254'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 255'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 256'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 257'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 258'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 259'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 260'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 261'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 262'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 263'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 264'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 265'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 266'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 267'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 268'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 269'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 270'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 271'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 272'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 273'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 274'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 275'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 276'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp : 'RUN: at line 277'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling foo() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp:16:19: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/a_flaky_crash.cpp:16:19: Error evaluating statement #0 0x0000ffffab65acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffab659100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffab65b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb4594800 (linux-vdso.so.1+0x800) #4 0x0000ffffb350e6a4 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffffb350e6a4 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffb350e6a4 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffb350e6a4 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffb350e6a4 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffb350e6a4 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffb350e6a4 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffb350e6a4 llvm::IntrusiveRefCntPtr clang::ento::ProgramStateManager::set<(anonymous namespace)::ObjectsUnderConstruction>(llvm::IntrusiveRefCntPtr, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::key_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::value_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::context_type) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:652:0 #12 0x0000ffffb350ea94 llvm::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 0x0000ffffb350ea94 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #14 0x0000ffffb350ea94 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #15 0x0000ffffb350ea94 set<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:876:0 #16 0x0000ffffb350ea94 clang::ento::ExprEngine::addObjectUnderConstruction(llvm::IntrusiveRefCntPtr, clang::ConstructionContextItem const&, clang::LocationContext const*, clang::ento::SVal) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:599:0 #17 0x0000ffffb350eec8 llvm::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 0x0000ffffb350eec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #19 0x0000ffffb350eec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #20 0x0000ffffb350eec8 clang::ento::ExprEngine::updateObjectsUnderConstruction(clang::ento::SVal, clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:507:0 #21 0x0000ffffb3516a00 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #22 0x0000ffffb3516a00 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #23 0x0000ffffb3516a00 clang::ento::ExprEngine::handleConstructionContext(clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::ento::NodeBuilderContext const*, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions&, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:753:0 #24 0x0000ffffb3516a00 clang::ento::ExprEngine::handleConstructor(clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:665:0 #25 0x0000ffffb351be5c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #26 0x0000ffffb351be5c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2158:0 #27 0x0000ffffb351cf08 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #28 0x0000ffffb351d1f0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #29 0x0000ffffb351d41c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #30 0x0000ffffb351d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #31 0x0000ffffb351d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #32 0x0000ffffb351d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #33 0x0000ffffb351d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #34 0x0000ffffb351d764 clang::ento::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 0x0000ffffb37e787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb37e787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb37e787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #38 0x0000ffffb37e787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #39 0x0000ffffb37e787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #40 0x0000ffffb37e87e8 llvm::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 0x0000ffffb37e87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #42 0x0000ffffb37e87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #43 0x0000ffffb37ecde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #44 0x0000ffffb37ecde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #45 0x0000ffffb37ecde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #46 0x0000ffffb37ecde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #47 0x0000ffffb37ecde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #48 0x0000ffffb1c41e58 __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 0x0000ffffb1c41e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #50 0x0000ffffb1c41e58 void clang::finalize>, 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 0x0000ffffb1c41e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #52 0x0000ffffb3307ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #53 0x0000ffffb32bfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #54 0x0000ffffb32bfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #55 0x0000ffffb32bfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #56 0x0000ffffb334610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #57 0x0000aaaac2af59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #58 0x0000aaaac2af94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #59 0x0000aaaac2afaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #60 0x0000aaaac2af1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #61 0x0000ffffaa8b098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #62 0x0000ffffaa8b0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #63 0x0000aaaac2af20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/a_flaky_crash.cpp.script: line 256: 1823549 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -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 (464 of 18953) ******************** TEST 'Clang :: Analysis/additive-folding.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify -Wno-tautological-compare -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/additive-folding.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify -Wno-tautological-compare -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/additive-folding.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling additiveSymSymFolding(int, int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/additive-folding.cpp:213:7: Error evaluating branch #0 0x0000ffff8734acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff87349100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8734b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff90289800 (linux-vdso.so.1+0x800) #4 0x0000ffff8f5a3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8f5a3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8f5a3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8f5a3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8f5a3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8f5a3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff8f5a3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff8f5a3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8f250c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8f250c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8f250c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8f250c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8f251ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8f251ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8f251ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8f251ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff8f264770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff8f264770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff8f264770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff8f265cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff8f265cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff8f265cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff8f265190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8f265190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8f265190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff8f2717d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff8f2717d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff8f2717d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8f27b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8f27b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8f27b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8f1df6d8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8f1df6d8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8f1df6d8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8f1df6d8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff8f6cd3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8f6cd3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8f6cd3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff8f1f58c8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffff8f1f58c8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffff8f1f58c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffff8f1f58c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffff8f1f58c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffff8f1f58c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffff8f1f58c8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffff8f1f58c8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffff8f1f58c8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffff8f1f58c8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffff8f1f5e30 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffff8f20d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff8f20d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff8f20d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff8f20d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff8f20d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff8f4d787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff8f4d787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff8f4d787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff8f4d787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff8f4d787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff8f4d87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff8f4d87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff8f4d87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff8f4dcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff8f4dcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff8f4dcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff8f4dcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff8f4dcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff8d931e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff8d931e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff8d931e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff8d931e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff8eff7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff8efafc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff8efafc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff8efafc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff8f03610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaae30a59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaae30a94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaae30aaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaae30a1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff865a098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff865a0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaae30a20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/additive-folding.cpp.script: line 1: 1823531 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify -Wno-tautological-compare -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/additive-folding.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/analysis-after-multiple-dtors.cpp (465 of 18953) ******************** TEST 'Clang :: Analysis/analysis-after-multiple-dtors.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/analysis-after-multiple-dtors.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/analysis-after-multiple-dtors.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling foo()::a::a() at line 16 #1 Calling foo() at line 21 #2 Calling main() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/analysis-after-multiple-dtors.cpp:11:10: Error evaluating statement #0 0x0000ffff8bacacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8bac9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8bacb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff94a03800 (linux-vdso.so.1+0x800) #4 0x0000ffff93977db8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff93977db8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff93977db8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff93977db8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff93977db8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff93977db8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff93977db8 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff93977db8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1059:61 #12 0x0000ffff9398ce94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffff9398ce94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffff9398ce94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffff9398ce94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffff9398ce94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffff9398ce94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffff9398ce94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffff9398ce94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffff9398ce94 clang::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 0x0000ffff9398d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff9398d310 clang::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 0x0000ffff9398d5dc clang::ento::CoreEngine::dispatchWorkItem(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 0x0000ffff9398d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x0000ffff9398d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x0000ffff9398d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #27 0x0000ffff9398d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #28 0x0000ffff9398d764 clang::ento::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 0x0000ffff93c5787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffff93c5787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffff93c5787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #32 0x0000ffff93c5787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #33 0x0000ffff93c5787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #34 0x0000ffff93c587e8 llvm::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 0x0000ffff93c587e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x0000ffff93c587e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #37 0x0000ffff93c5cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x0000ffff93c5cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x0000ffff93c5cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x0000ffff93c5cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x0000ffff93c5cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x0000ffff920b1e58 __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 0x0000ffff920b1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x0000ffff920b1e58 void clang::finalize>, 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 0x0000ffff920b1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x0000ffff93777ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #47 0x0000ffff9372fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #48 0x0000ffff9372fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #49 0x0000ffff9372fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #50 0x0000ffff937b610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #51 0x0000aaaad30a59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x0000aaaad30a94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x0000aaaad30aaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x0000aaaad30a1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x0000ffff8ad2098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #56 0x0000ffff8ad20a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #57 0x0000aaaad30a20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/analysis-after-multiple-dtors.cpp.script: line 1: 1823548 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/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/UserNullabilityAnnotations.m (467 of 18953) ******************** TEST 'Clang :: Analysis/UserNullabilityAnnotations.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/UserNullabilityAnnotations.m -Wno-tautological-pointer-compare -analyzer-checker=core -analyzer-checker=nullability -analyzer-checker=debug.ExprInspection -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/UserNullabilityAnnotations.m -Wno-tautological-pointer-compare -analyzer-checker=core -analyzer-checker=nullability -analyzer-checker=debug.ExprInspection 1. parser at end of file #0 0x0000ffff7beeacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7bee9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7beeb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff84e20800 (linux-vdso.so.1+0x800) #4 0x0000ffff84143688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff84143688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff84143688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff84143688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff84143688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff84143688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff84143688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff84143688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff83df0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff83df0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff83df0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff83df0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff83df1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff83df1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff83df1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff83df1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff83e04770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff83e04770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff83e04770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff83e05cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff83e05cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff83e05cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff83e05190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff83e05190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff83e05190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff83e117d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff83e117d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff83e117d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff83e1b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff83e1b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff83e1b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff83d7f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff83d7f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff83d7f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff83d7f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff83d7fbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff83d7fbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff83d7fbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff83f61680 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff83f61680 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff83f61680 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff83f61680 checkBeginFunction /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/NonNullParamChecker.cpp:269:0 #46 0x0000ffff83f61680 void clang::ento::check::BeginFunction::_checkBeginFunction<(anonymous namespace)::NonNullParamChecker>(void*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:244:0 #47 0x0000ffff83d68388 expandGraphWithCheckers<(anonymous namespace)::CheckBeginFunctionContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #48 0x0000ffff83d68388 clang::ento::CheckerManager::runCheckersForBeginFunction(clang::ento::ExplodedNodeSet&, clang::BlockEdge const&, clang::ento::ExplodedNode*, clang::ento::ExprEngine&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:441:0 #49 0x0000ffff83dada24 llvm::SaveAndRestore::~SaveAndRestore() /usr/include/llvm/Support/SaveAndRestore.h:29:25 #50 0x0000ffff83dada24 clang::ento::ExprEngine::processBeginOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::BlockEdge const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2884:1 #51 0x0000ffff83dada24 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:124:0 #52 0x0000ffff8407787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #53 0x0000ffff8407787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #54 0x0000ffff8407787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #55 0x0000ffff8407787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #56 0x0000ffff8407787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #57 0x0000ffff840787e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #58 0x0000ffff840787e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #59 0x0000ffff840787e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #60 0x0000ffff8407cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #61 0x0000ffff8407cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #62 0x0000ffff8407cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #63 0x0000ffff8407cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #64 0x0000ffff8407cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #65 0x0000ffff824d1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #66 0x0000ffff824d1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #67 0x0000ffff824d1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #68 0x0000ffff824d1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #69 0x0000ffff83b97ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #70 0x0000ffff83b4fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #71 0x0000ffff83b4fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #72 0x0000ffff83b4fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #73 0x0000ffff83bd610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #74 0x0000aaaacc4f59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #75 0x0000aaaacc4f94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #76 0x0000aaaacc4faac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #77 0x0000aaaacc4f1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #78 0x0000ffff7b14098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #79 0x0000ffff7b140a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #80 0x0000aaaacc4f20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/UserNullabilityAnnotations.m.script: line 1: 1823506 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/UserNullabilityAnnotations.m -Wno-tautological-pointer-compare -analyzer-checker=core -analyzer-checker=nullability -analyzer-checker=debug.ExprInspection -- ******************** Testing: 0 FAIL: Clang :: Analysis/analyzeOneFunction.m (468 of 18953) ******************** TEST 'Clang :: Analysis/analyzeOneFunction.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyze-function="-[Test1 myMethodWithY:withX:]" -analyzer-checker=core,osx.cocoa.RetainCount -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/analyzeOneFunction.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer "-analyze-function=-[Test1 myMethodWithY:withX:]" -analyzer-checker=core,osx.cocoa.RetainCount -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/analyzeOneFunction.m 1. parser at end of file #0 0x0000ffffa010acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa0109100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa010b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa9041800 (linux-vdso.so.1+0x800) #4 0x0000ffffa8363688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa8363688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa8363688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa8363688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa8363688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa8363688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa8363688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa8363688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa8010c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa8010c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa8010c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa8010c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa8011ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa8011ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa8011ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa8011ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa8024770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa8024770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa8024770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa8025cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa8025cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa8025cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa8025190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa8025190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa8025190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa80317d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa80317d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa80317d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa803b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa803b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa803b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa7f9f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa7f9f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa7f9f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa7f9f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa7f9fbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa7f9fbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa7f9fbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffa7f731c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffa7f731c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffa7f731c0 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffa7fafba8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffa7fafba8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffa7fafba8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffffa7fcdaa8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffa7fcdaa8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffa7fcdaa8 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffa829787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffa829787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffa829787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffa829787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffa829787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffa82987e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffffa82987e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffa82987e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffa829cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffa829cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffa829cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffa829cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffa829cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffa66f1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffffa66f1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffa66f1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffffa66f1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffa7db7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffa7d6fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffa7d6fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffa7d6fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffa7df610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaadb7259f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaadb7294b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaadb72aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaadb721fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff9f36098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff9f360a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaadb7220b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/analyzeOneFunction.m.script: line 1: 1823568 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyze-function="-[Test1 myMethodWithY:withX:]" -analyzer-checker=core,osx.cocoa.RetainCount -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/analyzeOneFunction.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/array-struct-region.c (471 of 18953) ******************** TEST 'Clang :: Analysis/array-struct-region.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/array-struct-region.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/array-struct-region.c 1. parser at end of file 2. While analyzing stack: #0 Calling testFieldChainIsNotEnough 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/array-struct-region.c:349:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/array-struct-region.c:349:3: Error evaluating statement #0 0x0000ffffb376acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb3769100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb376b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffbc6ab800 (linux-vdso.so.1+0x800) #4 0x0000ffffbb82bd6c retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffbb82bd6c retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffbb82bd6c retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffbb82bd6c IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffbb82bd6c ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffbb82bd6c MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffbb82bd6c get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:0 #11 0x0000ffffbb82bd6c getArrayRegion /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/PointerArithChecker.cpp:130:0 #12 0x0000ffffbb82bd6c (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 0x0000ffffbb82c4f0 checkPreStmt /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/PointerArithChecker.cpp:313:0 #14 0x0000ffffbb82c4f0 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 0x0000ffffbb5e8078 expandGraphWithCheckers<(anonymous namespace)::CheckStmtContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #16 0x0000ffffbb5e8078 clang::ento::CheckerManager::runCheckersForStmt(bool, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::Stmt const*, clang::ento::ExprEngine&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:190:0 #17 0x0000ffffbb6141ec llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #18 0x0000ffffbb6141ec llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #19 0x0000ffffbb6141ec llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #20 0x0000ffffbb6141ec llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #21 0x0000ffffbb6141ec llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #22 0x0000ffffbb6141ec clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #23 0x0000ffffbb6141ec clang::ento::ExprEngine::VisitArraySubscriptExpr(clang::ArraySubscriptExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3290:44 #24 0x0000ffffbb62c6b0 clang::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 0x0000ffffbb62c6b0 clang::ento::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 0x0000ffffbb62cf08 clang::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 0x0000ffffbb62d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffbb62d41c clang::ento::CoreEngine::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 0x0000ffffbb62d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #30 0x0000ffffbb62d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #31 0x0000ffffbb62d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #32 0x0000ffffbb62d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #33 0x0000ffffbb62d764 clang::ento::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 0x0000ffffbb8f787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #35 0x0000ffffbb8f787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #36 0x0000ffffbb8f787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #37 0x0000ffffbb8f787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #38 0x0000ffffbb8f787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #39 0x0000ffffbb8f87e8 llvm::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 0x0000ffffbb8f87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #41 0x0000ffffbb8f87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #42 0x0000ffffbb8fcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #43 0x0000ffffbb8fcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #44 0x0000ffffbb8fcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #45 0x0000ffffbb8fcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #46 0x0000ffffbb8fcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #47 0x0000ffffb9d51e58 __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 0x0000ffffb9d51e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #49 0x0000ffffb9d51e58 void clang::finalize>, 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 0x0000ffffb9d51e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #51 0x0000ffffbb417ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #52 0x0000ffffbb3cfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #53 0x0000ffffbb3cfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #54 0x0000ffffbb3cfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #55 0x0000ffffbb45610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #56 0x0000aaaaea7159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #57 0x0000aaaaea7194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #58 0x0000aaaaea71aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #59 0x0000aaaaea711fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #60 0x0000ffffb29c098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #61 0x0000ffffb29c0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #62 0x0000aaaaea7120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/array-struct-region.c.script: line 1: 1823672 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/array-struct-region.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/array-punned-region.c (472 of 18953) ******************** TEST 'Clang :: Analysis/array-punned-region.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core,debug.ExprInspection -verify -analyzer-config eagerly-assume=false -triple x86_64-pc-linux-gnu /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/array-punned-region.c : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core,debug.ExprInspection -verify -analyzer-config eagerly-assume=false -triple i386-pc-linux-gnu /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/array-punned-region.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core,debug.ExprInspection -verify -analyzer-config eagerly-assume=false -triple x86_64-pc-linux-gnu /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/array-punned-region.c 1. parser at end of file 2. While analyzing stack: #0 Calling array_struct_bitfield_3 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/array-punned-region.c:38:25: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/array-punned-region.c:38:25: Error evaluating statement #0 0x0000ffffa93bacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa93b9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa93bb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb22ff800 (linux-vdso.so.1+0x800) #4 0x0000ffffb1461168 isEqual /usr/include/llvm/ADT/ImmutableMap.h:45:41 #5 0x0000ffffb1461168 add_internal /usr/include/llvm/ADT/ImmutableSet.h:538:26 #6 0x0000ffffb1461168 add /usr/include/llvm/ADT/ImmutableSet.h:396:0 #7 0x0000ffffb1461168 add /usr/include/llvm/ADT/ImmutableMap.h:100:0 #8 0x0000ffffb1461168 Set /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:171:0 #9 0x0000ffffb1461168 llvm::IntrusiveRefCntPtr clang::ento::ProgramStateManager::set<(anonymous namespace)::RegionState>(llvm::IntrusiveRefCntPtr, clang::ento::ProgramStateTrait<(anonymous namespace)::RegionState>::key_type, clang::ento::ProgramStateTrait<(anonymous namespace)::RegionState>::value_type, clang::ento::ProgramStateTrait<(anonymous namespace)::RegionState>::context_type) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:652:0 #10 0x0000ffffb1461fcc llvm::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 0x0000ffffb1461fcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #12 0x0000ffffb1461fcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #13 0x0000ffffb1461fcc set<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:876:0 #14 0x0000ffffb1461fcc checkPostStmt /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/PointerArithChecker.cpp:270:0 #15 0x0000ffffb1461fcc void clang::ento::check::PostStmt::_checkStmt<(anonymous namespace)::PointerArithChecker>(void*, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:104:0 #16 0x0000ffffb1238078 expandGraphWithCheckers<(anonymous namespace)::CheckStmtContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #17 0x0000ffffb1238078 clang::ento::CheckerManager::runCheckersForStmt(bool, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::Stmt const*, clang::ento::ExprEngine&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:190:0 #18 0x0000ffffb127b8a8 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #19 0x0000ffffb127b8a8 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2259:0 #20 0x0000ffffb127cf08 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #21 0x0000ffffb127d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffb127d41c clang::ento::CoreEngine::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 0x0000ffffb127d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #24 0x0000ffffb127d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #25 0x0000ffffb127d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #26 0x0000ffffb127d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #27 0x0000ffffb127d764 clang::ento::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 0x0000ffffb154787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #29 0x0000ffffb154787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #30 0x0000ffffb154787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #31 0x0000ffffb154787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #32 0x0000ffffb154787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #33 0x0000ffffb15487e8 llvm::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 0x0000ffffb15487e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #35 0x0000ffffb15487e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #36 0x0000ffffb154cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #37 0x0000ffffb154cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #38 0x0000ffffb154cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #39 0x0000ffffb154cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #40 0x0000ffffb154cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #41 0x0000ffffaf9a1e58 __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 0x0000ffffaf9a1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #43 0x0000ffffaf9a1e58 void clang::finalize>, 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 0x0000ffffaf9a1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #45 0x0000ffffb1067ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #46 0x0000ffffb101fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #47 0x0000ffffb101fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #48 0x0000ffffb101fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #49 0x0000ffffb10a610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #50 0x0000aaaabd8659f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #51 0x0000aaaabd8694b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #52 0x0000aaaabd86aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #53 0x0000aaaabd861fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #54 0x0000ffffa861098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #55 0x0000ffffa8610a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #56 0x0000aaaabd8620b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/array-punned-region.c.script: line 2: 1823670 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core,debug.ExprInspection -verify -analyzer-config eagerly-assume=false -triple x86_64-pc-linux-gnu /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/array-punned-region.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/analyzer-stats.c (473 of 18953) ******************** TEST 'Clang :: Analysis/analyzer-stats.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,deadcode.DeadStores,debug.Stats -verify -Wno-unreachable-code -analyzer-max-loop 4 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/analyzer-stats.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,deadcode.DeadStores,debug.Stats -verify -Wno-unreachable-code -analyzer-max-loop 4 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/analyzer-stats.c 1. parser at end of file 2. While analyzing stack: #0 Calling test 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/analyzer-stats.c:9:7: Error evaluating branch #0 0x0000ffff8164acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff81649100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8164b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8a58a800 (linux-vdso.so.1+0x800) #4 0x0000ffff898a3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff898a3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff898a3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff898a3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff898a3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff898a3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff898a3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff898a3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff89550c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff89550c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff89550c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff89550c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff89551ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff89551ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff89551ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff89551ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff8956591c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff8956591c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff8956591c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffff89565bf0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff89565bf0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff89565bf0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffff89565190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff89565190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff89565190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff895717d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff895717d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff895717d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8957b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8957b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8957b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff894df72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff894df72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff894df72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff894df72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff899cd3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff899cd3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff899cd3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff894f58c8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffff894f58c8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffff894f58c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffff894f58c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffff894f58c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffff894f58c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffff894f58c8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffff894f58c8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffff894f58c8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffff894f58c8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffff894f5e30 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffff8950d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff8950d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff8950d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff8950d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff8950d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff897d787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff897d787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff897d787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff897d787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff897d787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff897d87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff897d87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff897d87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff897dcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff897dcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff897dcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff897dcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff897dcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff87c31e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff87c31e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff87c31e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff87c31e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff892f7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff892afc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff892afc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff892afc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff8933610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaae8d059f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaae8d094b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaae8d0aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaae8d01fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff808a098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff808a0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaae8d020b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/analyzer-stats.c.script: line 1: 1823640 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,deadcode.DeadStores,debug.Stats -verify -Wno-unreachable-code -analyzer-max-loop 4 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/analyzer-stats.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/array-init-loop.cpp (474 of 18953) ******************** TEST 'Clang :: Analysis/array-init-loop.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -std=c++17 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/array-init-loop.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -std=c++17 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/array-init-loop.cpp 1. parser at end of file #0 0x0000ffff9fb8acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff9fb89100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9fb8b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa8ac1800 (linux-vdso.so.1+0x800) #4 0x0000ffffa7de3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa7de3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa7de3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa7de3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa7de3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa7de3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa7de3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa7de3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa7a90c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa7a90c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa7a90c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa7a90c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa7a91ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa7a91ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa7a91ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa7a91ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa7aa4770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa7aa4770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa7aa4770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa7aa5cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa7aa5cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa7aa5cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa7aa5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa7aa5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa7aa5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa7ab17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa7ab17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa7ab17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa7abb074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa7abb074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa7abb074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa7a1f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa7a1f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa7a1f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa7a1f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa7a1fbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa7a1fbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa7a1fbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffa79f31c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffa79f31c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffa79f31c0 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffa7a2fb5c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffa7a2fb5c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffa7a2fb5c clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:42 #48 0x0000ffffa7a4daa8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffa7a4daa8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffa7a4daa8 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffa7d1787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffa7d1787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffa7d1787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffa7d1787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffa7d1787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffa7d187e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffffa7d187e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffa7d187e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffa7d1cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffa7d1cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffa7d1cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffa7d1cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffa7d1cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffa6171e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffffa6171e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffa6171e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffffa6171e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffa7837ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffa77efc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffa77efc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffa77efc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffa787610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaac92c59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaac92c94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaac92caac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaac92c1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff9ede098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff9ede0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaac92c20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/array-init-loop.cpp.script: line 1: 1823665 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -std=c++17 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/array-init-loop.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/array-struct-region.cpp (475 of 18953) ******************** TEST 'Clang :: Analysis/array-struct-region.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -analyzer-checker=debug.ExprInspection -verify -Wno-tautological-compare -x c /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/array-struct-region.cpp : 'RUN: at line 5'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -analyzer-checker=debug.ExprInspection -verify -Wno-tautological-compare -x c++ -std=c++14 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/array-struct-region.cpp : 'RUN: at line 9'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -analyzer-checker=debug.ExprInspection -verify -Wno-tautological-compare -x c++ -std=c++17 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/array-struct-region.cpp : 'RUN: at line 13'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -analyzer-checker=debug.ExprInspection -verify -Wno-tautological-compare -DINLINE -x c /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/array-struct-region.cpp : 'RUN: at line 17'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -analyzer-checker=debug.ExprInspection -verify -Wno-tautological-compare -DINLINE -x c++ -std=c++14 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/array-struct-region.cpp : 'RUN: at line 21'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -analyzer-checker=debug.ExprInspection -verify -Wno-tautological-compare -DINLINE -x c++ -std=c++17 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/array-struct-region.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -analyzer-checker=debug.ExprInspection -verify -Wno-tautological-compare -x c /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/array-struct-region.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling testImmediateUseParens 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/array-struct-region.cpp:116:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/array-struct-region.cpp:116:7: Error evaluating statement #0 0x0000ffff7c17acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7c179100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7c17b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff850b9800 (linux-vdso.so.1+0x800) #4 0x0000ffff843d3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff843d3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff843d3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff843d3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff843d3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff843d3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff843d3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff843d3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff84080c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff84080c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff84080c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff84080c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff84081ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff84081ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff84081ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff84081ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff84094770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff84094770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff84094770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff84095cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff84095cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff84095cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff84095190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff84095190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff84095190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff840a17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff840a17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff840a17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff840ab074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff840ab074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff840ab074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8400f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8400f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8400f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8400f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff844fd3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff844fd3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff844fd3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff84022a0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff84022a0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff84022a0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffff8403ccac llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffff8403ccac llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffff8403ccac llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffff8403ccac clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffff8403ccac clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffff8403cf08 clang::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 0x0000ffff8403d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8403d41c clang::ento::CoreEngine::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 0x0000ffff8403d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff8403d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff8403d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff8403d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff8403d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff8430787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff8430787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff8430787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff8430787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff8430787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff843087e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff843087e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff843087e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff8430cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff8430cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff8430cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff8430cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff8430cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff82761e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff82761e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff82761e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff82761e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff83e27ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff83ddfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff83ddfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff83ddfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff83e6610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaade8c59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaade8c94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaade8caac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaade8c1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff7b3d098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff7b3d0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaade8c20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/array-struct-region.cpp.script: line 6: 1823681 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -analyzer-checker=debug.ExprInspection -verify -Wno-tautological-compare -x c /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/array-struct-region.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/array-bound-v2-constraint-check.c (476 of 18953) ******************** TEST 'Clang :: Analysis/array-bound-v2-constraint-check.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.security.ArrayBoundV2,debug.ExprInspection -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/array-bound-v2-constraint-check.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.security.ArrayBoundV2,debug.ExprInspection -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/array-bound-v2-constraint-check.c 1. parser at end of file 2. While analyzing stack: #0 Calling symbolic_longlong_and_int2 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/array-bound-v2-constraint-check.c:95:9: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/array-bound-v2-constraint-check.c:95:9: Error evaluating statement #0 0x0000ffff9ee4acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff9ee49100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9ee4b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa7d87800 (linux-vdso.so.1+0x800) #4 0x0000ffffa6d2a900 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffffa6d2a900 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffa6d2a900 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffa6d2a900 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffa6d2a900 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffa6d2a900 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffa6d2a900 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x0000ffffa6d2a900 getConstraint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1055:37 #12 0x0000ffffa6d2a900 (anonymous namespace)::getConstraint(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1060:23 #13 0x0000ffffa6d2a9dc (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 0x0000ffffa6d7e038 getConst /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1238:0 #15 0x0000ffffa6d7e038 (anonymous namespace)::SimpleSValBuilder::simplifySValOnce(llvm::IntrusiveRefCntPtr, clang::ento::SVal)::Simplifier::getConstOrVisit(clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1246:0 #16 0x0000ffffa6d7d874 VisitSymIntExpr /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1270:0 #17 0x0000ffffa6d7d874 clang::ento::SymExprVisitor<(anonymous namespace)::SimpleSValBuilder::simplifySValOnce(llvm::IntrusiveRefCntPtr, clang::ento::SVal)::Simplifier, clang::ento::SVal>::Visit(clang::ento::SymExpr const*) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:0 #18 0x0000ffffa718a8a4 VisitNonLocSymbolVal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1365:0 #19 0x0000ffffa718a8a4 Visit /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.def:67:0 #20 0x0000ffffa718a8a4 (anonymous namespace)::SimpleSValBuilder::simplifySValOnce(llvm::IntrusiveRefCntPtr, clang::ento::SVal) (.constprop.0.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1371:0 #21 0x0000ffffa6d65484 simplifyUntilFixpoint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1194:40 #22 0x0000ffffa6d65484 (anonymous namespace)::SimpleSValBuilder::simplifySVal(llvm::IntrusiveRefCntPtr, clang::ento::SVal) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1203:31 #23 0x0000ffffa6d7c308 (anonymous namespace)::SimpleSValBuilder::evalBinOpNN(llvm::IntrusiveRefCntPtr, clang::BinaryOperatorKind, clang::ento::NonLoc, clang::ento::NonLoc, clang::QualType) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:416:0 #24 0x0000ffffa6d79940 compareValueToThreshold(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, clang::ento::NonLoc, clang::ento::SValBuilder&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ArrayBoundCheckerV2.cpp:135:0 #25 0x0000ffffa70a1040 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #26 0x0000ffffa70a1040 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #27 0x0000ffffa70a1040 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #28 0x0000ffffa70a1040 (anonymous namespace)::ArrayBoundCheckerV2::checkLocation(clang::ento::SVal, bool, clang::Stmt const*, clang::ento::CheckerContext&) const (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ArrayBoundCheckerV2.cpp:201:0 #29 0x0000ffffa6cc99b8 void expandGraphWithCheckers<(anonymous namespace)::CheckLocationContext>((anonymous namespace)::CheckLocationContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #30 0x0000ffffa6cf2270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:60 #31 0x0000ffffa6cf2270 clang::ento::ExprEngine::evalLocation(clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::Stmt const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3710:19 #32 0x0000ffffa6cf24ac llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #33 0x0000ffffa6cf24ac llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #34 0x0000ffffa6cf24ac llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #35 0x0000ffffa6cf24ac clang::ento::ExprEngine::evalLoad(clang::ento::ExplodedNodeSet&, clang::Expr const*, clang::Expr const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, clang::ProgramPointTag const*, clang::QualType) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3653:15 #36 0x0000ffffa6d02170 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #37 0x0000ffffa6d02170 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #38 0x0000ffffa6d02170 clang::ento::ExprEngine::VisitCast(clang::CastExpr const*, clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:292:0 #39 0x0000ffffa6d0b884 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #40 0x0000ffffa6d0b884 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #41 0x0000ffffa6d0b884 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2258:0 #42 0x0000ffffa6d0cf08 clang::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 0x0000ffffa6d0d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffa6d0d41c clang::ento::CoreEngine::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 0x0000ffffa6d0d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #46 0x0000ffffa6d0d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #47 0x0000ffffa6d0d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #48 0x0000ffffa6d0d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #49 0x0000ffffa6d0d764 clang::ento::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 0x0000ffffa6fd787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #51 0x0000ffffa6fd787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x0000ffffa6fd787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #53 0x0000ffffa6fd787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #54 0x0000ffffa6fd787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #55 0x0000ffffa6fd87e8 llvm::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 0x0000ffffa6fd87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #57 0x0000ffffa6fd87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #58 0x0000ffffa6fdcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #59 0x0000ffffa6fdcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #60 0x0000ffffa6fdcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #61 0x0000ffffa6fdcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #62 0x0000ffffa6fdcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #63 0x0000ffffa5431e58 __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 0x0000ffffa5431e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #65 0x0000ffffa5431e58 void clang::finalize>, 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 0x0000ffffa5431e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #67 0x0000ffffa6af7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #68 0x0000ffffa6aafc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #69 0x0000ffffa6aafc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #70 0x0000ffffa6aafc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #71 0x0000ffffa6b3610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #72 0x0000aaaace8559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #73 0x0000aaaace8594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #74 0x0000aaaace85aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #75 0x0000aaaace851fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #76 0x0000ffff9e0a098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #77 0x0000ffff9e0a0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #78 0x0000aaaace8520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/array-bound-v2-constraint-check.c.script: line 1: 1823655 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.security.ArrayBoundV2,debug.ExprInspection -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/array-bound-v2-constraint-check.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/array-struct.c (477 of 18953) ******************** TEST 'Clang :: Analysis/array-struct.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core.CastToStruct -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/array-struct.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core.CastToStruct -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/array-struct.c 1. parser at end of file 2. While analyzing stack: #0 Calling testRValueArraySubscriptExpr 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/array-struct.c:206:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/array-struct.c:206:3: Error evaluating statement #0 0x0000ffffb5d2acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb5d29100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb5d2b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffbec68800 (linux-vdso.so.1+0x800) #4 0x0000ffffbdf83688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffbdf83688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffbdf83688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffbdf83688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffbdf83688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffbdf83688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffbdf83688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffbdf83688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffbdc30c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffbdc30c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffbdc30c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffbdc30c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffbdc31ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffbdc31ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffbdc31ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffbdc31ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffbdc44770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffbdc44770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffbdc44770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffbdc45cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffbdc45cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffbdc45cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffbdc45190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffbdc45190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffbdc45190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffbdc517d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffbdc517d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffbdc517d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffbdc5b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffbdc5b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffbdc5b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffbdbbf72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffbdbbf72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffbdbbf72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffbdbbf72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffbe0ad3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffbe0ad3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffbe0ad3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffbdcdeee0 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffbdcdeee0 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffbdcdeee0 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:61 #45 0x0000ffffbdcdeee0 void clang::ento::check::Location::_checkLocation<(anonymous namespace)::DereferenceChecker>(void*, clang::ento::SVal const&, bool, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:199:46 #46 0x0000ffffbdba99b8 void expandGraphWithCheckers<(anonymous namespace)::CheckLocationContext>((anonymous namespace)::CheckLocationContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #47 0x0000ffffbdbd2270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:60 #48 0x0000ffffbdbd2270 clang::ento::ExprEngine::evalLocation(clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::Stmt const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3710:19 #49 0x0000ffffbdbd7868 llvm::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 0x0000ffffbdbd7868 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #51 0x0000ffffbdbd7868 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x0000ffffbdbd7868 clang::ento::ExprEngine::evalStore(clang::ento::ExplodedNodeSet&, clang::Expr const*, clang::Expr const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, clang::ento::SVal, clang::ProgramPointTag const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3628:15 #53 0x0000ffffbdbe0834 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #54 0x0000ffffbdbe0834 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #55 0x0000ffffbdbe0834 clang::ento::ExprEngine::VisitBinaryOperator(clang::BinaryOperator const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:74:0 #56 0x0000ffffbdbecbd8 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2103:0 #57 0x0000ffffbdbecf08 clang::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 0x0000ffffbdbed1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffbdbed41c clang::ento::CoreEngine::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 0x0000ffffbdbed764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #61 0x0000ffffbdbed764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #62 0x0000ffffbdbed764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #63 0x0000ffffbdbed764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #64 0x0000ffffbdbed764 clang::ento::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 0x0000ffffbdeb787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #66 0x0000ffffbdeb787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #67 0x0000ffffbdeb787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #68 0x0000ffffbdeb787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #69 0x0000ffffbdeb787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #70 0x0000ffffbdeb87e8 llvm::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 0x0000ffffbdeb87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #72 0x0000ffffbdeb87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #73 0x0000ffffbdebcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #74 0x0000ffffbdebcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #75 0x0000ffffbdebcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #76 0x0000ffffbdebcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #77 0x0000ffffbdebcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #78 0x0000ffffbc311e58 __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 0x0000ffffbc311e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #80 0x0000ffffbc311e58 void clang::finalize>, 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 0x0000ffffbc311e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #82 0x0000ffffbd9d7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #83 0x0000ffffbd98fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #84 0x0000ffffbd98fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #85 0x0000ffffbd98fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #86 0x0000ffffbda1610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #87 0x0000aaaab54459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #88 0x0000aaaab54494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #89 0x0000aaaab544aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #90 0x0000aaaab5441fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #91 0x0000ffffb4f8098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #92 0x0000ffffb4f80a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #93 0x0000aaaab54420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/array-struct.c.script: line 1: 1823683 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core.CastToStruct -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/array-struct.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/assume-controlled-environment.c (479 of 18953) ******************** TEST 'Clang :: Analysis/assume-controlled-environment.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify=untrusted-env /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/assume-controlled-environment.c -analyzer-checker=core -analyzer-checker=alpha.security.taint -analyzer-checker=debug.TaintTest : 'RUN: at line 6'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/assume-controlled-environment.c -DEXPECT_NO_WARNINGS -analyzer-config assume-controlled-environment=true -analyzer-checker=core -analyzer-checker=alpha.security.taint -analyzer-checker=debug.TaintTest -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify=untrusted-env /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/assume-controlled-environment.c -analyzer-checker=core -analyzer-checker=alpha.security.taint -analyzer-checker=debug.TaintTest 1. parser at end of file 2. While analyzing stack: #0 Calling foo 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/assume-controlled-environment.c:20:13: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/assume-controlled-environment.c:20:13: Error evaluating statement #0 0x0000ffffae77acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffae779100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffae77b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb76b6800 (linux-vdso.so.1+0x800) #4 0x0000ffffb69c9c08 llvm::ImutAVLTree>>>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb69c9c08 llvm::IntrusiveRefCntPtrInfo>>>>::retain(llvm::ImutAVLTree>>>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb69c9c08 llvm::IntrusiveRefCntPtr>>>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb69c9c08 llvm::IntrusiveRefCntPtr>>>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>>>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb69c9c08 llvm::ImmutableMap>, llvm::ImutKeyValueInfo>>>::ImmutableMap(llvm::ImutAVLTree>>> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb69c9c08 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 0x0000ffffb69c9c08 get<(anonymous namespace)::TaintArgsOnPostVisit> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb69c9c08 (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 0x0000ffffb65f9524 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #13 0x0000ffffb65f9524 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #14 0x0000ffffb65f9524 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #15 0x0000ffffb65f9524 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #16 0x0000ffffb65f9524 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #17 0x0000ffffb66598b8 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #18 0x0000ffffb66598b8 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #19 0x0000ffffb66598b8 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #20 0x0000ffffb66598b8 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #21 0x0000ffffb66598b8 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #22 0x0000ffffb66598b8 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #23 0x0000ffffb665a144 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #24 0x0000ffffb663bea0 clang::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 0x0000ffffb663bea0 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #26 0x0000ffffb663cf08 clang::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 0x0000ffffb663d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffb663d41c clang::ento::CoreEngine::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 0x0000ffffb663d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #30 0x0000ffffb663d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #31 0x0000ffffb663d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #32 0x0000ffffb663d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #33 0x0000ffffb663d764 clang::ento::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 0x0000ffffb690787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #35 0x0000ffffb690787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #36 0x0000ffffb690787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #37 0x0000ffffb690787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #38 0x0000ffffb690787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #39 0x0000ffffb69087e8 llvm::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 0x0000ffffb69087e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #41 0x0000ffffb69087e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #42 0x0000ffffb690cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #43 0x0000ffffb690cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #44 0x0000ffffb690cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #45 0x0000ffffb690cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #46 0x0000ffffb690cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #47 0x0000ffffb4d61e58 __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 0x0000ffffb4d61e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #49 0x0000ffffb4d61e58 void clang::finalize>, 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 0x0000ffffb4d61e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #51 0x0000ffffb6427ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #52 0x0000ffffb63dfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #53 0x0000ffffb63dfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #54 0x0000ffffb63dfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #55 0x0000ffffb646610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #56 0x0000aaaabf0e59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #57 0x0000aaaabf0e94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #58 0x0000aaaabf0eaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #59 0x0000aaaabf0e1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #60 0x0000ffffad9d098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #61 0x0000ffffad9d0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #62 0x0000aaaabf0e20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/assume-controlled-environment.c.script: line 2: 1823702 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify=untrusted-env /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/assume-controlled-environment.c -analyzer-checker=core -analyzer-checker=alpha.security.taint -analyzer-checker=debug.TaintTest -- ******************** Testing: 0 FAIL: Clang :: Analysis/autoreleasewritechecker_test.m (480 of 18953) ******************** TEST 'Clang :: Analysis/autoreleasewritechecker_test.m' FAILED ******************** Script: -- : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -DARC -fobjc-arc -analyzer-checker=core,osx.cocoa.AutoreleaseWrite /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/autoreleasewritechecker_test.m -triple x86_64-darwin -fblocks -verify : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -DNOARC -analyzer-checker=core,osx.cocoa.AutoreleaseWrite /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/autoreleasewritechecker_test.m -fblocks -triple x86_64-darwin -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -DARC -fobjc-arc -analyzer-checker=core,osx.cocoa.AutoreleaseWrite /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/autoreleasewritechecker_test.m -triple x86_64-darwin -fblocks -verify 1. parser at end of file 2. While analyzing stack: #0 Calling writeIntoError at line 340 #1 Calling anonymous code 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/autoreleasewritechecker_test.m:274:3: Error evaluating statement #0 0x0000ffff8bd2acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8bd29100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8bd2b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff94c67800 (linux-vdso.so.1+0x800) #4 0x0000ffff93bc8e44 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff93bc8e44 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff93bc8e44 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff93bc8e44 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff93bc8e44 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff93bc8e44 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 0x0000ffff93bc8e44 get<(anonymous namespace)::DynamicTypeMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff93bc8e44 llvm::IntrusiveRefCntPtr clang::ento::removeDeadImpl<(anonymous namespace)::DynamicTypeMap>(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/DynamicType.cpp:166:15 #12 0x0000ffff93f72928 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #13 0x0000ffff93f72928 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #14 0x0000ffff93f72928 clang::ento::removeDeadTypes(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/DynamicType.cpp:176:0 #15 0x0000ffff93f72928 (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 0x0000ffff93bbd814 void expandGraphWithCheckers<(anonymous namespace)::CheckDeadSymbolsContext>((anonymous namespace)::CheckDeadSymbolsContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #17 0x0000ffff93bd7fe8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #18 0x0000ffff93bd7fe8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #19 0x0000ffff93bd7fe8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #20 0x0000ffff93bd7fe8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #21 0x0000ffff93bd7fe8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #22 0x0000ffff93bd7fe8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #23 0x0000ffff93bd7fe8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1080:48 #24 0x0000ffff93bece94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #25 0x0000ffff93bece94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #26 0x0000ffff93bece94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #27 0x0000ffff93bece94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #28 0x0000ffff93bece94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #29 0x0000ffff93bece94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #30 0x0000ffff93bece94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #31 0x0000ffff93bece94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #32 0x0000ffff93bece94 clang::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 0x0000ffff93bed1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff93bed41c clang::ento::CoreEngine::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 0x0000ffff93bed764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x0000ffff93bed764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x0000ffff93bed764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #38 0x0000ffff93bed764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #39 0x0000ffff93bed764 clang::ento::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 0x0000ffff93eb787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #41 0x0000ffff93eb787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #42 0x0000ffff93eb787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #43 0x0000ffff93eb787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #44 0x0000ffff93eb787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #45 0x0000ffff93eb87e8 llvm::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 0x0000ffff93eb87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #47 0x0000ffff93eb87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #48 0x0000ffff93ebcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #49 0x0000ffff93ebcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #50 0x0000ffff93ebcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #51 0x0000ffff93ebcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #52 0x0000ffff93ebcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #53 0x0000ffff92311e58 __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 0x0000ffff92311e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #55 0x0000ffff92311e58 void clang::finalize>, 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 0x0000ffff92311e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #57 0x0000ffff939d7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #58 0x0000ffff9398fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #59 0x0000ffff9398fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #60 0x0000ffff9398fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #61 0x0000ffff93a1610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #62 0x0000aaaab5bf59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #63 0x0000aaaab5bf94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #64 0x0000aaaab5bfaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #65 0x0000aaaab5bf1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #66 0x0000ffff8af8098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #67 0x0000ffff8af80a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #68 0x0000aaaab5bf20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/autoreleasewritechecker_test.m.script: line 2: 1823734 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -DARC -fobjc-arc -analyzer-checker=core,osx.cocoa.AutoreleaseWrite /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/autoreleasewritechecker_test.m -triple x86_64-darwin -fblocks -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/atomics.c (481 of 18953) ******************** TEST 'Clang :: Analysis/atomics.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/atomics.c -analyzer-config eagerly-assume=false -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/atomics.c -analyzer-config eagerly-assume=false 1. parser at end of file 2. While analyzing stack: #0 Calling test_atomic_compare #0 0x0000ffff9d3bacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff9d3b9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9d3bb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa62fa800 (linux-vdso.so.1+0x800) #4 0x0000ffffa52bcd64 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa52bcd64 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa52bcd64 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa52bcd64 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffffa52bcd64 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffffa52bcd64 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffffa52680bc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffffa52680bc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffffa52680bc clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffffa5293a8c llvm::SaveAndRestore::~SaveAndRestore() /usr/include/llvm/Support/SaveAndRestore.h:29:25 #14 0x0000ffffa5293a8c clang::ento::ExprEngine::removeDeadOnEndOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:187:1 #15 0x0000ffffa526d0e8 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:0 #16 0x0000ffffa526d0e8 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:0 #17 0x0000ffffa526d0e8 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:0 #18 0x0000ffffa526d0e8 clang::ento::ExprEngine::processEndOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ReturnStmt const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2951:0 #19 0x0000ffffa526d578 clang::ento::CoreEngine::HandleBlockEdge(clang::BlockEdge const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:288:0 #20 0x0000ffffa527d5a4 clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:188:0 #21 0x0000ffffa527d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #22 0x0000ffffa527d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #23 0x0000ffffa527d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #24 0x0000ffffa527d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #25 0x0000ffffa527d764 clang::ento::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 0x0000ffffa554787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa554787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa554787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #29 0x0000ffffa554787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #30 0x0000ffffa554787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #31 0x0000ffffa55487e8 llvm::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 0x0000ffffa55487e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #33 0x0000ffffa55487e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #34 0x0000ffffa554cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #35 0x0000ffffa554cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #36 0x0000ffffa554cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #37 0x0000ffffa554cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #38 0x0000ffffa554cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #39 0x0000ffffa39a1e58 __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 0x0000ffffa39a1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #41 0x0000ffffa39a1e58 void clang::finalize>, 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 0x0000ffffa39a1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #43 0x0000ffffa5067ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #44 0x0000ffffa501fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #45 0x0000ffffa501fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #46 0x0000ffffa501fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #47 0x0000ffffa50a610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #48 0x0000aaaabed759f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #49 0x0000aaaabed794b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #50 0x0000aaaabed7aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #51 0x0000aaaabed71fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #52 0x0000ffff9c61098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #53 0x0000ffff9c610a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #54 0x0000aaaabed720b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/atomics.c.script: line 1: 1823722 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/atomics.c -analyzer-config eagerly-assume=false -- ******************** Testing: 0 FAIL: Clang :: Analysis/base-init.cpp (482 of 18953) ******************** TEST 'Clang :: Analysis/base-init.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config c++-inlining=constructors -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/base-init.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config c++-inlining=constructors -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/base-init.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling B::B() at line 27 #1 Calling f() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/base-init.cpp:23:4: Error evaluating statement #0 0x0000ffffb431acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb4319100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb431b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffbd25f800 (linux-vdso.so.1+0x800) #4 0x0000ffffbc1c7db8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffbc1c7db8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffbc1c7db8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffbc1c7db8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffbc1c7db8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffbc1c7db8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffbc1c7db8 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffbc1c7db8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1059:61 #12 0x0000ffffbc1dce94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffffbc1dce94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffffbc1dce94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffffbc1dce94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffffbc1dce94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffffbc1dce94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffffbc1dce94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffffbc1dce94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffffbc1dce94 clang::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 0x0000ffffbc1dd1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffbc1dd310 clang::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 0x0000ffffbc1dd5dc clang::ento::CoreEngine::dispatchWorkItem(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 0x0000ffffbc1dd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x0000ffffbc1dd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x0000ffffbc1dd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #27 0x0000ffffbc1dd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #28 0x0000ffffbc1dd764 clang::ento::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 0x0000ffffbc4a787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffffbc4a787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffffbc4a787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #32 0x0000ffffbc4a787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #33 0x0000ffffbc4a787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #34 0x0000ffffbc4a87e8 llvm::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 0x0000ffffbc4a87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x0000ffffbc4a87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #37 0x0000ffffbc4acde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x0000ffffbc4acde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x0000ffffbc4acde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x0000ffffbc4acde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x0000ffffbc4acde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x0000ffffba901e58 __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 0x0000ffffba901e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x0000ffffba901e58 void clang::finalize>, 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 0x0000ffffba901e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x0000ffffbbfc7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #47 0x0000ffffbbf7fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #48 0x0000ffffbbf7fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #49 0x0000ffffbbf7fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #50 0x0000ffffbc00610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #51 0x0000aaaabfa259f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x0000aaaabfa294b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x0000aaaabfa2aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x0000aaaabfa21fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x0000ffffb357098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #56 0x0000ffffb3570a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #57 0x0000aaaabfa220b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/base-init.cpp.script: line 1: 1823747 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config c++-inlining=constructors -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/base-init.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/block-in-critical-section.cpp (484 of 18953) ******************** TEST 'Clang :: Analysis/block-in-critical-section.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.unix.BlockInCriticalSection -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/block-in-critical-section.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.unix.BlockInCriticalSection -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/block-in-critical-section.cpp 1. parser at end of file #0 0x0000ffffa89dacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa89d9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa89db388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb191a800 (linux-vdso.so.1+0x800) #4 0x0000ffffb088cc54 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffb088cc54 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffb088cc54 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffb088cc54 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffb088cc54 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffb088cc54 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffb088cc54 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffb088cc54 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 0x0000ffffb088d578 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 0x0000ffffb089d5a4 clang::ento::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 0x0000ffffb089d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #15 0x0000ffffb089d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #16 0x0000ffffb089d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #17 0x0000ffffb089d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #18 0x0000ffffb089d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #19 0x0000ffffb0b6787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffffb0b6787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffffb0b6787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #22 0x0000ffffb0b6787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #23 0x0000ffffb0b6787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #24 0x0000ffffb0b687e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #25 0x0000ffffb0b687e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #26 0x0000ffffb0b687e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #27 0x0000ffffb0b6cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #28 0x0000ffffb0b6cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #29 0x0000ffffb0b6cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #30 0x0000ffffb0b6cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #31 0x0000ffffb0b6cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #32 0x0000ffffaefc1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #33 0x0000ffffaefc1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #34 0x0000ffffaefc1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #35 0x0000ffffaefc1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #36 0x0000ffffb0687ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #37 0x0000ffffb063fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #38 0x0000ffffb063fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #39 0x0000ffffb063fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #40 0x0000ffffb06c610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #41 0x0000aaaabcd359f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #42 0x0000aaaabcd394b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #43 0x0000aaaabcd3aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #44 0x0000aaaabcd31fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #45 0x0000ffffa7c3098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #46 0x0000ffffa7c30a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #47 0x0000aaaabcd320b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/block-in-critical-section.cpp.script: line 1: 1823771 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.unix.BlockInCriticalSection -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/block-in-critical-section.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/bitwise-ops-nocrash.c (486 of 18953) ******************** TEST 'Clang :: Analysis/bitwise-ops-nocrash.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=text -triple x86_64-linux-gnu -Wno-shift-count-overflow -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bitwise-ops-nocrash.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=text -triple x86_64-linux-gnu -Wno-shift-count-overflow -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bitwise-ops-nocrash.c 1. parser at end of file #0 0x0000ffff7f3cacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7f3c9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7f3cb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff88302800 (linux-vdso.so.1+0x800) #4 0x0000ffff87623688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff87623688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff87623688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff87623688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff87623688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff87623688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff87623688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff87623688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff872d0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff872d0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff872d0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff872d0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff872d2ce8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff872d2ce8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff872d2ce8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff872d2ce8 (anonymous namespace)::RangeConstraintManager::assumeSymWithinInclusiveRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3224:0 #20 0x0000ffff872e4e58 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff872e4e58 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff872e4e58 clang::ento::RangedConstraintManager::assumeSymInclusiveRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:129:64 #23 0x0000ffff872e53b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff872e53b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff872e53b4 clang::ento::SimpleConstraintManager::assumeInclusiveRangeInternal(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:118:67 #26 0x0000ffff8725fd48 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8725fd48 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8725fd48 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:105:75 #29 0x0000ffff8725fd48 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeInclusiveRangeDual(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #30 0x0000ffff872761e8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff872761e8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff872761e8 clang::ento::ProgramState::assumeInclusiveRange(clang::ento::DefinedOrUnknownSVal, llvm::APSInt const&, llvm::APSInt const&) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:746:43 #33 0x0000ffff872761e8 clang::ento::ExprEngine::processSwitch(clang::ento::SwitchNodeBuilder&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3004:42 #34 0x0000ffff8727dbbc clang::ento::CoreEngine::HandleBlockExit(clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:422:0 #35 0x0000ffff8728d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x0000ffff8728d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x0000ffff8728d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #38 0x0000ffff8728d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #39 0x0000ffff8728d764 clang::ento::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 0x0000ffff8755787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #41 0x0000ffff8755787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #42 0x0000ffff8755787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #43 0x0000ffff8755787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #44 0x0000ffff8755787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #45 0x0000ffff875587e8 llvm::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 0x0000ffff875587e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #47 0x0000ffff875587e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #48 0x0000ffff8755cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #49 0x0000ffff8755cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #50 0x0000ffff8755cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #51 0x0000ffff8755cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #52 0x0000ffff8755cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #53 0x0000ffff859b1e58 __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 0x0000ffff859b1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #55 0x0000ffff859b1e58 void clang::finalize>, 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 0x0000ffff859b1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #57 0x0000ffff87077ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #58 0x0000ffff8702fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #59 0x0000ffff8702fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #60 0x0000ffff8702fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #61 0x0000ffff870b610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #62 0x0000aaaaafe859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #63 0x0000aaaaafe894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #64 0x0000aaaaafe8aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #65 0x0000aaaaafe81fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #66 0x0000ffff7e62098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #67 0x0000ffff7e620a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #68 0x0000aaaaafe820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/bitwise-ops-nocrash.c.script: line 1: 1823761 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=text -triple x86_64-linux-gnu -Wno-shift-count-overflow -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bitwise-ops-nocrash.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/bitwise-ops.c (487 of 18953) ******************** TEST 'Clang :: Analysis/bitwise-ops.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -triple x86_64-apple-darwin13 -Wno-shift-count-overflow -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bitwise-ops.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -triple x86_64-apple-darwin13 -Wno-shift-count-overflow -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bitwise-ops.c 1. parser at end of file 2. While analyzing stack: #0 Calling testUnrepresentableLeftShift 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bitwise-ops.c:55:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bitwise-ops.c:55:7: Error evaluating statement #0 0x0000ffffa059acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa0599100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa059b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa94dc800 (linux-vdso.so.1+0x800) #4 0x0000ffffa87f3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa87f3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa87f3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa87f3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa87f3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa87f3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa87f3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa87f3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa84a0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa84a0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa84a0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa84a0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa84a1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa84a1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa84a1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa84a1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa84b4770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa84b4770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa84b4770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa84b5cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa84b5cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa84b5cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa84b5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa84b5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa84b5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa84c17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa84c17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa84c17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa84cb074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa84cb074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa84cb074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa842f6d8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa842f6d8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa842f6d8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa842f6d8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffa891d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa891d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa891d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffa8442a0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffa8442a0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffa8442a0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffffa845ccac llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffffa845ccac llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffffa845ccac llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffffa845ccac clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffffa845ccac clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffffa845cf08 clang::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 0x0000ffffa845d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffa845d41c clang::ento::CoreEngine::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 0x0000ffffa845d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffa845d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffa845d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffa845d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffa845d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffa872787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffa872787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffa872787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffa872787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffa872787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffa87287e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffa87287e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffa87287e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffa872cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffa872cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffa872cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffa872cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffa872cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffa6b81e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffa6b81e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffa6b81e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffa6b81e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffa8247ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffa81ffc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffa81ffc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffa81ffc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffa828610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaab78d59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaab78d94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaab78daac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaab78d1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff9f7f098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff9f7f0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaab78d20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/bitwise-ops.c.script: line 1: 1823760 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -triple x86_64-apple-darwin13 -Wno-shift-count-overflow -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bitwise-ops.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/block-in-critical-section.m (488 of 18953) ******************** TEST 'Clang :: Analysis/block-in-critical-section.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.BlockInCriticalSection -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/block-in-critical-section.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.BlockInCriticalSection -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/block-in-critical-section.m 1. parser at end of file 2. While analyzing stack: #0 Calling shouldNotCrash 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/block-in-critical-section.m:9:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/block-in-critical-section.m:9:3: Error evaluating statement #0 0x0000ffff8dcfacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8dcf9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8dcfb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff96c3e800 (linux-vdso.so.1+0x800) #4 0x0000ffff95f53688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff95f53688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff95f53688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff95f53688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff95f53688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff95f53688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff95f53688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff95f53688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff95c00c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff95c00c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff95c00c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff95c00c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff95c01ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff95c01ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff95c01ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff95c01ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff95c14770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff95c14770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff95c14770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff95c15cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff95c15cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff95c15cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff95c15190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff95c15190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff95c15190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff95c217d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff95c217d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff95c217d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff95c2b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff95c2b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff95c2b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff95b8f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff95b8f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff95b8f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff95b8f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9607d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9607d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9607d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff95bf171c std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #43 0x0000ffff95bf171c std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #44 0x0000ffff95bf171c std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #45 0x0000ffff95bf171c std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #46 0x0000ffff95bf171c std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #47 0x0000ffff95bf171c clang::ento::ExprEngine::VisitObjCMessage(clang::ObjCMessageExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineObjC.cpp:192:0 #48 0x0000ffff95bbba38 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #49 0x0000ffff95bbba38 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2309:0 #50 0x0000ffff95bbcf08 clang::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 0x0000ffff95bbd1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff95bbd41c clang::ento::CoreEngine::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 0x0000ffff95bbd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff95bbd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff95bbd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff95bbd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff95bbd764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff95e8787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff95e8787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff95e8787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff95e8787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff95e8787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff95e887e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff95e887e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff95e887e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff95e8cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff95e8cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff95e8cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff95e8cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff95e8cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff942e1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff942e1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff942e1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff942e1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff959a7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff9595fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff9595fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff9595fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff959e610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaacf4c59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaacf4c94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaacf4caac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaacf4c1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff8cf5098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff8cf50a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaacf4c20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/block-in-critical-section.m.script: line 1: 1823773 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.BlockInCriticalSection -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/block-in-critical-section.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/blocks-no-inline.c (489 of 18953) ******************** TEST 'Clang :: Analysis/blocks-no-inline.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,debug.ExprInspection -analyzer-config ipa=none -fblocks -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/blocks-no-inline.c : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,debug.ExprInspection -analyzer-config ipa=none -fblocks -analyzer-config eagerly-assume=false -verify -x c++ /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/blocks-no-inline.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,debug.ExprInspection -analyzer-config ipa=none -fblocks -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/blocks-no-inline.c 1. parser at end of file 2. While analyzing stack: #0 Calling testInvalidation 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/blocks-no-inline.c:13:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/blocks-no-inline.c:13:3: Error evaluating statement #0 0x0000ffff8c55acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8c559100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8c55b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff95496800 (linux-vdso.so.1+0x800) #4 0x0000ffff947b3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff947b3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff947b3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff947b3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff947b3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff947b3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff947b3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff947b3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff94460c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff94460c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff94460c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff94460c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff94461ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff94461ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff94461ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff94461ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff94474770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff94474770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff94474770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff94475cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff94475cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff94475cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff94475190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff94475190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff94475190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff944817d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff944817d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff944817d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9448b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9448b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9448b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff943ef6d8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff943ef6d8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff943ef6d8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff943ef6d8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff948e1984 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff948e1984 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff948e1984 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff948e1984 getArgumentValueString(clang::CallExpr const*, clang::ento::CheckerContext&) (.part.0.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:150:20 #43 0x0000ffff944fc980 getArgumentValueString /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:135:3 #44 0x0000ffff944fc980 analyzerEval /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:224:12 #45 0x0000ffff944fc980 (anonymous namespace)::ExprInspectionChecker::analyzerEval(clang::CallExpr const*, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:215:0 #46 0x0000ffff94530120 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:130:0 #47 0x0000ffff94530120 bool clang::ento::eval::Call::_evalCall<(anonymous namespace)::ExprInspectionChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:478:0 #48 0x0000ffff943d9f0c clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:694:0 #49 0x0000ffff9443981c llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #50 0x0000ffff9443981c llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #51 0x0000ffff9443981c clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #52 0x0000ffff9443981c clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:696:26 #53 0x0000ffff9443a144 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #54 0x0000ffff9441bea0 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #55 0x0000ffff9441bea0 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #56 0x0000ffff9441cf08 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #57 0x0000ffff9441d1f0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #58 0x0000ffff9441d41c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #59 0x0000ffff9441d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff9441d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff9441d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #62 0x0000ffff9441d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #63 0x0000ffff9441d764 clang::ento::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 0x0000ffff946e787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #65 0x0000ffff946e787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #66 0x0000ffff946e787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #67 0x0000ffff946e787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #68 0x0000ffff946e787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #69 0x0000ffff946ec6b4 VisitFunctionDecl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:319:0 #70 0x0000ffff946ec6b4 WalkUpFromFunctionDecl /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include/clang/AST/DeclNodes.inc:433:0 #71 0x0000ffff946ec6b4 TraverseFunctionDecl /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/RecursiveASTVisitor.h:2226:0 #72 0x0000ffff946ec6b4 clang::RecursiveASTVisitor<(anonymous namespace)::AnalysisConsumer>::TraverseDecl(clang::Decl*) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include/clang/AST/DeclNodes.inc:433:0 #73 0x0000ffff946ecd04 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:552:0 #74 0x0000ffff946ecd04 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #75 0x0000ffff92b41e58 __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 0x0000ffff92b41e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #77 0x0000ffff92b41e58 void clang::finalize>, 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 0x0000ffff92b41e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #79 0x0000ffff94207ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #80 0x0000ffff941bfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #81 0x0000ffff941bfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #82 0x0000ffff941bfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #83 0x0000ffff9424610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #84 0x0000aaaab32e59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #85 0x0000aaaab32e94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #86 0x0000aaaab32eaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #87 0x0000aaaab32e1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #88 0x0000ffff8b7b098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #89 0x0000ffff8b7b0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #90 0x0000aaaab32e20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/blocks-no-inline.c.script: line 2: 1823783 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,debug.ExprInspection -analyzer-config ipa=none -fblocks -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/blocks-no-inline.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/blocks.mm (491 of 18953) ******************** TEST 'Clang :: Analysis/blocks.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core -fblocks -verify -x objective-c++ /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/blocks.mm : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,debug.DumpCFG -fblocks -analyzer-config cfg-rich-constructors=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/blocks.mm > /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/blocks.mm.tmp 2>&1 : 'RUN: at line 3'; /usr/bin/FileCheck --input-file=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/blocks.mm.tmp -check-prefixes=CHECK,WARNINGS /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/blocks.mm : 'RUN: at line 4'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,debug.DumpCFG -fblocks -analyzer-config cfg-rich-constructors=true /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/blocks.mm > /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/blocks.mm.tmp 2>&1 : 'RUN: at line 5'; /usr/bin/FileCheck --input-file=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/blocks.mm.tmp -check-prefixes=CHECK,ANALYZER /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/blocks.mm -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core -fblocks -verify -x objective-c++ /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/blocks.mm 1. parser at end of file 2. While analyzing stack: #0 Calling testBlockWithCaptureByReference() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/blocks.mm:66:37: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/blocks.mm:66:37: Error evaluating statement #0 0x0000ffff8735acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff87359100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8735b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff90292800 (linux-vdso.so.1+0x800) #4 0x0000ffff8f208434 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8f208434 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8f208434 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8f208434 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8f208434 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8f208434 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff8f208434 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:0 #11 0x0000ffff8f208434 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 0x0000ffff8f1d0694 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #13 0x0000ffff8f1d0694 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #14 0x0000ffff8f1d0694 clang::ento::CallEvent::isArgumentConstructedDirectly(unsigned int) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:429:0 #15 0x0000ffff8f1d0694 clang::ento::CallEvent::invalidateRegions(unsigned int, llvm::IntrusiveRefCntPtr) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:272:0 #16 0x0000ffff8f2508d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #17 0x0000ffff8f2508d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #18 0x0000ffff8f2508d0 clang::ento::ExprEngine::conservativeEvalCall(clang::ento::CallEvent const&, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:833:0 #19 0x0000ffff8f2512e4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #20 0x0000ffff8f2512e4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #21 0x0000ffff8f2512e4 clang::ento::ExprEngine::defaultEvalCall(clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:1266:0 #22 0x0000ffff8f1d9fd8 clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:288:0 #23 0x0000ffff8f216028 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #24 0x0000ffff8f216028 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #25 0x0000ffff8f216028 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #26 0x0000ffff8f216028 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #27 0x0000ffff8f216028 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #28 0x0000ffff8f216028 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #29 0x0000ffff8f216028 clang::ento::ExprEngine::handleConstructor(clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:789:0 #30 0x0000ffff8f21be5c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #31 0x0000ffff8f21be5c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2158:0 #32 0x0000ffff8f21cf08 clang::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 0x0000ffff8f21d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8f21d41c clang::ento::CoreEngine::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 0x0000ffff8f21d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x0000ffff8f21d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x0000ffff8f21d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #38 0x0000ffff8f21d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #39 0x0000ffff8f21d764 clang::ento::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 0x0000ffff8f4e787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #41 0x0000ffff8f4e787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #42 0x0000ffff8f4e787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #43 0x0000ffff8f4e787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #44 0x0000ffff8f4e787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #45 0x0000ffff8f4e87e8 llvm::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 0x0000ffff8f4e87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #47 0x0000ffff8f4e87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #48 0x0000ffff8f4ecde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #49 0x0000ffff8f4ecde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #50 0x0000ffff8f4ecde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #51 0x0000ffff8f4ecde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #52 0x0000ffff8f4ecde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #53 0x0000ffff8d941e58 __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 0x0000ffff8d941e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #55 0x0000ffff8d941e58 void clang::finalize>, 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 0x0000ffff8d941e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #57 0x0000ffff8f007ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #58 0x0000ffff8efbfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #59 0x0000ffff8efbfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #60 0x0000ffff8efbfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #61 0x0000ffff8f04610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #62 0x0000aaaada4459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #63 0x0000aaaada4494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #64 0x0000aaaada44aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #65 0x0000aaaada441fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #66 0x0000ffff865b098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #67 0x0000ffff865b0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #68 0x0000aaaada4420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/blocks.mm.script: line 5: 1823813 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core -fblocks -verify -x objective-c++ /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/blocks.mm -- ******************** Testing: 0 FAIL: Clang :: Analysis/blocks.m (492 of 18953) ******************** TEST 'Clang :: Analysis/blocks.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core -fblocks -verify -Wno-strict-prototypes /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/blocks.m : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core -fblocks -verify -x objective-c++ /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/blocks.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core -fblocks -verify -Wno-strict-prototypes /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/blocks.m 1. parser at end of file #0 0x0000ffff99faacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff99fa9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff99fab388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa2ee1800 (linux-vdso.so.1+0x800) #4 0x0000ffffa2203688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa2203688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa2203688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa2203688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa2203688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa2203688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa2203688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa2203688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa1eb0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa1eb0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa1eb0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa1eb0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa1eb1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa1eb1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa1eb1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa1eb1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa1ec4770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa1ec4770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa1ec4770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa1ec5cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa1ec5cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa1ec5cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa1ec5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa1ec5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa1ec5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa1ed17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa1ed17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa1ed17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa1edb074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa1edb074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa1edb074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa1e3f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa1e3f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa1e3f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa1e3f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa1e3fbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa1e3fbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa1e3fbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffa1e131c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffa1e131c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffa1e131c0 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffa1e4fba8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffa1e4fba8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffa1e4fba8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffffa1e6daa8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffa1e6daa8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffa1e6daa8 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffa213787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffa213787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffa213787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffa213787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffa213787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffa21387e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffffa21387e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffa21387e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffa213cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffa213cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffa213cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffa213cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffa213cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffa0591e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffffa0591e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffa0591e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffffa0591e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffa1c57ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffa1c0fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffa1c0fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffa1c0fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffa1c9610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaaea1e59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaaea1e94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaaea1eaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaaea1e1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff9920098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff99200a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaaea1e20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/blocks.m.script: line 2: 1823802 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core -fblocks -verify -Wno-strict-prototypes /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/blocks.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/bool-assignment.c (493 of 18953) ******************** TEST 'Clang :: Analysis/bool-assignment.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core.BoolAssignment,alpha.security.taint -verify -std=c99 -Dbool=_Bool /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bool-assignment.c : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core.BoolAssignment,alpha.security.taint -verify -x c++ /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bool-assignment.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core.BoolAssignment,alpha.security.taint -verify -std=c99 -Dbool=_Bool /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bool-assignment.c 1. parser at end of file 2. While analyzing stack: #0 Calling test_tainted_Boolean 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bool-assignment.c:111:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bool-assignment.c:111:3: Error evaluating statement #0 0x0000ffffa4c1acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa4c19100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa4c1b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffadb5c800 (linux-vdso.so.1+0x800) #4 0x0000fffface69c08 llvm::ImutAVLTree>>>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000fffface69c08 llvm::IntrusiveRefCntPtrInfo>>>>::retain(llvm::ImutAVLTree>>>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000fffface69c08 llvm::IntrusiveRefCntPtr>>>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000fffface69c08 llvm::IntrusiveRefCntPtr>>>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>>>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000fffface69c08 llvm::ImmutableMap>, llvm::ImutKeyValueInfo>>>::ImmutableMap(llvm::ImutAVLTree>>> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000fffface69c08 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 0x0000fffface69c08 get<(anonymous namespace)::TaintArgsOnPostVisit> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000fffface69c08 (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 0x0000ffffaca99524 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #13 0x0000ffffaca99524 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #14 0x0000ffffaca99524 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #15 0x0000ffffaca99524 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #16 0x0000ffffaca99524 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #17 0x0000ffffacaf98b8 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #18 0x0000ffffacaf98b8 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #19 0x0000ffffacaf98b8 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #20 0x0000ffffacaf98b8 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #21 0x0000ffffacaf98b8 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #22 0x0000ffffacaf98b8 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #23 0x0000ffffacafa144 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #24 0x0000ffffacadbea0 clang::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 0x0000ffffacadbea0 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #26 0x0000ffffacadcf08 clang::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 0x0000ffffacadd1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffacadd41c clang::ento::CoreEngine::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 0x0000ffffacadd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #30 0x0000ffffacadd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #31 0x0000ffffacadd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #32 0x0000ffffacadd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #33 0x0000ffffacadd764 clang::ento::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 0x0000ffffacda787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #35 0x0000ffffacda787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #36 0x0000ffffacda787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #37 0x0000ffffacda787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #38 0x0000ffffacda787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #39 0x0000ffffacda87e8 llvm::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 0x0000ffffacda87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #41 0x0000ffffacda87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #42 0x0000ffffacdacde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #43 0x0000ffffacdacde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #44 0x0000ffffacdacde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #45 0x0000ffffacdacde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #46 0x0000ffffacdacde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #47 0x0000ffffab201e58 __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 0x0000ffffab201e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #49 0x0000ffffab201e58 void clang::finalize>, 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 0x0000ffffab201e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #51 0x0000ffffac8c7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #52 0x0000ffffac87fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #53 0x0000ffffac87fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #54 0x0000ffffac87fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #55 0x0000ffffac90610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #56 0x0000aaaadfb659f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #57 0x0000aaaadfb694b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #58 0x0000aaaadfb6aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #59 0x0000aaaadfb61fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #60 0x0000ffffa3e7098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #61 0x0000ffffa3e70a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #62 0x0000aaaadfb620b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/bool-assignment.c.script: line 2: 1823816 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core.BoolAssignment,alpha.security.taint -verify -std=c99 -Dbool=_Bool /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bool-assignment.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/bsd-string.c (495 of 18953) ******************** TEST 'Clang :: Analysis/bsd-string.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -Wno-int-conversion -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bsd-string.c -analyzer-checker=core -analyzer-checker=unix.cstring.NullArg -analyzer-checker=alpha.unix.cstring -analyzer-checker=debug.ExprInspection -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -Wno-int-conversion -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bsd-string.c -analyzer-checker=core -analyzer-checker=unix.cstring.NullArg -analyzer-checker=alpha.unix.cstring -analyzer-checker=debug.ExprInspection 1. parser at end of file 2. While analyzing stack: #0 Calling unknown_val_crash #0 0x0000ffff7e1aacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7e1a9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7e1ab388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff870e3800 (linux-vdso.so.1+0x800) #4 0x0000ffff864eaa8c llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff864eaa8c llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff864eaa8c llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff864eaa8c llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff864eaa8c llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff864eaa8c 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 0x0000ffff864eaa8c get<(anonymous namespace)::CStringLength> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff864eaa8c (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 0x0000ffff86100b60 llvm::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 0x0000ffff86100b60 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #14 0x0000ffff86100b60 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #15 0x0000ffff86100b60 void clang::ento::check::LiveSymbols::_checkLiveSymbols<(anonymous namespace)::CStringChecker>(void*, llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:306:49 #16 0x0000ffff8600bf00 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #17 0x0000ffff8600bf00 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #18 0x0000ffff8600bf00 clang::ento::CheckerFn, clang::ento::SymbolReaper&)>::operator()(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:0 #19 0x0000ffff8600bf00 clang::ento::CheckerManager::runCheckersForLiveSymbols(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:547:0 #20 0x0000ffff86057ef0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff86057ef0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff86057ef0 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1066:48 #23 0x0000ffff86083a8c llvm::SaveAndRestore::~SaveAndRestore() /usr/include/llvm/Support/SaveAndRestore.h:29:25 #24 0x0000ffff86083a8c clang::ento::ExprEngine::removeDeadOnEndOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:187:1 #25 0x0000ffff8605d0e8 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:0 #26 0x0000ffff8605d0e8 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:0 #27 0x0000ffff8605d0e8 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:0 #28 0x0000ffff8605d0e8 clang::ento::ExprEngine::processEndOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ReturnStmt const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2951:0 #29 0x0000ffff8605d578 clang::ento::CoreEngine::HandleBlockEdge(clang::BlockEdge const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:288:0 #30 0x0000ffff8606d5a4 clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:188:0 #31 0x0000ffff8606d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #32 0x0000ffff8606d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #33 0x0000ffff8606d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #34 0x0000ffff8606d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #35 0x0000ffff8606d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #36 0x0000ffff8633787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffff8633787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffff8633787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #39 0x0000ffff8633787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #40 0x0000ffff8633787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #41 0x0000ffff863387e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #42 0x0000ffff863387e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #43 0x0000ffff863387e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #44 0x0000ffff8633cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #45 0x0000ffff8633cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #46 0x0000ffff8633cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #47 0x0000ffff8633cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #48 0x0000ffff8633cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #49 0x0000ffff84791e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #50 0x0000ffff84791e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #51 0x0000ffff84791e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #52 0x0000ffff84791e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #53 0x0000ffff85e57ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #54 0x0000ffff85e0fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #55 0x0000ffff85e0fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #56 0x0000ffff85e0fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #57 0x0000ffff85e9610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #58 0x0000aaaab58759f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #59 0x0000aaaab58794b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #60 0x0000aaaab587aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #61 0x0000aaaab5871fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #62 0x0000ffff7d40098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #63 0x0000ffff7d400a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #64 0x0000aaaab58720b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/bsd-string.c.script: line 1: 1823831 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -Wno-int-conversion -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bsd-string.c -analyzer-checker=core -analyzer-checker=unix.cstring.NullArg -analyzer-checker=alpha.unix.cstring -analyzer-checker=debug.ExprInspection -- ******************** Testing: 0 FAIL: Clang :: Analysis/bstring_UninitRead.c (498 of 18953) ******************** TEST 'Clang :: Analysis/bstring_UninitRead.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bstring_UninitRead.c -analyzer-checker=core,alpha.unix.cstring -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bstring_UninitRead.c -analyzer-checker=core,alpha.unix.cstring 1. parser at end of file 2. While analyzing stack: #0 Calling top 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bstring_UninitRead.c:19:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bstring_UninitRead.c:19:3: Error evaluating statement #0 0x0000ffff9115acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff91159100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9115b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9a094800 (linux-vdso.so.1+0x800) #4 0x0000ffff993b3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff993b3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff993b3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff993b3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff993b3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff993b3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff993b3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff993b3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff99060c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff99060c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff99060c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff99060c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff99061ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff99061ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff99061ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff99061ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff99074770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff99074770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff99074770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff99075cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff99075cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff99075cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff99075190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff99075190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff99075190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff990817d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff990817d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff990817d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9908b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9908b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9908b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff98fef6d8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff98fef6d8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff98fef6d8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff98fef6d8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff994e50e8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff994e50e8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff994e50e8 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff994e50e8 (anonymous namespace)::CStringChecker::assumeZero(clang::ento::CheckerContext&, llvm::IntrusiveRefCntPtr, clang::ento::SVal, clang::QualType) (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:346:0 #43 0x0000ffff994e51a8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #44 0x0000ffff994e51a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #45 0x0000ffff994e51a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x0000ffff994e51a8 (anonymous namespace)::CStringChecker::checkNonNull(clang::ento::CheckerContext&, llvm::IntrusiveRefCntPtr, (anonymous namespace)::AnyArgExpr, clang::ento::SVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:358:0 #47 0x0000ffff9949bc64 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #48 0x0000ffff9949bc64 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #49 0x0000ffff9949bc64 (anonymous namespace)::CStringChecker::evalCopyCommon(clang::ento::CheckerContext&, clang::CallExpr const*, llvm::IntrusiveRefCntPtr, (anonymous namespace)::SizeArgExpr, (anonymous namespace)::DestinationArgExpr, (anonymous namespace)::SourceArgExpr, bool, bool, (anonymous namespace)::CharKind) const (.constprop.0.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:1304:0 #50 0x0000ffff990b083c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #51 0x0000ffff990b083c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x0000ffff990b083c (anonymous namespace)::CStringChecker::evalMemcpy(clang::ento::CheckerContext&, clang::CallExpr const*, (anonymous namespace)::CharKind) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:1383:17 #53 0x0000ffff990bea10 clang::ento::CheckerContext::isDifferent() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h:76:31 #54 0x0000ffff990bea10 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:2515:23 #55 0x0000ffff990bea10 bool clang::ento::eval::Call::_evalCall<(anonymous namespace)::CStringChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:478:48 #56 0x0000ffff98fd9f0c clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:694:0 #57 0x0000ffff9903981c llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #58 0x0000ffff9903981c llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #59 0x0000ffff9903981c clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #60 0x0000ffff9903981c clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:696:26 #61 0x0000ffff9903a144 clang::ento::ExprEngine::VisitCallExpr(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 0x0000ffff9901bea0 clang::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 0x0000ffff9901bea0 clang::ento::ExprEngine::Visit(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 0x0000ffff9901cf08 clang::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 0x0000ffff9901d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff9901d41c clang::ento::CoreEngine::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 0x0000ffff9901d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x0000ffff9901d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x0000ffff9901d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #70 0x0000ffff9901d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #71 0x0000ffff9901d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #72 0x0000ffff992e787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #73 0x0000ffff992e787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #74 0x0000ffff992e787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #75 0x0000ffff992e787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #76 0x0000ffff992e787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #77 0x0000ffff992e87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #78 0x0000ffff992e87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #79 0x0000ffff992e87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #80 0x0000ffff992ecde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #81 0x0000ffff992ecde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #82 0x0000ffff992ecde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #83 0x0000ffff992ecde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #84 0x0000ffff992ecde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #85 0x0000ffff97741e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #86 0x0000ffff97741e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #87 0x0000ffff97741e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #88 0x0000ffff97741e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #89 0x0000ffff98e07ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #90 0x0000ffff98dbfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #91 0x0000ffff98dbfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #92 0x0000ffff98dbfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #93 0x0000ffff98e4610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #94 0x0000aaaac56f59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #95 0x0000aaaac56f94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #96 0x0000aaaac56faac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #97 0x0000aaaac56f1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #98 0x0000ffff903b098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #99 0x0000ffff903b0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #100 0x0000aaaac56f20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/bstring_UninitRead.c.script: line 1: 1823850 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bstring_UninitRead.c -analyzer-checker=core,alpha.unix.cstring -- ******************** Testing: 0 FAIL: Clang :: Analysis/bstring.cpp (499 of 18953) ******************** TEST 'Clang :: Analysis/bstring.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.cstring,unix.Malloc,alpha.unix.cstring,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bstring.cpp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -DUSE_BUILTINS -analyzer-checker=core,unix.cstring,unix.Malloc,alpha.unix.cstring,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bstring.cpp : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -DVARIANT -analyzer-checker=core,unix.cstring,alpha.unix.cstring,unix.Malloc,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bstring.cpp : 'RUN: at line 4'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -DUSE_BUILTINS -DVARIANT -analyzer-checker=core,unix.cstring,alpha.unix.cstring,unix.Malloc,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bstring.cpp : 'RUN: at line 5'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -DSUPPRESS_OUT_OF_BOUND -analyzer-checker=core,unix.cstring,unix.Malloc,alpha.unix.cstring.BufferOverlap,alpha.unix.cstring.NotNullTerminated,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bstring.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.cstring,unix.Malloc,alpha.unix.cstring,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bstring.cpp 1. parser at end of file #0 0x0000ffff7983acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff79839100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7983b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff82775800 (linux-vdso.so.1+0x800) #4 0x0000ffff81a93688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff81a93688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff81a93688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff81a93688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff81a93688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff81a93688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff81a93688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff81a93688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff81740c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff81740c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff81740c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff81740c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff81741ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff81741ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff81741ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff81741ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff81754770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff81754770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff81754770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff81755cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff81755cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff81755cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff81755190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff81755190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff81755190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff817617d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff817617d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff817617d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8176b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8176b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8176b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff816cf72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff816cf72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff816cf72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff816cf72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff816cfbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff816cfbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff816cfbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff816a31c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff816a31c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff816a31c0 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff816dfb5c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff816dfb5c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff816dfb5c clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:42 #48 0x0000ffff816fdaa8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff816fdaa8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff816fdaa8 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff819c787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff819c787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff819c787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff819c787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff819c787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff819c87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffff819c87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff819c87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff819ccde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff819ccde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff819ccde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff819ccde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff819ccde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff7fe21e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffff7fe21e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff7fe21e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffff7fe21e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff814e7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff8149fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff8149fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff8149fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff8152610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaad8db59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaad8db94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaad8dbaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaad8db1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff78a9098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff78a90a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaad8db20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/bstring.cpp.script: line 5: 1823848 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.cstring,unix.Malloc,alpha.unix.cstring,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bstring.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/bstring.c (500 of 18953) ******************** TEST 'Clang :: Analysis/bstring.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bstring.c -analyzer-checker=core -analyzer-checker=unix.cstring -analyzer-checker=alpha.unix.cstring -analyzer-disable-checker=alpha.unix.cstring.UninitializedRead -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false : 'RUN: at line 9'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bstring.c -DUSE_BUILTINS -analyzer-checker=core -analyzer-checker=unix.cstring -analyzer-checker=alpha.unix.cstring -analyzer-disable-checker=alpha.unix.cstring.UninitializedRead -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false : 'RUN: at line 17'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bstring.c -DVARIANT -analyzer-checker=core -analyzer-checker=unix.cstring -analyzer-checker=alpha.unix.cstring -analyzer-disable-checker=alpha.unix.cstring.UninitializedRead -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false : 'RUN: at line 25'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bstring.c -DUSE_BUILTINS -DVARIANT -analyzer-checker=core -analyzer-checker=unix.cstring -analyzer-checker=alpha.unix.cstring -analyzer-disable-checker=alpha.unix.cstring.UninitializedRead -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bstring.c -analyzer-checker=core -analyzer-checker=unix.cstring -analyzer-checker=alpha.unix.cstring -analyzer-disable-checker=alpha.unix.cstring.UninitializedRead -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false 1. parser at end of file 2. While analyzing stack: #0 Calling nocrash_on_locint_offset 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bstring.c:531:3 : Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bstring.c:531:3 : Error evaluating statement #0 0x0000ffffa39bacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa39b9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa39bb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffac8f6800 (linux-vdso.so.1+0x800) #4 0x0000ffffabc13688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffabc13688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffabc13688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffabc13688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffabc13688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffabc13688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffabc13688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffabc13688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffab8c0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffab8c0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffab8c0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffab8c0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffab8c1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffab8c1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffab8c1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffab8c1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffab8d4770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffab8d4770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffab8d4770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffab8d5cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffab8d5cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffab8d5cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffab8d5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffab8d5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffab8d5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffab8e17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffab8e17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffab8e17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffab8eb074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffab8eb074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffab8eb074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffab84f6d8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffab84f6d8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffab84f6d8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffab84f6d8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffabd450e8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffabd450e8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffabd450e8 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffabd450e8 (anonymous namespace)::CStringChecker::assumeZero(clang::ento::CheckerContext&, llvm::IntrusiveRefCntPtr, clang::ento::SVal, clang::QualType) (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:346:0 #43 0x0000ffffabcfb720 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #44 0x0000ffffabcfb720 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #45 0x0000ffffabcfb720 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x0000ffffabcfb720 (anonymous namespace)::CStringChecker::evalCopyCommon(clang::ento::CheckerContext&, clang::CallExpr const*, llvm::IntrusiveRefCntPtr, (anonymous namespace)::SizeArgExpr, (anonymous namespace)::DestinationArgExpr, (anonymous namespace)::SourceArgExpr, bool, bool, (anonymous namespace)::CharKind) const (.constprop.0.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:1285:0 #47 0x0000ffffab91083c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #48 0x0000ffffab91083c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #49 0x0000ffffab91083c (anonymous namespace)::CStringChecker::evalMemcpy(clang::ento::CheckerContext&, clang::CallExpr const*, (anonymous namespace)::CharKind) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:1383:17 #50 0x0000ffffab91ea10 clang::ento::CheckerContext::isDifferent() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h:76:31 #51 0x0000ffffab91ea10 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:2515:23 #52 0x0000ffffab91ea10 bool clang::ento::eval::Call::_evalCall<(anonymous namespace)::CStringChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:478:48 #53 0x0000ffffab839f0c 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 0x0000ffffab89981c llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #55 0x0000ffffab89981c llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #56 0x0000ffffab89981c clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #57 0x0000ffffab89981c clang::ento::ExprEngine::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 0x0000ffffab89a144 clang::ento::ExprEngine::VisitCallExpr(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 0x0000ffffab87bea0 clang::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 0x0000ffffab87bea0 clang::ento::ExprEngine::Visit(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 0x0000ffffab87cf08 clang::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 0x0000ffffab87d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffab87d41c clang::ento::CoreEngine::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 0x0000ffffab87d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #65 0x0000ffffab87d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #66 0x0000ffffab87d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #67 0x0000ffffab87d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #68 0x0000ffffab87d764 clang::ento::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 0x0000ffffabb4787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #70 0x0000ffffabb4787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #71 0x0000ffffabb4787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #72 0x0000ffffabb4787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #73 0x0000ffffabb4787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #74 0x0000ffffabb487e8 llvm::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 0x0000ffffabb487e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #76 0x0000ffffabb487e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #77 0x0000ffffabb4cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #78 0x0000ffffabb4cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #79 0x0000ffffabb4cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #80 0x0000ffffabb4cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #81 0x0000ffffabb4cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #82 0x0000ffffa9fa1e58 __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 0x0000ffffa9fa1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #84 0x0000ffffa9fa1e58 void clang::finalize>, 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 0x0000ffffa9fa1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #86 0x0000ffffab667ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #87 0x0000ffffab61fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #88 0x0000ffffab61fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #89 0x0000ffffab61fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #90 0x0000ffffab6a610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #91 0x0000aaaad04759f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #92 0x0000aaaad04794b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #93 0x0000aaaad047aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #94 0x0000aaaad0471fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #95 0x0000ffffa2c1098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #96 0x0000ffffa2c10a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #97 0x0000aaaad04720b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/bstring.c.script: line 4: 1823842 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bstring.c -analyzer-checker=core -analyzer-checker=unix.cstring -analyzer-checker=alpha.unix.cstring -analyzer-disable-checker=alpha.unix.cstring.UninitializedRead -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -- ******************** Testing: 0 FAIL: Clang :: Analysis/bug_hash_test.cpp (502 of 18953) ******************** TEST 'Clang :: Analysis/bug_hash_test.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bug_hash_test.cpp -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bug_hash_test.cpp -verify 1. parser at end of file #0 0x0000ffff8523acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff85239100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8523b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8e173800 (linux-vdso.so.1+0x800) #4 0x0000ffff8d0ecc54 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff8d0ecc54 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff8d0ecc54 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff8d0ecc54 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff8d0ecc54 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff8d0ecc54 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff8d0ecc54 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff8d0ecc54 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 0x0000ffff8d0ed578 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 0x0000ffff8d0fd5a4 clang::ento::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 0x0000ffff8d0fd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #15 0x0000ffff8d0fd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #16 0x0000ffff8d0fd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #17 0x0000ffff8d0fd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #18 0x0000ffff8d0fd764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #19 0x0000ffff8d3c787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffff8d3c787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffff8d3c787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #22 0x0000ffff8d3c787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #23 0x0000ffff8d3c787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #24 0x0000ffff8d3c87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #25 0x0000ffff8d3c87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #26 0x0000ffff8d3c87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #27 0x0000ffff8d3ccde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #28 0x0000ffff8d3ccde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #29 0x0000ffff8d3ccde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #30 0x0000ffff8d3ccde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #31 0x0000ffff8d3ccde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #32 0x0000ffff8b821e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #33 0x0000ffff8b821e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #34 0x0000ffff8b821e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #35 0x0000ffff8b821e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #36 0x0000ffff8cee7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #37 0x0000ffff8ce9fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #38 0x0000ffff8ce9fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #39 0x0000ffff8ce9fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #40 0x0000ffff8cf2610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #41 0x0000aaaadf7359f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #42 0x0000aaaadf7394b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #43 0x0000aaaadf73aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #44 0x0000aaaadf731fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #45 0x0000ffff8449098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #46 0x0000ffff84490a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #47 0x0000aaaadf7320b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/bug_hash_test.cpp.script: line 1: 1823866 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bug_hash_test.cpp -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/bug_hash_test.m (503 of 18953) ******************** TEST 'Clang :: Analysis/bug_hash_test.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -analyzer-checker=core,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bug_hash_test.m -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -analyzer-checker=core,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bug_hash_test.m -verify 1. parser at end of file 2. While analyzing stack: #0 Calling -[NSObject method:param:] 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bug_hash_test.m:26:3: Error evaluating statement #0 0x0000ffff9f9dacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff9f9d9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9f9db388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa8912800 (linux-vdso.so.1+0x800) #4 0x0000ffffa78dcd64 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa78dcd64 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa78dcd64 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa78dcd64 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffffa78dcd64 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffffa78dcd64 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffffa78880bc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffffa78880bc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffffa78880bc clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffffa789ce94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffffa789ce94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffffa789ce94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffffa789ce94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffffa789ce94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffffa789ce94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffffa789ce94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffffa789ce94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffffa789ce94 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffffa789d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffa789d310 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffffa789d5dc clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffffa789d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffffa789d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffffa789d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffffa789d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffffa789d764 clang::ento::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 0x0000ffffa7b6787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffffa7b6787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffffa7b6787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffffa7b6787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffffa7b6787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffffa7b687e8 llvm::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 0x0000ffffa7b687e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffffa7b687e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffffa7b6cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffffa7b6cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffffa7b6cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffffa7b6cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffffa7b6cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffffa5fc1e58 __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 0x0000ffffa5fc1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffffa5fc1e58 void clang::finalize>, 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 0x0000ffffa5fc1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffffa7687ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffffa763fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffffa763fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffffa763fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffffa76c610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaad76959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaad76994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaad769aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaad7691fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffff9ec3098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffff9ec30a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaad76920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/bug_hash_test.m.script: line 1: 1823882 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -analyzer-checker=core,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/bug_hash_test.m -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/builtin-functions.cpp (504 of 18953) ******************** TEST 'Clang :: Analysis/builtin-functions.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/builtin-functions.cpp -std=c++11 -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/builtin-functions.cpp -std=c++11 -verify 1. parser at end of file 2. While analyzing stack: #0 Calling test_constant_p(void *) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/builtin-functions.cpp:83:44: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/builtin-functions.cpp:83:44: Error evaluating statement #0 0x0000ffff783eacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff783e9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff783eb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8132d800 (linux-vdso.so.1+0x800) #4 0x0000ffff80643688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff80643688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff80643688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff80643688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff80643688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff80643688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff80643688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff80643688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff802f0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff802f0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff802f0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff802f0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff802f1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff802f1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff802f1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff802f1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff80304770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff80304770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff80304770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff80305cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff80305cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff80305cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff80305190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff80305190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff80305190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff803117d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff803117d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff803117d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8031b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8031b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8031b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8027f6d8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8027f6d8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8027f6d8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8027f6d8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff8076d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8076d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8076d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff80292a0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff80292a0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff80292a0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffff802accac llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffff802accac llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffff802accac llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffff802accac clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffff802accac clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffff802acf08 clang::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 0x0000ffff802ad1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff802ad41c clang::ento::CoreEngine::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 0x0000ffff802ad764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff802ad764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff802ad764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff802ad764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff802ad764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff8057787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff8057787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff8057787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff8057787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff8057787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff805787e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff805787e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff805787e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff8057cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff8057cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff8057cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff8057cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff8057cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff7e9d1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff7e9d1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff7e9d1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff7e9d1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff80097ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff8004fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff8004fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff8004fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff800d610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaadb0059f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaadb0094b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaadb00aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaadb001fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff7764098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff77640a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaadb0020b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/builtin-functions.cpp.script: line 1: 1823891 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/builtin-functions.cpp -std=c++11 -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/call-and-message.cpp (505 of 18953) ******************** TEST 'Clang :: Analysis/call-and-message.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/call-and-message.cpp -verify=fn-pointer -analyzer-checker=core -analyzer-config core.CallAndMessage:FunctionPointer=true -analyzer-config core.CallAndMessage:ParameterCount=false -analyzer-config core.CallAndMessage:CXXThisMethodCall=false -analyzer-config core.CallAndMessage:CXXDeallocationArg=false -analyzer-config core.CallAndMessage:ArgInitializedness=false -analyzer-config core.CallAndMessage:ArgPointeeInitializedness=false -analyzer-config core.CallAndMessage:NilReceiver=false -analyzer-config core.CallAndMessage:UndefReceiver=false : 'RUN: at line 12'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/call-and-message.cpp -verify=param-count -analyzer-checker=core -analyzer-config core.CallAndMessage:FunctionPointer=false -analyzer-config core.CallAndMessage:ParameterCount=true -analyzer-config core.CallAndMessage:CXXThisMethodCall=false -analyzer-config core.CallAndMessage:CXXDeallocationArg=false -analyzer-config core.CallAndMessage:ArgInitializedness=false -analyzer-config core.CallAndMessage:ArgPointeeInitializedness=false -analyzer-config core.CallAndMessage:NilReceiver=false -analyzer-config core.CallAndMessage:UndefReceiver=false : 'RUN: at line 23'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/call-and-message.cpp -verify=method -analyzer-checker=core -analyzer-config core.CallAndMessage:FunctionPointer=false -analyzer-config core.CallAndMessage:ParameterCount=false -analyzer-config core.CallAndMessage:CXXThisMethodCall=true -analyzer-config core.CallAndMessage:CXXDeallocationArg=false -analyzer-config core.CallAndMessage:ArgInitializedness=false -analyzer-config core.CallAndMessage:ArgPointeeInitializedness=false -analyzer-config core.CallAndMessage:NilReceiver=false -analyzer-config core.CallAndMessage:UndefReceiver=false : 'RUN: at line 34'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/call-and-message.cpp -verify=delete -analyzer-checker=core -analyzer-config core.CallAndMessage:FunctionPointer=false -analyzer-config core.CallAndMessage:ParameterCount=false -analyzer-config core.CallAndMessage:CXXThisMethodCall=false -analyzer-config core.CallAndMessage:CXXDeallocationArg=true -analyzer-config core.CallAndMessage:ArgInitializedness=false -analyzer-config core.CallAndMessage:ArgPointeeInitializedness=false -analyzer-config core.CallAndMessage:NilReceiver=false -analyzer-config core.CallAndMessage:UndefReceiver=false : 'RUN: at line 45'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/call-and-message.cpp -verify=arg-init -analyzer-checker=core -analyzer-config core.CallAndMessage:FunctionPointer=false -analyzer-config core.CallAndMessage:ParameterCount=false -analyzer-config core.CallAndMessage:CXXThisMethodCall=false -analyzer-config core.CallAndMessage:CXXDeallocationArg=false -analyzer-config core.CallAndMessage:ArgInitializedness=true -analyzer-config core.CallAndMessage:ArgPointeeInitializedness=false -analyzer-config core.CallAndMessage:NilReceiver=false -analyzer-config core.CallAndMessage:UndefReceiver=false : 'RUN: at line 58'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/call-and-message.cpp -verify=fn-pointer,param-count,method,delete,arg-init -analyzer-checker=core -analyzer-output=plist -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/call-and-message.cpp.tmp.plist : 'RUN: at line 62'; cat /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/call-and-message.cpp.tmp.plist | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/call-and-message.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/call-and-message.cpp -verify=fn-pointer -analyzer-checker=core -analyzer-config core.CallAndMessage:FunctionPointer=true -analyzer-config core.CallAndMessage:ParameterCount=false -analyzer-config core.CallAndMessage:CXXThisMethodCall=false -analyzer-config core.CallAndMessage:CXXDeallocationArg=false -analyzer-config core.CallAndMessage:ArgInitializedness=false -analyzer-config core.CallAndMessage:ArgPointeeInitializedness=false -analyzer-config core.CallAndMessage:NilReceiver=false -analyzer-config core.CallAndMessage:UndefReceiver=false 1. parser at end of file #0 0x0000ffff96d6acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff96d69100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff96d6b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9fca3800 (linux-vdso.so.1+0x800) #4 0x0000ffff9ec1cc54 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff9ec1cc54 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff9ec1cc54 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff9ec1cc54 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff9ec1cc54 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff9ec1cc54 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff9ec1cc54 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff9ec1cc54 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 0x0000ffff9ec1d578 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 0x0000ffff9ec2d5a4 clang::ento::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 0x0000ffff9ec2d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #15 0x0000ffff9ec2d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #16 0x0000ffff9ec2d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #17 0x0000ffff9ec2d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #18 0x0000ffff9ec2d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #19 0x0000ffff9eef787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffff9eef787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffff9eef787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #22 0x0000ffff9eef787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #23 0x0000ffff9eef787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #24 0x0000ffff9eef87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #25 0x0000ffff9eef87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #26 0x0000ffff9eef87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #27 0x0000ffff9eefcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #28 0x0000ffff9eefcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #29 0x0000ffff9eefcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #30 0x0000ffff9eefcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #31 0x0000ffff9eefcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #32 0x0000ffff9d351e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #33 0x0000ffff9d351e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #34 0x0000ffff9d351e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #35 0x0000ffff9d351e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #36 0x0000ffff9ea17ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #37 0x0000ffff9e9cfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #38 0x0000ffff9e9cfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #39 0x0000ffff9e9cfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #40 0x0000ffff9ea5610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #41 0x0000aaaaae8259f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #42 0x0000aaaaae8294b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #43 0x0000aaaaae82aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #44 0x0000aaaaae821fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #45 0x0000ffff95fc098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #46 0x0000ffff95fc0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #47 0x0000aaaaae8220b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/call-and-message.cpp.script: line 7: 1823920 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/call-and-message.cpp -verify=fn-pointer -analyzer-checker=core -analyzer-config core.CallAndMessage:FunctionPointer=true -analyzer-config core.CallAndMessage:ParameterCount=false -analyzer-config core.CallAndMessage:CXXThisMethodCall=false -analyzer-config core.CallAndMessage:CXXDeallocationArg=false -analyzer-config core.CallAndMessage:ArgInitializedness=false -analyzer-config core.CallAndMessage:ArgPointeeInitializedness=false -analyzer-config core.CallAndMessage:NilReceiver=false -analyzer-config core.CallAndMessage:UndefReceiver=false -- ******************** Testing: 0 FAIL: Clang :: Analysis/c11lock.c (506 of 18953) ******************** TEST 'Clang :: Analysis/c11lock.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.core.C11Lock -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/c11lock.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.core.C11Lock -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/c11lock.c 1. parser at end of file 2. While analyzing stack: #0 Calling good3 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/c11lock.c:87:7: Error evaluating statement #0 0x0000ffff929aacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff929a9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff929ab388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9b8e6800 (linux-vdso.so.1+0x800) #4 0x0000ffff9ad2f14c retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff9ad2f14c retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff9ad2f14c retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff9ad2f14c IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff9ad2f14c ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff9ad2f14c MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff9ad2f14c get<(anonymous namespace)::LockMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff9ad2f14c (anonymous namespace)::PthreadLockChecker::checkDeadSymbols(clang::ento::SymbolReaper&, clang::ento::CheckerContext&) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/PthreadLockChecker.cpp:650:37 #12 0x0000ffff9a83d814 void expandGraphWithCheckers<(anonymous namespace)::CheckDeadSymbolsContext>((anonymous namespace)::CheckDeadSymbolsContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #13 0x0000ffff9a857fe8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x0000ffff9a857fe8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x0000ffff9a857fe8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #16 0x0000ffff9a857fe8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #17 0x0000ffff9a857fe8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #18 0x0000ffff9a857fe8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #19 0x0000ffff9a857fe8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1080:48 #20 0x0000ffff9a86ce94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #21 0x0000ffff9a86ce94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #22 0x0000ffff9a86ce94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #23 0x0000ffff9a86ce94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #24 0x0000ffff9a86ce94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #25 0x0000ffff9a86ce94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #26 0x0000ffff9a86ce94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #27 0x0000ffff9a86ce94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #28 0x0000ffff9a86ce94 clang::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 0x0000ffff9a86d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff9a86d41c clang::ento::CoreEngine::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 0x0000ffff9a86d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #32 0x0000ffff9a86d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #33 0x0000ffff9a86d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #34 0x0000ffff9a86d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #35 0x0000ffff9a86d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #36 0x0000ffff9ab3787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffff9ab3787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffff9ab3787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #39 0x0000ffff9ab3787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #40 0x0000ffff9ab3787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #41 0x0000ffff9ab387e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #42 0x0000ffff9ab387e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #43 0x0000ffff9ab387e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #44 0x0000ffff9ab3cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #45 0x0000ffff9ab3cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #46 0x0000ffff9ab3cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #47 0x0000ffff9ab3cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #48 0x0000ffff9ab3cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #49 0x0000ffff98f91e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #50 0x0000ffff98f91e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #51 0x0000ffff98f91e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #52 0x0000ffff98f91e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #53 0x0000ffff9a657ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #54 0x0000ffff9a60fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #55 0x0000ffff9a60fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #56 0x0000ffff9a60fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #57 0x0000ffff9a69610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #58 0x0000aaaac5d759f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #59 0x0000aaaac5d794b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #60 0x0000aaaac5d7aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #61 0x0000aaaac5d71fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #62 0x0000ffff91c0098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #63 0x0000ffff91c00a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #64 0x0000aaaac5d720b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/c11lock.c.script: line 1: 1823908 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.core.C11Lock -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/c11lock.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/call-invalidation.cpp (509 of 18953) ******************** TEST 'Clang :: Analysis/call-invalidation.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/call-invalidation.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/call-invalidation.cpp 1. parser at end of file #0 0x0000ffffa47eacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa47e9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa47eb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffad72b800 (linux-vdso.so.1+0x800) #4 0x0000ffffac69cc54 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffac69cc54 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffac69cc54 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffac69cc54 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffac69cc54 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffac69cc54 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffac69cc54 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffac69cc54 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 0x0000ffffac69d578 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 0x0000ffffac6ad5a4 clang::ento::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 0x0000ffffac6ad764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #15 0x0000ffffac6ad764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #16 0x0000ffffac6ad764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #17 0x0000ffffac6ad764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #18 0x0000ffffac6ad764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #19 0x0000ffffac97787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffffac97787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffffac97787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #22 0x0000ffffac97787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #23 0x0000ffffac97787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #24 0x0000ffffac9787e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #25 0x0000ffffac9787e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #26 0x0000ffffac9787e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #27 0x0000ffffac97cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #28 0x0000ffffac97cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #29 0x0000ffffac97cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #30 0x0000ffffac97cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #31 0x0000ffffac97cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #32 0x0000ffffaadd1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #33 0x0000ffffaadd1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #34 0x0000ffffaadd1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #35 0x0000ffffaadd1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #36 0x0000ffffac497ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #37 0x0000ffffac44fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #38 0x0000ffffac44fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #39 0x0000ffffac44fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #40 0x0000ffffac4d610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #41 0x0000aaaac1da59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #42 0x0000aaaac1da94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #43 0x0000aaaac1daaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #44 0x0000aaaac1da1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #45 0x0000ffffa3a4098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #46 0x0000ffffa3a40a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #47 0x0000aaaac1da20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/call-invalidation.cpp.script: line 1: 1823942 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/call-invalidation.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/call-and-message.m (510 of 18953) ******************** TEST 'Clang :: Analysis/call-and-message.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/call-and-message.m -verify -Wno-objc-root-class -analyzer-checker=core -analyzer-config core.CallAndMessage:FunctionPointer=false -analyzer-config core.CallAndMessage:ParameterCount=false -analyzer-config core.CallAndMessage:CXXThisMethodCall=false -analyzer-config core.CallAndMessage:CXXDeallocationArg=false -analyzer-config core.CallAndMessage:ArgInitializedness=false -analyzer-config core.CallAndMessage:ArgPointeeInitializedness=false -analyzer-config core.CallAndMessage:NilReceiver=false -analyzer-config core.CallAndMessage:UndefReceiver=true -analyzer-output=plist -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/call-and-message.m.tmp.plist : 'RUN: at line 13'; cat /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/call-and-message.m.tmp.plist | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/call-and-message.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/call-and-message.m -verify -Wno-objc-root-class -analyzer-checker=core -analyzer-config core.CallAndMessage:FunctionPointer=false -analyzer-config core.CallAndMessage:ParameterCount=false -analyzer-config core.CallAndMessage:CXXThisMethodCall=false -analyzer-config core.CallAndMessage:CXXDeallocationArg=false -analyzer-config core.CallAndMessage:ArgInitializedness=false -analyzer-config core.CallAndMessage:ArgPointeeInitializedness=false -analyzer-config core.CallAndMessage:NilReceiver=false -analyzer-config core.CallAndMessage:UndefReceiver=true -analyzer-output=plist -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/call-and-message.m.tmp.plist 1. parser at end of file #0 0x0000ffff8fe8acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8fe89100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8fe8b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff98dcc800 (linux-vdso.so.1+0x800) #4 0x0000ffff980e3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff980e3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff980e3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff980e3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff980e3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff980e3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff980e3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff980e3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff97d90c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff97d90c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff97d90c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff97d90c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff97d91ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff97d91ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff97d91ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff97d91ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff97da4770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff97da4770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff97da4770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff97da5cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff97da5cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff97da5cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff97da5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff97da5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff97da5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff97db17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff97db17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff97db17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff97dbb074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff97dbb074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff97dbb074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff97d1f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff97d1f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff97d1f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff97d1f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff97d1fbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff97d1fbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff97d1fbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff97cf31c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff97cf31c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff97cf31c0 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff97d2fba8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff97d2fba8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff97d2fba8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffff97d4daa8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff97d4daa8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff97d4daa8 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff9801787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff9801787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff9801787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff9801787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff9801787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff980187e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffff980187e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff980187e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff9801cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff9801cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff9801cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff9801cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff9801cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff96471e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffff96471e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff96471e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffff96471e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff97b37ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff97aefc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff97aefc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff97aefc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff97b7610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaade4059f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaade4094b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaade40aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaade401fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff8f0e098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff8f0e0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaade4020b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/call-and-message.m.script: line 2: 1823935 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/call-and-message.m -verify -Wno-objc-root-class -analyzer-checker=core -analyzer-config core.CallAndMessage:FunctionPointer=false -analyzer-config core.CallAndMessage:ParameterCount=false -analyzer-config core.CallAndMessage:CXXThisMethodCall=false -analyzer-config core.CallAndMessage:CXXDeallocationArg=false -analyzer-config core.CallAndMessage:ArgInitializedness=false -analyzer-config core.CallAndMessage:ArgPointeeInitializedness=false -analyzer-config core.CallAndMessage:NilReceiver=false -analyzer-config core.CallAndMessage:UndefReceiver=true -analyzer-output=plist -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/call-and-message.m.tmp.plist -- ******************** Testing: 0 FAIL: Clang :: Analysis/call_once.cpp (511 of 18953) ******************** TEST 'Clang :: Analysis/call_once.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -fblocks -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/call_once.cpp -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/call_once.cpp.tmp.report : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -fblocks -analyzer-checker=core,debug.ExprInspection -DEMULATE_LIBSTDCPP -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/call_once.cpp -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/call_once.cpp.tmp.report : 'RUN: at line 6'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -fblocks -analyzer-checker=core,debug.ExprInspection -DEMULATE_LIBCXX03 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/call_once.cpp -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/call_once.cpp.tmp.report : 'RUN: at line 7'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -fblocks -analyzer-checker=core,debug.ExprInspection -DEMULATE_LIBCXX03 -DEMULATE_LIBSTDCPP -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/call_once.cpp -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/call_once.cpp.tmp.report : 'RUN: at line 8'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/call_once.cpp.tmp.report -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -fblocks -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/call_once.cpp -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/call_once.cpp.tmp.report 1. parser at end of file 2. While analyzing stack: #0 Calling std::call_once(once_flag &, void (*&)(int *), int *&&) at line 413 #1 Calling rdar40270582() 3. Error evaluating statement 4. Error evaluating statement #0 0x0000ffffb015acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb0159100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb015b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb9097800 (linux-vdso.so.1+0x800) #4 0x0000ffffb83b3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb83b3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb83b3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb83b3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb83b3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb83b3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb83b3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb83b3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb8060c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb8060c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb8060c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb8060c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb8061ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb8061ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb8061ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb8061ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb8074770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb8074770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb8074770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb8075cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb8075cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb8075cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb8075190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb8075190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb8075190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb80817d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb80817d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb80817d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb808b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb808b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb808b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb7fef6d8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb7fef6d8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb7fef6d8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb7fef6d8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffb84dd3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb84dd3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb84dd3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffb8002a0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffb8002a0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffb8002a0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffffb801ccac llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffffb801ccac llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffffb801ccac llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffffb801ccac clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffffb801ccac clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffffb801cf08 clang::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 0x0000ffffb801d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffb801d41c clang::ento::CoreEngine::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 0x0000ffffb801d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffb801d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffb801d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffb801d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffb801d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffb82e787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffb82e787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffb82e787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffb82e787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffb82e787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffb82e87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffb82e87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffb82e87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffb82ecde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffb82ecde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffb82ecde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffb82ecde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffb82ecde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffb6741e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffb6741e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffb6741e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffb6741e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffb7e07ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffb7dbfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffb7dbfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffb7dbfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffb7e4610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaab34f59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaab34f94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaab34faac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaab34f1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffaf3b098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffaf3b0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaab34f20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/call_once.cpp.script: line 5: 1823948 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -fblocks -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/call_once.cpp -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/call_once.cpp.tmp.report -- ******************** Testing: 0 FAIL: Clang :: Analysis/cast-to-struct.cpp (512 of 18953) ******************** TEST 'Clang :: Analysis/cast-to-struct.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.core.CastToStruct,core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cast-to-struct.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.core.CastToStruct,core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cast-to-struct.cpp 1. parser at end of file #0 0x0000ffff92d7acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff92d79100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff92d7b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9bcbb800 (linux-vdso.so.1+0x800) #4 0x0000ffff9ac2cc54 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff9ac2cc54 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff9ac2cc54 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff9ac2cc54 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff9ac2cc54 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff9ac2cc54 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff9ac2cc54 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff9ac2cc54 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 0x0000ffff9ac2d578 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 0x0000ffff9ac3d5a4 clang::ento::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 0x0000ffff9ac3d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #15 0x0000ffff9ac3d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #16 0x0000ffff9ac3d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #17 0x0000ffff9ac3d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #18 0x0000ffff9ac3d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #19 0x0000ffff9af0787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffff9af0787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffff9af0787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #22 0x0000ffff9af0787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #23 0x0000ffff9af0787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #24 0x0000ffff9af087e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #25 0x0000ffff9af087e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #26 0x0000ffff9af087e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #27 0x0000ffff9af0cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #28 0x0000ffff9af0cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #29 0x0000ffff9af0cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #30 0x0000ffff9af0cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #31 0x0000ffff9af0cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #32 0x0000ffff99361e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #33 0x0000ffff99361e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #34 0x0000ffff99361e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #35 0x0000ffff99361e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #36 0x0000ffff9aa27ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #37 0x0000ffff9a9dfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #38 0x0000ffff9a9dfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #39 0x0000ffff9a9dfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #40 0x0000ffff9aa6610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #41 0x0000aaaaaf1059f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #42 0x0000aaaaaf1094b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #43 0x0000aaaaaf10aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #44 0x0000aaaaaf101fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #45 0x0000ffff91fd098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #46 0x0000ffff91fd0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #47 0x0000aaaaaf1020b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cast-to-struct.cpp.script: line 1: 1823957 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.core.CastToStruct,core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cast-to-struct.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/cast-value-logic.cpp (513 of 18953) ******************** TEST 'Clang :: Analysis/cast-value-logic.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core,apiModeling.llvm.CastValue,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cast-value-logic.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core,apiModeling.llvm.CastValue,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cast-value-logic.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling crashes::test_delete_crash() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cast-value-logic.cpp:179:10: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cast-value-logic.cpp:179:10: Error evaluating statement #0 0x0000ffff943cacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff943c9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff943cb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9d309800 (linux-vdso.so.1+0x800) #4 0x0000ffff9c623688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9c623688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9c623688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9c623688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9c623688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9c623688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff9c623688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff9c623688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9c2d0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9c2d0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9c2d0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9c2d0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9c2d1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9c2d1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9c2d1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9c2d1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff9c2e4770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff9c2e4770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff9c2e4770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff9c2e5cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff9c2e5cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff9c2e5cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff9c2e5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff9c2e5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff9c2e5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff9c2f17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff9c2f17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff9c2f17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9c2fb074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9c2fb074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9c2fb074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9c25f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9c25f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9c25f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9c25f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9c25fbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9c25fbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9c25fbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff9c61fdec llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff9c61fdec llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff9c61fdec clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff9c61fdec addCastTransition(clang::ento::CallEvent const&, clang::ento::DefinedOrUnknownSVal, clang::ento::CheckerContext&, bool, bool, bool) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CastValueChecker.cpp:202:0 #46 0x0000ffff9c33337c evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CastValueChecker.cpp:514:10 #47 0x0000ffff9c33337c bool clang::ento::eval::Call::_evalCall<(anonymous namespace)::CastValueChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:478:48 #48 0x0000ffff9c249f0c clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:694:0 #49 0x0000ffff9c2a981c llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #50 0x0000ffff9c2a981c llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #51 0x0000ffff9c2a981c clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #52 0x0000ffff9c2a981c clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:696:26 #53 0x0000ffff9c2aa144 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #54 0x0000ffff9c28bea0 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #55 0x0000ffff9c28bea0 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #56 0x0000ffff9c28cf08 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #57 0x0000ffff9c28d1f0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #58 0x0000ffff9c28d41c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #59 0x0000ffff9c28d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff9c28d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff9c28d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #62 0x0000ffff9c28d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #63 0x0000ffff9c28d764 clang::ento::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 0x0000ffff9c55787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #65 0x0000ffff9c55787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #66 0x0000ffff9c55787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #67 0x0000ffff9c55787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #68 0x0000ffff9c55787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #69 0x0000ffff9c5587e8 llvm::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 0x0000ffff9c5587e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #71 0x0000ffff9c5587e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #72 0x0000ffff9c55cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #73 0x0000ffff9c55cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #74 0x0000ffff9c55cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #75 0x0000ffff9c55cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #76 0x0000ffff9c55cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #77 0x0000ffff9a9b1e58 __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 0x0000ffff9a9b1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #79 0x0000ffff9a9b1e58 void clang::finalize>, 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 0x0000ffff9a9b1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #81 0x0000ffff9c077ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #82 0x0000ffff9c02fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #83 0x0000ffff9c02fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #84 0x0000ffff9c02fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #85 0x0000ffff9c0b610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #86 0x0000aaaad7bc59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #87 0x0000aaaad7bc94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #88 0x0000aaaad7bcaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #89 0x0000aaaad7bc1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #90 0x0000ffff9362098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #91 0x0000ffff93620a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #92 0x0000aaaad7bc20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cast-value-logic.cpp.script: line 1: 1823974 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core,apiModeling.llvm.CastValue,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cast-value-logic.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/cast-value-notes.cpp (514 of 18953) ******************** TEST 'Clang :: Analysis/cast-value-notes.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -triple amdgcn-unknown-unknown -analyzer-checker=core,apiModeling.llvm.CastValue,debug.ExprInspection -analyzer-output=text -verify -DX86 -DSUPPRESSED /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cast-value-notes.cpp 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cast-value-notes.cpp -check-prefix=X86-CHECK : 'RUN: at line 5'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -triple amdgcn-unknown-unknown -analyzer-checker=core,apiModeling.llvm.CastValue,debug.ExprInspection -analyzer-config core.NullDereference:SuppressAddressSpaces=false -analyzer-output=text -verify -DX86 -DNOT_SUPPRESSED /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cast-value-notes.cpp 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cast-value-notes.cpp -check-prefix=X86-CHECK : 'RUN: at line 10'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -triple amdgcn-unknown-unknown -analyzer-checker=core,apiModeling.llvm.CastValue,debug.ExprInspection -analyzer-config core.NullDereference:SuppressAddressSpaces=true -analyzer-output=text -verify -DX86 -DSUPPRESSED /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cast-value-notes.cpp 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cast-value-notes.cpp -check-prefix=X86-CHECK : 'RUN: at line 15'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -triple x86_64-unknown-unknown -analyzer-checker=core,apiModeling.llvm.CastValue,debug.ExprInspection -analyzer-output=text -verify -DX86 -DSUPPRESSED /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cast-value-notes.cpp 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cast-value-notes.cpp --check-prefix=X86-CHECK : 'RUN: at line 19'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -triple x86_64-unknown-unknown -analyzer-checker=core,apiModeling.llvm.CastValue,debug.ExprInspection -analyzer-config core.NullDereference:SuppressAddressSpaces=true -analyzer-output=text -verify -DX86 -DSUPPRESSED /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cast-value-notes.cpp 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cast-value-notes.cpp --check-prefix=X86-CHECK-SUPPRESSED : 'RUN: at line 24'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -triple x86_64-unknown-unknown -analyzer-checker=core,apiModeling.llvm.CastValue,debug.ExprInspection -analyzer-config core.NullDereference:SuppressAddressSpaces=false -analyzer-output=text -verify -DX86 -DNOT_SUPPRESSED /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cast-value-notes.cpp 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cast-value-notes.cpp --check-prefix=X86-CHECK : 'RUN: at line 29'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -triple mips-unknown-unknown -analyzer-checker=core,apiModeling.llvm.CastValue,debug.ExprInspection -analyzer-output=text -verify -DMIPS /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cast-value-notes.cpp 2>&1 : 'RUN: at line 33'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -triple mips-unknown-unknown -analyzer-checker=core,apiModeling.llvm.CastValue,debug.ExprInspection -analyzer-config core.NullDereference:SuppressAddressSpaces=false -analyzer-output=text -verify -DMIPS /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cast-value-notes.cpp 2>&1 : 'RUN: at line 38'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -triple mips-unknown-unknown -analyzer-checker=core,apiModeling.llvm.CastValue,debug.ExprInspection -analyzer-config core.NullDereference:SuppressAddressSpaces=true -analyzer-output=text -verify -DMIPS_SUPPRESSED /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cast-value-notes.cpp -- Exit Code: 1 Command Output (stderr): -- /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cast-value-notes.cpp:100:16: error: X86-CHECK: expected string not found in input // X86-CHECK: "dynamic_types": [ ^ :1:1: note: scanning from here PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. ^ :2:7: note: possible intended match here Stack dump: ^ Input file: Check file: /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cast-value-notes.cpp -dump-input=help explains the following input dump. Input was: <<<<<< 1: PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. check:100'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found 2: Stack dump: check:100'0 ~~~~~~~~~~~~ check:100'1 ? possible intended match 3: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -triple amdgcn-unknown-unknown -analyzer-checker=core,apiModeling.llvm.CastValue,debug.ExprInspection -analyzer-output=text -verify -DX86 -DSUPPRESSED /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cast-value-notes.cpp check:100'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4: 1. parser at end of file check:100'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5: #0 0x0000ffffaf02acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) check:100'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6: #1 0x0000ffffaf029100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) check:100'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7: #2 0x0000ffffaf02b388 (/usr/lib64/libLLVM-17.so+0x9bb388) check:100'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0 FAIL: Clang :: Analysis/casts.c (515 of 18953) ******************** TEST 'Clang :: Analysis/casts.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin9 -fenable-matrix -analyzer-checker=core,alpha.core,debug.ExprInspection -Wno-pointer-to-int-cast -Wno-strict-prototypes -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/casts.c : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin9 -fenable-matrix -analyzer-checker=core,alpha.core,debug.ExprInspection -Wno-pointer-to-int-cast -Wno-strict-prototypes -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/casts.c : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin9 -fenable-matrix -analyzer-checker=core,alpha.core,debug.ExprInspection -Wno-pointer-to-int-cast -Wno-strict-prototypes -verify -DEAGERLY_ASSUME=1 -w /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/casts.c : 'RUN: at line 4'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin9 -fenable-matrix -analyzer-checker=core,alpha.core,debug.ExprInspection -Wno-pointer-to-int-cast -Wno-strict-prototypes -verify -DEAGERLY_ASSUME=1 -DBIT32=1 -w /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/casts.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin9 -fenable-matrix -analyzer-checker=core,alpha.core,debug.ExprInspection -Wno-pointer-to-int-cast -Wno-strict-prototypes -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/casts.c 1. parser at end of file 2. While analyzing stack: #0 Calling symbolic_offset 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/casts.c:279:16: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/casts.c:279:16: Error evaluating statement #0 0x0000ffffa47eacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa47e9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa47eb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffad720800 (linux-vdso.so.1+0x800) #4 0x0000ffffaca43688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffaca43688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffaca43688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffaca43688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffaca43688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffaca43688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffaca43688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffaca43688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffac6f0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffac6f0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffac6f0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffac6f0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffac6f1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffac6f1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffac6f1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffac6f1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffac704770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffac704770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffac704770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffac705cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffac705cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffac705cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffac705190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffac705190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffac705190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffac7117d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffac7117d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffac7117d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffac71b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffac71b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffac71b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffac67f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffac67f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffac67f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffac67f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffacb6d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffacb6d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffacb6d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffac79eee0 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffac79eee0 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffac79eee0 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:61 #45 0x0000ffffac79eee0 void clang::ento::check::Location::_checkLocation<(anonymous namespace)::DereferenceChecker>(void*, clang::ento::SVal const&, bool, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:199:46 #46 0x0000ffffac6699b8 void expandGraphWithCheckers<(anonymous namespace)::CheckLocationContext>((anonymous namespace)::CheckLocationContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #47 0x0000ffffac692270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:60 #48 0x0000ffffac692270 clang::ento::ExprEngine::evalLocation(clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::Stmt const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3710:19 #49 0x0000ffffac6924ac llvm::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 0x0000ffffac6924ac llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #51 0x0000ffffac6924ac llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x0000ffffac6924ac clang::ento::ExprEngine::evalLoad(clang::ento::ExplodedNodeSet&, clang::Expr const*, clang::Expr const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, clang::ProgramPointTag const*, clang::QualType) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3653:15 #53 0x0000ffffac6a2170 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #54 0x0000ffffac6a2170 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #55 0x0000ffffac6a2170 clang::ento::ExprEngine::VisitCast(clang::CastExpr const*, clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:292:0 #56 0x0000ffffac6ab884 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #57 0x0000ffffac6ab884 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #58 0x0000ffffac6ab884 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2258:0 #59 0x0000ffffac6acf08 clang::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 0x0000ffffac6ad1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffac6ad41c clang::ento::CoreEngine::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 0x0000ffffac6ad764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #63 0x0000ffffac6ad764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #64 0x0000ffffac6ad764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #65 0x0000ffffac6ad764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #66 0x0000ffffac6ad764 clang::ento::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 0x0000ffffac97787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #68 0x0000ffffac97787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #69 0x0000ffffac97787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #70 0x0000ffffac97787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #71 0x0000ffffac97787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #72 0x0000ffffac9787e8 llvm::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 0x0000ffffac9787e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #74 0x0000ffffac9787e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #75 0x0000ffffac97cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #76 0x0000ffffac97cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #77 0x0000ffffac97cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #78 0x0000ffffac97cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #79 0x0000ffffac97cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #80 0x0000ffffaadd1e58 __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 0x0000ffffaadd1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #82 0x0000ffffaadd1e58 void clang::finalize>, 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 0x0000ffffaadd1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #84 0x0000ffffac497ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #85 0x0000ffffac44fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #86 0x0000ffffac44fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #87 0x0000ffffac44fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #88 0x0000ffffac4d610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #89 0x0000aaaae27459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #90 0x0000aaaae27494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #91 0x0000aaaae274aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #92 0x0000aaaae2741fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #93 0x0000ffffa3a4098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #94 0x0000ffffa3a40a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #95 0x0000aaaae27420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/casts.c.script: line 4: 1824004 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin9 -fenable-matrix -analyzer-checker=core,alpha.core,debug.ExprInspection -Wno-pointer-to-int-cast -Wno-strict-prototypes -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/casts.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/cast-value-state-dump.cpp (516 of 18953) ******************** TEST 'Clang :: Analysis/cast-value-state-dump.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core,apiModeling.llvm.CastValue,debug.ExprInspection -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cast-value-state-dump.cpp 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cast-value-state-dump.cpp -- Exit Code: 1 Command Output (stderr): -- /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cast-value-state-dump.cpp:33:12: error: CHECK: expected string not found in input // CHECK: "dynamic_types": [ ^ :1:1: note: scanning from here PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. ^ :2:7: note: possible intended match here Stack dump: ^ Input file: Check file: /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cast-value-state-dump.cpp -dump-input=help explains the following input dump. Input was: <<<<<< 1: PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. check:33'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found 2: Stack dump: check:33'0 ~~~~~~~~~~~~ check:33'1 ? possible intended match 3: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core,apiModeling.llvm.CastValue,debug.ExprInspection -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cast-value-state-dump.cpp check:33'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4: 1. parser at end of file check:33'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5: 2. While analyzing stack: check:33'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6: #0 Calling evalNonNullParamNonNullReturn(const Shape *) check:33'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7: 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cast-value-state-dump.cpp:20:19: Error evaluating statement check:33'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0 FAIL: Clang :: Analysis/casts.cpp (519 of 18953) ******************** TEST 'Clang :: Analysis/casts.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/casts.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/casts.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling bool_to_nullptr::foo(S) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/casts.cpp:114:12: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/casts.cpp:114:12: Error evaluating statement #0 0x0000ffff7f4cacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7f4c9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7f4cb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8840d800 (linux-vdso.so.1+0x800) #4 0x0000ffff87723688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff87723688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff87723688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff87723688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff87723688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff87723688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff87723688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff87723688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff873d0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff873d0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff873d0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff873d0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff873d1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff873d1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff873d1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff873d1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff873e4770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff873e4770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff873e4770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff873e5cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff873e5cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff873e5cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff873e5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff873e5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff873e5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff873f17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff873f17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff873f17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff873fb074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff873fb074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff873fb074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8735f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8735f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8735f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8735f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff8784d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8784d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8784d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff87372a0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff87372a0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff87372a0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffff8738ccac llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffff8738ccac llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffff8738ccac llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffff8738ccac clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffff8738ccac clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffff8738cf08 clang::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 0x0000ffff8738d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8738d41c clang::ento::CoreEngine::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 0x0000ffff8738d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff8738d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff8738d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff8738d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff8738d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff8765787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff8765787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff8765787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff8765787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff8765787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff876587e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff876587e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff876587e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff8765cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff8765cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff8765cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff8765cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff8765cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff85ab1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff85ab1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff85ab1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff85ab1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff87177ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff8712fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff8712fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff8712fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff871b610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaae87b59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaae87b94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaae87baac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaae87b1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff7e72098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff7e720a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaae87b20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/casts.cpp.script: line 1: 1824015 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/casts.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/casts.m (520 of 18953) ******************** TEST 'Clang :: Analysis/casts.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/casts.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/casts.m 1. parser at end of file 2. While analyzing stack: #0 Calling adium_media_ready_cb 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/casts.m:39:9: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/casts.m:39:9: Error evaluating statement #0 0x0000ffff7f4facd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7f4f9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7f4fb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff88430800 (linux-vdso.so.1+0x800) #4 0x0000ffff87753688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff87753688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff87753688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff87753688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff87753688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff87753688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff87753688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff87753688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff87400c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff87400c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff87400c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff87400c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff87401ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff87401ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff87401ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff87401ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff87414770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff87414770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff87414770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff87415cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff87415cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff87415cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff87415190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff87415190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff87415190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff874217d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff874217d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff874217d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8742b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8742b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8742b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8738f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8738f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8738f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8738f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff8787d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8787d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8787d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff873f171c std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #43 0x0000ffff873f171c std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #44 0x0000ffff873f171c std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #45 0x0000ffff873f171c std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #46 0x0000ffff873f171c std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #47 0x0000ffff873f171c clang::ento::ExprEngine::VisitObjCMessage(clang::ObjCMessageExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineObjC.cpp:192:0 #48 0x0000ffff873bba38 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #49 0x0000ffff873bba38 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2309:0 #50 0x0000ffff873bcf08 clang::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 0x0000ffff873bd1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff873bd41c clang::ento::CoreEngine::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 0x0000ffff873bd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff873bd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff873bd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff873bd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff873bd764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff8768787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff8768787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff8768787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff8768787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff8768787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff876887e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff876887e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff876887e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff8768cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff8768cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff8768cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff8768cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff8768cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff85ae1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff85ae1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff85ae1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff85ae1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff871a7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff8715fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff8715fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff8715fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff871e610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaada3659f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaada3694b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaada36aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaada361fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff7e75098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff7e750a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaada3620b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/casts.m.script: line 1: 1824025 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/casts.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/cert/env31-c.c (521 of 18953) ******************** TEST 'Clang :: Analysis/cert/env31-c.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-output=text -Wno-unused /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cert/env31-c.c -analyzer-checker=core,alpha.security.cert.env.InvalidPtr -verify=putenv,common -DENV_INVALIDATING_CALL="putenv(\"X=Y\")" : 'RUN: at line 6'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-output=text -Wno-unused /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cert/env31-c.c -analyzer-checker=core,alpha.security.cert.env.InvalidPtr -verify=putenvs,common -DENV_INVALIDATING_CALL="_putenv_s(\"X\", \"Y\")" : 'RUN: at line 11'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-output=text -Wno-unused /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cert/env31-c.c -analyzer-checker=core,alpha.security.cert.env.InvalidPtr -verify=wputenvs,common -DENV_INVALIDATING_CALL="_wputenv_s(\"X\", \"Y\")" : 'RUN: at line 16'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-output=text -Wno-unused /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cert/env31-c.c -analyzer-checker=core,alpha.security.cert.env.InvalidPtr -verify=setenv,common -DENV_INVALIDATING_CALL="setenv(\"X\", \"Y\", 0)" : 'RUN: at line 21'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-output=text -Wno-unused /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cert/env31-c.c -analyzer-checker=core,alpha.security.cert.env.InvalidPtr -verify=unsetenv,common -DENV_INVALIDATING_CALL="unsetenv(\"X\")" -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-output=text -Wno-unused /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cert/env31-c.c -analyzer-checker=core,alpha.security.cert.env.InvalidPtr -verify=putenv,common -DENV_INVALIDATING_CALL=putenv(\"X=Y\") 1. parser at end of file 2. While analyzing stack: #0 Calling main 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cert/env31-c.c:52:14: Error evaluating statement #0 0x0000ffffa794acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa7949100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa794b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb0883800 (linux-vdso.so.1+0x800) #4 0x0000ffffaf84cd64 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffaf84cd64 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffaf84cd64 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffaf84cd64 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffffaf84cd64 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffffaf84cd64 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffffaf7f80bc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffffaf7f80bc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffffaf7f80bc clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffffaf80ce94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffffaf80ce94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffffaf80ce94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffffaf80ce94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffffaf80ce94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffffaf80ce94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffffaf80ce94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffffaf80ce94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffffaf80ce94 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffffaf80d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffaf80d310 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffffaf80d5dc clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffffaf80d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffffaf80d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffffaf80d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffffaf80d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffffaf80d764 clang::ento::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 0x0000ffffafad787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffffafad787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffffafad787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffffafad787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffffafad787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffffafad87e8 llvm::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 0x0000ffffafad87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffffafad87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffffafadcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffffafadcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffffafadcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffffafadcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffffafadcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffffadf31e58 __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 0x0000ffffadf31e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffffadf31e58 void clang::finalize>, 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 0x0000ffffadf31e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffffaf5f7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffffaf5afc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffffaf5afc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffffaf5afc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffffaf63610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaacb6759f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaacb6794b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaacb67aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaacb671fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffffa6ba098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffffa6ba0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaacb6720b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/cert/Output/env31-c.c.script: line 5: 1824032 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-output=text -Wno-unused /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cert/env31-c.c -analyzer-checker=core,alpha.security.cert.env.InvalidPtr -verify=putenv,common -DENV_INVALIDATING_CALL="putenv(\"X=Y\")" -- ******************** Testing: 0 FAIL: Clang :: Analysis/cert/env34-c-cert-examples.c (526 of 18953) ******************** TEST 'Clang :: Analysis/cert/env34-c-cert-examples.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.security.cert.env.InvalidPtr -verify -Wno-unused /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cert/env34-c-cert-examples.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.security.cert.env.InvalidPtr -verify -Wno-unused /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cert/env34-c-cert-examples.c 1. parser at end of file 2. While analyzing stack: #0 Calling correct_usage_2 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cert/env34-c-cert-examples.c:73:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cert/env34-c-cert-examples.c:73:7: Error evaluating statement #0 0x0000ffff7c78acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7c789100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7c78b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff856c9800 (linux-vdso.so.1+0x800) #4 0x0000ffff849e3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff849e3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff849e3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff849e3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff849e3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff849e3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff849e3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff849e3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff84690c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff84690c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff84690c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff84690c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff84691ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff84691ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff84691ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff84691ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff846a4770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff846a4770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff846a4770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff846a5cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff846a5cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff846a5cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff846a5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff846a5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff846a5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff846b17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff846b17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff846b17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff846bb074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff846bb074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff846bb074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8461f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8461f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8461f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8461f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff84b0d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff84b0d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff84b0d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff84632a0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff84632a0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff84632a0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffff8464ccac llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffff8464ccac llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffff8464ccac llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffff8464ccac clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffff8464ccac clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffff8464cf08 clang::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 0x0000ffff8464d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8464d41c clang::ento::CoreEngine::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 0x0000ffff8464d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff8464d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff8464d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff8464d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff8464d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff8491787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff8491787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff8491787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff8491787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff8491787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff849187e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff849187e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff849187e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff8491cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff8491cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff8491cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff8491cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff8491cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff82d71e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff82d71e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff82d71e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff82d71e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff84437ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff843efc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff843efc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff843efc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff8447610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaabd3659f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaabd3694b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaabd36aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaabd361fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff7b9e098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff7b9e0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaabd3620b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/cert/Output/env34-c-cert-examples.c.script: line 1: 1824039 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.security.cert.env.InvalidPtr -verify -Wno-unused /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cert/env34-c-cert-examples.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/cert/pos34-c-fp-suppression.cpp (532 of 18953) ******************** TEST 'Clang :: Analysis/cert/pos34-c-fp-suppression.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.security.cert.pos.34c -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cert/pos34-c-fp-suppression.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.security.cert.pos.34c -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cert/pos34-c-fp-suppression.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling test_auto_var_used_good::bar() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cert/pos34-c-fp-suppression.cpp:31:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cert/pos34-c-fp-suppression.cpp:31:7: Error evaluating statement #0 0x0000ffff8524acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff85249100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8524b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8e183800 (linux-vdso.so.1+0x800) #4 0x0000ffff8d4a3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8d4a3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8d4a3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8d4a3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8d4a3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8d4a3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff8d4a3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff8d4a3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8d150c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8d150c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8d150c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8d150c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8d151ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8d151ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8d151ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8d151ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff8d164770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff8d164770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff8d164770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff8d165cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff8d165cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff8d165cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff8d165190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8d165190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8d165190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff8d1717d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff8d1717d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff8d1717d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8d17b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8d17b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8d17b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8d0df6d8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8d0df6d8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8d0df6d8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8d0df6d8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff8d5cd3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8d5cd3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8d5cd3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff8d0f2a0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff8d0f2a0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff8d0f2a0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffff8d10ccac llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffff8d10ccac llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffff8d10ccac llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffff8d10ccac clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffff8d10ccac clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffff8d10cf08 clang::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 0x0000ffff8d10d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8d10d41c clang::ento::CoreEngine::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 0x0000ffff8d10d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff8d10d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff8d10d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff8d10d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff8d10d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff8d3d787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff8d3d787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff8d3d787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff8d3d787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff8d3d787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff8d3d87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff8d3d87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff8d3d87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff8d3dcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff8d3dcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff8d3dcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff8d3dcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff8d3dcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff8b831e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff8b831e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff8b831e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff8b831e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff8cef7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff8ceafc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff8ceafc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff8ceafc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff8cf3610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaab8bf59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaab8bf94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaab8bfaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaab8bf1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff844a098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff844a0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaab8bf20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/cert/Output/pos34-c-fp-suppression.cpp.script: line 1: 1824063 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.security.cert.pos.34c -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cert/pos34-c-fp-suppression.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/cert/pos34-c.cpp (533 of 18953) ******************** TEST 'Clang :: Analysis/cert/pos34-c.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.security.cert.pos.34c -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cert/pos34-c.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.security.cert.pos.34c -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cert/pos34-c.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling test_auto_var_used_good::test_heap_memory(const char *) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cert/pos34-c.cpp:47:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cert/pos34-c.cpp:47:7: Error evaluating statement #0 0x0000ffff83d5acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff83d59100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff83d5b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8cc92800 (linux-vdso.so.1+0x800) #4 0x0000ffff8bfb3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8bfb3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8bfb3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8bfb3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8bfb3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8bfb3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff8bfb3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff8bfb3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8bc60c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8bc60c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8bc60c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8bc60c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8bc61ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8bc61ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8bc61ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8bc61ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff8bc74770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff8bc74770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff8bc74770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff8bc75cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff8bc75cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff8bc75cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff8bc75190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8bc75190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8bc75190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff8bc817d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff8bc817d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff8bc817d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8bc8b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8bc8b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8bc8b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8bbef6d8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8bbef6d8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8bbef6d8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8bbef6d8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff8c0dd3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8c0dd3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8c0dd3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff8bc02a0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff8bc02a0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff8bc02a0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffff8bc1ccac llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffff8bc1ccac llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffff8bc1ccac llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffff8bc1ccac clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffff8bc1ccac clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffff8bc1cf08 clang::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 0x0000ffff8bc1d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8bc1d41c clang::ento::CoreEngine::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 0x0000ffff8bc1d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff8bc1d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff8bc1d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff8bc1d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff8bc1d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff8bee787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff8bee787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff8bee787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff8bee787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff8bee787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff8bee87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff8bee87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff8bee87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff8beecde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff8beecde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff8beecde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff8beecde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff8beecde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff8a341e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff8a341e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff8a341e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff8a341e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff8ba07ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff8b9bfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff8b9bfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff8b9bfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff8ba4610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaaea9e59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaaea9e94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaaea9eaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaaea9e1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff82fb098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff82fb0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaaea9e20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/cert/Output/pos34-c.cpp.script: line 1: 1824073 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.security.cert.pos.34c -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cert/pos34-c.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/cert/env34-c.c (534 of 18953) ******************** TEST 'Clang :: Analysis/cert/env34-c.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.security.cert.env.InvalidPtr -analyzer-output=text -verify -Wno-unused /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cert/env34-c.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.security.cert.env.InvalidPtr -analyzer-output=text -verify -Wno-unused /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cert/env34-c.c 1. parser at end of file 2. While analyzing stack: #0 Calling localeconv_test2 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cert/env34-c.c:329:16: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cert/env34-c.c:329:16: Error evaluating statement #0 0x0000ffff924cacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff924c9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff924cb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9b409800 (linux-vdso.so.1+0x800) #4 0x0000ffff9a4e4258 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9a4e4258 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9a4e4258 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9a4e4258 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9a4e4258 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9a4e4258 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 0x0000ffff9a4e4258 get<(anonymous namespace)::PreviousCallResultMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:0 #11 0x0000ffff9a4e4258 (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 0x0000ffff9a4e5194 (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 0x0000ffff9a349524 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #14 0x0000ffff9a349524 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #15 0x0000ffff9a349524 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #16 0x0000ffff9a349524 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #17 0x0000ffff9a349524 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #18 0x0000ffff9a3a98b8 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #19 0x0000ffff9a3a98b8 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #20 0x0000ffff9a3a98b8 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #21 0x0000ffff9a3a98b8 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #22 0x0000ffff9a3a98b8 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #23 0x0000ffff9a3a98b8 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #24 0x0000ffff9a3aa144 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #25 0x0000ffff9a38bea0 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #26 0x0000ffff9a38bea0 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #27 0x0000ffff9a38cf08 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #28 0x0000ffff9a38d1f0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #29 0x0000ffff9a38d41c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #30 0x0000ffff9a38d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #31 0x0000ffff9a38d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #32 0x0000ffff9a38d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #33 0x0000ffff9a38d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #34 0x0000ffff9a38d764 clang::ento::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 0x0000ffff9a65787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9a65787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9a65787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #38 0x0000ffff9a65787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #39 0x0000ffff9a65787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #40 0x0000ffff9a6587e8 llvm::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 0x0000ffff9a6587e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #42 0x0000ffff9a6587e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #43 0x0000ffff9a65cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #44 0x0000ffff9a65cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #45 0x0000ffff9a65cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #46 0x0000ffff9a65cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #47 0x0000ffff9a65cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #48 0x0000ffff98ab1e58 __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 0x0000ffff98ab1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #50 0x0000ffff98ab1e58 void clang::finalize>, 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 0x0000ffff98ab1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #52 0x0000ffff9a177ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #53 0x0000ffff9a12fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #54 0x0000ffff9a12fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #55 0x0000ffff9a12fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #56 0x0000ffff9a1b610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #57 0x0000aaaae42e59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #58 0x0000aaaae42e94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #59 0x0000aaaae42eaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #60 0x0000aaaae42e1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #61 0x0000ffff9172098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #62 0x0000ffff91720a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #63 0x0000aaaae42e20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/cert/Output/env34-c.c.script: line 1: 1824058 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.security.cert.env.InvalidPtr -analyzer-output=text -verify -Wno-unused /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cert/env34-c.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/cfref_PR2519.c (537 of 18953) ******************** TEST 'Clang :: Analysis/cfref_PR2519.c' FAILED ******************** Script: -- : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount,alpha.core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cfref_PR2519.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount,alpha.core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cfref_PR2519.c 1. parser at end of file 2. While analyzing stack: #0 Calling main 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cfref_PR2519.c:33:36: Error evaluating statement #0 0x0000ffff7eb8acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7eb89100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7eb8b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff87ac5800 (linux-vdso.so.1+0x800) #4 0x0000ffff86a8cd64 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff86a8cd64 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff86a8cd64 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff86a8cd64 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffff86a8cd64 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffff86a8cd64 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffff86a380bc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffff86a380bc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffff86a380bc clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffff86a4ce94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffff86a4ce94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffff86a4ce94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffff86a4ce94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffff86a4ce94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffff86a4ce94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffff86a4ce94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffff86a4ce94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffff86a4ce94 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffff86a4d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff86a4d310 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffff86a4d5dc clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffff86a4d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffff86a4d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffff86a4d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffff86a4d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffff86a4d764 clang::ento::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 0x0000ffff86d1787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff86d1787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff86d1787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffff86d1787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffff86d1787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffff86d187e8 llvm::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 0x0000ffff86d187e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffff86d187e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffff86d1cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffff86d1cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffff86d1cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffff86d1cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffff86d1cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffff85171e58 __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 0x0000ffff85171e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffff85171e58 void clang::finalize>, 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 0x0000ffff85171e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffff86837ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffff867efc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffff867efc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffff867efc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffff8687610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaae56d59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaae56d94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaae56daac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaae56d1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffff7dde098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffff7dde0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaae56d20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cfref_PR2519.c.script: line 1: 1824119 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount,alpha.core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cfref_PR2519.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/cfref_rdar6080742.c (538 of 18953) ******************** TEST 'Clang :: Analysis/cfref_rdar6080742.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cfref_rdar6080742.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cfref_rdar6080742.c 1. parser at end of file 2. While analyzing stack: #0 Calling main 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cfref_rdar6080742.c:48:3: Error evaluating statement #0 0x0000ffff9925acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff99259100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9925b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa2196800 (linux-vdso.so.1+0x800) #4 0x0000ffffa115cd64 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa115cd64 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa115cd64 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa115cd64 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffffa115cd64 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffffa115cd64 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffffa11080bc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffffa11080bc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffffa11080bc clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffffa111ce94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffffa111ce94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffffa111ce94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffffa111ce94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffffa111ce94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffffa111ce94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffffa111ce94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffffa111ce94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffffa111ce94 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffffa111d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffa111d310 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffffa111d5dc clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffffa111d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffffa111d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffffa111d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffffa111d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffffa111d764 clang::ento::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 0x0000ffffa13e787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffffa13e787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffffa13e787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffffa13e787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffffa13e787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffffa13e87e8 llvm::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 0x0000ffffa13e87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffffa13e87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffffa13ecde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffffa13ecde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffffa13ecde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffffa13ecde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffffa13ecde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffff9f841e58 __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 0x0000ffff9f841e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffff9f841e58 void clang::finalize>, 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 0x0000ffff9f841e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffffa0f07ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffffa0ebfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffffa0ebfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffffa0ebfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffffa0f4610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaacb1159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaacb1194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaacb11aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaacb111fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffff984b098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffff984b0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaacb1120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cfref_rdar6080742.c.script: line 1: 1824131 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cfref_rdar6080742.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/class-object-state-dump.m (539 of 18953) ******************** TEST 'Clang :: Analysis/class-object-state-dump.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/class-object-state-dump.m 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/class-object-state-dump.m -- Exit Code: 1 Command Output (stderr): -- /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/class-object-state-dump.m:30:12: error: CHECK: expected string not found in input // CHECK: "class_object_types": [ ^ :1:1: note: scanning from here PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. ^ :3:397: note: possible intended match here 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/class-object-state-dump.m ^ Input file: Check file: /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/class-object-state-dump.m -dump-input=help explains the following input dump. Input was: <<<<<< 1: PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. check:30'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found 2: Stack dump: check:30'0 ~~~~~~~~~~~~ 3: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/class-object-state-dump.m check:30'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ check:30'1 ? possible intended match 4: 1. parser at end of file check:30'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5: #0 0x0000ffff8070acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) check:30'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6: #1 0x0000ffff80709100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) check:30'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7: #2 0x0000ffff8070b388 (/usr/lib64/libLLVM-17.so+0x9bb388) check:30'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 8: #3 0x0000ffff89644800 (linux-vdso.so.1+0x800) check:30'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0 FAIL: Clang :: Analysis/comparison-implicit-casts.cpp (540 of 18953) ******************** TEST 'Clang :: Analysis/comparison-implicit-casts.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.cstring,debug.ExprInspection -triple i386-apple-darwin9 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/comparison-implicit-casts.cpp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.cstring,debug.ExprInspection -triple x86_64-apple-darwin9 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/comparison-implicit-casts.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.cstring,debug.ExprInspection -triple i386-apple-darwin9 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/comparison-implicit-casts.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling PR12206_strlen(const char *) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/comparison-implicit-casts.cpp:87:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/comparison-implicit-casts.cpp:87:7: Error evaluating statement #0 0x0000ffffa174acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa1749100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa174b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffaa68e800 (linux-vdso.so.1+0x800) #4 0x0000ffffa99a3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa99a3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa99a3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa99a3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa99a3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa99a3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa99a3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa99a3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa9650c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa9650c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa9650c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa9650c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa9651ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa9651ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa9651ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa9651ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa9664770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa9664770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa9664770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa9665cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa9665cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa9665cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa9665190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa9665190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa9665190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa96717d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa96717d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa96717d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa967b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa967b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa967b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa95df6d8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa95df6d8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa95df6d8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa95df6d8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffa9ad50e8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa9ad50e8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa9ad50e8 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffa9ad50e8 (anonymous namespace)::CStringChecker::assumeZero(clang::ento::CheckerContext&, llvm::IntrusiveRefCntPtr, clang::ento::SVal, clang::QualType) (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:346:0 #43 0x0000ffffa9ad51a8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #44 0x0000ffffa9ad51a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #45 0x0000ffffa9ad51a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x0000ffffa9ad51a8 (anonymous namespace)::CStringChecker::checkNonNull(clang::ento::CheckerContext&, llvm::IntrusiveRefCntPtr, (anonymous namespace)::AnyArgExpr, clang::ento::SVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:358:0 #47 0x0000ffffa96a2688 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #48 0x0000ffffa96a2688 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #49 0x0000ffffa96a2688 (anonymous namespace)::CStringChecker::evalstrLengthCommon(clang::ento::CheckerContext&, clang::CallExpr const*, bool) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:1543:45 #50 0x0000ffffa96aea10 clang::ento::CheckerContext::isDifferent() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h:76:31 #51 0x0000ffffa96aea10 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:2515:23 #52 0x0000ffffa96aea10 bool clang::ento::eval::Call::_evalCall<(anonymous namespace)::CStringChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:478:48 #53 0x0000ffffa95c9f0c 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 0x0000ffffa962981c llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #55 0x0000ffffa962981c llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #56 0x0000ffffa962981c clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #57 0x0000ffffa962981c clang::ento::ExprEngine::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 0x0000ffffa962a144 clang::ento::ExprEngine::VisitCallExpr(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 0x0000ffffa960bea0 clang::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 0x0000ffffa960bea0 clang::ento::ExprEngine::Visit(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 0x0000ffffa960cf08 clang::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 0x0000ffffa960d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffa960d41c clang::ento::CoreEngine::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 0x0000ffffa960d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #65 0x0000ffffa960d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #66 0x0000ffffa960d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #67 0x0000ffffa960d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #68 0x0000ffffa960d764 clang::ento::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 0x0000ffffa98d787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #70 0x0000ffffa98d787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #71 0x0000ffffa98d787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #72 0x0000ffffa98d787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #73 0x0000ffffa98d787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #74 0x0000ffffa98d87e8 llvm::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 0x0000ffffa98d87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #76 0x0000ffffa98d87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #77 0x0000ffffa98dcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #78 0x0000ffffa98dcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #79 0x0000ffffa98dcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #80 0x0000ffffa98dcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #81 0x0000ffffa98dcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #82 0x0000ffffa7d31e58 __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 0x0000ffffa7d31e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #84 0x0000ffffa7d31e58 void clang::finalize>, 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 0x0000ffffa7d31e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #86 0x0000ffffa93f7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #87 0x0000ffffa93afc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #88 0x0000ffffa93afc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #89 0x0000ffffa93afc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #90 0x0000ffffa943610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #91 0x0000aaaac3de59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #92 0x0000aaaac3de94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #93 0x0000aaaac3deaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #94 0x0000aaaac3de1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #95 0x0000ffffa09a098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #96 0x0000ffffa09a0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #97 0x0000aaaac3de20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/comparison-implicit-casts.cpp.script: line 2: 1824163 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.cstring,debug.ExprInspection -triple i386-apple-darwin9 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/comparison-implicit-casts.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/complex.c (541 of 18953) ******************** TEST 'Clang :: Analysis/complex.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/complex.c -Wno-unreachable-code -ffreestanding -analyzer-checker=core -analyzer-checker=debug.ExprInspection -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/complex.c -Wno-unreachable-code -ffreestanding -analyzer-checker=core -analyzer-checker=debug.ExprInspection 1. parser at end of file 2. While analyzing stack: #0 Calling f1 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/complex.c:17:27: Error evaluating statement #0 0x0000ffff826dacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff826d9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff826db388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8b61d800 (linux-vdso.so.1+0x800) #4 0x0000ffff8a5dcd64 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8a5dcd64 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8a5dcd64 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8a5dcd64 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffff8a5dcd64 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffff8a5dcd64 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffff8a5880bc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffff8a5880bc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffff8a5880bc clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffff8a59ce94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffff8a59ce94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffff8a59ce94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffff8a59ce94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffff8a59ce94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffff8a59ce94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffff8a59ce94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffff8a59ce94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffff8a59ce94 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffff8a59d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8a59d310 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffff8a59d5dc clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffff8a59d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffff8a59d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffff8a59d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffff8a59d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffff8a59d764 clang::ento::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 0x0000ffff8a86787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff8a86787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff8a86787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffff8a86787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffff8a86787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffff8a8687e8 llvm::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 0x0000ffff8a8687e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffff8a8687e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffff8a86cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffff8a86cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffff8a86cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffff8a86cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffff8a86cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffff88cc1e58 __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 0x0000ffff88cc1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffff88cc1e58 void clang::finalize>, 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 0x0000ffff88cc1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffff8a387ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffff8a33fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffff8a33fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffff8a33fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffff8a3c610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaab98359f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaab98394b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaab983aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaab9831fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffff8193098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffff81930a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaab98320b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/complex.c.script: line 1: 1824190 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/complex.c -Wno-unreachable-code -ffreestanding -analyzer-checker=core -analyzer-checker=debug.ExprInspection -- ******************** Testing: 0 FAIL: Clang :: Analysis/conditional-path-notes.c (542 of 18953) ******************** TEST 'Clang :: Analysis/conditional-path-notes.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/conditional-path-notes.c -analyzer-checker=core.NullDereference -analyzer-output=text -verify : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/conditional-path-notes.c -analyzer-checker=core.NullDereference -analyzer-output=plist -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/conditional-path-notes.c.tmp : 'RUN: at line 3'; grep -Ev '^[[:space:]]*.* version .*[[:space:]]*$|^[[:space:]]*/.*[[:space:]]*$|^[[:space:]]*.:.*[[:space:]]*$' parser at end of file 2. While analyzing stack: #0 Calling testNonDiagnosableBranchArithmetic 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/conditional-path-notes.c:79:7: Error evaluating branch #0 0x0000ffff9793acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff97939100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9793b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa087c800 (linux-vdso.so.1+0x800) #4 0x0000ffff9f841074 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff9f841074 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff9f841074 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff9f841074 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff9f841074 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff9f841074 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff9f841074 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff9f841074 markDisequal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2507:0 #12 0x0000ffff9f841074 markDisequal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2494:0 #13 0x0000ffff9f841074 markDisequal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2487:0 #14 0x0000ffff9f841074 trackDisequality /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2155:0 #15 0x0000ffff9f841074 assignSymSymExprToRangeSet /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2241:0 #16 0x0000ffff9f841074 assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:0 #17 0x0000ffff9f841074 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:0 #18 0x0000ffff9f841074 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:0 #19 0x0000ffff9f841074 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:0 #20 0x0000ffff9f841074 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #21 0x0000ffff9f841074 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #22 0x0000ffff9f841940 llvm::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 0x0000ffff9f841940 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #24 0x0000ffff9f841940 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x0000ffff9f841940 (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:0 #26 0x0000ffff9f85591c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff9f85591c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff9f85591c 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 0x0000ffff9f855190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffff9f855190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffff9f855190 clang::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 0x0000ffff9f8617d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #33 0x0000ffff9f8617d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #34 0x0000ffff9f8617d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #35 0x0000ffff9f86b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #36 0x0000ffff9f86b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #37 0x0000ffff9f86b074 clang::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 0x0000ffff9f7cf6d8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #39 0x0000ffff9f7cf6d8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #40 0x0000ffff9f7cf6d8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #41 0x0000ffff9f7cf6d8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #42 0x0000ffff9fcbd3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #43 0x0000ffff9fcbd3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #44 0x0000ffff9fcbd3d4 clang::ento::ProgramState::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 0x0000ffff9f7e58c8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #46 0x0000ffff9f7e58c8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #47 0x0000ffff9f7e58c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #48 0x0000ffff9f7e58c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #49 0x0000ffff9f7e58c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #50 0x0000ffff9f7e58c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #51 0x0000ffff9f7e58c8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #52 0x0000ffff9f7e58c8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #53 0x0000ffff9f7e58c8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #54 0x0000ffff9f7e58c8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #55 0x0000ffff9f7e5e30 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #56 0x0000ffff9f7fd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #57 0x0000ffff9f7fd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #58 0x0000ffff9f7fd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #59 0x0000ffff9f7fd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #60 0x0000ffff9f7fd764 clang::ento::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 0x0000ffff9fac787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #62 0x0000ffff9fac787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #63 0x0000ffff9fac787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #64 0x0000ffff9fac787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #65 0x0000ffff9fac787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #66 0x0000ffff9fac87e8 llvm::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 0x0000ffff9fac87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #68 0x0000ffff9fac87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #69 0x0000ffff9faccde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #70 0x0000ffff9faccde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #71 0x0000ffff9faccde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #72 0x0000ffff9faccde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #73 0x0000ffff9faccde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #74 0x0000ffff9df21e58 __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 0x0000ffff9df21e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #76 0x0000ffff9df21e58 void clang::finalize>, 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 0x0000ffff9df21e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #78 0x0000ffff9f5e7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #79 0x0000ffff9f59fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #80 0x0000ffff9f59fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #81 0x0000ffff9f59fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #82 0x0000ffff9f62610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #83 0x0000aaaaaee759f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #84 0x0000aaaaaee794b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #85 0x0000aaaaaee7aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #86 0x0000aaaaaee71fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #87 0x0000ffff96b9098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #88 0x0000ffff96b90a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #89 0x0000aaaaaee720b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/conditional-path-notes.c.script: line 3: 1824213 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-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/const-method-call.cpp (543 of 18953) ******************** TEST 'Clang :: Analysis/const-method-call.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/const-method-call.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/const-method-call.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling Outer2::Outer2() at line 267 #1 Calling checkThatConstMethodCallDoesInvalidateObjectForCircularReferences() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/const-method-call.cpp:260:8: Error evaluating statement #0 0x0000ffff9e91acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff9e919100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9e91b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa7853800 (linux-vdso.so.1+0x800) #4 0x0000ffffa67c7db8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffa67c7db8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffa67c7db8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffa67c7db8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffa67c7db8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffa67c7db8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffa67c7db8 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffa67c7db8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1059:61 #12 0x0000ffffa67dce94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffffa67dce94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffffa67dce94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffffa67dce94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffffa67dce94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffffa67dce94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffffa67dce94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffffa67dce94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffffa67dce94 clang::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 0x0000ffffa67dd1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffa67dd310 clang::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 0x0000ffffa67dd5dc clang::ento::CoreEngine::dispatchWorkItem(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 0x0000ffffa67dd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x0000ffffa67dd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x0000ffffa67dd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #27 0x0000ffffa67dd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #28 0x0000ffffa67dd764 clang::ento::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 0x0000ffffa6aa787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffffa6aa787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffffa6aa787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #32 0x0000ffffa6aa787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #33 0x0000ffffa6aa787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #34 0x0000ffffa6aa87e8 llvm::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 0x0000ffffa6aa87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x0000ffffa6aa87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #37 0x0000ffffa6aacde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x0000ffffa6aacde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x0000ffffa6aacde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x0000ffffa6aacde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x0000ffffa6aacde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x0000ffffa4f01e58 __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 0x0000ffffa4f01e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x0000ffffa4f01e58 void clang::finalize>, 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 0x0000ffffa4f01e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x0000ffffa65c7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #47 0x0000ffffa657fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #48 0x0000ffffa657fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #49 0x0000ffffa657fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #50 0x0000ffffa660610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #51 0x0000aaaab35b59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x0000aaaab35b94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x0000aaaab35baac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x0000aaaab35b1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x0000ffff9db7098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #56 0x0000ffff9db70a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #57 0x0000aaaab35b20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/const-method-call.cpp.script: line 1: 1824217 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/const-method-call.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/conditional-operator.cpp (545 of 18953) ******************** TEST 'Clang :: Analysis/conditional-operator.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/conditional-operator.cpp -analyzer-output=text -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/conditional-operator.cpp -analyzer-output=text -verify 1. parser at end of file 2. While analyzing stack: #0 Calling OperatorEvaluationTest(int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/conditional-operator.cpp:12:10: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/conditional-operator.cpp:12:10: Error evaluating statement #0 0x0000ffffb190acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb1909100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb190b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffba847800 (linux-vdso.so.1+0x800) #4 0x0000ffffb9b63688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb9b63688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb9b63688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb9b63688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb9b63688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb9b63688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb9b63688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb9b63688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb9810c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb9810c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb9810c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb9810c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb9811ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb9811ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb9811ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb9811ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb9824770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb9824770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb9824770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb9825cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb9825cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb9825cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb9825190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb9825190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb9825190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb98317d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb98317d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb98317d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb983b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb983b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb983b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb979f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb979f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb979f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb979f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb9c8d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb9c8d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb9c8d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffb98beee0 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffb98beee0 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffb98beee0 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:61 #45 0x0000ffffb98beee0 void clang::ento::check::Location::_checkLocation<(anonymous namespace)::DereferenceChecker>(void*, clang::ento::SVal const&, bool, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:199:46 #46 0x0000ffffb97899b8 void expandGraphWithCheckers<(anonymous namespace)::CheckLocationContext>((anonymous namespace)::CheckLocationContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #47 0x0000ffffb97b2270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:60 #48 0x0000ffffb97b2270 clang::ento::ExprEngine::evalLocation(clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::Stmt const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3710:19 #49 0x0000ffffb97b24ac llvm::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 0x0000ffffb97b24ac llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #51 0x0000ffffb97b24ac llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x0000ffffb97b24ac clang::ento::ExprEngine::evalLoad(clang::ento::ExplodedNodeSet&, clang::Expr const*, clang::Expr const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, clang::ProgramPointTag const*, clang::QualType) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3653:15 #53 0x0000ffffb97c2170 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #54 0x0000ffffb97c2170 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #55 0x0000ffffb97c2170 clang::ento::ExprEngine::VisitCast(clang::CastExpr const*, clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:292:0 #56 0x0000ffffb97cb884 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #57 0x0000ffffb97cb884 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #58 0x0000ffffb97cb884 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2258:0 #59 0x0000ffffb97ccf08 clang::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 0x0000ffffb97cd1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffb97cd41c clang::ento::CoreEngine::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 0x0000ffffb97cd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #63 0x0000ffffb97cd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #64 0x0000ffffb97cd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #65 0x0000ffffb97cd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #66 0x0000ffffb97cd764 clang::ento::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 0x0000ffffb9a9787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #68 0x0000ffffb9a9787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #69 0x0000ffffb9a9787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #70 0x0000ffffb9a9787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #71 0x0000ffffb9a9787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #72 0x0000ffffb9a987e8 llvm::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 0x0000ffffb9a987e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #74 0x0000ffffb9a987e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #75 0x0000ffffb9a9cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #76 0x0000ffffb9a9cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #77 0x0000ffffb9a9cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #78 0x0000ffffb9a9cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #79 0x0000ffffb9a9cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #80 0x0000ffffb7ef1e58 __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 0x0000ffffb7ef1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #82 0x0000ffffb7ef1e58 void clang::finalize>, 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 0x0000ffffb7ef1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #84 0x0000ffffb95b7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #85 0x0000ffffb956fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #86 0x0000ffffb956fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #87 0x0000ffffb956fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #88 0x0000ffffb95f610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #89 0x0000aaaaae2b59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #90 0x0000aaaaae2b94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #91 0x0000aaaaae2baac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #92 0x0000aaaaae2b1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #93 0x0000ffffb0b6098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #94 0x0000ffffb0b60a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #95 0x0000aaaaae2b20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/conditional-operator.cpp.script: line 1: 1824211 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/conditional-operator.cpp -analyzer-output=text -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/constant-folding-crash.cpp (546 of 18953) ******************** TEST 'Clang :: Analysis/constant-folding-crash.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/constant-folding-crash.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/constant-folding-crash.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling bbi_77010::crash_NE(int, int, int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/constant-folding-crash.cpp:8:9: Error evaluating statement #0 0x0000ffffaec9acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffaec99100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffaec9b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb7bd2800 (linux-vdso.so.1+0x800) #4 0x0000ffffb6b9cd64 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb6b9cd64 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb6b9cd64 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb6b9cd64 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffffb6b9cd64 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffffb6b9cd64 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffffb6b480bc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffffb6b480bc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffffb6b480bc clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffffb6b5ce94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffffb6b5ce94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffffb6b5ce94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffffb6b5ce94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffffb6b5ce94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffffb6b5ce94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffffb6b5ce94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffffb6b5ce94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffffb6b5ce94 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffffb6b5d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffb6b5d310 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffffb6b5d5dc clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffffb6b5d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffffb6b5d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffffb6b5d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffffb6b5d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffffb6b5d764 clang::ento::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 0x0000ffffb6e2787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffffb6e2787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffffb6e2787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffffb6e2787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffffb6e2787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffffb6e287e8 llvm::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 0x0000ffffb6e287e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffffb6e287e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffffb6e2cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffffb6e2cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffffb6e2cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffffb6e2cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffffb6e2cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffffb5281e58 __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 0x0000ffffb5281e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffffb5281e58 void clang::finalize>, 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 0x0000ffffb5281e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffffb6947ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffffb68ffc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffffb68ffc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffffb68ffc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffffb698610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaaac7a59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaaac7a94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaaac7aaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaaac7a1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffffadef098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffffadef0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaaac7a20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/constant-folding-crash.cpp.script: line 1: 1824236 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/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 (547 of 18953) ******************** TEST 'Clang :: Analysis/constant-folding.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/constant-folding.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/constant-folding.c 1. parser at end of file 2. While analyzing stack: #0 Calling testDisequalityRules 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/constant-folding.c:316:7: Error evaluating statement #0 0x0000ffff92e0acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff92e09100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff92e0b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9bd45800 (linux-vdso.so.1+0x800) #4 0x0000ffff9ad0cd64 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9ad0cd64 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9ad0cd64 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9ad0cd64 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffff9ad0cd64 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffff9ad0cd64 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffff9acb80bc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffff9acb80bc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffff9acb80bc clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffff9accce94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffff9accce94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffff9accce94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffff9accce94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffff9accce94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffff9accce94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffff9accce94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffff9accce94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffff9accce94 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffff9accd1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff9accd310 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffff9accd5dc clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffff9accd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffff9accd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffff9accd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffff9accd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffff9accd764 clang::ento::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 0x0000ffff9af9787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff9af9787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff9af9787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffff9af9787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffff9af9787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffff9af987e8 llvm::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 0x0000ffff9af987e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffff9af987e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffff9af9cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffff9af9cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffff9af9cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffff9af9cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffff9af9cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffff993f1e58 __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 0x0000ffff993f1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffff993f1e58 void clang::finalize>, 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 0x0000ffff993f1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffff9aab7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffff9aa6fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffff9aa6fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffff9aa6fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffff9aaf610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaad54659f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaad54694b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaad546aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaad5461fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffff9206098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffff92060a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaad54620b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/constant-folding.c.script: line 1: 1824238 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/constant-folding.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/constraint-assignor.c (548 of 18953) ******************** TEST 'Clang :: Analysis/constraint-assignor.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/constraint-assignor.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/constraint-assignor.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -verify 1. parser at end of file 2. While analyzing stack: #0 Calling remainder_with_adjustment_of_composit_lhs 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/constraint-assignor.c:79:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/constraint-assignor.c:79:7: Error evaluating statement #0 0x0000ffffae11acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffae119100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffae11b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb705e800 (linux-vdso.so.1+0x800) #4 0x0000ffffb6373688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb6373688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb6373688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb6373688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb6373688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb6373688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb6373688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb6373688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb6020c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb6020c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb6020c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb6020c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb6021ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb6021ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb6021ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb6021ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb6034770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb6034770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb6034770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb6035cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb6035cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb6035cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb6035190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb6035190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb6035190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb60417d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb60417d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb60417d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb604b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb604b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb604b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb5faf6d8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb5faf6d8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb5faf6d8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb5faf6d8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffb649d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb649d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb649d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffb5fc2a0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffb5fc2a0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffb5fc2a0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffffb5fdccac llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffffb5fdccac llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffffb5fdccac llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffffb5fdccac clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffffb5fdccac clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffffb5fdcf08 clang::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 0x0000ffffb5fdd1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffb5fdd41c clang::ento::CoreEngine::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 0x0000ffffb5fdd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffb5fdd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffb5fdd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffb5fdd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffb5fdd764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffb62a787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffb62a787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffb62a787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffb62a787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffb62a787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffb62a87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffb62a87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffb62a87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffb62acde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffb62acde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffb62acde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffb62acde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffb62acde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffb4701e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffb4701e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffb4701e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffb4701e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffb5dc7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffb5d7fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffb5d7fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffb5d7fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffb5e0610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaae9c959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaae9c994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaae9c9aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaae9c91fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffad37098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffad370a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaae9c920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/constraint-assignor.c.script: line 1: 1824250 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/constraint-assignor.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/constraint_manager_conditions.cpp (549 of 18953) ******************** TEST 'Clang :: Analysis/constraint_manager_conditions.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/constraint_manager_conditions.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/constraint_manager_conditions.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling cmp_op_table_unknownX2(int, int, int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/constraint_manager_conditions.cpp:217:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/constraint_manager_conditions.cpp:217:7: Error evaluating statement #0 0x0000ffffb5a6acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb5a69100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb5a6b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffbe9a4800 (linux-vdso.so.1+0x800) #4 0x0000ffffbdcc3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffbdcc3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffbdcc3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffbdcc3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffbdcc3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffbdcc3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffbdcc3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffbdcc3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffbd970c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffbd970c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffbd970c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffbd970c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffbd971940 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffbd971940 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffbd971940 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffbd971940 (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:0 #20 0x0000ffffbd98591c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffbd98591c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffbd98591c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffffbd985190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffbd985190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffbd985190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #26 0x0000ffffbd9917d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #27 0x0000ffffbd9917d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #28 0x0000ffffbd9917d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #29 0x0000ffffbd99b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #30 0x0000ffffbd99b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x0000ffffbd99b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #32 0x0000ffffbd8ff6d8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #33 0x0000ffffbd8ff6d8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #34 0x0000ffffbd8ff6d8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #35 0x0000ffffbd8ff6d8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #36 0x0000ffffbdded3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffffbdded3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffffbdded3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #39 0x0000ffffbd912a0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #40 0x0000ffffbd912a0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #41 0x0000ffffbd912a0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #42 0x0000ffffbd92ccac llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #43 0x0000ffffbd92ccac llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #44 0x0000ffffbd92ccac llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #45 0x0000ffffbd92ccac clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #46 0x0000ffffbd92ccac clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #47 0x0000ffffbd92cf08 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #48 0x0000ffffbd92d1f0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #49 0x0000ffffbd92d41c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #50 0x0000ffffbd92d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #51 0x0000ffffbd92d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #52 0x0000ffffbd92d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #53 0x0000ffffbd92d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #54 0x0000ffffbd92d764 clang::ento::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 0x0000ffffbdbf787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #56 0x0000ffffbdbf787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #57 0x0000ffffbdbf787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #58 0x0000ffffbdbf787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #59 0x0000ffffbdbf787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #60 0x0000ffffbdbf87e8 llvm::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 0x0000ffffbdbf87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x0000ffffbdbf87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #63 0x0000ffffbdbfcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x0000ffffbdbfcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x0000ffffbdbfcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x0000ffffbdbfcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x0000ffffbdbfcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x0000ffffbc051e58 __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 0x0000ffffbc051e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x0000ffffbc051e58 void clang::finalize>, 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 0x0000ffffbc051e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x0000ffffbd717ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #73 0x0000ffffbd6cfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #74 0x0000ffffbd6cfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #75 0x0000ffffbd6cfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #76 0x0000ffffbd75610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #77 0x0000aaaad45a59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x0000aaaad45a94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x0000aaaad45aaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x0000aaaad45a1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x0000ffffb4cc098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #82 0x0000ffffb4cc0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #83 0x0000aaaad45a20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/constraint_manager_conditions.cpp.script: line 1: 1824256 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/constraint_manager_conditions.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/constraint_manager_negate.c (550 of 18953) ******************** TEST 'Clang :: Analysis/constraint_manager_negate.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.ExprInspection,core.builtin -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/constraint_manager_negate.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.ExprInspection,core.builtin -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/constraint_manager_negate.c 1. parser at end of file 2. While analyzing stack: #0 Calling negate_unsigned_one 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/constraint_manager_negate.c:110:3 : Error evaluating branch #0 0x0000ffff7fdaacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7fda9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7fdab388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff88ce4800 (linux-vdso.so.1+0x800) #4 0x0000ffff88003688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff88003688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff88003688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff88003688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff88003688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff88003688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff88003688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff88003688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff87cb0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff87cb0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff87cb0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff87cb0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff87cb1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff87cb1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff87cb1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff87cb1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff87cc4770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff87cc4770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff87cc4770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff87cc5cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff87cc5cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff87cc5cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff87cc5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff87cc5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff87cc5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff87cd17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff87cd17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff87cd17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff87cdb074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff87cdb074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff87cdb074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff87c3f6d8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff87c3f6d8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff87c3f6d8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff87c3f6d8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff8812d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8812d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8812d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff87c558c8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffff87c558c8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffff87c558c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffff87c558c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffff87c558c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffff87c558c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffff87c558c8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffff87c558c8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffff87c558c8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffff87c558c8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffff87c55e30 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffff87c6d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff87c6d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff87c6d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff87c6d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff87c6d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff87f3787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff87f3787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff87f3787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff87f3787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff87f3787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff87f387e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff87f387e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff87f387e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff87f3cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff87f3cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff87f3cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff87f3cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff87f3cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff86391e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff86391e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff86391e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff86391e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff87a57ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff87a0fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff87a0fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff87a0fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff87a9610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaac69659f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaac69694b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaac696aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaac6961fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff7f00098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff7f000a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaac69620b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/constraint_manager_negate.c.script: line 1: 1824266 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.ExprInspection,core.builtin -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/constraint_manager_negate.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/conversion.c (551 of 18953) ******************** TEST 'Clang :: Analysis/conversion.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/conversion.c -Wno-conversion -Wno-tautological-constant-compare -analyzer-checker=core,apiModeling,alpha.unix.StdCLibraryFunctions,alpha.core.Conversion -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/conversion.c -Wno-conversion -Wno-tautological-constant-compare -analyzer-checker=core,apiModeling,alpha.unix.StdCLibraryFunctions,alpha.core.Conversion -verify 1. parser at end of file 2. While analyzing stack: #0 Calling floating_point 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/conversion.c:235:14: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/conversion.c:235:14: Error evaluating statement #0 0x0000ffff87ddacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff87dd9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff87ddb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff90d1d800 (linux-vdso.so.1+0x800) #4 0x0000ffff8fcba900 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffff8fcba900 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff8fcba900 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff8fcba900 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff8fcba900 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff8fcba900 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff8fcba900 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x0000ffff8fcba900 getConstraint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1055:37 #12 0x0000ffff8fcba900 (anonymous namespace)::getConstraint(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1060:23 #13 0x0000ffff8fcba9dc (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 0x0000ffff8fcce654 clang::ento::ProgramState::getSVal(clang::ento::Loc, clang::QualType) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:273:0 #15 0x0000ffff8fc82664 clang::ento::ExprEngine::evalLoad(clang::ento::ExplodedNodeSet&, clang::Expr const*, clang::Expr const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, clang::ProgramPointTag const*, clang::QualType) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3670:25 #16 0x0000ffff8fc92170 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #17 0x0000ffff8fc92170 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #18 0x0000ffff8fc92170 clang::ento::ExprEngine::VisitCast(clang::CastExpr const*, clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:292:0 #19 0x0000ffff8fc9b884 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #20 0x0000ffff8fc9b884 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #21 0x0000ffff8fc9b884 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2258:0 #22 0x0000ffff8fc9cf08 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #23 0x0000ffff8fc9d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8fc9d41c clang::ento::CoreEngine::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 0x0000ffff8fc9d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffff8fc9d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffff8fc9d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffff8fc9d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffff8fc9d764 clang::ento::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 0x0000ffff8ff6787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff8ff6787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff8ff6787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffff8ff6787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffff8ff6787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffff8ff687e8 llvm::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 0x0000ffff8ff687e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffff8ff687e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffff8ff6cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffff8ff6cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffff8ff6cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffff8ff6cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffff8ff6cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffff8e3c1e58 __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 0x0000ffff8e3c1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffff8e3c1e58 void clang::finalize>, 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 0x0000ffff8e3c1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffff8fa87ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffff8fa3fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffff8fa3fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffff8fa3fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffff8fac610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaacb3a59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaacb3a94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaacb3aaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaacb3a1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffff8703098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffff87030a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaacb3a20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/conversion.c.script: line 1: 1824307 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/conversion.c -Wno-conversion -Wno-tautological-constant-compare -analyzer-checker=core,apiModeling,alpha.unix.StdCLibraryFunctions,alpha.core.Conversion -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/conversion-tracking-notes.c (552 of 18953) ******************** TEST 'Clang :: Analysis/conversion-tracking-notes.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/conversion-tracking-notes.c -Wno-conversion -Wno-tautological-constant-compare -analyzer-checker=core,apiModeling,alpha.core.Conversion -analyzer-output=text -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/conversion-tracking-notes.c -Wno-conversion -Wno-tautological-constant-compare -analyzer-checker=core,apiModeling,alpha.core.Conversion -analyzer-output=text -verify 1. parser at end of file 2. While analyzing stack: #0 Calling track_relational #0 0x0000ffffb272acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb2729100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb272b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffbb661800 (linux-vdso.so.1+0x800) #4 0x0000ffffba62cd64 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffba62cd64 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffba62cd64 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffba62cd64 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffffba62cd64 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffffba62cd64 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffffba5d80bc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffffba5d80bc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffffba5d80bc clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffffba603a8c llvm::SaveAndRestore::~SaveAndRestore() /usr/include/llvm/Support/SaveAndRestore.h:29:25 #14 0x0000ffffba603a8c clang::ento::ExprEngine::removeDeadOnEndOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:187:1 #15 0x0000ffffba5dd0e8 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:0 #16 0x0000ffffba5dd0e8 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:0 #17 0x0000ffffba5dd0e8 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:0 #18 0x0000ffffba5dd0e8 clang::ento::ExprEngine::processEndOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ReturnStmt const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2951:0 #19 0x0000ffffba5dd578 clang::ento::CoreEngine::HandleBlockEdge(clang::BlockEdge const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:288:0 #20 0x0000ffffba5ed5a4 clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:188:0 #21 0x0000ffffba5ed764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #22 0x0000ffffba5ed764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #23 0x0000ffffba5ed764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #24 0x0000ffffba5ed764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #25 0x0000ffffba5ed764 clang::ento::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 0x0000ffffba8b787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffba8b787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffba8b787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #29 0x0000ffffba8b787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #30 0x0000ffffba8b787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #31 0x0000ffffba8b87e8 llvm::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 0x0000ffffba8b87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #33 0x0000ffffba8b87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #34 0x0000ffffba8bcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #35 0x0000ffffba8bcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #36 0x0000ffffba8bcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #37 0x0000ffffba8bcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #38 0x0000ffffba8bcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #39 0x0000ffffb8d11e58 __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 0x0000ffffb8d11e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #41 0x0000ffffb8d11e58 void clang::finalize>, 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 0x0000ffffb8d11e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #43 0x0000ffffba3d7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #44 0x0000ffffba38fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #45 0x0000ffffba38fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #46 0x0000ffffba38fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #47 0x0000ffffba41610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #48 0x0000aaaab30259f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #49 0x0000aaaab30294b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #50 0x0000aaaab302aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #51 0x0000aaaab3021fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #52 0x0000ffffb198098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #53 0x0000ffffb1980a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #54 0x0000aaaab30220b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/conversion-tracking-notes.c.script: line 1: 1824300 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-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 (553 of 18953) ******************** TEST 'Clang :: Analysis/constraint_manager_negate_difference.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.ExprInspection,core.builtin -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/constraint_manager_negate_difference.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.ExprInspection,core.builtin -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/constraint_manager_negate_difference.c 1. parser at end of file 2. While analyzing stack: #0 Calling negated_unsigned_range 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/constraint_manager_negate_difference.c:150:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/constraint_manager_negate_difference.c:150:3: Error evaluating statement #0 0x0000ffff9d96acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff9d969100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9d96b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa68a8800 (linux-vdso.so.1+0x800) #4 0x0000ffffa5871074 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffa5871074 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffa5871074 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffa5871074 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffa5871074 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffa5871074 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffa5871074 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffa5871074 markDisequal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2507:0 #12 0x0000ffffa5871074 markDisequal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2494:0 #13 0x0000ffffa5871074 markDisequal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2487:0 #14 0x0000ffffa5871074 trackDisequality /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2155:0 #15 0x0000ffffa5871074 assignSymSymExprToRangeSet /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2241:0 #16 0x0000ffffa5871074 assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:0 #17 0x0000ffffa5871074 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:0 #18 0x0000ffffa5871074 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:0 #19 0x0000ffffa5871074 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:0 #20 0x0000ffffa5871074 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #21 0x0000ffffa5871074 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #22 0x0000ffffa5871940 llvm::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 0x0000ffffa5871940 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #24 0x0000ffffa5871940 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x0000ffffa5871940 (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:0 #26 0x0000ffffa5884770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa5884770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa5884770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, 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 0x0000ffffa5885cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffffa5885cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffffa5885cc0 clang::ento::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 0x0000ffffa5885190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #33 0x0000ffffa5885190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #34 0x0000ffffa5885190 clang::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 0x0000ffffa58917d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #36 0x0000ffffa58917d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #37 0x0000ffffa58917d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #38 0x0000ffffa589b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #39 0x0000ffffa589b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #40 0x0000ffffa589b074 clang::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 0x0000ffffa57ff6d8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #42 0x0000ffffa57ff6d8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #43 0x0000ffffa57ff6d8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #44 0x0000ffffa57ff6d8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #45 0x0000ffffa5cf1984 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #46 0x0000ffffa5cf1984 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #47 0x0000ffffa5cf1984 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 0x0000ffffa5cf1984 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 0x0000ffffa590c980 getArgumentValueString /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:135:3 #50 0x0000ffffa590c980 analyzerEval /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:224:12 #51 0x0000ffffa590c980 (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 0x0000ffffa5940120 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:130:0 #53 0x0000ffffa5940120 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 0x0000ffffa57e9f0c 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 0x0000ffffa584981c llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #56 0x0000ffffa584981c llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #57 0x0000ffffa584981c clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #58 0x0000ffffa584981c clang::ento::ExprEngine::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 0x0000ffffa584a144 clang::ento::ExprEngine::VisitCallExpr(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 0x0000ffffa582bea0 clang::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 0x0000ffffa582bea0 clang::ento::ExprEngine::Visit(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 0x0000ffffa582cf08 clang::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 0x0000ffffa582d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffa582d41c clang::ento::CoreEngine::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 0x0000ffffa582d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #66 0x0000ffffa582d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #67 0x0000ffffa582d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #68 0x0000ffffa582d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #69 0x0000ffffa582d764 clang::ento::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 0x0000ffffa5af787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #71 0x0000ffffa5af787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #72 0x0000ffffa5af787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #73 0x0000ffffa5af787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #74 0x0000ffffa5af787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #75 0x0000ffffa5af87e8 llvm::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 0x0000ffffa5af87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #77 0x0000ffffa5af87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #78 0x0000ffffa5afcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #79 0x0000ffffa5afcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #80 0x0000ffffa5afcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #81 0x0000ffffa5afcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #82 0x0000ffffa5afcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #83 0x0000ffffa3f51e58 __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 0x0000ffffa3f51e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #85 0x0000ffffa3f51e58 void clang::finalize>, 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 0x0000ffffa3f51e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #87 0x0000ffffa5617ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #88 0x0000ffffa55cfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #89 0x0000ffffa55cfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #90 0x0000ffffa55cfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #91 0x0000ffffa565610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #92 0x0000aaaab75f59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #93 0x0000aaaab75f94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #94 0x0000aaaab75faac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #95 0x0000aaaab75f1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #96 0x0000ffff9cbc098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #97 0x0000ffff9cbc0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #98 0x0000aaaab75f20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/constraint_manager_negate_difference.c.script: line 1: 1824280 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.ExprInspection,core.builtin -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/constraint_manager_negate_difference.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/container-modeling.cpp (555 of 18953) ******************** TEST 'Clang :: Analysis/container-modeling.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus,debug.DebugIteratorModeling,debug.ExprInspection -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config c++-container-inlining=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/container-modeling.cpp -analyzer-output=text -verify : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus,debug.DebugIteratorModeling,debug.ExprInspection -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config c++-container-inlining=true -DINLINE=1 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/container-modeling.cpp -analyzer-output=text -verify : 'RUN: at line 5'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus,alpha.cplusplus.IteratorModeling,debug.ExprInspection -analyzer-config aggressive-binary-operation-simplification=true /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/container-modeling.cpp 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/container-modeling.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus,debug.DebugIteratorModeling,debug.ExprInspection -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config c++-container-inlining=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/container-modeling.cpp -analyzer-output=text -verify 1. parser at end of file 2. While analyzing stack: #0 Calling print_state(std::vector &) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/container-modeling.cpp:248:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/container-modeling.cpp:248:3: Error evaluating statement #0 0x0000ffff896bacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff896b9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff896bb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff925f8800 (linux-vdso.so.1+0x800) #4 0x0000ffff9159a900 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffff9159a900 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff9159a900 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff9159a900 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff9159a900 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff9159a900 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff9159a900 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x0000ffff9159a900 getConstraint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1055:37 #12 0x0000ffff9159a900 (anonymous namespace)::getConstraint(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1060:23 #13 0x0000ffff9159a9dc (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 0x0000ffff915ee038 getConst /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1238:0 #15 0x0000ffff915ee038 (anonymous namespace)::SimpleSValBuilder::simplifySValOnce(llvm::IntrusiveRefCntPtr, clang::ento::SVal)::Simplifier::getConstOrVisit(clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1246:0 #16 0x0000ffff915ed874 VisitSymIntExpr /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1270:0 #17 0x0000ffff915ed874 clang::ento::SymExprVisitor<(anonymous namespace)::SimpleSValBuilder::simplifySValOnce(llvm::IntrusiveRefCntPtr, clang::ento::SVal)::Simplifier, clang::ento::SVal>::Visit(clang::ento::SymExpr const*) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:0 #18 0x0000ffff919fa8a4 VisitNonLocSymbolVal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1365:0 #19 0x0000ffff919fa8a4 Visit /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.def:67:0 #20 0x0000ffff919fa8a4 (anonymous namespace)::SimpleSValBuilder::simplifySValOnce(llvm::IntrusiveRefCntPtr, clang::ento::SVal) (.constprop.0.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1371:0 #21 0x0000ffff915d5484 simplifyUntilFixpoint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1194:40 #22 0x0000ffff915d5484 (anonymous namespace)::SimpleSValBuilder::simplifySVal(llvm::IntrusiveRefCntPtr, clang::ento::SVal) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1203:31 #23 0x0000ffff915d4a58 clang::ento::simplifyToSVal(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:237:26 #24 0x0000ffff915d4b5c clang::ento::simplify(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:241:38 #25 0x0000ffff915d5b9c clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:26:17 #26 0x0000ffff915d5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff915d5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff915d5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff915e17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff915e17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff915e17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff915eb074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff915eb074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff915eb074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9154f6d8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9154f6d8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9154f6d8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9154f6d8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff9154fbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9154fbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9154fbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff915231c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff915231c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff915231c0 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff916d6504 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #46 0x0000ffff916d6504 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #47 0x0000ffff916d6504 clang::ento::iterator::assumeNoOverflow(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, long) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/Iterator.cpp:291:0 #48 0x0000ffff91652988 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #49 0x0000ffff91652988 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff91652988 createContainerBegin /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp:850:0 #51 0x0000ffff91652988 handleBegin /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp:258:0 #52 0x0000ffff91652988 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp:193:0 #53 0x0000ffff91652988 void clang::ento::check::PostCall::_checkCall<(anonymous namespace)::ContainerModeling>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:183:0 #54 0x0000ffff91539524 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #55 0x0000ffff91539524 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #56 0x0000ffff91539524 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #57 0x0000ffff91539524 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #58 0x0000ffff91539524 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #59 0x0000ffff915998b8 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #60 0x0000ffff915998b8 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #61 0x0000ffff915998b8 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #62 0x0000ffff915998b8 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #63 0x0000ffff915998b8 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #64 0x0000ffff915998b8 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #65 0x0000ffff9159a144 clang::ento::ExprEngine::VisitCallExpr(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 0x0000ffff9157bea0 clang::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 0x0000ffff9157bea0 clang::ento::ExprEngine::Visit(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 0x0000ffff9157cf08 clang::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 0x0000ffff9157d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff9157d41c clang::ento::CoreEngine::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 0x0000ffff9157d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #72 0x0000ffff9157d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #73 0x0000ffff9157d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #74 0x0000ffff9157d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #75 0x0000ffff9157d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #76 0x0000ffff9184787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #77 0x0000ffff9184787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #78 0x0000ffff9184787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #79 0x0000ffff9184787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #80 0x0000ffff9184787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #81 0x0000ffff918487e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #82 0x0000ffff918487e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #83 0x0000ffff918487e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #84 0x0000ffff9184cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #85 0x0000ffff9184cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #86 0x0000ffff9184cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #87 0x0000ffff9184cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #88 0x0000ffff9184cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #89 0x0000ffff8fca1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #90 0x0000ffff8fca1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #91 0x0000ffff8fca1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #92 0x0000ffff8fca1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #93 0x0000ffff91367ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #94 0x0000ffff9131fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #95 0x0000ffff9131fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #96 0x0000ffff9131fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #97 0x0000ffff913a610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #98 0x0000aaaad18759f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #99 0x0000aaaad18794b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #100 0x0000aaaad187aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #101 0x0000aaaad1871fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #102 0x0000ffff8891098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #103 0x0000ffff88910a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #104 0x0000aaaad18720b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/container-modeling.cpp.script: line 3: 1824293 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus,debug.DebugIteratorModeling,debug.ExprInspection -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config c++-container-inlining=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/container-modeling.cpp -analyzer-output=text -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/conversion.cpp (556 of 18953) ******************** TEST 'Clang :: Analysis/conversion.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-conversion -Wno-tautological-constant-compare -analyzer-checker=core,alpha.core.Conversion -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/conversion.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-conversion -Wno-tautological-constant-compare -analyzer-checker=core,alpha.core.Conversion -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/conversion.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling functioncall1(long) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/conversion.cpp:21:5: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/conversion.cpp:21:5: Error evaluating statement #0 0x0000ffffac87acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffac879100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffac87b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb57b8800 (linux-vdso.so.1+0x800) #4 0x0000ffffb4728434 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb4728434 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb4728434 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb4728434 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb4728434 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb4728434 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb4728434 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:0 #11 0x0000ffffb4728434 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 0x0000ffffb46f0f7c std::_Optional_base_impl>::_M_is_engaged() const /usr/include/c++/12/optional:471:0 #13 0x0000ffffb46f0f7c std::optional::has_value() const /usr/include/c++/12/optional:988:0 #14 0x0000ffffb46f0f7c clang::ento::CallEvent::isArgumentConstructedDirectly(unsigned int) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:431:0 #15 0x0000ffffb46f0f7c addParameterValuesToBindings(clang::StackFrameContext const*, llvm::SmallVectorImpl>&, clang::ento::SValBuilder&, clang::ento::CallEvent const&, llvm::ArrayRef) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:478:0 #16 0x0000ffffb46f1f7c clang::ento::AnyCXXConstructorCall::getCXXThisVal() const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:896:0 #17 0x0000ffffb46f1f7c clang::ento::AnyCXXConstructorCall::getInitialStackFrameContents(clang::StackFrameContext const*, llvm::SmallVectorImpl>&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:915:0 #18 0x0000ffffb47b2cb0 llvm::SmallVectorTemplateCommon, void>::end() /usr/include/llvm/ADT/SmallVector.h:272:0 #19 0x0000ffffb47b2cb0 clang::ento::StoreManager::enterStackFrame(void const*, clang::ento::CallEvent const&, clang::StackFrameContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/Store.cpp:54:0 #20 0x0000ffffb476def8 clang::ento::ProgramState::makeWithStore(clang::ento::StoreRef const&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:434:27 #21 0x0000ffffb476def8 clang::ento::ProgramState::enterStackFrame(clang::ento::CallEvent const&, clang::StackFrameContext const*) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:234:0 #22 0x0000ffffb476e0a8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #23 0x0000ffffb476e0a8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #24 0x0000ffffb476e0a8 clang::ento::ExprEngine::inlineCall(clang::ento::WorkList*, clang::ento::CallEvent const&, clang::Decl const*, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:561:0 #25 0x0000ffffb4770b40 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #26 0x0000ffffb4770b40 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #27 0x0000ffffb4770b40 clang::ento::ExprEngine::ctuBifurcate(clang::ento::CallEvent const&, clang::Decl const*, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:527:0 #28 0x0000ffffb477156c llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #29 0x0000ffffb477156c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #30 0x0000ffffb477156c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x0000ffffb477156c clang::ento::ExprEngine::defaultEvalCall(clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:1255:0 #32 0x0000ffffb46f9fd8 clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:288:0 #33 0x0000ffffb4736028 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #34 0x0000ffffb4736028 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #35 0x0000ffffb4736028 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #36 0x0000ffffb4736028 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #37 0x0000ffffb4736028 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #38 0x0000ffffb4736028 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #39 0x0000ffffb4736028 clang::ento::ExprEngine::handleConstructor(clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:789:0 #40 0x0000ffffb473be5c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #41 0x0000ffffb473be5c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2158:0 #42 0x0000ffffb473cf08 clang::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 0x0000ffffb473d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffb473d41c clang::ento::CoreEngine::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 0x0000ffffb473d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #46 0x0000ffffb473d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #47 0x0000ffffb473d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #48 0x0000ffffb473d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #49 0x0000ffffb473d764 clang::ento::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 0x0000ffffb4a0787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #51 0x0000ffffb4a0787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x0000ffffb4a0787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #53 0x0000ffffb4a0787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #54 0x0000ffffb4a0787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #55 0x0000ffffb4a087e8 llvm::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 0x0000ffffb4a087e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #57 0x0000ffffb4a087e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #58 0x0000ffffb4a0cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #59 0x0000ffffb4a0cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #60 0x0000ffffb4a0cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #61 0x0000ffffb4a0cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #62 0x0000ffffb4a0cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #63 0x0000ffffb2e61e58 __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 0x0000ffffb2e61e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #65 0x0000ffffb2e61e58 void clang::finalize>, 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 0x0000ffffb2e61e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #67 0x0000ffffb4527ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #68 0x0000ffffb44dfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #69 0x0000ffffb44dfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #70 0x0000ffffb44dfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #71 0x0000ffffb456610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #72 0x0000aaaab54c59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #73 0x0000aaaab54c94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #74 0x0000aaaab54caac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #75 0x0000aaaab54c1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #76 0x0000ffffabad098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #77 0x0000ffffabad0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #78 0x0000aaaab54c20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/conversion.cpp.script: line 1: 1824314 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-conversion -Wno-tautological-constant-compare -analyzer-checker=core,alpha.core.Conversion -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/conversion.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/copy-elision.cpp (557 of 18953) ******************** TEST 'Clang :: Analysis/copy-elision.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -std=c++11 -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copy-elision.cpp : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -std=c++17 -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copy-elision.cpp : 'RUN: at line 5'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -std=c++11 -analyzer-config elide-constructors=false -DNO_ELIDE_FLAG -analyzer-config eagerly-assume=false -verify=expected,no-elide /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copy-elision.cpp : 'RUN: at line 8'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -std=c++17 -analyzer-config elide-constructors=false -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copy-elision.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -std=c++11 -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copy-elision.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling arg_directly_from_return_in_loop::create() at line 439 #1 Calling arg_directly_from_return_in_loop::test() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copy-elision.cpp:430:10: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copy-elision.cpp:430:10: Error evaluating statement #0 0x0000ffff9babacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff9bab9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9babb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa49ff800 (linux-vdso.so.1+0x800) #4 0x0000ffffa396e6a4 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffffa396e6a4 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffa396e6a4 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffa396e6a4 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffa396e6a4 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffa396e6a4 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffa396e6a4 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffa396e6a4 llvm::IntrusiveRefCntPtr clang::ento::ProgramStateManager::set<(anonymous namespace)::ObjectsUnderConstruction>(llvm::IntrusiveRefCntPtr, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::key_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::value_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::context_type) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:652:0 #12 0x0000ffffa396ea94 llvm::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 0x0000ffffa396ea94 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #14 0x0000ffffa396ea94 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #15 0x0000ffffa396ea94 set<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:876:0 #16 0x0000ffffa396ea94 clang::ento::ExprEngine::addObjectUnderConstruction(llvm::IntrusiveRefCntPtr, clang::ConstructionContextItem const&, clang::LocationContext const*, clang::ento::SVal) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:599:0 #17 0x0000ffffa396f174 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #18 0x0000ffffa396f174 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #19 0x0000ffffa396f174 clang::ento::ExprEngine::updateObjectsUnderConstruction(clang::ento::SVal, clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:463:0 #20 0x0000ffffa396f0b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #21 0x0000ffffa396f0b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #22 0x0000ffffa396f0b4 clang::ento::ExprEngine::updateObjectsUnderConstruction(clang::ento::SVal, clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:451:0 #23 0x0000ffffa3976a00 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #24 0x0000ffffa3976a00 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #25 0x0000ffffa3976a00 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 0x0000ffffa3976a00 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 0x0000ffffa397be5c clang::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 0x0000ffffa397be5c clang::ento::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 0x0000ffffa397cf08 clang::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 0x0000ffffa397d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffa397d41c clang::ento::CoreEngine::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 0x0000ffffa397d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #33 0x0000ffffa397d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #34 0x0000ffffa397d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #35 0x0000ffffa397d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #36 0x0000ffffa397d764 clang::ento::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 0x0000ffffa3c4787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #38 0x0000ffffa3c4787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #39 0x0000ffffa3c4787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #40 0x0000ffffa3c4787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #41 0x0000ffffa3c4787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #42 0x0000ffffa3c487e8 llvm::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 0x0000ffffa3c487e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #44 0x0000ffffa3c487e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #45 0x0000ffffa3c4cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #46 0x0000ffffa3c4cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #47 0x0000ffffa3c4cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #48 0x0000ffffa3c4cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #49 0x0000ffffa3c4cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #50 0x0000ffffa20a1e58 __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 0x0000ffffa20a1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #52 0x0000ffffa20a1e58 void clang::finalize>, 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 0x0000ffffa20a1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #54 0x0000ffffa3767ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #55 0x0000ffffa371fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #56 0x0000ffffa371fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #57 0x0000ffffa371fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #58 0x0000ffffa37a610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #59 0x0000aaaad06359f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #60 0x0000aaaad06394b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #61 0x0000aaaad063aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #62 0x0000aaaad0631fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #63 0x0000ffff9ad1098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #64 0x0000ffff9ad10a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #65 0x0000aaaad06320b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/copy-elision.cpp.script: line 4: 1824326 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -std=c++11 -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copy-elision.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/copy-elision.mm (558 of 18953) ******************** TEST 'Clang :: Analysis/copy-elision.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copy-elision.mm -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copy-elision.mm 1. parser at end of file 2. While analyzing stack: #0 Calling anonymous code at line 14 Invoking block defined at line 14 #1 Calling block_rvo_crash::foo() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copy-elision.mm:15:5: Error evaluating statement #0 0x0000ffff8f9eacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8f9e9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8f9eb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff98929800 (linux-vdso.so.1+0x800) #4 0x0000ffff97897db8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff97897db8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff97897db8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff97897db8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff97897db8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff97897db8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff97897db8 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff97897db8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1059:61 #12 0x0000ffff978ace94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffff978ace94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffff978ace94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffff978ace94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffff978ace94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffff978ace94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffff978ace94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffff978ace94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffff978ace94 clang::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 0x0000ffff978ad1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff978ad41c clang::ento::CoreEngine::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 0x0000ffff978ad764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #24 0x0000ffff978ad764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #25 0x0000ffff978ad764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #26 0x0000ffff978ad764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #27 0x0000ffff978ad764 clang::ento::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 0x0000ffff97b7787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #29 0x0000ffff97b7787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #30 0x0000ffff97b7787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #31 0x0000ffff97b7787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #32 0x0000ffff97b7787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #33 0x0000ffff97b787e8 llvm::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 0x0000ffff97b787e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #35 0x0000ffff97b787e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #36 0x0000ffff97b7cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #37 0x0000ffff97b7cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #38 0x0000ffff97b7cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #39 0x0000ffff97b7cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #40 0x0000ffff97b7cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #41 0x0000ffff95fd1e58 __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 0x0000ffff95fd1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #43 0x0000ffff95fd1e58 void clang::finalize>, 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 0x0000ffff95fd1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #45 0x0000ffff97697ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #46 0x0000ffff9764fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #47 0x0000ffff9764fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #48 0x0000ffff9764fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #49 0x0000ffff976d610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #50 0x0000aaaab24c59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #51 0x0000aaaab24c94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #52 0x0000aaaab24caac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #53 0x0000aaaab24c1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #54 0x0000ffff8ec4098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #55 0x0000ffff8ec40a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #56 0x0000aaaab24c20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/copy-elision.mm.script: line 1: 1824331 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copy-elision.mm -- ******************** Testing: 0 FAIL: Clang :: Analysis/copypaste/asm.cpp (559 of 18953) ******************** TEST 'Clang :: Analysis/copypaste/asm.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-unknown-linux -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/asm.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-unknown-linux -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/asm.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling foo3(int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/asm.cpp:43:10: Error evaluating statement #0 0x0000ffff8a90acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8a909100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8a90b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff93840800 (linux-vdso.so.1+0x800) #4 0x0000ffff9280cd64 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9280cd64 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9280cd64 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9280cd64 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffff9280cd64 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffff9280cd64 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffff927b80bc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffff927b80bc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffff927b80bc clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffff927cce94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffff927cce94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffff927cce94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffff927cce94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffff927cce94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffff927cce94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffff927cce94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffff927cce94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffff927cce94 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffff927cd1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff927cd310 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffff927cd5dc clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffff927cd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffff927cd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffff927cd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffff927cd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffff927cd764 clang::ento::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 0x0000ffff92a9787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff92a9787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff92a9787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffff92a9787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffff92a9787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffff92a987e8 llvm::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 0x0000ffff92a987e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffff92a987e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffff92a9cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffff92a9cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffff92a9cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffff92a9cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffff92a9cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffff90ef1e58 __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 0x0000ffff90ef1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffff90ef1e58 void clang::finalize>, 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 0x0000ffff90ef1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffff925b7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffff9256fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffff9256fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffff9256fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffff925f610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaadac759f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaadac794b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaadac7aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaadac71fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffff89b6098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffff89b60a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaadac720b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/asm.cpp.script: line 1: 1824342 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-unknown-linux -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/asm.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/copypaste/call.cpp (560 of 18953) ******************** TEST 'Clang :: Analysis/copypaste/call.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++1z -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/call.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++1z -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/call.cpp 1. parser at end of file #0 0x0000ffffa5c7acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa5c79100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa5c7b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffaebb2800 (linux-vdso.so.1+0x800) #4 0x0000ffffadb2cc54 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffadb2cc54 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffadb2cc54 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffadb2cc54 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffadb2cc54 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffadb2cc54 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffadb2cc54 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffadb2cc54 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 0x0000ffffadb2d578 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 0x0000ffffadb3d5a4 clang::ento::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 0x0000ffffadb3d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #15 0x0000ffffadb3d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #16 0x0000ffffadb3d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #17 0x0000ffffadb3d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #18 0x0000ffffadb3d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #19 0x0000ffffade0787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffffade0787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffffade0787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #22 0x0000ffffade0787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #23 0x0000ffffade0787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #24 0x0000ffffade087e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #25 0x0000ffffade087e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #26 0x0000ffffade087e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #27 0x0000ffffade0cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #28 0x0000ffffade0cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #29 0x0000ffffade0cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #30 0x0000ffffade0cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #31 0x0000ffffade0cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #32 0x0000ffffac261e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #33 0x0000ffffac261e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #34 0x0000ffffac261e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #35 0x0000ffffac261e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #36 0x0000ffffad927ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #37 0x0000ffffad8dfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #38 0x0000ffffad8dfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #39 0x0000ffffad8dfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #40 0x0000ffffad96610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #41 0x0000aaaab2ac59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #42 0x0000aaaab2ac94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #43 0x0000aaaab2acaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #44 0x0000aaaab2ac1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #45 0x0000ffffa4ed098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #46 0x0000ffffa4ed0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #47 0x0000aaaab2ac20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/call.cpp.script: line 1: 1824375 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++1z -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/call.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/copypaste/attributes.cpp (561 of 18953) ******************** TEST 'Clang :: Analysis/copypaste/attributes.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++1z -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/attributes.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++1z -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/attributes.cpp 1. parser at end of file #0 0x0000ffff9e7bacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff9e7b9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9e7bb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa76fb800 (linux-vdso.so.1+0x800) #4 0x0000ffffa6a13688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa6a13688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa6a13688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa6a13688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa6a13688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa6a13688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa6a13688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa6a13688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa66c0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa66c0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa66c0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa66c0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa66c2ce8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa66c2ce8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa66c2ce8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa66c2ce8 (anonymous namespace)::RangeConstraintManager::assumeSymWithinInclusiveRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3224:0 #20 0x0000ffffa66d4e58 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa66d4e58 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa66d4e58 clang::ento::RangedConstraintManager::assumeSymInclusiveRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:129:64 #23 0x0000ffffa66d53b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa66d53b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa66d53b4 clang::ento::SimpleConstraintManager::assumeInclusiveRangeInternal(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:118:67 #26 0x0000ffffa664fd48 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa664fd48 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa664fd48 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:105:75 #29 0x0000ffffa664fd48 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeInclusiveRangeDual(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #30 0x0000ffffa66661e8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffffa66661e8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffffa66661e8 clang::ento::ProgramState::assumeInclusiveRange(clang::ento::DefinedOrUnknownSVal, llvm::APSInt const&, llvm::APSInt const&) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:746:43 #33 0x0000ffffa66661e8 clang::ento::ExprEngine::processSwitch(clang::ento::SwitchNodeBuilder&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3004:42 #34 0x0000ffffa666dbbc clang::ento::CoreEngine::HandleBlockExit(clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:422:0 #35 0x0000ffffa667d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x0000ffffa667d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x0000ffffa667d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #38 0x0000ffffa667d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #39 0x0000ffffa667d764 clang::ento::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 0x0000ffffa694787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #41 0x0000ffffa694787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #42 0x0000ffffa694787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #43 0x0000ffffa694787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #44 0x0000ffffa694787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #45 0x0000ffffa69487e8 llvm::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 0x0000ffffa69487e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #47 0x0000ffffa69487e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #48 0x0000ffffa694cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #49 0x0000ffffa694cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #50 0x0000ffffa694cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #51 0x0000ffffa694cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #52 0x0000ffffa694cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #53 0x0000ffffa4da1e58 __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 0x0000ffffa4da1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #55 0x0000ffffa4da1e58 void clang::finalize>, 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 0x0000ffffa4da1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #57 0x0000ffffa6467ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #58 0x0000ffffa641fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #59 0x0000ffffa641fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #60 0x0000ffffa641fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #61 0x0000ffffa64a610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #62 0x0000aaaab5fb59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #63 0x0000aaaab5fb94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #64 0x0000aaaab5fbaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #65 0x0000aaaab5fb1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #66 0x0000ffff9da1098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #67 0x0000ffff9da10a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #68 0x0000aaaab5fb20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/attributes.cpp.script: line 1: 1824370 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++1z -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/attributes.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/copypaste/autogenerated_automoc.cpp (562 of 18953) ******************** TEST 'Clang :: Analysis/copypaste/autogenerated_automoc.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -analyzer-config alpha.clone.CloneChecker:IgnoredFilesPattern="moc_|.*_automoc.cpp" -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/autogenerated_automoc.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -analyzer-config alpha.clone.CloneChecker:IgnoredFilesPattern=moc_|.*_automoc.cpp -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/autogenerated_automoc.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling f1() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/autogenerated_automoc.cpp:9:13: Error evaluating New Allocator Call #0 0x0000ffffa4e4acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa4e49100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa4e4b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffadd82800 (linux-vdso.so.1+0x800) #4 0x0000ffffad0a3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffad0a3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffad0a3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffad0a3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffad0a3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffad0a3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffad0a3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffad0a3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffacd50c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffacd50c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffacd50c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffacd50c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffacd51ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffacd51ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffacd51ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffacd51ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffacd64770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffacd64770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffacd64770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffacd65cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffacd65cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffacd65cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffacd65190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffacd65190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffacd65190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffacd717d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffacd717d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffacd717d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffacd7b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffacd7b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffacd7b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffaccdf72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffaccdf72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffaccdf72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffaccdf72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffaccdfbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffaccdfbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffaccdfbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffacd09b98 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #43 0x0000ffffacd09b98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #44 0x0000ffffacd09b98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffffacd09b98 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #46 0x0000ffffacd09b98 clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #47 0x0000ffffacd09fac llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #48 0x0000ffffacd09fac llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #49 0x0000ffffacd09fac clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #50 0x0000ffffacd09fac clang::ento::CoreEngine::enqueue(clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:613:23 #51 0x0000ffffacd09fac clang::ento::ExprEngine::ProcessNewAllocator(clang::CXXNewExpr const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1326:0 #52 0x0000ffffacd0d22c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:984:0 #53 0x0000ffffacd0d41c clang::ento::CoreEngine::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 0x0000ffffacd0d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #55 0x0000ffffacd0d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #56 0x0000ffffacd0d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #57 0x0000ffffacd0d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #58 0x0000ffffacd0d764 clang::ento::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 0x0000ffffacfd787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #60 0x0000ffffacfd787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #61 0x0000ffffacfd787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #62 0x0000ffffacfd787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #63 0x0000ffffacfd787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #64 0x0000ffffacfd87e8 llvm::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 0x0000ffffacfd87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x0000ffffacfd87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #67 0x0000ffffacfdcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x0000ffffacfdcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x0000ffffacfdcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x0000ffffacfdcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x0000ffffacfdcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x0000ffffab431e58 __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 0x0000ffffab431e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x0000ffffab431e58 void clang::finalize>, 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 0x0000ffffab431e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x0000ffffacaf7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #77 0x0000ffffacaafc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #78 0x0000ffffacaafc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #79 0x0000ffffacaafc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #80 0x0000ffffacb3610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #81 0x0000aaaaae1c59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x0000aaaaae1c94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x0000aaaaae1caac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x0000aaaaae1c1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x0000ffffa40a098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #86 0x0000ffffa40a0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #87 0x0000aaaaae1c20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/autogenerated_automoc.cpp.script: line 1: 1824368 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -analyzer-config alpha.clone.CloneChecker:IgnoredFilesPattern="moc_|.*_automoc.cpp" -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/autogenerated_automoc.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/copypaste/catch.cpp (565 of 18953) ******************** TEST 'Clang :: Analysis/copypaste/catch.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fcxx-exceptions -std=c++1z -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/catch.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fcxx-exceptions -std=c++1z -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/catch.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling foo3(int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/catch.cpp:26:12: Error evaluating statement #0 0x0000ffff8613acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff86139100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8613b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8f07a800 (linux-vdso.so.1+0x800) #4 0x0000ffff8e03cd64 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8e03cd64 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8e03cd64 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8e03cd64 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffff8e03cd64 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffff8e03cd64 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffff8dfe80bc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffff8dfe80bc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffff8dfe80bc clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffff8dffce94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffff8dffce94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffff8dffce94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffff8dffce94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffff8dffce94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffff8dffce94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffff8dffce94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffff8dffce94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffff8dffce94 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffff8dffd1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8dffd310 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffff8dffd5dc clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffff8dffd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffff8dffd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffff8dffd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffff8dffd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffff8dffd764 clang::ento::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 0x0000ffff8e2c787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff8e2c787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff8e2c787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffff8e2c787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffff8e2c787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffff8e2c87e8 llvm::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 0x0000ffff8e2c87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffff8e2c87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffff8e2ccde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffff8e2ccde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffff8e2ccde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffff8e2ccde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffff8e2ccde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffff8c721e58 __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 0x0000ffff8c721e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffff8c721e58 void clang::finalize>, 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 0x0000ffff8c721e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffff8dde7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffff8dd9fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffff8dd9fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffff8dd9fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffff8de2610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaad06259f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaad06294b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaad062aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaad0621fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffff8539098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffff85390a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaad06220b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/catch.cpp.script: line 1: 1824387 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fcxx-exceptions -std=c++1z -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/catch.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/copypaste/clone-begin-end-different-file.cpp (566 of 18953) ******************** TEST 'Clang :: Analysis/copypaste/clone-begin-end-different-file.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=5 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/clone-begin-end-different-file.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=5 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/clone-begin-end-different-file.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling f2m(int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/Inputs/clone-begin-end-different-file-begin-macro-1.inc:1:1 : Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/Inputs/clone-begin-end-different-file-begin-macro-1.inc:1:1 : Error evaluating statement #0 0x0000ffffb226acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb2269100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb226b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffbb1a9800 (linux-vdso.so.1+0x800) #4 0x0000ffffba4c3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffba4c3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffba4c3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffba4c3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffba4c3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffba4c3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffba4c3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffba4c3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffba170c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffba170c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffba170c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffba170c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffba171ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffba171ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffba171ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffba171ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffba184770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffba184770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffba184770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffba185cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffba185cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffba185cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffba185190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffba185190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffba185190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffba1917d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffba1917d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffba1917d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffba19b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffba19b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffba19b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffba0ff6d8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffba0ff6d8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffba0ff6d8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffba0ff6d8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffba5ed3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffba5ed3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffba5ed3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffba112a0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffba112a0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffba112a0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffffba12ccac llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffffba12ccac llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffffba12ccac llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffffba12ccac clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffffba12ccac clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffffba12cf08 clang::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 0x0000ffffba12d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffba12d41c clang::ento::CoreEngine::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 0x0000ffffba12d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffba12d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffba12d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffba12d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffba12d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffba3f787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffba3f787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffba3f787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffba3f787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffba3f787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffba3f87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffba3f87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffba3f87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffba3fcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffba3fcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffba3fcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffba3fcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffba3fcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffb8851e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffb8851e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffb8851e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffb8851e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffb9f17ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffb9ecfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffb9ecfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffb9ecfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffb9f5610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaadfe459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaadfe494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaadfe4aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaadfe41fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffb14c098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffb14c0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaadfe420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/clone-begin-end-different-file.cpp.script: line 1: 1824388 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=5 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/clone-begin-end-different-file.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/copypaste/delete.cpp (567 of 18953) ******************** TEST 'Clang :: Analysis/copypaste/delete.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++1z -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/delete.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++1z -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/delete.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling foo3(int, int *) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/delete.cpp:26:12: Error evaluating statement #0 0x0000ffffa3e0acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa3e09100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa3e0b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffacd41800 (linux-vdso.so.1+0x800) #4 0x0000ffffabd0cd64 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffabd0cd64 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffabd0cd64 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffabd0cd64 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffffabd0cd64 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffffabd0cd64 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffffabcb80bc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffffabcb80bc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffffabcb80bc clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffffabccce94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffffabccce94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffffabccce94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffffabccce94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffffabccce94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffffabccce94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffffabccce94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffffabccce94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffffabccce94 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffffabccd1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffabccd310 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffffabccd5dc clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffffabccd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffffabccd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffffabccd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffffabccd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffffabccd764 clang::ento::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 0x0000ffffabf9787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffffabf9787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffffabf9787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffffabf9787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffffabf9787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffffabf987e8 llvm::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 0x0000ffffabf987e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffffabf987e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffffabf9cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffffabf9cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffffabf9cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffffabf9cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffffabf9cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffffaa3f1e58 __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 0x0000ffffaa3f1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffffaa3f1e58 void clang::finalize>, 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 0x0000ffffaa3f1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffffabab7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffffaba6fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffffaba6fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffffaba6fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffffabaf610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaabda959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaabda994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaabda9aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaabda91fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffffa306098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffffa3060a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaabda920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/delete.cpp.script: line 1: 1824406 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++1z -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/delete.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/copypaste/dbus_autogenerated.cpp (568 of 18953) ******************** TEST 'Clang :: Analysis/copypaste/dbus_autogenerated.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:IgnoredFilesPattern="moc_|dbus_|.*_automoc" -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/dbus_autogenerated.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:IgnoredFilesPattern=moc_|dbus_|.*_automoc -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/dbus_autogenerated.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling f1() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/dbus_autogenerated.cpp:9:13: Error evaluating New Allocator Call #0 0x0000ffff7e83acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7e839100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7e83b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8777f800 (linux-vdso.so.1+0x800) #4 0x0000ffff86a93688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff86a93688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff86a93688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff86a93688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff86a93688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff86a93688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff86a93688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff86a93688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff86740c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff86740c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff86740c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff86740c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff86741ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff86741ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff86741ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff86741ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff86754770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff86754770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff86754770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff86755cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff86755cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff86755cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff86755190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff86755190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff86755190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff867617d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff867617d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff867617d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8676b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8676b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8676b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff866cf72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff866cf72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff866cf72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff866cf72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff866cfbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff866cfbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff866cfbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff866f9b98 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #43 0x0000ffff866f9b98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #44 0x0000ffff866f9b98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffff866f9b98 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #46 0x0000ffff866f9b98 clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #47 0x0000ffff866f9fac llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #48 0x0000ffff866f9fac llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #49 0x0000ffff866f9fac clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #50 0x0000ffff866f9fac clang::ento::CoreEngine::enqueue(clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:613:23 #51 0x0000ffff866f9fac clang::ento::ExprEngine::ProcessNewAllocator(clang::CXXNewExpr const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1326:0 #52 0x0000ffff866fd22c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:984:0 #53 0x0000ffff866fd41c clang::ento::CoreEngine::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 0x0000ffff866fd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #55 0x0000ffff866fd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #56 0x0000ffff866fd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #57 0x0000ffff866fd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #58 0x0000ffff866fd764 clang::ento::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 0x0000ffff869c787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #60 0x0000ffff869c787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #61 0x0000ffff869c787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #62 0x0000ffff869c787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #63 0x0000ffff869c787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #64 0x0000ffff869c87e8 llvm::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 0x0000ffff869c87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x0000ffff869c87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #67 0x0000ffff869ccde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x0000ffff869ccde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x0000ffff869ccde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x0000ffff869ccde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x0000ffff869ccde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x0000ffff84e21e58 __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 0x0000ffff84e21e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x0000ffff84e21e58 void clang::finalize>, 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 0x0000ffff84e21e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x0000ffff864e7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #77 0x0000ffff8649fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #78 0x0000ffff8649fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #79 0x0000ffff8649fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #80 0x0000ffff8652610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #81 0x0000aaaab0a559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x0000aaaab0a594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x0000aaaab0a5aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x0000aaaab0a51fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x0000ffff7da9098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #86 0x0000ffff7da90a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #87 0x0000aaaab0a520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/dbus_autogenerated.cpp.script: line 1: 1824404 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:IgnoredFilesPattern="moc_|dbus_|.*_automoc" -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/dbus_autogenerated.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/copypaste/dependent-exist.cpp (570 of 18953) ******************** TEST 'Clang :: Analysis/copypaste/dependent-exist.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fms-extensions -std=c++1z -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/dependent-exist.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fms-extensions -std=c++1z -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/dependent-exist.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling foo2(int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/dependent-exist.cpp:17:10: Error evaluating statement #0 0x0000ffff8e1dacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8e1d9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8e1db388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff97113800 (linux-vdso.so.1+0x800) #4 0x0000ffff960dcd64 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff960dcd64 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff960dcd64 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff960dcd64 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffff960dcd64 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffff960dcd64 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffff960880bc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffff960880bc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffff960880bc clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffff9609ce94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffff9609ce94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffff9609ce94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffff9609ce94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffff9609ce94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffff9609ce94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffff9609ce94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffff9609ce94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffff9609ce94 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffff9609d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff9609d310 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffff9609d5dc clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffff9609d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffff9609d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffff9609d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffff9609d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffff9609d764 clang::ento::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 0x0000ffff9636787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff9636787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff9636787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffff9636787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffff9636787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffff963687e8 llvm::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 0x0000ffff963687e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffff963687e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffff9636cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffff9636cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffff9636cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffff9636cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffff9636cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffff947c1e58 __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 0x0000ffff947c1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffff947c1e58 void clang::finalize>, 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 0x0000ffff947c1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffff95e87ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffff95e3fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffff95e3fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffff95e3fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffff95ec610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaacc8859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaacc8894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaacc88aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaacc881fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffff8d43098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffff8d430a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaacc8820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/dependent-exist.cpp.script: line 1: 1824416 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fms-extensions -std=c++1z -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/dependent-exist.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/copypaste/generic.c (571 of 18953) ******************** TEST 'Clang :: Analysis/copypaste/generic.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/generic.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/generic.c 1. parser at end of file 2. While analyzing stack: #0 Calling foo3 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/generic.c:28:12: Error evaluating statement #0 0x0000ffff9542acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff95429100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9542b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9e366800 (linux-vdso.so.1+0x800) #4 0x0000ffff9d32cd64 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9d32cd64 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9d32cd64 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9d32cd64 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffff9d32cd64 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffff9d32cd64 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffff9d2d80bc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffff9d2d80bc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffff9d2d80bc clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffff9d2ece94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffff9d2ece94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffff9d2ece94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffff9d2ece94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffff9d2ece94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffff9d2ece94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffff9d2ece94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffff9d2ece94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffff9d2ece94 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffff9d2ed1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff9d2ed310 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffff9d2ed5dc clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffff9d2ed764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffff9d2ed764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffff9d2ed764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffff9d2ed764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffff9d2ed764 clang::ento::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 0x0000ffff9d5b787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff9d5b787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff9d5b787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffff9d5b787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffff9d5b787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffff9d5b87e8 llvm::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 0x0000ffff9d5b87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffff9d5b87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffff9d5bcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffff9d5bcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffff9d5bcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffff9d5bcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffff9d5bcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffff9ba11e58 __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 0x0000ffff9ba11e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffff9ba11e58 void clang::finalize>, 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 0x0000ffff9ba11e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffff9d0d7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffff9d08fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffff9d08fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffff9d08fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffff9d11610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaae54459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaae54494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaae544aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaae5441fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffff9468098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffff94680a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaae54420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/generic.c.script: line 1: 1824451 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/generic.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/copypaste/expr-types.cpp (572 of 18953) ******************** TEST 'Clang :: Analysis/copypaste/expr-types.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/expr-types.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/expr-types.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling foo2(long, long) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/expr-types.cpp:14:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/expr-types.cpp:14:7: Error evaluating statement #0 0x0000ffff83a8acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff83a89100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff83a8b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8c9c5800 (linux-vdso.so.1+0x800) #4 0x0000ffff8bce3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8bce3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8bce3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8bce3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8bce3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8bce3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff8bce3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff8bce3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8b990c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8b990c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8b990c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8b990c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8b991940 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8b991940 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8b991940 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8b991940 (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:0 #20 0x0000ffff8b9a591c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff8b9a591c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff8b9a591c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffff8b9a5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff8b9a5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff8b9a5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #26 0x0000ffff8b9b17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #27 0x0000ffff8b9b17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #28 0x0000ffff8b9b17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #29 0x0000ffff8b9bb074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #30 0x0000ffff8b9bb074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x0000ffff8b9bb074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #32 0x0000ffff8b91f6d8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #33 0x0000ffff8b91f6d8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #34 0x0000ffff8b91f6d8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #35 0x0000ffff8b91f6d8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #36 0x0000ffff8be0d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffff8be0d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffff8be0d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #39 0x0000ffff8b932a0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #40 0x0000ffff8b932a0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #41 0x0000ffff8b932a0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #42 0x0000ffff8b94ccac llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #43 0x0000ffff8b94ccac llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #44 0x0000ffff8b94ccac llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #45 0x0000ffff8b94ccac clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #46 0x0000ffff8b94ccac clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #47 0x0000ffff8b94cf08 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #48 0x0000ffff8b94d1f0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #49 0x0000ffff8b94d41c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #50 0x0000ffff8b94d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #51 0x0000ffff8b94d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #52 0x0000ffff8b94d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #53 0x0000ffff8b94d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #54 0x0000ffff8b94d764 clang::ento::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 0x0000ffff8bc1787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #56 0x0000ffff8bc1787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #57 0x0000ffff8bc1787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #58 0x0000ffff8bc1787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #59 0x0000ffff8bc1787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #60 0x0000ffff8bc187e8 llvm::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 0x0000ffff8bc187e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x0000ffff8bc187e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #63 0x0000ffff8bc1cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x0000ffff8bc1cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x0000ffff8bc1cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x0000ffff8bc1cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x0000ffff8bc1cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x0000ffff8a071e58 __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 0x0000ffff8a071e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x0000ffff8a071e58 void clang::finalize>, 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 0x0000ffff8a071e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x0000ffff8b737ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #73 0x0000ffff8b6efc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #74 0x0000ffff8b6efc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #75 0x0000ffff8b6efc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #76 0x0000ffff8b77610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #77 0x0000aaaad2e959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x0000aaaad2e994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x0000aaaad2e9aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x0000aaaad2e91fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x0000ffff82ce098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #82 0x0000ffff82ce0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #83 0x0000aaaad2e920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/expr-types.cpp.script: line 1: 1824431 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/expr-types.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/copypaste/functions.cpp (573 of 18953) ******************** TEST 'Clang :: Analysis/copypaste/functions.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/functions.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/functions.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling min2(int, int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/functions.cpp:51:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/functions.cpp:51:7: Error evaluating statement #0 0x0000ffff7985acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff79859100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7985b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8279d800 (linux-vdso.so.1+0x800) #4 0x0000ffff81ab3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff81ab3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff81ab3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff81ab3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff81ab3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff81ab3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff81ab3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff81ab3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff81760c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff81760c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff81760c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff81760c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff81761940 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff81761940 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff81761940 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff81761940 (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:0 #20 0x0000ffff8177591c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff8177591c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff8177591c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffff81775190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff81775190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff81775190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #26 0x0000ffff817817d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #27 0x0000ffff817817d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #28 0x0000ffff817817d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #29 0x0000ffff8178b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #30 0x0000ffff8178b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x0000ffff8178b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #32 0x0000ffff816ef6d8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #33 0x0000ffff816ef6d8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #34 0x0000ffff816ef6d8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #35 0x0000ffff816ef6d8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #36 0x0000ffff81bdd3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffff81bdd3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffff81bdd3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #39 0x0000ffff81702a0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #40 0x0000ffff81702a0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #41 0x0000ffff81702a0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #42 0x0000ffff8171ccac llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #43 0x0000ffff8171ccac llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #44 0x0000ffff8171ccac llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #45 0x0000ffff8171ccac clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #46 0x0000ffff8171ccac clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #47 0x0000ffff8171cf08 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #48 0x0000ffff8171d1f0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #49 0x0000ffff8171d41c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #50 0x0000ffff8171d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #51 0x0000ffff8171d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #52 0x0000ffff8171d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #53 0x0000ffff8171d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #54 0x0000ffff8171d764 clang::ento::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 0x0000ffff819e787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #56 0x0000ffff819e787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #57 0x0000ffff819e787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #58 0x0000ffff819e787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #59 0x0000ffff819e787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #60 0x0000ffff819e87e8 llvm::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 0x0000ffff819e87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x0000ffff819e87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #63 0x0000ffff819ecde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x0000ffff819ecde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x0000ffff819ecde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x0000ffff819ecde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x0000ffff819ecde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x0000ffff7fe41e58 __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 0x0000ffff7fe41e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x0000ffff7fe41e58 void clang::finalize>, 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 0x0000ffff7fe41e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x0000ffff81507ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #73 0x0000ffff814bfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #74 0x0000ffff814bfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #75 0x0000ffff814bfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #76 0x0000ffff8154610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #77 0x0000aaaac83959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x0000aaaac83994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x0000aaaac839aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x0000aaaac8391fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x0000ffff78ab098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #82 0x0000ffff78ab0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #83 0x0000aaaac83920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/functions.cpp.script: line 1: 1824448 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/functions.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/copypaste/labels.cpp (574 of 18953) ******************** TEST 'Clang :: Analysis/copypaste/labels.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=gnu++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/labels.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=gnu++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/labels.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling foo4(int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/labels.cpp:44:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/labels.cpp:44:7: Error evaluating statement #0 0x0000ffff7a9eacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7a9e9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7a9eb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8392c800 (linux-vdso.so.1+0x800) #4 0x0000ffff82c43688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff82c43688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff82c43688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff82c43688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff82c43688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff82c43688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff82c43688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff82c43688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff828f0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff828f0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff828f0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff828f0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff828f1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff828f1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff828f1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff828f1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff82904770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff82904770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff82904770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff82905cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff82905cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff82905cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff82905190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff82905190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff82905190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff829117d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff829117d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff829117d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8291b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8291b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8291b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8287f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8287f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8287f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8287f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff82d6d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff82d6d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff82d6d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff82892a0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff82892a0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff82892a0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffff828accac llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffff828accac llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffff828accac llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffff828accac clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffff828accac clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffff828acf08 clang::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 0x0000ffff828ad1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff828ad41c clang::ento::CoreEngine::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 0x0000ffff828ad764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff828ad764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff828ad764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff828ad764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff828ad764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff82b7787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff82b7787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff82b7787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff82b7787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff82b7787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff82b787e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff82b787e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff82b787e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff82b7cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff82b7cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff82b7cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff82b7cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff82b7cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff80fd1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff80fd1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff80fd1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff80fd1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff82697ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff8264fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff8264fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff8264fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff826d610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaae40259f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaae40294b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaae402aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaae4021fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff79c4098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff79c40a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaae40220b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/labels.cpp.script: line 1: 1824457 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=gnu++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/labels.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/copypaste/lambda.cpp (575 of 18953) ******************** TEST 'Clang :: Analysis/copypaste/lambda.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/lambda.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/lambda.cpp 1. parser at end of file #0 0x0000ffffa2bbacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa2bb9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa2bbb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffabaf1800 (linux-vdso.so.1+0x800) #4 0x0000ffffaae13688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffaae13688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffaae13688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffaae13688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffaae13688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffaae13688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffaae13688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffaae13688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffaaac0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffaaac0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffaaac0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffaaac0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffaaac1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffaaac1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffaaac1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffaaac1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffaaad4770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffaaad4770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffaaad4770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffaaad5cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffaaad5cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffaaad5cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffaaad5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffaaad5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffaaad5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffaaae17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffaaae17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffaaae17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffaaaeb074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffaaaeb074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffaaaeb074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffaaa4f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffaaa4f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffaaa4f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffaaa4f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffaaa4fbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffaaa4fbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffaaa4fbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffaaa231c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffaaa231c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffaaa231c0 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffaaa5fb5c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffaaa5fb5c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffaaa5fb5c clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:42 #48 0x0000ffffaaa7daa8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffaaa7daa8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffaaa7daa8 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffaad4787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffaad4787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffaad4787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffaad4787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffaad4787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffaad487e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffffaad487e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffaad487e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffaad4cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffaad4cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffaad4cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffaad4cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffaad4cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffa91a1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffffa91a1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffa91a1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffffa91a1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffaa867ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffaa81fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffaa81fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffaa81fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffaa8a610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaada2059f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaada2094b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaada20aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaada201fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffffa1e1098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffffa1e10a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaada2020b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/lambda.cpp.script: line 1: 1824465 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/lambda.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/copypaste/macro-complexity.cpp (576 of 18953) ******************** TEST 'Clang :: Analysis/copypaste/macro-complexity.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/macro-complexity.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/macro-complexity.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling macroClone(int, int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/macro-complexity.cpp:32:10 : Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/macro-complexity.cpp:32:10 : Error evaluating statement #0 0x0000ffff7a12acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7a129100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7a12b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff83060800 (linux-vdso.so.1+0x800) #4 0x0000ffff82383688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff82383688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff82383688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff82383688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff82383688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff82383688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff82383688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff82383688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff82030c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff82030c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff82030c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff82030c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff82031940 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff82031940 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff82031940 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff82031940 (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:0 #20 0x0000ffff8204591c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff8204591c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff8204591c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffff82045190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff82045190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff82045190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #26 0x0000ffff820517d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #27 0x0000ffff820517d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #28 0x0000ffff820517d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #29 0x0000ffff8205b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #30 0x0000ffff8205b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x0000ffff8205b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #32 0x0000ffff81fbf6d8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #33 0x0000ffff81fbf6d8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #34 0x0000ffff81fbf6d8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #35 0x0000ffff81fbf6d8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #36 0x0000ffff824ad3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffff824ad3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffff824ad3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #39 0x0000ffff81fd2a0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #40 0x0000ffff81fd2a0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #41 0x0000ffff81fd2a0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #42 0x0000ffff81feccac llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #43 0x0000ffff81feccac llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #44 0x0000ffff81feccac llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #45 0x0000ffff81feccac clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #46 0x0000ffff81feccac clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #47 0x0000ffff81fecf08 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #48 0x0000ffff81fed1f0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #49 0x0000ffff81fed41c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #50 0x0000ffff81fed764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #51 0x0000ffff81fed764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #52 0x0000ffff81fed764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #53 0x0000ffff81fed764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #54 0x0000ffff81fed764 clang::ento::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 0x0000ffff822b787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #56 0x0000ffff822b787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #57 0x0000ffff822b787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #58 0x0000ffff822b787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #59 0x0000ffff822b787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #60 0x0000ffff822b87e8 llvm::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 0x0000ffff822b87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x0000ffff822b87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #63 0x0000ffff822bcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x0000ffff822bcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x0000ffff822bcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x0000ffff822bcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x0000ffff822bcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x0000ffff80711e58 __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 0x0000ffff80711e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x0000ffff80711e58 void clang::finalize>, 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 0x0000ffff80711e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x0000ffff81dd7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #73 0x0000ffff81d8fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #74 0x0000ffff81d8fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #75 0x0000ffff81d8fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #76 0x0000ffff81e1610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #77 0x0000aaaad43159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x0000aaaad43194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x0000aaaad431aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x0000aaaad4311fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x0000ffff7938098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #82 0x0000ffff79380a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #83 0x0000aaaad43120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/macro-complexity.cpp.script: line 1: 1824477 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/macro-complexity.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/copypaste/moc_autogenerated.cpp (577 of 18953) ******************** TEST 'Clang :: Analysis/copypaste/moc_autogenerated.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:IgnoredFilesPattern="moc_|.*_automoc" -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/moc_autogenerated.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:IgnoredFilesPattern=moc_|.*_automoc -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/moc_autogenerated.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling f1() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/moc_autogenerated.cpp:9:13: Error evaluating New Allocator Call #0 0x0000ffffae74acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffae749100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffae74b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb7681800 (linux-vdso.so.1+0x800) #4 0x0000ffffb69a3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb69a3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb69a3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb69a3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb69a3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb69a3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb69a3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb69a3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb6650c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb6650c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb6650c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb6650c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb6651ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb6651ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb6651ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb6651ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb6664770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb6664770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb6664770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb6665cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb6665cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb6665cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb6665190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb6665190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb6665190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb66717d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb66717d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb66717d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb667b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb667b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb667b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb65df72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb65df72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb65df72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb65df72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb65dfbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb65dfbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb65dfbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffb6609b98 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #43 0x0000ffffb6609b98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #44 0x0000ffffb6609b98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffffb6609b98 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #46 0x0000ffffb6609b98 clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #47 0x0000ffffb6609fac llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #48 0x0000ffffb6609fac llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #49 0x0000ffffb6609fac clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #50 0x0000ffffb6609fac clang::ento::CoreEngine::enqueue(clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:613:23 #51 0x0000ffffb6609fac clang::ento::ExprEngine::ProcessNewAllocator(clang::CXXNewExpr const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1326:0 #52 0x0000ffffb660d22c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:984:0 #53 0x0000ffffb660d41c clang::ento::CoreEngine::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 0x0000ffffb660d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #55 0x0000ffffb660d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #56 0x0000ffffb660d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #57 0x0000ffffb660d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #58 0x0000ffffb660d764 clang::ento::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 0x0000ffffb68d787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #60 0x0000ffffb68d787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #61 0x0000ffffb68d787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #62 0x0000ffffb68d787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #63 0x0000ffffb68d787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #64 0x0000ffffb68d87e8 llvm::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 0x0000ffffb68d87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x0000ffffb68d87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #67 0x0000ffffb68dcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x0000ffffb68dcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x0000ffffb68dcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x0000ffffb68dcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x0000ffffb68dcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x0000ffffb4d31e58 __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 0x0000ffffb4d31e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x0000ffffb4d31e58 void clang::finalize>, 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 0x0000ffffb4d31e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x0000ffffb63f7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #77 0x0000ffffb63afc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #78 0x0000ffffb63afc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #79 0x0000ffffb63afc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #80 0x0000ffffb643610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #81 0x0000aaaac5c159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x0000aaaac5c194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x0000aaaac5c1aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x0000aaaac5c11fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x0000ffffad9a098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #86 0x0000ffffad9a0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #87 0x0000aaaac5c120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/moc_autogenerated.cpp.script: line 1: 1824485 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:IgnoredFilesPattern="moc_|.*_automoc" -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/moc_autogenerated.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/copypaste/not-autogenerated.cpp (578 of 18953) ******************** TEST 'Clang :: Analysis/copypaste/not-autogenerated.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -analyzer-config alpha.clone.CloneChecker:IgnoredFilesPattern="moc_|ui_|dbus_|.*_automoc" -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/not-autogenerated.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -analyzer-config alpha.clone.CloneChecker:IgnoredFilesPattern=moc_|ui_|dbus_|.*_automoc -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/not-autogenerated.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling f1() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/not-autogenerated.cpp:4:13: Error evaluating New Allocator Call #0 0x0000ffffa12dacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa12d9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa12db388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffaa216800 (linux-vdso.so.1+0x800) #4 0x0000ffffa9533688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa9533688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa9533688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa9533688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa9533688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa9533688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa9533688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa9533688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa91e0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa91e0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa91e0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa91e0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa91e1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa91e1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa91e1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa91e1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa91f4770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa91f4770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa91f4770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa91f5cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa91f5cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa91f5cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa91f5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa91f5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa91f5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa92017d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa92017d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa92017d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa920b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa920b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa920b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa916f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa916f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa916f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa916f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa916fbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa916fbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa916fbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffa9199b98 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #43 0x0000ffffa9199b98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #44 0x0000ffffa9199b98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffffa9199b98 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #46 0x0000ffffa9199b98 clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #47 0x0000ffffa9199fac llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #48 0x0000ffffa9199fac llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #49 0x0000ffffa9199fac clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #50 0x0000ffffa9199fac clang::ento::CoreEngine::enqueue(clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:613:23 #51 0x0000ffffa9199fac clang::ento::ExprEngine::ProcessNewAllocator(clang::CXXNewExpr const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1326:0 #52 0x0000ffffa919d22c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:984:0 #53 0x0000ffffa919d41c clang::ento::CoreEngine::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 0x0000ffffa919d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #55 0x0000ffffa919d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #56 0x0000ffffa919d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #57 0x0000ffffa919d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #58 0x0000ffffa919d764 clang::ento::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 0x0000ffffa946787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #60 0x0000ffffa946787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #61 0x0000ffffa946787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #62 0x0000ffffa946787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #63 0x0000ffffa946787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #64 0x0000ffffa94687e8 llvm::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 0x0000ffffa94687e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x0000ffffa94687e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #67 0x0000ffffa946cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x0000ffffa946cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x0000ffffa946cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x0000ffffa946cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x0000ffffa946cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x0000ffffa78c1e58 __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 0x0000ffffa78c1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x0000ffffa78c1e58 void clang::finalize>, 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 0x0000ffffa78c1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x0000ffffa8f87ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #77 0x0000ffffa8f3fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #78 0x0000ffffa8f3fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #79 0x0000ffffa8f3fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #80 0x0000ffffa8fc610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #81 0x0000aaaabed559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x0000aaaabed594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x0000aaaabed5aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x0000aaaabed51fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x0000ffffa053098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #86 0x0000ffffa0530a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #87 0x0000aaaabed520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/not-autogenerated.cpp.script: line 1: 1824494 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -analyzer-config alpha.clone.CloneChecker:IgnoredFilesPattern="moc_|ui_|dbus_|.*_automoc" -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/not-autogenerated.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/copypaste/plist-diagnostics-notes-as-events.cpp (579 of 18953) ******************** TEST 'Clang :: Analysis/copypaste/plist-diagnostics-notes-as-events.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-output=plist -analyzer-config notes-as-events=true -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/plist-diagnostics-notes-as-events.cpp.tmp.plist -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/plist-diagnostics-notes-as-events.cpp : 'RUN: at line 2'; grep -Ev '^[[:space:]]*.* version .*[[:space:]]*$|^[[:space:]]*/.*[[:space:]]*$|^[[:space:]]*.:.*[[:space:]]*$' parser at end of file 2. While analyzing stack: #0 Calling maxClone(int, int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/plist-diagnostics-notes-as-events.cpp:15:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/plist-diagnostics-notes-as-events.cpp:15:7: Error evaluating statement #0 0x0000ffff8e41acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8e419100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8e41b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff97357800 (linux-vdso.so.1+0x800) #4 0x0000ffff96673688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff96673688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff96673688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff96673688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff96673688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff96673688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff96673688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff96673688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff96320c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff96320c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff96320c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff96320c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff96321940 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff96321940 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff96321940 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff96321940 (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:0 #20 0x0000ffff9633591c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff9633591c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff9633591c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffff96335190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff96335190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff96335190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #26 0x0000ffff963417d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #27 0x0000ffff963417d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #28 0x0000ffff963417d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #29 0x0000ffff9634b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #30 0x0000ffff9634b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x0000ffff9634b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #32 0x0000ffff962af6d8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #33 0x0000ffff962af6d8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #34 0x0000ffff962af6d8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #35 0x0000ffff962af6d8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #36 0x0000ffff9679d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffff9679d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffff9679d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #39 0x0000ffff962c2a0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #40 0x0000ffff962c2a0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #41 0x0000ffff962c2a0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #42 0x0000ffff962dccac llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #43 0x0000ffff962dccac llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #44 0x0000ffff962dccac llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #45 0x0000ffff962dccac clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #46 0x0000ffff962dccac clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #47 0x0000ffff962dcf08 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #48 0x0000ffff962dd1f0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #49 0x0000ffff962dd41c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #50 0x0000ffff962dd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #51 0x0000ffff962dd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #52 0x0000ffff962dd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #53 0x0000ffff962dd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #54 0x0000ffff962dd764 clang::ento::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 0x0000ffff965a787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #56 0x0000ffff965a787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #57 0x0000ffff965a787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #58 0x0000ffff965a787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #59 0x0000ffff965a787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #60 0x0000ffff965a87e8 llvm::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 0x0000ffff965a87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x0000ffff965a87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #63 0x0000ffff965acde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x0000ffff965acde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x0000ffff965acde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x0000ffff965acde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x0000ffff965acde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x0000ffff94a01e58 __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 0x0000ffff94a01e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x0000ffff94a01e58 void clang::finalize>, 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 0x0000ffff94a01e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x0000ffff960c7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #73 0x0000ffff9607fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #74 0x0000ffff9607fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #75 0x0000ffff9607fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #76 0x0000ffff9610610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #77 0x0000aaaab3f259f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x0000aaaab3f294b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x0000aaaab3f2aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x0000aaaab3f21fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x0000ffff8d67098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #82 0x0000ffff8d670a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #83 0x0000aaaab3f220b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/plist-diagnostics-notes-as-events.cpp.script: line 2: 1824523 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-output=plist -analyzer-config notes-as-events=true -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/plist-diagnostics-notes-as-events.cpp.tmp.plist -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/plist-diagnostics-notes-as-events.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/copypaste/plist-diagnostics.cpp (580 of 18953) ******************** TEST 'Clang :: Analysis/copypaste/plist-diagnostics.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-output=plist -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/plist-diagnostics.cpp.tmp.plist -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/plist-diagnostics.cpp : 'RUN: at line 2'; grep -Ev '^[[:space:]]*.* version .*[[:space:]]*$|^[[:space:]]*/.*[[:space:]]*$|^[[:space:]]*.:.*[[:space:]]*$' parser at end of file 2. While analyzing stack: #0 Calling maxClone(int, int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/plist-diagnostics.cpp:15:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/plist-diagnostics.cpp:15:7: Error evaluating statement #0 0x0000ffffaf73acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffaf739100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffaf73b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb8674800 (linux-vdso.so.1+0x800) #4 0x0000ffffb7993688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb7993688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb7993688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb7993688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb7993688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb7993688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb7993688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb7993688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb7640c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb7640c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb7640c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb7640c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb7641940 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb7641940 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb7641940 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb7641940 (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:0 #20 0x0000ffffb765591c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb765591c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb765591c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffffb7655190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb7655190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb7655190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #26 0x0000ffffb76617d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #27 0x0000ffffb76617d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #28 0x0000ffffb76617d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #29 0x0000ffffb766b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #30 0x0000ffffb766b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x0000ffffb766b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #32 0x0000ffffb75cf6d8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #33 0x0000ffffb75cf6d8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #34 0x0000ffffb75cf6d8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #35 0x0000ffffb75cf6d8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #36 0x0000ffffb7abd3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffffb7abd3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffffb7abd3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #39 0x0000ffffb75e2a0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #40 0x0000ffffb75e2a0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #41 0x0000ffffb75e2a0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #42 0x0000ffffb75fccac llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #43 0x0000ffffb75fccac llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #44 0x0000ffffb75fccac llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #45 0x0000ffffb75fccac clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #46 0x0000ffffb75fccac clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #47 0x0000ffffb75fcf08 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #48 0x0000ffffb75fd1f0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #49 0x0000ffffb75fd41c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #50 0x0000ffffb75fd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #51 0x0000ffffb75fd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #52 0x0000ffffb75fd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #53 0x0000ffffb75fd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #54 0x0000ffffb75fd764 clang::ento::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 0x0000ffffb78c787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #56 0x0000ffffb78c787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #57 0x0000ffffb78c787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #58 0x0000ffffb78c787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #59 0x0000ffffb78c787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #60 0x0000ffffb78c87e8 llvm::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 0x0000ffffb78c87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x0000ffffb78c87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #63 0x0000ffffb78ccde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x0000ffffb78ccde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x0000ffffb78ccde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x0000ffffb78ccde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x0000ffffb78ccde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x0000ffffb5d21e58 __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 0x0000ffffb5d21e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x0000ffffb5d21e58 void clang::finalize>, 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 0x0000ffffb5d21e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x0000ffffb73e7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #73 0x0000ffffb739fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #74 0x0000ffffb739fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #75 0x0000ffffb739fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #76 0x0000ffffb742610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #77 0x0000aaaae42259f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x0000aaaae42294b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x0000aaaae422aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x0000aaaae4221fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x0000ffffae99098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #82 0x0000ffffae990a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #83 0x0000aaaae42220b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/plist-diagnostics.cpp.script: line 2: 1824526 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-output=plist -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/plist-diagnostics.cpp.tmp.plist -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/plist-diagnostics.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/copypaste/sub-sequences.cpp (581 of 18953) ******************** TEST 'Clang :: Analysis/copypaste/sub-sequences.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/sub-sequences.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/sub-sequences.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling maxClone(int, int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/sub-sequences.cpp:18:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/sub-sequences.cpp:18:7: Error evaluating statement #0 0x0000ffff931aacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff931a9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff931ab388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9c0ea800 (linux-vdso.so.1+0x800) #4 0x0000ffff9b403688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9b403688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9b403688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9b403688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9b403688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9b403688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff9b403688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff9b403688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9b0b0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9b0b0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9b0b0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9b0b0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9b0b1940 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9b0b1940 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9b0b1940 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9b0b1940 (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:0 #20 0x0000ffff9b0c591c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff9b0c591c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff9b0c591c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffff9b0c5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff9b0c5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff9b0c5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #26 0x0000ffff9b0d17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #27 0x0000ffff9b0d17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #28 0x0000ffff9b0d17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #29 0x0000ffff9b0db074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #30 0x0000ffff9b0db074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x0000ffff9b0db074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #32 0x0000ffff9b03f6d8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #33 0x0000ffff9b03f6d8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #34 0x0000ffff9b03f6d8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #35 0x0000ffff9b03f6d8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #36 0x0000ffff9b52d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffff9b52d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffff9b52d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #39 0x0000ffff9b052a0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #40 0x0000ffff9b052a0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #41 0x0000ffff9b052a0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #42 0x0000ffff9b06ccac llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #43 0x0000ffff9b06ccac llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #44 0x0000ffff9b06ccac llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #45 0x0000ffff9b06ccac clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #46 0x0000ffff9b06ccac clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #47 0x0000ffff9b06cf08 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #48 0x0000ffff9b06d1f0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #49 0x0000ffff9b06d41c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #50 0x0000ffff9b06d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #51 0x0000ffff9b06d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #52 0x0000ffff9b06d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #53 0x0000ffff9b06d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #54 0x0000ffff9b06d764 clang::ento::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 0x0000ffff9b33787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #56 0x0000ffff9b33787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #57 0x0000ffff9b33787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #58 0x0000ffff9b33787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #59 0x0000ffff9b33787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #60 0x0000ffff9b3387e8 llvm::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 0x0000ffff9b3387e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x0000ffff9b3387e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #63 0x0000ffff9b33cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x0000ffff9b33cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x0000ffff9b33cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x0000ffff9b33cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x0000ffff9b33cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x0000ffff99791e58 __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 0x0000ffff99791e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x0000ffff99791e58 void clang::finalize>, 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 0x0000ffff99791e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x0000ffff9ae57ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #73 0x0000ffff9ae0fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #74 0x0000ffff9ae0fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #75 0x0000ffff9ae0fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #76 0x0000ffff9ae9610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #77 0x0000aaaae6bf59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x0000aaaae6bf94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x0000aaaae6bfaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x0000aaaae6bf1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x0000ffff9240098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #82 0x0000ffff92400a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #83 0x0000aaaae6bf20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/sub-sequences.cpp.script: line 1: 1824530 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/sub-sequences.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/copypaste/objc-methods.m (583 of 18953) ******************** TEST 'Clang :: Analysis/copypaste/objc-methods.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-objc-root-class -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/objc-methods.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-objc-root-class -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/objc-methods.m 1. parser at end of file #0 0x0000ffff79a8acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff79a89100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff79a8b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff829cb800 (linux-vdso.so.1+0x800) #4 0x0000ffff81ce3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff81ce3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff81ce3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff81ce3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff81ce3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff81ce3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff81ce3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff81ce3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff81990c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff81990c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff81990c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff81990c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff81991ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff81991ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff81991ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff81991ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff819a4770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff819a4770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff819a4770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff819a5cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff819a5cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff819a5cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff819a5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff819a5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff819a5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff819b17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff819b17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff819b17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff819bb074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff819bb074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff819bb074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8191f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8191f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8191f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8191f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff8191fbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8191fbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8191fbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff818f31c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff818f31c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff818f31c0 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff8192fba8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff8192fba8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff8192fba8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffff8194daa8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff8194daa8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff8194daa8 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff81c1787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff81c1787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff81c1787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff81c1787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff81c1787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff81c187e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffff81c187e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff81c187e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff81c1cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff81c1cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff81c1cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff81c1cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff81c1cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff80071e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffff80071e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff80071e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffff80071e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff81737ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff816efc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff816efc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff816efc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff8177610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaadb7959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaadb7994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaadb79aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaadb791fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff78ce098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff78ce0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaadb7920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/objc-methods.m.script: line 1: 1824516 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-objc-root-class -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/objc-methods.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/copypaste/suspicious-clones.cpp (586 of 18953) ******************** TEST 'Clang :: Analysis/copypaste/suspicious-clones.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/suspicious-clones.cpp -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:ReportNormalClones=false -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/suspicious-clones.cpp -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:ReportNormalClones=false -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 1. parser at end of file 2. While analyzing stack: #0 Calling faultyBusyIncrement() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/suspicious-clones.cpp:49:9: Error evaluating branch #0 0x0000ffff958bacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff958b9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff958bb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9e7fd800 (linux-vdso.so.1+0x800) #4 0x0000ffff9db13688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9db13688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9db13688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9db13688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9db13688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9db13688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff9db13688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff9db13688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9d7c0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9d7c0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9d7c0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9d7c0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9d7c1940 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9d7c1940 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9d7c1940 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9d7c1940 (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:0 #20 0x0000ffff9d7d591c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff9d7d591c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff9d7d591c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffff9d7d5bf0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff9d7d5bf0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff9d7d5bf0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffff9d7d5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff9d7d5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff9d7d5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff9d7e17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff9d7e17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff9d7e17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9d7eb074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9d7eb074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9d7eb074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9d74f6d8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9d74f6d8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9d74f6d8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9d74f6d8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff9dc3d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9dc3d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9dc3d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff9d7658c8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffff9d7658c8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffff9d7658c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffff9d7658c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffff9d7658c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffff9d7658c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffff9d7658c8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffff9d7658c8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffff9d7658c8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffff9d7658c8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffff9d765e30 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffff9d77d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff9d77d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff9d77d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff9d77d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff9d77d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff9da4787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff9da4787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff9da4787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff9da4787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff9da4787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff9da487e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff9da487e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff9da487e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff9da4cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff9da4cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff9da4cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff9da4cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff9da4cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff9bea1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff9bea1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff9bea1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff9bea1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff9d567ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff9d51fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff9d51fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff9d51fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff9d5a610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaaab5359f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaaab5394b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaaab53aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaaab531fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff94b1098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff94b10a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaaab5320b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/suspicious-clones.cpp.script: line 1: 1824539 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/suspicious-clones.cpp -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:ReportNormalClones=false -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -- ******************** Testing: 0 FAIL: Clang :: Analysis/copypaste/ui_autogenerated.cpp (587 of 18953) ******************** TEST 'Clang :: Analysis/copypaste/ui_autogenerated.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:IgnoredFilesPattern="moc_|ui_|.*_automoc" -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/ui_autogenerated.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:IgnoredFilesPattern=moc_|ui_|.*_automoc -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/ui_autogenerated.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling f1() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/ui_autogenerated.cpp:9:13: Error evaluating New Allocator Call #0 0x0000ffff942dacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff942d9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff942db388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9d215800 (linux-vdso.so.1+0x800) #4 0x0000ffff9c533688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9c533688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9c533688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9c533688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9c533688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9c533688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff9c533688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff9c533688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9c1e0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9c1e0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9c1e0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9c1e0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9c1e1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9c1e1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9c1e1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9c1e1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff9c1f4770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff9c1f4770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff9c1f4770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff9c1f5cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff9c1f5cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff9c1f5cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff9c1f5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff9c1f5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff9c1f5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff9c2017d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff9c2017d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff9c2017d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9c20b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9c20b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9c20b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9c16f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9c16f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9c16f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9c16f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9c16fbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9c16fbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9c16fbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff9c199b98 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #43 0x0000ffff9c199b98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #44 0x0000ffff9c199b98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffff9c199b98 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #46 0x0000ffff9c199b98 clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #47 0x0000ffff9c199fac llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #48 0x0000ffff9c199fac llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #49 0x0000ffff9c199fac clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #50 0x0000ffff9c199fac clang::ento::CoreEngine::enqueue(clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:613:23 #51 0x0000ffff9c199fac clang::ento::ExprEngine::ProcessNewAllocator(clang::CXXNewExpr const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1326:0 #52 0x0000ffff9c19d22c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:984:0 #53 0x0000ffff9c19d41c clang::ento::CoreEngine::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 0x0000ffff9c19d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #55 0x0000ffff9c19d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #56 0x0000ffff9c19d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #57 0x0000ffff9c19d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #58 0x0000ffff9c19d764 clang::ento::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 0x0000ffff9c46787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #60 0x0000ffff9c46787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #61 0x0000ffff9c46787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #62 0x0000ffff9c46787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #63 0x0000ffff9c46787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #64 0x0000ffff9c4687e8 llvm::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 0x0000ffff9c4687e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x0000ffff9c4687e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #67 0x0000ffff9c46cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x0000ffff9c46cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x0000ffff9c46cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x0000ffff9c46cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x0000ffff9c46cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x0000ffff9a8c1e58 __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 0x0000ffff9a8c1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x0000ffff9a8c1e58 void clang::finalize>, 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 0x0000ffff9a8c1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x0000ffff9bf87ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #77 0x0000ffff9bf3fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #78 0x0000ffff9bf3fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #79 0x0000ffff9bf3fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #80 0x0000ffff9bfc610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #81 0x0000aaaadf2159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x0000aaaadf2194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x0000aaaadf21aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x0000aaaadf211fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x0000ffff9353098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #86 0x0000ffff93530a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #87 0x0000aaaadf2120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/ui_autogenerated.cpp.script: line 1: 1824557 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:IgnoredFilesPattern="moc_|ui_|.*_automoc" -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/ui_autogenerated.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/copypaste/text-diagnostics.cpp (588 of 18953) ******************** TEST 'Clang :: Analysis/copypaste/text-diagnostics.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-output=text -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/text-diagnostics.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-output=text -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/text-diagnostics.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling maxClone(int, int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/text-diagnostics.cpp:14:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/text-diagnostics.cpp:14:7: Error evaluating statement #0 0x0000ffff8d04acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8d049100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8d04b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff95f81800 (linux-vdso.so.1+0x800) #4 0x0000ffff952a3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff952a3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff952a3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff952a3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff952a3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff952a3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff952a3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff952a3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff94f50c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff94f50c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff94f50c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff94f50c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff94f51940 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff94f51940 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff94f51940 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff94f51940 (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:0 #20 0x0000ffff94f6591c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff94f6591c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff94f6591c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffff94f65190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff94f65190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff94f65190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #26 0x0000ffff94f717d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #27 0x0000ffff94f717d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #28 0x0000ffff94f717d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #29 0x0000ffff94f7b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #30 0x0000ffff94f7b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x0000ffff94f7b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #32 0x0000ffff94edf6d8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #33 0x0000ffff94edf6d8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #34 0x0000ffff94edf6d8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #35 0x0000ffff94edf6d8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #36 0x0000ffff953cd3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffff953cd3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffff953cd3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #39 0x0000ffff94ef2a0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #40 0x0000ffff94ef2a0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #41 0x0000ffff94ef2a0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #42 0x0000ffff94f0ccac llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #43 0x0000ffff94f0ccac llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #44 0x0000ffff94f0ccac llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #45 0x0000ffff94f0ccac clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #46 0x0000ffff94f0ccac clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #47 0x0000ffff94f0cf08 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #48 0x0000ffff94f0d1f0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #49 0x0000ffff94f0d41c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #50 0x0000ffff94f0d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #51 0x0000ffff94f0d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #52 0x0000ffff94f0d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #53 0x0000ffff94f0d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #54 0x0000ffff94f0d764 clang::ento::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 0x0000ffff951d787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #56 0x0000ffff951d787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #57 0x0000ffff951d787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #58 0x0000ffff951d787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #59 0x0000ffff951d787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #60 0x0000ffff951d87e8 llvm::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 0x0000ffff951d87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x0000ffff951d87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #63 0x0000ffff951dcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x0000ffff951dcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x0000ffff951dcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x0000ffff951dcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x0000ffff951dcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x0000ffff93631e58 __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 0x0000ffff93631e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x0000ffff93631e58 void clang::finalize>, 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 0x0000ffff93631e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x0000ffff94cf7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #73 0x0000ffff94cafc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #74 0x0000ffff94cafc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #75 0x0000ffff94cafc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #76 0x0000ffff94d3610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #77 0x0000aaaaae2f59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x0000aaaaae2f94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x0000aaaaae2faac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x0000aaaaae2f1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x0000ffff8c2a098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #82 0x0000ffff8c2a0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #83 0x0000aaaaae2f20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/copypaste/Output/text-diagnostics.cpp.script: line 1: 1824550 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-output=text -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -analyzer-config alpha.clone.CloneChecker:MinimumCloneComplexity=10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/copypaste/text-diagnostics.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/coverage.c (589 of 18953) ******************** TEST 'Clang :: Analysis/coverage.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc -analyzer-max-loop 4 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/coverage.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc -analyzer-max-loop 4 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/coverage.c 1. parser at end of file 2. While analyzing stack: #0 Calling coverage9 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/coverage.c:93:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/coverage.c:93:7: Error evaluating statement #0 0x0000ffff8cedacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8ced9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8cedb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff95e16800 (linux-vdso.so.1+0x800) #4 0x0000ffff95133688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff95133688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff95133688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff95133688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff95133688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff95133688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff95133688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff95133688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff94de0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff94de0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff94de0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff94de0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff94de1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff94de1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff94de1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff94de1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff94df4770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff94df4770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff94df4770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff94df5cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff94df5cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff94df5cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff94df5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff94df5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff94df5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff94e017d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff94e017d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff94e017d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff94e0b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff94e0b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff94e0b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff94d6f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff94d6f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff94d6f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff94d6f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9525d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9525d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9525d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff94e8eee0 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff94e8eee0 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff94e8eee0 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:61 #45 0x0000ffff94e8eee0 void clang::ento::check::Location::_checkLocation<(anonymous namespace)::DereferenceChecker>(void*, clang::ento::SVal const&, bool, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:199:46 #46 0x0000ffff94d599b8 void expandGraphWithCheckers<(anonymous namespace)::CheckLocationContext>((anonymous namespace)::CheckLocationContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #47 0x0000ffff94d82270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:60 #48 0x0000ffff94d82270 clang::ento::ExprEngine::evalLocation(clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::Stmt const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3710:19 #49 0x0000ffff94d824ac llvm::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 0x0000ffff94d824ac llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #51 0x0000ffff94d824ac llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x0000ffff94d824ac clang::ento::ExprEngine::evalLoad(clang::ento::ExplodedNodeSet&, clang::Expr const*, clang::Expr const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, clang::ProgramPointTag const*, clang::QualType) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3653:15 #53 0x0000ffff94d92170 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #54 0x0000ffff94d92170 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #55 0x0000ffff94d92170 clang::ento::ExprEngine::VisitCast(clang::CastExpr const*, clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:292:0 #56 0x0000ffff94d9b884 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #57 0x0000ffff94d9b884 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #58 0x0000ffff94d9b884 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2258:0 #59 0x0000ffff94d9cf08 clang::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 0x0000ffff94d9d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff94d9d41c clang::ento::CoreEngine::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 0x0000ffff94d9d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #63 0x0000ffff94d9d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #64 0x0000ffff94d9d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #65 0x0000ffff94d9d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #66 0x0000ffff94d9d764 clang::ento::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 0x0000ffff9506787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #68 0x0000ffff9506787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #69 0x0000ffff9506787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #70 0x0000ffff9506787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #71 0x0000ffff9506787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #72 0x0000ffff950687e8 llvm::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 0x0000ffff950687e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #74 0x0000ffff950687e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #75 0x0000ffff9506cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #76 0x0000ffff9506cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #77 0x0000ffff9506cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #78 0x0000ffff9506cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #79 0x0000ffff9506cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #80 0x0000ffff934c1e58 __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 0x0000ffff934c1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #82 0x0000ffff934c1e58 void clang::finalize>, 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 0x0000ffff934c1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #84 0x0000ffff94b87ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #85 0x0000ffff94b3fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #86 0x0000ffff94b3fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #87 0x0000ffff94b3fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #88 0x0000ffff94bc610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #89 0x0000aaaad74b59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #90 0x0000aaaad74b94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #91 0x0000aaaad74baac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #92 0x0000aaaad74b1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #93 0x0000ffff8c13098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #94 0x0000ffff8c130a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #95 0x0000aaaad74b20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/coverage.c.script: line 1: 1824566 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc -analyzer-max-loop 4 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/coverage.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/cstring-syntax-cxx.cpp (590 of 18953) ******************** TEST 'Clang :: Analysis/cstring-syntax-cxx.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=unix.cstring.BadSizeArg -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cstring-syntax-cxx.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=unix.cstring.BadSizeArg -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cstring-syntax-cxx.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling test(X, X) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cstring-syntax-cxx.cpp:15:9: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cstring-syntax-cxx.cpp:15:9: Error evaluating statement #0 0x0000ffffafd6acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffafd69100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffafd6b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb8ca4800 (linux-vdso.so.1+0x800) #4 0x0000ffffb7c18434 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb7c18434 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb7c18434 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb7c18434 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb7c18434 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb7c18434 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb7c18434 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:0 #11 0x0000ffffb7c18434 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 0x0000ffffb7c492b0 clang::ento::ExprEngine::finishArgumentConstruction(llvm::IntrusiveRefCntPtr, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:640:59 #13 0x0000ffffb7c49454 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #14 0x0000ffffb7c49454 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #15 0x0000ffffb7c49454 clang::ento::ExprEngine::finishArgumentConstruction(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:657:72 #16 0x0000ffffb7c26164 clang::ento::ExprEngine::handleConstructor(clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:832:0 #17 0x0000ffffb7c2be5c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #18 0x0000ffffb7c2be5c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2158:0 #19 0x0000ffffb7c2cf08 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #20 0x0000ffffb7c2d1f0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #21 0x0000ffffb7c2d41c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #22 0x0000ffffb7c2d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #23 0x0000ffffb7c2d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #24 0x0000ffffb7c2d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #25 0x0000ffffb7c2d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #26 0x0000ffffb7c2d764 clang::ento::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 0x0000ffffb7ef787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x0000ffffb7ef787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x0000ffffb7ef787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #30 0x0000ffffb7ef787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #31 0x0000ffffb7ef787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #32 0x0000ffffb7ef87e8 llvm::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 0x0000ffffb7ef87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #34 0x0000ffffb7ef87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #35 0x0000ffffb7efcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x0000ffffb7efcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x0000ffffb7efcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #38 0x0000ffffb7efcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #39 0x0000ffffb7efcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #40 0x0000ffffb6351e58 __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 0x0000ffffb6351e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #42 0x0000ffffb6351e58 void clang::finalize>, 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 0x0000ffffb6351e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #44 0x0000ffffb7a17ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #45 0x0000ffffb79cfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #46 0x0000ffffb79cfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #47 0x0000ffffb79cfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #48 0x0000ffffb7a5610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #49 0x0000aaaacf7259f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #50 0x0000aaaacf7294b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #51 0x0000aaaacf72aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #52 0x0000aaaacf721fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #53 0x0000ffffaefc098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #54 0x0000ffffaefc0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #55 0x0000aaaacf7220b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cstring-syntax-cxx.cpp.script: line 1: 1824602 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=unix.cstring.BadSizeArg -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cstring-syntax-cxx.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/cstring-syntax-weird.c (591 of 18953) ******************** TEST 'Clang :: Analysis/cstring-syntax-weird.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=unix.cstring.BadSizeArg -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cstring-syntax-weird.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=unix.cstring.BadSizeArg -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cstring-syntax-weird.c 1. parser at end of file 2. While analyzing stack: #0 Calling testWeirdDecls 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cstring-syntax-weird.c:17:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cstring-syntax-weird.c:17:3: Error evaluating statement #0 0x0000ffffa287acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa2879100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa287b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffab7b4800 (linux-vdso.so.1+0x800) #4 0x0000ffffaaad3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffaaad3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffaaad3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffaaad3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffaaad3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffaaad3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffaaad3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffaaad3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffaa780c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffaa780c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffaa780c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffaa780c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffaa781ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffaa781ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffaa781ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffaa781ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffaa794770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffaa794770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffaa794770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffaa795cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffaa795cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffaa795cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffaa795190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffaa795190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffaa795190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffaa7a17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffaa7a17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffaa7a17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffaa7ab074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffaa7ab074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffaa7ab074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffaa70f6d8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffaa70f6d8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffaa70f6d8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffaa70f6d8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffaac050e8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffaac050e8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffaac050e8 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffaac050e8 (anonymous namespace)::CStringChecker::assumeZero(clang::ento::CheckerContext&, llvm::IntrusiveRefCntPtr, clang::ento::SVal, clang::QualType) (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:346:0 #43 0x0000ffffaac051a8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #44 0x0000ffffaac051a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #45 0x0000ffffaac051a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x0000ffffaac051a8 (anonymous namespace)::CStringChecker::checkNonNull(clang::ento::CheckerContext&, llvm::IntrusiveRefCntPtr, (anonymous namespace)::AnyArgExpr, clang::ento::SVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:358:0 #47 0x0000ffffaa7d2da4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #48 0x0000ffffaa7d2da4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #49 0x0000ffffaa7d2da4 (anonymous namespace)::CStringChecker::evalStrcpyCommon(clang::ento::CheckerContext&, clang::CallExpr const*, bool, bool, (anonymous namespace)::ConcatFnKind, bool) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:1710:49 #50 0x0000ffffaa7dea10 clang::ento::CheckerContext::isDifferent() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h:76:31 #51 0x0000ffffaa7dea10 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:2515:23 #52 0x0000ffffaa7dea10 bool clang::ento::eval::Call::_evalCall<(anonymous namespace)::CStringChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:478:48 #53 0x0000ffffaa6f9f0c 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 0x0000ffffaa75981c llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #55 0x0000ffffaa75981c llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #56 0x0000ffffaa75981c clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #57 0x0000ffffaa75981c clang::ento::ExprEngine::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 0x0000ffffaa75a144 clang::ento::ExprEngine::VisitCallExpr(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 0x0000ffffaa73bea0 clang::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 0x0000ffffaa73bea0 clang::ento::ExprEngine::Visit(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 0x0000ffffaa73cf08 clang::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 0x0000ffffaa73d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffaa73d41c clang::ento::CoreEngine::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 0x0000ffffaa73d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #65 0x0000ffffaa73d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #66 0x0000ffffaa73d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #67 0x0000ffffaa73d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #68 0x0000ffffaa73d764 clang::ento::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 0x0000ffffaaa0787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #70 0x0000ffffaaa0787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #71 0x0000ffffaaa0787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #72 0x0000ffffaaa0787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #73 0x0000ffffaaa0787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #74 0x0000ffffaaa087e8 llvm::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 0x0000ffffaaa087e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #76 0x0000ffffaaa087e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #77 0x0000ffffaaa0cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #78 0x0000ffffaaa0cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #79 0x0000ffffaaa0cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #80 0x0000ffffaaa0cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #81 0x0000ffffaaa0cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #82 0x0000ffffa8e61e58 __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 0x0000ffffa8e61e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #84 0x0000ffffa8e61e58 void clang::finalize>, 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 0x0000ffffa8e61e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #86 0x0000ffffaa527ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #87 0x0000ffffaa4dfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #88 0x0000ffffaa4dfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #89 0x0000ffffaa4dfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #90 0x0000ffffaa56610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #91 0x0000aaaacdf059f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #92 0x0000aaaacdf094b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #93 0x0000aaaacdf0aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #94 0x0000aaaacdf01fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #95 0x0000ffffa1ad098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #96 0x0000ffffa1ad0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #97 0x0000aaaacdf020b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cstring-syntax-weird.c.script: line 1: 1824605 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=unix.cstring.BadSizeArg -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cstring-syntax-weird.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/cstring-plist.c (592 of 18953) ******************** TEST 'Clang :: Analysis/cstring-plist.c' FAILED ******************** Script: -- : 'RUN: at line 1'; rm -f /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cstring-plist.c.tmp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -analyzer-checker=core -analyzer-checker=unix.Malloc -analyzer-checker=unix.cstring.NullArg -analyzer-disable-checker=alpha.unix.cstring.OutOfBounds -analyzer-output=plist -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cstring-plist.c.tmp /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cstring-plist.c : 'RUN: at line 8'; /usr/bin/FileCheck -input-file /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cstring-plist.c.tmp /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cstring-plist.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -analyzer-checker=core -analyzer-checker=unix.Malloc -analyzer-checker=unix.cstring.NullArg -analyzer-disable-checker=alpha.unix.cstring.OutOfBounds -analyzer-output=plist -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cstring-plist.c.tmp /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cstring-plist.c 1. parser at end of file 2. While analyzing stack: #0 Calling cstringchecker_bounds_nocrash 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cstring-plist.c:18:13: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cstring-plist.c:18:13: Error evaluating statement #0 0x0000ffff8736acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff87369100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8736b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff902a8800 (linux-vdso.so.1+0x800) #4 0x0000ffff8f5a9f20 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8f5a9f20 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8f5a9f20 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8f5a9f20 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8f5a9f20 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8f5a9f20 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff8f5a9f20 get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff8f5a9f20 (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 0x0000ffff8f3b83d0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x0000ffff8f3b83d0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x0000ffff8f3b83d0 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 0x0000ffff8f1cc2f8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #16 0x0000ffff8f1cc2f8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #17 0x0000ffff8f1cc2f8 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool)>::operator()(llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:0 #18 0x0000ffff8f1cc2f8 clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:0 #19 0x0000ffff8f291844 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffff8f291844 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffff8f291844 clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:78 #22 0x0000ffff8f291844 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:53 #23 0x0000ffff8f29b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x0000ffff8f29b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x0000ffff8f29b074 clang::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 0x0000ffff8f1ff818 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8f1ff818 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8f1ff818 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #29 0x0000ffff8f1ff818 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:68:21 #30 0x0000ffff8f6ed3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff8f6ed3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff8f6ed3d4 clang::ento::ProgramState::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 0x0000ffff8f3c44b0 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x0000ffff8f3c44b0 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x0000ffff8f3c44b0 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x0000ffff8f3c44b0 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x0000ffff8f3c44b0 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x0000ffff8f3c44b0 (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 0x0000ffff8f3c4900 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #40 0x0000ffff8f3c4900 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #41 0x0000ffff8f3c4900 (anonymous namespace)::MallocChecker::checkBasicAlloc(clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1217:0 #42 0x0000ffff8f3d0e00 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #43 0x0000ffff8f3d0e00 void clang::ento::check::PostCall::_checkCall<(anonymous namespace)::MallocChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:183:0 #44 0x0000ffff8f1e9524 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #45 0x0000ffff8f1e9524 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x0000ffff8f1e9524 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #47 0x0000ffff8f1e9524 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #48 0x0000ffff8f1e9524 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #49 0x0000ffff8f2498b8 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #50 0x0000ffff8f2498b8 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #51 0x0000ffff8f2498b8 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #52 0x0000ffff8f2498b8 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #53 0x0000ffff8f2498b8 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #54 0x0000ffff8f2498b8 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #55 0x0000ffff8f24a144 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #56 0x0000ffff8f22bea0 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #57 0x0000ffff8f22bea0 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #58 0x0000ffff8f22cf08 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #59 0x0000ffff8f22d1f0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #60 0x0000ffff8f22d41c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #61 0x0000ffff8f22d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #62 0x0000ffff8f22d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #63 0x0000ffff8f22d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #64 0x0000ffff8f22d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #65 0x0000ffff8f22d764 clang::ento::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 0x0000ffff8f4f787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #67 0x0000ffff8f4f787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #68 0x0000ffff8f4f787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #69 0x0000ffff8f4f787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #70 0x0000ffff8f4f787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #71 0x0000ffff8f4f87e8 llvm::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 0x0000ffff8f4f87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #73 0x0000ffff8f4f87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #74 0x0000ffff8f4fcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #75 0x0000ffff8f4fcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #76 0x0000ffff8f4fcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #77 0x0000ffff8f4fcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #78 0x0000ffff8f4fcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #79 0x0000ffff8d951e58 __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 0x0000ffff8d951e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #81 0x0000ffff8d951e58 void clang::finalize>, 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 0x0000ffff8d951e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #83 0x0000ffff8f017ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #84 0x0000ffff8efcfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #85 0x0000ffff8efcfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #86 0x0000ffff8efcfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #87 0x0000ffff8f05610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #88 0x0000aaaae45a59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #89 0x0000aaaae45a94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #90 0x0000aaaae45aaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #91 0x0000aaaae45a1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #92 0x0000ffff865c098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #93 0x0000ffff865c0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #94 0x0000aaaae45a20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cstring-plist.c.script: line 3: 1824598 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -analyzer-checker=core -analyzer-checker=unix.Malloc -analyzer-checker=unix.cstring.NullArg -analyzer-disable-checker=alpha.unix.cstring.OutOfBounds -analyzer-output=plist -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cstring-plist.c.tmp /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cstring-plist.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/cstring-syntax-weird2.c (593 of 18953) ******************** TEST 'Clang :: Analysis/cstring-syntax-weird2.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=unix.cstring.BadSizeArg -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cstring-syntax-weird2.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=unix.cstring.BadSizeArg -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cstring-syntax-weird2.c 1. parser at end of file 2. While analyzing stack: #0 Calling testWeirdDecls 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cstring-syntax-weird2.c:15:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cstring-syntax-weird2.c:15:3: Error evaluating statement #0 0x0000ffff9684acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff96849100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9684b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9f788800 (linux-vdso.so.1+0x800) #4 0x0000ffff9eaa3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9eaa3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9eaa3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9eaa3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9eaa3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9eaa3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff9eaa3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff9eaa3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9e750c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9e750c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9e750c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9e750c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9e751ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9e751ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9e751ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9e751ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff9e764770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff9e764770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff9e764770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff9e765cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff9e765cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff9e765cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff9e765190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff9e765190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff9e765190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff9e7717d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff9e7717d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff9e7717d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9e77b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9e77b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9e77b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9e6df6d8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9e6df6d8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9e6df6d8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9e6df6d8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff9ebd50e8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9ebd50e8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9ebd50e8 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff9ebd50e8 (anonymous namespace)::CStringChecker::assumeZero(clang::ento::CheckerContext&, llvm::IntrusiveRefCntPtr, clang::ento::SVal, clang::QualType) (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:346:0 #43 0x0000ffff9ebd51a8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #44 0x0000ffff9ebd51a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #45 0x0000ffff9ebd51a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x0000ffff9ebd51a8 (anonymous namespace)::CStringChecker::checkNonNull(clang::ento::CheckerContext&, llvm::IntrusiveRefCntPtr, (anonymous namespace)::AnyArgExpr, clang::ento::SVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:358:0 #47 0x0000ffff9e7a2da4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #48 0x0000ffff9e7a2da4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #49 0x0000ffff9e7a2da4 (anonymous namespace)::CStringChecker::evalStrcpyCommon(clang::ento::CheckerContext&, clang::CallExpr const*, bool, bool, (anonymous namespace)::ConcatFnKind, bool) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:1710:49 #50 0x0000ffff9e7aea10 clang::ento::CheckerContext::isDifferent() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h:76:31 #51 0x0000ffff9e7aea10 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:2515:23 #52 0x0000ffff9e7aea10 bool clang::ento::eval::Call::_evalCall<(anonymous namespace)::CStringChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:478:48 #53 0x0000ffff9e6c9f0c 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 0x0000ffff9e72981c llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #55 0x0000ffff9e72981c llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #56 0x0000ffff9e72981c clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #57 0x0000ffff9e72981c clang::ento::ExprEngine::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 0x0000ffff9e72a144 clang::ento::ExprEngine::VisitCallExpr(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 0x0000ffff9e70bea0 clang::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 0x0000ffff9e70bea0 clang::ento::ExprEngine::Visit(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 0x0000ffff9e70cf08 clang::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 0x0000ffff9e70d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff9e70d41c clang::ento::CoreEngine::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 0x0000ffff9e70d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #65 0x0000ffff9e70d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #66 0x0000ffff9e70d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #67 0x0000ffff9e70d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #68 0x0000ffff9e70d764 clang::ento::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 0x0000ffff9e9d787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #70 0x0000ffff9e9d787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #71 0x0000ffff9e9d787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #72 0x0000ffff9e9d787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #73 0x0000ffff9e9d787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #74 0x0000ffff9e9d87e8 llvm::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 0x0000ffff9e9d87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #76 0x0000ffff9e9d87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #77 0x0000ffff9e9dcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #78 0x0000ffff9e9dcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #79 0x0000ffff9e9dcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #80 0x0000ffff9e9dcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #81 0x0000ffff9e9dcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #82 0x0000ffff9ce31e58 __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 0x0000ffff9ce31e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #84 0x0000ffff9ce31e58 void clang::finalize>, 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 0x0000ffff9ce31e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #86 0x0000ffff9e4f7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #87 0x0000ffff9e4afc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #88 0x0000ffff9e4afc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #89 0x0000ffff9e4afc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #90 0x0000ffff9e53610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #91 0x0000aaaab0b359f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #92 0x0000aaaab0b394b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #93 0x0000aaaab0b3aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #94 0x0000aaaab0b31fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #95 0x0000ffff95aa098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #96 0x0000ffff95aa0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #97 0x0000aaaab0b320b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cstring-syntax-weird2.c.script: line 1: 1824610 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=unix.cstring.BadSizeArg -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cstring-syntax-weird2.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/cstring-syntax.c (594 of 18953) ******************** TEST 'Clang :: Analysis/cstring-syntax.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=unix.cstring.BadSizeArg -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cstring-syntax.c -Wno-strncat-size -Wno-sizeof-pointer-memaccess -Wno-strlcpy-strlcat-size -Wno-sizeof-array-argument : 'RUN: at line 4'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=unix.cstring.BadSizeArg -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cstring-syntax.c -Wno-strncat-size -Wno-sizeof-pointer-memaccess -Wno-strlcpy-strlcat-size -Wno-sizeof-array-argument -triple armv7-a15-linux : 'RUN: at line 8'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=unix.cstring.BadSizeArg -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cstring-syntax.c -Wno-strncat-size -Wno-sizeof-pointer-memaccess -Wno-strlcpy-strlcat-size -Wno-sizeof-array-argument -triple aarch64_be-none-linux-gnu : 'RUN: at line 12'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=unix.cstring.BadSizeArg -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cstring-syntax.c -Wno-strncat-size -Wno-sizeof-pointer-memaccess -Wno-strlcpy-strlcat-size -Wno-sizeof-array-argument -triple i386-apple-darwin10 -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=unix.cstring.BadSizeArg -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cstring-syntax.c -Wno-strncat-size -Wno-sizeof-pointer-memaccess -Wno-strlcpy-strlcat-size -Wno-sizeof-array-argument 1. parser at end of file 2. While analyzing stack: #0 Calling testStrlcat 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cstring-syntax.c:54:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cstring-syntax.c:54:3: Error evaluating statement #0 0x0000ffffa712acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa7129100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa712b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb0063800 (linux-vdso.so.1+0x800) #4 0x0000ffffaf36bb3c llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffaf36bb3c llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffaf36bb3c llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffaf36bb3c llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffaf36bb3c llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffaf36bb3c 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 0x0000ffffaf36bb3c get<(anonymous namespace)::CStringLength> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffaf36bb3c (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 0x0000ffffaf080be8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x0000ffffaf080be8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x0000ffffaf080be8 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 0x0000ffffaef8c044 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #16 0x0000ffffaef8c044 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #17 0x0000ffffaef8c044 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, llvm::DenseSet> const*, llvm::ArrayRef, llvm::ArrayRef, clang::LocationContext const*, clang::ento::CallEvent const*)>::operator()(llvm::IntrusiveRefCntPtr, llvm::DenseSet> const*, llvm::ArrayRef, llvm::ArrayRef, clang::LocationContext const*, clang::ento::CallEvent const*) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:0 #18 0x0000ffffaef8c044 clang::ento::CheckerManager::runCheckersForRegionChanges(llvm::IntrusiveRefCntPtr, llvm::DenseSet> const*, llvm::ArrayRef, llvm::ArrayRef, clang::LocationContext const*, clang::ento::CallEvent const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:608:0 #19 0x0000ffffaf01d310 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #20 0x0000ffffaf01d310 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #21 0x0000ffffaf01d310 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 0x0000ffffaf01d310 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 0x0000ffffaf01d5b0 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #24 0x0000ffffaf01d5b0 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #25 0x0000ffffaf01d5b0 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #26 0x0000ffffaf01d5b0 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 0x0000ffffaf4b4ed8 llvm::DenseMap, llvm::detail::DenseMapPair>::~DenseMap() /usr/include/llvm/ADT/DenseMap.h:782:0 #28 0x0000ffffaf4b4ed8 clang::ento::RegionAndSymbolInvalidationTraits::~RegionAndSymbolInvalidationTraits() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h:1624:7 #29 0x0000ffffaf4b4ed8 (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 0x0000ffffaf045734 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffffaf045734 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffffaf045734 (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 0x0000ffffaf0836c0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:15 #34 0x0000ffffaf0836c0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #35 0x0000ffffaf0836c0 (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 0x0000ffffaf08ea10 clang::ento::CheckerContext::isDifferent() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h:76:31 #37 0x0000ffffaf08ea10 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:2515:23 #38 0x0000ffffaf08ea10 bool clang::ento::eval::Call::_evalCall<(anonymous namespace)::CStringChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:478:48 #39 0x0000ffffaefa9f0c clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:694:0 #40 0x0000ffffaf00981c llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #41 0x0000ffffaf00981c llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #42 0x0000ffffaf00981c clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #43 0x0000ffffaf00981c clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:696:26 #44 0x0000ffffaf00a144 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #45 0x0000ffffaefebea0 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #46 0x0000ffffaefebea0 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #47 0x0000ffffaefecf08 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #48 0x0000ffffaefed1f0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #49 0x0000ffffaefed41c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #50 0x0000ffffaefed764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #51 0x0000ffffaefed764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #52 0x0000ffffaefed764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #53 0x0000ffffaefed764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #54 0x0000ffffaefed764 clang::ento::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 0x0000ffffaf2b787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #56 0x0000ffffaf2b787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #57 0x0000ffffaf2b787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #58 0x0000ffffaf2b787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #59 0x0000ffffaf2b787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #60 0x0000ffffaf2b87e8 llvm::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 0x0000ffffaf2b87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x0000ffffaf2b87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #63 0x0000ffffaf2bcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x0000ffffaf2bcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x0000ffffaf2bcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x0000ffffaf2bcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x0000ffffaf2bcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x0000ffffad711e58 __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 0x0000ffffad711e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x0000ffffad711e58 void clang::finalize>, 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 0x0000ffffad711e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x0000ffffaedd7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #73 0x0000ffffaed8fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #74 0x0000ffffaed8fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #75 0x0000ffffaed8fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #76 0x0000ffffaee1610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #77 0x0000aaaab3f159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x0000aaaab3f194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x0000aaaab3f1aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x0000aaaab3f11fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x0000ffffa638098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #82 0x0000ffffa6380a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #83 0x0000aaaab3f120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cstring-syntax.c.script: line 4: 1824617 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=unix.cstring.BadSizeArg -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cstring-syntax.c -Wno-strncat-size -Wno-sizeof-pointer-memaccess -Wno-strlcpy-strlcat-size -Wno-sizeof-array-argument -- ******************** Testing: 0 FAIL: Clang :: Analysis/ctor-array.cpp (596 of 18953) ******************** TEST 'Clang :: Analysis/ctor-array.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-disable-checker=cplusplus -analyzer-config c++-inlining=constructors -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctor-array.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-disable-checker=cplusplus -analyzer-config c++-inlining=constructors -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctor-array.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling Parent::Parent() at line 245 #1 Calling member() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctor-array.cpp:241:19: Error evaluating statement #0 0x0000ffffb0f9acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb0f99100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb0f9b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb9ed1800 (linux-vdso.so.1+0x800) #4 0x0000ffffb8e47db8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffb8e47db8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffb8e47db8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffb8e47db8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffb8e47db8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffb8e47db8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffb8e47db8 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffb8e47db8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1059:61 #12 0x0000ffffb8e5ce94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffffb8e5ce94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffffb8e5ce94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffffb8e5ce94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffffb8e5ce94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffffb8e5ce94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffffb8e5ce94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffffb8e5ce94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffffb8e5ce94 clang::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 0x0000ffffb8e5d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffb8e5d310 clang::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 0x0000ffffb8e5d5dc clang::ento::CoreEngine::dispatchWorkItem(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 0x0000ffffb8e5d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x0000ffffb8e5d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x0000ffffb8e5d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #27 0x0000ffffb8e5d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #28 0x0000ffffb8e5d764 clang::ento::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 0x0000ffffb912787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffffb912787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffffb912787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #32 0x0000ffffb912787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #33 0x0000ffffb912787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #34 0x0000ffffb91287e8 llvm::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 0x0000ffffb91287e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x0000ffffb91287e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #37 0x0000ffffb912cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x0000ffffb912cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x0000ffffb912cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x0000ffffb912cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x0000ffffb912cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x0000ffffb7581e58 __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 0x0000ffffb7581e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x0000ffffb7581e58 void clang::finalize>, 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 0x0000ffffb7581e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x0000ffffb8c47ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #47 0x0000ffffb8bffc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #48 0x0000ffffb8bffc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #49 0x0000ffffb8bffc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #50 0x0000ffffb8c8610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #51 0x0000aaaab14859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x0000aaaab14894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x0000aaaab148aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x0000aaaab1481fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x0000ffffb01f098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #56 0x0000ffffb01f0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #57 0x0000aaaab14820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctor-array.cpp.script: line 1: 1824628 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-disable-checker=cplusplus -analyzer-config c++-inlining=constructors -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctor-array.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/ctor-bug-path.cpp (601 of 18953) ******************** TEST 'Clang :: Analysis/ctor-bug-path.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-output=text -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctor-bug-path.cpp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-output=text -std=c++17 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctor-bug-path.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-output=text -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctor-bug-path.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling NestedElementRegionTrack::NestedElementRegionTrack() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctor-bug-path.cpp:263:9: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctor-bug-path.cpp:263:9: Error evaluating statement #0 0x0000ffff77f3acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff77f39100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff77f3b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff80e72800 (linux-vdso.so.1+0x800) #4 0x0000ffff7fde8434 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff7fde8434 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff7fde8434 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff7fde8434 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff7fde8434 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff7fde8434 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff7fde8434 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:0 #11 0x0000ffff7fde8434 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 0x0000ffff7fe192b0 clang::ento::ExprEngine::finishArgumentConstruction(llvm::IntrusiveRefCntPtr, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:640:59 #13 0x0000ffff7fe19454 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #14 0x0000ffff7fe19454 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #15 0x0000ffff7fe19454 clang::ento::ExprEngine::finishArgumentConstruction(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:657:72 #16 0x0000ffff7fdf6164 clang::ento::ExprEngine::handleConstructor(clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:832:0 #17 0x0000ffff7fdfbe5c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #18 0x0000ffff7fdfbe5c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2158:0 #19 0x0000ffff7fdfcf08 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #20 0x0000ffff7fdfd1f0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #21 0x0000ffff7fdfd41c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #22 0x0000ffff7fdfd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #23 0x0000ffff7fdfd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #24 0x0000ffff7fdfd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #25 0x0000ffff7fdfd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #26 0x0000ffff7fdfd764 clang::ento::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 0x0000ffff800c787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x0000ffff800c787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x0000ffff800c787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #30 0x0000ffff800c787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #31 0x0000ffff800c787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #32 0x0000ffff800c87e8 llvm::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 0x0000ffff800c87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #34 0x0000ffff800c87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #35 0x0000ffff800ccde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x0000ffff800ccde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x0000ffff800ccde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #38 0x0000ffff800ccde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #39 0x0000ffff800ccde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #40 0x0000ffff7e521e58 __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 0x0000ffff7e521e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #42 0x0000ffff7e521e58 void clang::finalize>, 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 0x0000ffff7e521e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #44 0x0000ffff7fbe7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #45 0x0000ffff7fb9fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #46 0x0000ffff7fb9fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #47 0x0000ffff7fb9fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #48 0x0000ffff7fc2610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #49 0x0000aaaad3ed59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #50 0x0000aaaad3ed94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #51 0x0000aaaad3edaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #52 0x0000aaaad3ed1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #53 0x0000ffff7719098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #54 0x0000ffff77190a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #55 0x0000aaaad3ed20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctor-bug-path.cpp.script: line 2: 1824634 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-output=text -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctor-bug-path.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/ctor-trivial-copy.cpp (603 of 18953) ******************** TEST 'Clang :: Analysis/ctor-trivial-copy.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config c++-inlining=constructors -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctor-trivial-copy.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config c++-inlining=constructors -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctor-trivial-copy.cpp 1. parser at end of file #0 0x0000ffff8d86acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8d869100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8d86b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff967a2800 (linux-vdso.so.1+0x800) #4 0x0000ffff9571cc54 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff9571cc54 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff9571cc54 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff9571cc54 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff9571cc54 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff9571cc54 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff9571cc54 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff9571cc54 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 0x0000ffff9571d578 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 0x0000ffff9572d5a4 clang::ento::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 0x0000ffff9572d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #15 0x0000ffff9572d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #16 0x0000ffff9572d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #17 0x0000ffff9572d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #18 0x0000ffff9572d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #19 0x0000ffff959f787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffff959f787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffff959f787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #22 0x0000ffff959f787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #23 0x0000ffff959f787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #24 0x0000ffff959f87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #25 0x0000ffff959f87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #26 0x0000ffff959f87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #27 0x0000ffff959fcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #28 0x0000ffff959fcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #29 0x0000ffff959fcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #30 0x0000ffff959fcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #31 0x0000ffff959fcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #32 0x0000ffff93e51e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #33 0x0000ffff93e51e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #34 0x0000ffff93e51e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #35 0x0000ffff93e51e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #36 0x0000ffff95517ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #37 0x0000ffff954cfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #38 0x0000ffff954cfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #39 0x0000ffff954cfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #40 0x0000ffff9555610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #41 0x0000aaaac5bd59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #42 0x0000aaaac5bd94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #43 0x0000aaaac5bdaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #44 0x0000aaaac5bd1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #45 0x0000ffff8cac098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #46 0x0000ffff8cac0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #47 0x0000aaaac5bd20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctor-trivial-copy.cpp.script: line 1: 1824644 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config c++-inlining=constructors -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctor-trivial-copy.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/ctor.mm (604 of 18953) ******************** TEST 'Clang :: Analysis/ctor.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin10 -DI386 -analyzer-checker=core,debug.ExprInspection -fobjc-arc -analyzer-config c++-inlining=constructors -Wno-null-dereference -std=c++11 -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctor.mm : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin10 -DI386 -analyzer-checker=core,debug.ExprInspection -fobjc-arc -analyzer-config c++-inlining=constructors -Wno-null-dereference -std=c++11 -verify -DTEST_INLINABLE_ALLOCATORS -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctor.mm : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin12 -analyzer-checker=core,debug.ExprInspection -fobjc-arc -analyzer-config c++-inlining=constructors -Wno-null-dereference -std=c++11 -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctor.mm : 'RUN: at line 4'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin12 -analyzer-checker=core,debug.ExprInspection -fobjc-arc -analyzer-config c++-inlining=constructors -Wno-null-dereference -std=c++11 -verify -DTEST_INLINABLE_ALLOCATORS -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctor.mm -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin10 -DI386 -analyzer-checker=core,debug.ExprInspection -fobjc-arc -analyzer-config c++-inlining=constructors -Wno-null-dereference -std=c++11 -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctor.mm 1. parser at end of file #0 0x0000ffff8425acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff84259100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8425b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8d194800 (linux-vdso.so.1+0x800) #4 0x0000ffff8c4b3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8c4b3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8c4b3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8c4b3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8c4b3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8c4b3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff8c4b3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff8c4b3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8c160c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8c160c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8c160c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8c160c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8c161ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8c161ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8c161ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8c161ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff8c174770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff8c174770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff8c174770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff8c175cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff8c175cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff8c175cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff8c175190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8c175190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8c175190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff8c1817d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff8c1817d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff8c1817d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8c18b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8c18b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8c18b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8c0ef72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8c0ef72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8c0ef72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8c0ef72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff8c0efbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8c0efbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8c0efbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff8c0c31c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff8c0c31c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff8c0c31c0 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff8c0ffb5c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff8c0ffb5c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff8c0ffb5c clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:42 #48 0x0000ffff8c11daa8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff8c11daa8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff8c11daa8 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff8c3e787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff8c3e787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff8c3e787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff8c3e787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff8c3e787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff8c3e87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffff8c3e87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff8c3e87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff8c3ecde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff8c3ecde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff8c3ecde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff8c3ecde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff8c3ecde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff8a841e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffff8a841e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff8a841e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffff8a841e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff8bf07ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff8bebfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff8bebfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff8bebfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff8bf4610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaab64359f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaab64394b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaab643aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaab6431fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff834b098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff834b0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaab64320b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctor.mm.script: line 4: 1824653 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin10 -DI386 -analyzer-checker=core,debug.ExprInspection -fobjc-arc -analyzer-config c++-inlining=constructors -Wno-null-dereference -std=c++11 -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctor.mm -- ******************** Testing: 0 FAIL: Clang :: Analysis/ctu-implicit.c (605 of 18953) ******************** TEST 'Clang :: Analysis/ctu-implicit.c' FAILED ******************** Script: -- : 'RUN: at line 1'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-implicit.c.tmp && mkdir /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-implicit.c.tmp : 'RUN: at line 2'; mkdir -p /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-implicit.c.tmp/ctudir2 : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -emit-pch -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-implicit.c.tmp/ctudir2/ctu-import.c.ast /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Inputs/ctu-import.c : 'RUN: at line 5'; cp /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Inputs/ctu-import.c.externalDefMap.ast-dump.txt /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-implicit.c.tmp/ctudir2/externalDefMap.txt : 'RUN: at line 6'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -analyzer-config experimental-enable-naive-ctu-analysis=true -analyzer-config display-ctu-progress=true -analyzer-config ctu-dir=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-implicit.c.tmp/ctudir2 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-implicit.c -- Exit Code: 139 Command Output (stderr): -- CTU loaded AST file: ctu-import.c.ast PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -analyzer-config experimental-enable-naive-ctu-analysis=true -analyzer-config display-ctu-progress=true -analyzer-config ctu-dir=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-implicit.c.tmp/ctudir2 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-implicit.c 1. parser at end of file 2. While analyzing stack: #0 Calling func 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-implicit.c:19:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-implicit.c:19:3: Error evaluating statement #0 0x0000ffff891dacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff891d9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff891db388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff92117800 (linux-vdso.so.1+0x800) #4 0x0000ffff91433688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff91433688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff91433688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff91433688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff91433688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff91433688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff91433688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff91433688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff910e0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff910e0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff910e0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff910e0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff910e1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff910e1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff910e1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff910e1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff910f4770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff910f4770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff910f4770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff910f5cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff910f5cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff910f5cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff910f5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff910f5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff910f5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff911017d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff911017d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff911017d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9110b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9110b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9110b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9106f6d8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9106f6d8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9106f6d8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9106f6d8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff91561984 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff91561984 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff91561984 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff91561984 getArgumentValueString(clang::CallExpr const*, clang::ento::CheckerContext&) (.part.0.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:150:20 #43 0x0000ffff9117c980 getArgumentValueString /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:135:3 #44 0x0000ffff9117c980 analyzerEval /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:224:12 #45 0x0000ffff9117c980 (anonymous namespace)::ExprInspectionChecker::analyzerEval(clang::CallExpr const*, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:215:0 #46 0x0000ffff911b0120 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:130:0 #47 0x0000ffff911b0120 bool clang::ento::eval::Call::_evalCall<(anonymous namespace)::ExprInspectionChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:478:0 #48 0x0000ffff91059f0c clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:694:0 #49 0x0000ffff910b981c llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #50 0x0000ffff910b981c llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #51 0x0000ffff910b981c clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #52 0x0000ffff910b981c clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:696:26 #53 0x0000ffff910ba144 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #54 0x0000ffff9109bea0 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #55 0x0000ffff9109bea0 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #56 0x0000ffff9109cf08 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #57 0x0000ffff9109d1f0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #58 0x0000ffff9109d41c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #59 0x0000ffff9109d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff9109d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff9109d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #62 0x0000ffff9109d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #63 0x0000ffff9109d764 clang::ento::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 0x0000ffff9136787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #65 0x0000ffff9136787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #66 0x0000ffff9136787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #67 0x0000ffff9136787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #68 0x0000ffff9136787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #69 0x0000ffff913687e8 llvm::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 0x0000ffff913687e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #71 0x0000ffff913687e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #72 0x0000ffff9136cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #73 0x0000ffff9136cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #74 0x0000ffff9136cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #75 0x0000ffff9136cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #76 0x0000ffff9136cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #77 0x0000ffff8f7c1e58 __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 0x0000ffff8f7c1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #79 0x0000ffff8f7c1e58 void clang::finalize>, 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 0x0000ffff8f7c1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #81 0x0000ffff90e87ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #82 0x0000ffff90e3fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #83 0x0000ffff90e3fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #84 0x0000ffff90e3fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #85 0x0000ffff90ec610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #86 0x0000aaaac8fc59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #87 0x0000aaaac8fc94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #88 0x0000aaaac8fcaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #89 0x0000aaaac8fc1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #90 0x0000ffff8843098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #91 0x0000ffff88430a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #92 0x0000aaaac8fc20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-implicit.c.script: line 5: 1824700 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -analyzer-config experimental-enable-naive-ctu-analysis=true -analyzer-config display-ctu-progress=true -analyzer-config ctu-dir=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-implicit.c.tmp/ctudir2 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-implicit.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/ctu-on-demand-parsing.cpp (606 of 18953) ******************** TEST 'Clang :: Analysis/ctu-on-demand-parsing.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.cpp.tmp : 'RUN: at line 2'; mkdir -p /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.cpp.tmp/Inputs : 'RUN: at line 3'; cp /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-on-demand-parsing.cpp /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.cpp.tmp/ctu-on-demand-parsing.cpp : 'RUN: at line 4'; cp /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-hdr.h /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.cpp.tmp/ctu-hdr.h : 'RUN: at line 5'; cp /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Inputs/ctu-chain.cpp /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.cpp.tmp/Inputs/ctu-chain.cpp : 'RUN: at line 6'; cp /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Inputs/ctu-other.cpp /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.cpp.tmp/Inputs/ctu-other.cpp : 'RUN: at line 10'; echo '[{"directory":"/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.cpp.tmp/Inputs","command":"clang++ ctu-chain.cpp","file":"ctu-chain.cpp"},{"directory":"/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.cpp.tmp/Inputs","command":"clang++ ctu-other.cpp","file":"ctu-other.cpp"}]' | sed -e 's/\\/\\\\/g' > /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.cpp.tmp/compile_commands.json : 'RUN: at line 12'; echo '{"/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.cpp.tmp/Inputs/ctu-chain.cpp": ["g++", "/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.cpp.tmp/Inputs/ctu-chain.cpp"], "/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.cpp.tmp/Inputs/ctu-other.cpp": ["g++", "/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.cpp.tmp/Inputs/ctu-other.cpp"]}' | sed -e 's/\\/\\\\/g' > /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.cpp.tmp/invocations.yaml : 'RUN: at line 14'; cd "/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.cpp.tmp" && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-extdef-mapping Inputs/ctu-chain.cpp Inputs/ctu-other.cpp > externalDefMap.txt : 'RUN: at line 16'; cd "/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.cpp.tmp" && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config experimental-enable-naive-ctu-analysis=true -analyzer-config ctu-dir=. -analyzer-config ctu-invocation-list=invocations.yaml -analyzer-config ctu-phase1-inlining=all -verify ctu-on-demand-parsing.cpp : 'RUN: at line 23'; cd "/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.cpp.tmp" && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config experimental-enable-naive-ctu-analysis=true -analyzer-config ctu-dir=. -analyzer-config ctu-invocation-list=invocations.yaml -analyzer-config display-ctu-progress=true ctu-on-demand-parsing.cpp 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.cpp.tmp/ctu-on-demand-parsing.cpp -- Exit Code: 139 Command Output (stderr): -- ctu-other.cpp:105:10: warning: 'extern' variable has an initializer [-Wextern-initializer] 105 | extern S extNonConstS = {.a = 4}; | ^ 1 warning generated. PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config experimental-enable-naive-ctu-analysis=true -analyzer-config ctu-dir=. -analyzer-config ctu-invocation-list=invocations.yaml -analyzer-config ctu-phase1-inlining=all -verify ctu-on-demand-parsing.cpp 1. parser at end of file #0 0x0000ffffa98dacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa98d9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa98db388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb281e800 (linux-vdso.so.1+0x800) #4 0x0000ffffb178cc54 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffb178cc54 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffb178cc54 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffb178cc54 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffb178cc54 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffb178cc54 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffb178cc54 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffb178cc54 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 0x0000ffffb178d578 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 0x0000ffffb179d5a4 clang::ento::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 0x0000ffffb179d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #15 0x0000ffffb179d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #16 0x0000ffffb179d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #17 0x0000ffffb179d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #18 0x0000ffffb179d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #19 0x0000ffffb1a6787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffffb1a6787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffffb1a6787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #22 0x0000ffffb1a6787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #23 0x0000ffffb1a6787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #24 0x0000ffffb1a687e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #25 0x0000ffffb1a687e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #26 0x0000ffffb1a687e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #27 0x0000ffffb1a6cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #28 0x0000ffffb1a6cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #29 0x0000ffffb1a6cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #30 0x0000ffffb1a6cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #31 0x0000ffffb1a6cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #32 0x0000ffffafec1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #33 0x0000ffffafec1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #34 0x0000ffffafec1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #35 0x0000ffffafec1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #36 0x0000ffffb1587ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #37 0x0000ffffb153fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #38 0x0000ffffb153fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #39 0x0000ffffb153fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #40 0x0000ffffb15c610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #41 0x0000aaaab5b559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #42 0x0000aaaab5b594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #43 0x0000aaaab5b5aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #44 0x0000aaaab5b51fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #45 0x0000ffffa8b3098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #46 0x0000ffffa8b30a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #47 0x0000aaaab5b520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.cpp.script: line 11: 1824767 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config experimental-enable-naive-ctu-analysis=true -analyzer-config ctu-dir=. -analyzer-config ctu-invocation-list=invocations.yaml -analyzer-config ctu-phase1-inlining=all -verify ctu-on-demand-parsing.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/ctu-on-demand-parsing.c (607 of 18953) ******************** TEST 'Clang :: Analysis/ctu-on-demand-parsing.c' FAILED ******************** Script: -- : 'RUN: at line 1'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.c.tmp : 'RUN: at line 2'; mkdir -p /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.c.tmp : 'RUN: at line 3'; cp "/builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-on-demand-parsing.c" "/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.c.tmp/ctu-on-demand-parsing.c" : 'RUN: at line 4'; cp "/builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Inputs/ctu-other.c" "/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.c.tmp/ctu-other.c" : 'RUN: at line 8'; echo '[{"directory":"/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.c.tmp","command":"gcc -std=c89 -Wno-visibility ctu-other.c","file":"ctu-other.c"}]' | sed -e 's/\\/\\\\/g' > /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.c.tmp/compile_commands.json : 'RUN: at line 10'; echo '"/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.c.tmp/ctu-other.c": ["gcc", "-std=c89", "-Wno-visibility", "ctu-other.c"]' | sed -e 's/\\/\\\\/g' > /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.c.tmp/invocations.yaml : 'RUN: at line 12'; cd "/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.c.tmp" && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-extdef-mapping "/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.c.tmp/ctu-other.c" > externalDefMap.txt : 'RUN: at line 14'; cd "/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.c.tmp" && /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -fsyntax-only -std=c89 -analyze -analyzer-checker=core,debug.ExprInspection -analyzer-config experimental-enable-naive-ctu-analysis=true -analyzer-config ctu-dir=. -analyzer-config ctu-invocation-list=invocations.yaml -analyzer-config ctu-phase1-inlining=all -verify ctu-on-demand-parsing.c -- Exit Code: 139 Command Output (stderr): -- ctu-other.c:39:18: warning: value size does not match register size specified by the constraint and modifier [-Wasm-operand-widths] 39 | : "=r"(res)); | ^ ctu-other.c:38:21: note: use constraint modifier "w" 38 | __asm__("mov $42, %0" | ^~ | %w0 1 warning generated. PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -fsyntax-only -std=c89 -analyze -analyzer-checker=core,debug.ExprInspection -analyzer-config experimental-enable-naive-ctu-analysis=true -analyzer-config ctu-dir=. -analyzer-config ctu-invocation-list=invocations.yaml -analyzer-config ctu-phase1-inlining=all -verify ctu-on-demand-parsing.c 1. parser at end of file 2. While analyzing stack: #0 Calling testStructDefInArgument 3. ctu-on-demand-parsing.c:86:23: Error evaluating statement 4. ctu-on-demand-parsing.c:86:23: Error evaluating statement #0 0x0000ffff9030acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff90309100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9030b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9924d800 (linux-vdso.so.1+0x800) #4 0x0000ffff98563688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff98563688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff98563688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff98563688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff98563688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff98563688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff98563688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff98563688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff98210c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff98210c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff98210c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff98210c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff98211ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff98211ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff98211ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff98211ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff98224770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff98224770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff98224770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff98225cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff98225cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff98225cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff98225190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff98225190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff98225190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff982317d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff982317d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff982317d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9823b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9823b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9823b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9819f6d8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9819f6d8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9819f6d8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9819f6d8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff9868d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9868d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9868d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff981b2a0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff981b2a0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff981b2a0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffff981cccac llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffff981cccac llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffff981cccac llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffff981cccac clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffff981cccac clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffff981ccf08 clang::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 0x0000ffff981cd1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff981cd41c clang::ento::CoreEngine::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 0x0000ffff981cd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff981cd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff981cd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff981cd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff981cd764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff9849787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff9849787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff9849787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff9849787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff9849787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff984987e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff984987e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff984987e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff9849cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff9849cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff9849cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff9849cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff9849cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff968f1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff968f1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff968f1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff968f1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff97fb7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff97f6fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff97f6fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff97f6fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff97ff610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaab13159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaab13194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaab131aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaab1311fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff8f56098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff8f560a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaab13120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-on-demand-parsing.c.script: line 8: 1824765 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -fsyntax-only -std=c89 -analyze -analyzer-checker=core,debug.ExprInspection -analyzer-config experimental-enable-naive-ctu-analysis=true -analyzer-config ctu-dir=. -analyzer-config ctu-invocation-list=invocations.yaml -analyzer-config ctu-phase1-inlining=all -verify ctu-on-demand-parsing.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/ctu-main.c (609 of 18953) ******************** TEST 'Clang :: Analysis/ctu-main.c' FAILED ******************** Script: -- : 'RUN: at line 1'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-main.c.tmp && mkdir /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-main.c.tmp : 'RUN: at line 2'; mkdir -p /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-main.c.tmp/ctudir2 : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -triple x86_64-pc-linux-gnu -emit-pch -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-main.c.tmp/ctudir2/ctu-other.c.ast /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Inputs/ctu-other.c : 'RUN: at line 5'; cp /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Inputs/ctu-other.c.externalDefMap.ast-dump.txt /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-main.c.tmp/ctudir2/externalDefMap.txt : 'RUN: at line 7'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -triple x86_64-pc-linux-gnu -fsyntax-only -std=c89 -analyze -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -analyzer-config experimental-enable-naive-ctu-analysis=true -analyzer-config ctu-dir=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-main.c.tmp/ctudir2 -analyzer-config ctu-phase1-inlining=none -verify=newctu /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-main.c : 'RUN: at line 17'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -triple x86_64-pc-linux-gnu -fsyntax-only -std=c89 -analyze -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -analyzer-config experimental-enable-naive-ctu-analysis=true -analyzer-config ctu-dir=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-main.c.tmp/ctudir2 -analyzer-config ctu-phase1-inlining=all -verify=oldctu /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-main.c -- Exit Code: 139 Command Output (stderr): -- /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Inputs/ctu-other.c:49:26: warning: declaration of 'struct DataType' will not be visible outside of this function [-Wvisibility] 49 | int structInProto(struct DataType {int a;int b; } * d) { | ^ 1 warning generated. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Inputs/ctu-other.c:49:26: error: cannot import unsupported AST node Record 49 | int structInProto(struct DataType {int a;int b; } * d) { | ^ PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -triple x86_64-pc-linux-gnu -fsyntax-only -std=c89 -analyze -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -analyzer-config experimental-enable-naive-ctu-analysis=true -analyzer-config ctu-dir=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-main.c.tmp/ctudir2 -analyzer-config ctu-phase1-inlining=none -verify=newctu /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-main.c 1. parser at end of file 2. While analyzing stack: #0 Calling testStructDefInArgument 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-main.c:102:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-main.c:102:3: Error evaluating statement #0 0x0000ffff89adacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff89ad9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff89adb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff92a16800 (linux-vdso.so.1+0x800) #4 0x0000ffff91d33688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff91d33688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff91d33688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff91d33688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff91d33688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff91d33688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff91d33688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff91d33688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff919e0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff919e0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff919e0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff919e0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff919e1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff919e1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff919e1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff919e1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff919f4770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff919f4770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff919f4770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff919f5cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff919f5cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff919f5cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff919f5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff919f5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff919f5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff91a017d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff91a017d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff91a017d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff91a0b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff91a0b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff91a0b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9196f6d8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9196f6d8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9196f6d8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9196f6d8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff91e61984 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff91e61984 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff91e61984 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff91e61984 getArgumentValueString(clang::CallExpr const*, clang::ento::CheckerContext&) (.part.0.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:150:20 #43 0x0000ffff91a7c980 getArgumentValueString /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:135:3 #44 0x0000ffff91a7c980 analyzerEval /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:224:12 #45 0x0000ffff91a7c980 (anonymous namespace)::ExprInspectionChecker::analyzerEval(clang::CallExpr const*, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:215:0 #46 0x0000ffff91ab0120 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:130:0 #47 0x0000ffff91ab0120 bool clang::ento::eval::Call::_evalCall<(anonymous namespace)::ExprInspectionChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:478:0 #48 0x0000ffff91959f0c clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:694:0 #49 0x0000ffff919b981c llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #50 0x0000ffff919b981c llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #51 0x0000ffff919b981c clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #52 0x0000ffff919b981c clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:696:26 #53 0x0000ffff919ba144 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #54 0x0000ffff9199bea0 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #55 0x0000ffff9199bea0 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #56 0x0000ffff9199cf08 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #57 0x0000ffff9199d1f0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #58 0x0000ffff9199d41c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #59 0x0000ffff9199d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff9199d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff9199d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #62 0x0000ffff9199d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #63 0x0000ffff9199d764 clang::ento::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 0x0000ffff91c6787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #65 0x0000ffff91c6787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #66 0x0000ffff91c6787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #67 0x0000ffff91c6787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #68 0x0000ffff91c6787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #69 0x0000ffff91c687e8 llvm::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 0x0000ffff91c687e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #71 0x0000ffff91c687e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #72 0x0000ffff91c6cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #73 0x0000ffff91c6cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #74 0x0000ffff91c6cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #75 0x0000ffff91c6cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #76 0x0000ffff91c6cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #77 0x0000ffff900c1e58 __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 0x0000ffff900c1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #79 0x0000ffff900c1e58 void clang::finalize>, 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 0x0000ffff900c1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #81 0x0000ffff91787ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #82 0x0000ffff9173fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #83 0x0000ffff9173fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #84 0x0000ffff9173fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #85 0x0000ffff917c610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #86 0x0000aaaabf1959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #87 0x0000aaaabf1994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #88 0x0000aaaabf19aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #89 0x0000aaaabf191fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #90 0x0000ffff88d3098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #91 0x0000ffff88d30a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #92 0x0000aaaabf1920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-main.c.script: line 6: 1824735 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -triple x86_64-pc-linux-gnu -fsyntax-only -std=c89 -analyze -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -analyzer-config experimental-enable-naive-ctu-analysis=true -analyzer-config ctu-dir=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-main.c.tmp/ctudir2 -analyzer-config ctu-phase1-inlining=none -verify=newctu /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-main.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/ctu-main.cpp (612 of 18953) ******************** TEST 'Clang :: Analysis/ctu-main.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-main.cpp.tmp && mkdir /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-main.cpp.tmp : 'RUN: at line 2'; mkdir -p /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-main.cpp.tmp/ctudir : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -std=c++14 -triple x86_64-pc-linux-gnu -emit-pch -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-main.cpp.tmp/ctudir/ctu-other.cpp.ast /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Inputs/ctu-other.cpp : 'RUN: at line 5'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -std=c++14 -triple x86_64-pc-linux-gnu -emit-pch -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-main.cpp.tmp/ctudir/ctu-chain.cpp.ast /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Inputs/ctu-chain.cpp : 'RUN: at line 7'; cp /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Inputs/ctu-other.cpp.externalDefMap.ast-dump.txt /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-main.cpp.tmp/ctudir/externalDefMap.txt : 'RUN: at line 9'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -triple x86_64-pc-linux-gnu -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -analyzer-config experimental-enable-naive-ctu-analysis=true -analyzer-config ctu-dir=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-main.cpp.tmp/ctudir -analyzer-config ctu-phase1-inlining=none -verify=newctu /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-main.cpp : 'RUN: at line 19'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -triple x86_64-pc-linux-gnu -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -analyzer-config experimental-enable-naive-ctu-analysis=true -analyzer-config ctu-dir=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-main.cpp.tmp/ctudir -analyzer-config ctu-phase1-inlining=all -verify=oldctu /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-main.cpp : 'RUN: at line 27'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -triple x86_64-pc-linux-gnu -analyzer-checker=core,debug.ExprInspection -analyzer-config experimental-enable-naive-ctu-analysis=true -analyzer-config ctu-dir=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-main.cpp.tmp/ctudir -analyzer-config display-ctu-progress=true 2>&1 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-main.cpp | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-main.cpp -- Exit Code: 139 Command Output (stderr): -- /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Inputs/ctu-other.cpp:105:10: warning: 'extern' variable has an initializer [-Wextern-initializer] 105 | extern S extNonConstS = {.a = 4}; | ^ 1 warning generated. PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -triple x86_64-pc-linux-gnu -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -analyzer-config experimental-enable-naive-ctu-analysis=true -analyzer-config ctu-dir=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-main.cpp.tmp/ctudir -analyzer-config ctu-phase1-inlining=none -verify=newctu /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-main.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling main() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-main.cpp:161:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-main.cpp:161:3: Error evaluating statement #0 0x0000ffffb3e2acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb3e29100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb3e2b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffbcd67800 (linux-vdso.so.1+0x800) #4 0x0000ffffbc083688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffbc083688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffbc083688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffbc083688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffbc083688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffbc083688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffbc083688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffbc083688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffbbd30c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffbbd30c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffbbd30c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffbbd30c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffbbd31ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffbbd31ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffbbd31ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffbbd31ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffbbd44770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffbbd44770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffbbd44770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffbbd45cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffbbd45cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffbbd45cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffbbd45190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffbbd45190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffbbd45190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffbbd517d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffbbd517d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffbbd517d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffbbd5b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffbbd5b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffbbd5b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffbbcbf6d8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffbbcbf6d8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffbbcbf6d8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffbbcbf6d8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffbc1b1984 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffbc1b1984 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffbc1b1984 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffbc1b1984 getArgumentValueString(clang::CallExpr const*, clang::ento::CheckerContext&) (.part.0.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:150:20 #43 0x0000ffffbbdcc980 getArgumentValueString /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:135:3 #44 0x0000ffffbbdcc980 analyzerEval /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:224:12 #45 0x0000ffffbbdcc980 (anonymous namespace)::ExprInspectionChecker::analyzerEval(clang::CallExpr const*, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:215:0 #46 0x0000ffffbbe00120 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:130:0 #47 0x0000ffffbbe00120 bool clang::ento::eval::Call::_evalCall<(anonymous namespace)::ExprInspectionChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:478:0 #48 0x0000ffffbbca9f0c clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:694:0 #49 0x0000ffffbbd0981c llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #50 0x0000ffffbbd0981c llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #51 0x0000ffffbbd0981c clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #52 0x0000ffffbbd0981c clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:696:26 #53 0x0000ffffbbd0a144 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #54 0x0000ffffbbcebea0 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #55 0x0000ffffbbcebea0 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #56 0x0000ffffbbcecf08 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #57 0x0000ffffbbced1f0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #58 0x0000ffffbbced41c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #59 0x0000ffffbbced764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffbbced764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffbbced764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #62 0x0000ffffbbced764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #63 0x0000ffffbbced764 clang::ento::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 0x0000ffffbbfb787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #65 0x0000ffffbbfb787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #66 0x0000ffffbbfb787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #67 0x0000ffffbbfb787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #68 0x0000ffffbbfb787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #69 0x0000ffffbbfb87e8 llvm::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 0x0000ffffbbfb87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #71 0x0000ffffbbfb87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #72 0x0000ffffbbfbcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #73 0x0000ffffbbfbcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #74 0x0000ffffbbfbcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #75 0x0000ffffbbfbcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #76 0x0000ffffbbfbcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #77 0x0000ffffba411e58 __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 0x0000ffffba411e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #79 0x0000ffffba411e58 void clang::finalize>, 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 0x0000ffffba411e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #81 0x0000ffffbbad7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #82 0x0000ffffbba8fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #83 0x0000ffffbba8fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #84 0x0000ffffbba8fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #85 0x0000ffffbbb1610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #86 0x0000aaaad0c559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #87 0x0000aaaad0c594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #88 0x0000aaaad0c5aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #89 0x0000aaaad0c51fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #90 0x0000ffffb308098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #91 0x0000ffffb3080a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #92 0x0000aaaad0c520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-main.cpp.script: line 8: 1824766 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -triple x86_64-pc-linux-gnu -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -analyzer-config experimental-enable-naive-ctu-analysis=true -analyzer-config ctu-dir=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-main.cpp.tmp/ctudir -analyzer-config ctu-phase1-inlining=none -verify=newctu /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-main.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/ctu-onego-indirect.cpp (613 of 18953) ******************** TEST 'Clang :: Analysis/ctu-onego-indirect.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-indirect.cpp.tmp && mkdir /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-indirect.cpp.tmp : 'RUN: at line 2'; mkdir -p /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-indirect.cpp.tmp/ctudir : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -std=c++14 -triple x86_64-pc-linux-gnu -emit-pch -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-indirect.cpp.tmp/ctudir/ctu-onego-indirect-other.cpp.ast /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Inputs/ctu-onego-indirect-other.cpp : 'RUN: at line 5'; cp /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Inputs/ctu-onego-indirect-other.cpp.externalDefMap.ast-dump.txt /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-indirect.cpp.tmp/ctudir/externalDefMap.txt : 'RUN: at line 14'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -triple x86_64-pc-linux-gnu -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -analyzer-config experimental-enable-naive-ctu-analysis=true -analyzer-config ctu-dir=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-indirect.cpp.tmp/ctudir -analyzer-display-progress -analyzer-inlining-mode=all -analyzer-config ctu-phase1-inlining=none -analyzer-config ctu-max-nodes-pct=100 -analyzer-config ctu-max-nodes-min=1000 2>&1 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-onego-indirect.cpp | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-onego-indirect.cpp : 'RUN: at line 27'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -triple x86_64-pc-linux-gnu -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -analyzer-config experimental-enable-naive-ctu-analysis=true -analyzer-config ctu-dir=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-indirect.cpp.tmp/ctudir -analyzer-display-progress -analyzer-inlining-mode=all -analyzer-config ctu-phase1-inlining=none -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-onego-indirect.cpp -analyzer-config ctu-max-nodes-pct=100 -analyzer-config ctu-max-nodes-min=1000 -- Exit Code: 139 Command Output (stderr): -- /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-indirect.cpp.script: line 6: 1824792 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -triple x86_64-pc-linux-gnu -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -analyzer-config experimental-enable-naive-ctu-analysis=true -analyzer-config ctu-dir=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-indirect.cpp.tmp/ctudir -analyzer-display-progress -analyzer-inlining-mode=all -analyzer-config ctu-phase1-inlining=none -analyzer-config ctu-max-nodes-pct=100 -analyzer-config ctu-max-nodes-min=1000 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-onego-indirect.cpp 2>&1 1824793 Done | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-onego-indirect.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/ctu-onego-small.cpp (614 of 18953) ******************** TEST 'Clang :: Analysis/ctu-onego-small.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-small.cpp.tmp && mkdir /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-small.cpp.tmp : 'RUN: at line 2'; mkdir -p /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-small.cpp.tmp/ctudir : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -std=c++14 -triple x86_64-pc-linux-gnu -emit-pch -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-small.cpp.tmp/ctudir/ctu-onego-small-other.cpp.ast /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Inputs/ctu-onego-small-other.cpp : 'RUN: at line 5'; cp /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Inputs/ctu-onego-small-other.cpp.externalDefMap.ast-dump.txt /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-small.cpp.tmp/ctudir/externalDefMap.txt : 'RUN: at line 14'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -triple x86_64-pc-linux-gnu -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -analyzer-config experimental-enable-naive-ctu-analysis=true -analyzer-config ctu-dir=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-small.cpp.tmp/ctudir -analyzer-config display-ctu-progress=true -analyzer-display-progress -analyzer-config ctu-max-nodes-pct=0 -analyzer-config ctu-max-nodes-min=0 2>&1 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-onego-small.cpp | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-onego-small.cpp : 'RUN: at line 25'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -triple x86_64-pc-linux-gnu -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -analyzer-config experimental-enable-naive-ctu-analysis=true -analyzer-config ctu-dir=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-small.cpp.tmp/ctudir -analyzer-config ctu-max-nodes-pct=0 -analyzer-config ctu-phase1-inlining=none -analyzer-config ctu-max-nodes-min=0 -verify=inline-none /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-onego-small.cpp : 'RUN: at line 34'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -triple x86_64-pc-linux-gnu -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -analyzer-config experimental-enable-naive-ctu-analysis=true -analyzer-config ctu-dir=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-small.cpp.tmp/ctudir -analyzer-config ctu-max-nodes-pct=0 -analyzer-config ctu-phase1-inlining=small -analyzer-config ctu-max-nodes-min=0 -verify=inline-small /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-onego-small.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -triple x86_64-pc-linux-gnu -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -analyzer-config experimental-enable-naive-ctu-analysis=true -analyzer-config ctu-dir=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-small.cpp.tmp/ctudir -analyzer-config ctu-max-nodes-pct=0 -analyzer-config ctu-phase1-inlining=none -analyzer-config ctu-max-nodes-min=0 -verify=inline-none /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-onego-small.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling baruser(int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-onego-small.cpp:50:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-onego-small.cpp:50:3: Error evaluating statement #0 0x0000ffff9404acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff94049100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9404b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9cf81800 (linux-vdso.so.1+0x800) #4 0x0000ffff9c2a3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9c2a3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9c2a3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9c2a3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9c2a3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9c2a3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff9c2a3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff9c2a3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9bf50c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9bf50c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9bf50c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9bf50c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9bf51ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9bf51ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9bf51ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9bf51ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff9bf64770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff9bf64770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff9bf64770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff9bf65cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff9bf65cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff9bf65cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff9bf65190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff9bf65190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff9bf65190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff9bf717d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff9bf717d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff9bf717d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9bf7b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9bf7b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9bf7b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9bedf6d8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9bedf6d8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9bedf6d8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9bedf6d8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff9c3d1984 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9c3d1984 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9c3d1984 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff9c3d1984 getArgumentValueString(clang::CallExpr const*, clang::ento::CheckerContext&) (.part.0.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:150:20 #43 0x0000ffff9bfec980 getArgumentValueString /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:135:3 #44 0x0000ffff9bfec980 analyzerEval /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:224:12 #45 0x0000ffff9bfec980 (anonymous namespace)::ExprInspectionChecker::analyzerEval(clang::CallExpr const*, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:215:0 #46 0x0000ffff9c020120 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:130:0 #47 0x0000ffff9c020120 bool clang::ento::eval::Call::_evalCall<(anonymous namespace)::ExprInspectionChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:478:0 #48 0x0000ffff9bec9f0c clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:694:0 #49 0x0000ffff9bf2981c llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #50 0x0000ffff9bf2981c llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #51 0x0000ffff9bf2981c clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #52 0x0000ffff9bf2981c clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:696:26 #53 0x0000ffff9bf2a144 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #54 0x0000ffff9bf0bea0 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #55 0x0000ffff9bf0bea0 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #56 0x0000ffff9bf0cf08 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #57 0x0000ffff9bf0d1f0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #58 0x0000ffff9bf0d41c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #59 0x0000ffff9bf0d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff9bf0d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff9bf0d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #62 0x0000ffff9bf0d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #63 0x0000ffff9bf0d764 clang::ento::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 0x0000ffff9c1d787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #65 0x0000ffff9c1d787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #66 0x0000ffff9c1d787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #67 0x0000ffff9c1d787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #68 0x0000ffff9c1d787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #69 0x0000ffff9c1d87e8 llvm::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 0x0000ffff9c1d87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #71 0x0000ffff9c1d87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #72 0x0000ffff9c1dcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #73 0x0000ffff9c1dcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #74 0x0000ffff9c1dcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #75 0x0000ffff9c1dcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #76 0x0000ffff9c1dcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #77 0x0000ffff9a631e58 __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 0x0000ffff9a631e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #79 0x0000ffff9a631e58 void clang::finalize>, 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 0x0000ffff9a631e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #81 0x0000ffff9bcf7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #82 0x0000ffff9bcafc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #83 0x0000ffff9bcafc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #84 0x0000ffff9bcafc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #85 0x0000ffff9bd3610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #86 0x0000aaaae35859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #87 0x0000aaaae35894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #88 0x0000aaaae358aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #89 0x0000aaaae3581fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #90 0x0000ffff932a098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #91 0x0000ffff932a0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #92 0x0000aaaae35820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-small.cpp.script: line 7: 1824807 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -triple x86_64-pc-linux-gnu -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -analyzer-config experimental-enable-naive-ctu-analysis=true -analyzer-config ctu-dir=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-small.cpp.tmp/ctudir -analyzer-config ctu-max-nodes-pct=0 -analyzer-config ctu-phase1-inlining=none -analyzer-config ctu-max-nodes-min=0 -verify=inline-none /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-onego-small.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/ctu-onego-toplevel.cpp (615 of 18953) ******************** TEST 'Clang :: Analysis/ctu-onego-toplevel.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-toplevel.cpp.tmp && mkdir /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-toplevel.cpp.tmp : 'RUN: at line 2'; mkdir -p /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-toplevel.cpp.tmp/ctudir : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -std=c++14 -triple x86_64-pc-linux-gnu -emit-pch -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-toplevel.cpp.tmp/ctudir/ctu-onego-toplevel-other.cpp.ast /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Inputs/ctu-onego-toplevel-other.cpp : 'RUN: at line 5'; cp /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Inputs/ctu-onego-toplevel-other.cpp.externalDefMap.ast-dump.txt /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-toplevel.cpp.tmp/ctudir/externalDefMap.txt : 'RUN: at line 7'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -triple x86_64-pc-linux-gnu -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -analyzer-config experimental-enable-naive-ctu-analysis=true -analyzer-config ctu-dir=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-toplevel.cpp.tmp/ctudir -analyzer-config ctu-phase1-inlining=none -verify=ctu /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-onego-toplevel.cpp : 'RUN: at line 15'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -triple x86_64-pc-linux-gnu -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -analyzer-config experimental-enable-naive-ctu-analysis=true -analyzer-config ctu-dir=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-toplevel.cpp.tmp/ctudir -analyzer-config ctu-phase1-inlining=none -analyzer-config display-ctu-progress=true -analyzer-display-progress -verify=ctu /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-onego-toplevel.cpp 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-onego-toplevel.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -triple x86_64-pc-linux-gnu -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -analyzer-config experimental-enable-naive-ctu-analysis=true -analyzer-config ctu-dir=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-toplevel.cpp.tmp/ctudir -analyzer-config ctu-phase1-inlining=none -verify=ctu /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-onego-toplevel.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling b(int) #0 0x0000ffff8ee9acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8ee99100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8ee9b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff97ddc800 (linux-vdso.so.1+0x800) #4 0x0000ffff96d9cd64 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff96d9cd64 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff96d9cd64 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff96d9cd64 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffff96d9cd64 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffff96d9cd64 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffff96d480bc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffff96d480bc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffff96d480bc clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffff96d73a8c llvm::SaveAndRestore::~SaveAndRestore() /usr/include/llvm/Support/SaveAndRestore.h:29:25 #14 0x0000ffff96d73a8c clang::ento::ExprEngine::removeDeadOnEndOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:187:1 #15 0x0000ffff96d4d0e8 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:0 #16 0x0000ffff96d4d0e8 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:0 #17 0x0000ffff96d4d0e8 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:0 #18 0x0000ffff96d4d0e8 clang::ento::ExprEngine::processEndOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ReturnStmt const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2951:0 #19 0x0000ffff96d4d578 clang::ento::CoreEngine::HandleBlockEdge(clang::BlockEdge const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:288:0 #20 0x0000ffff96d5d5a4 clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:188:0 #21 0x0000ffff96d5d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #22 0x0000ffff96d5d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #23 0x0000ffff96d5d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #24 0x0000ffff96d5d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #25 0x0000ffff96d5d764 clang::ento::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 0x0000ffff9702787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff9702787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff9702787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #29 0x0000ffff9702787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #30 0x0000ffff9702787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #31 0x0000ffff970287e8 llvm::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 0x0000ffff970287e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #33 0x0000ffff970287e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #34 0x0000ffff9702cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #35 0x0000ffff9702cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #36 0x0000ffff9702cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #37 0x0000ffff9702cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #38 0x0000ffff9702cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #39 0x0000ffff95481e58 __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 0x0000ffff95481e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #41 0x0000ffff95481e58 void clang::finalize>, 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 0x0000ffff95481e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #43 0x0000ffff96b47ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #44 0x0000ffff96affc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #45 0x0000ffff96affc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #46 0x0000ffff96affc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #47 0x0000ffff96b8610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #48 0x0000aaaad1a359f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #49 0x0000aaaad1a394b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #50 0x0000aaaad1a3aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #51 0x0000aaaad1a31fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #52 0x0000ffff8e0f098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #53 0x0000ffff8e0f0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #54 0x0000aaaad1a320b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-toplevel.cpp.script: line 6: 1824823 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -triple x86_64-pc-linux-gnu -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -analyzer-config experimental-enable-naive-ctu-analysis=true -analyzer-config ctu-dir=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ctu-onego-toplevel.cpp.tmp/ctudir -analyzer-config ctu-phase1-inlining=none -verify=ctu /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ctu-onego-toplevel.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/cxx-inherited-ctor-init-expr.cpp (616 of 18953) ******************** TEST 'Clang :: Analysis/cxx-inherited-ctor-init-expr.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-inherited-ctor-init-expr.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-inherited-ctor-init-expr.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling arguments_with_constructors::test_B() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-inherited-ctor-init-expr.cpp:48:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-inherited-ctor-init-expr.cpp:48:7: Error evaluating statement #0 0x0000ffff8785acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff87859100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8785b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff90790800 (linux-vdso.so.1+0x800) #4 0x0000ffff8f70e6a4 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffff8f70e6a4 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff8f70e6a4 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff8f70e6a4 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff8f70e6a4 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff8f70e6a4 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff8f70e6a4 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff8f70e6a4 llvm::IntrusiveRefCntPtr clang::ento::ProgramStateManager::set<(anonymous namespace)::ObjectsUnderConstruction>(llvm::IntrusiveRefCntPtr, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::key_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::value_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::context_type) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:652:0 #12 0x0000ffff8f70ea94 llvm::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 0x0000ffff8f70ea94 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #14 0x0000ffff8f70ea94 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #15 0x0000ffff8f70ea94 set<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:876:0 #16 0x0000ffff8f70ea94 clang::ento::ExprEngine::addObjectUnderConstruction(llvm::IntrusiveRefCntPtr, clang::ConstructionContextItem const&, clang::LocationContext const*, clang::ento::SVal) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:599:0 #17 0x0000ffff8f70eec8 llvm::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 0x0000ffff8f70eec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #19 0x0000ffff8f70eec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #20 0x0000ffff8f70eec8 clang::ento::ExprEngine::updateObjectsUnderConstruction(clang::ento::SVal, clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:507:0 #21 0x0000ffff8f716a00 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #22 0x0000ffff8f716a00 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #23 0x0000ffff8f716a00 clang::ento::ExprEngine::handleConstructionContext(clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::ento::NodeBuilderContext const*, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions&, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:753:0 #24 0x0000ffff8f716a00 clang::ento::ExprEngine::handleConstructor(clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:665:0 #25 0x0000ffff8f71be5c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #26 0x0000ffff8f71be5c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2158:0 #27 0x0000ffff8f71cf08 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #28 0x0000ffff8f71d1f0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #29 0x0000ffff8f71d41c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #30 0x0000ffff8f71d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #31 0x0000ffff8f71d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #32 0x0000ffff8f71d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #33 0x0000ffff8f71d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #34 0x0000ffff8f71d764 clang::ento::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 0x0000ffff8f9e787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8f9e787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8f9e787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #38 0x0000ffff8f9e787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #39 0x0000ffff8f9e787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #40 0x0000ffff8f9e87e8 llvm::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 0x0000ffff8f9e87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #42 0x0000ffff8f9e87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #43 0x0000ffff8f9ecde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #44 0x0000ffff8f9ecde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #45 0x0000ffff8f9ecde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #46 0x0000ffff8f9ecde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #47 0x0000ffff8f9ecde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #48 0x0000ffff8de41e58 __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 0x0000ffff8de41e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #50 0x0000ffff8de41e58 void clang::finalize>, 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 0x0000ffff8de41e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #52 0x0000ffff8f507ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #53 0x0000ffff8f4bfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #54 0x0000ffff8f4bfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #55 0x0000ffff8f4bfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #56 0x0000ffff8f54610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #57 0x0000aaaad8dd59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #58 0x0000aaaad8dd94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #59 0x0000aaaad8ddaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #60 0x0000aaaad8dd1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #61 0x0000ffff86ab098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #62 0x0000ffff86ab0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #63 0x0000aaaad8dd20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cxx-inherited-ctor-init-expr.cpp.script: line 1: 1824873 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-inherited-ctor-init-expr.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/cxx-for-range.cpp (617 of 18953) ******************** TEST 'Clang :: Analysis/cxx-for-range.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core -analyzer-output=plist-multi-file -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cxx-for-range.cpp.tmp.plist -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-for-range.cpp : 'RUN: at line 2'; grep -Ev '^[[:space:]]*.* version .*[[:space:]]*$|^[[:space:]]*/.*[[:space:]]*$|^[[:space:]]*.:.*[[:space:]]*$' parser at end of file 2. While analyzing stack: #0 Calling get2() at line 73 #1 Calling testLoopOpaqueIterator() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-for-range.cpp:69:10: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-for-range.cpp:69:10: Error evaluating statement #0 0x0000ffff8f43acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8f439100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8f43b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff98377800 (linux-vdso.so.1+0x800) #4 0x0000ffff972ee6a4 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffff972ee6a4 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff972ee6a4 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff972ee6a4 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff972ee6a4 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff972ee6a4 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff972ee6a4 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff972ee6a4 llvm::IntrusiveRefCntPtr clang::ento::ProgramStateManager::set<(anonymous namespace)::ObjectsUnderConstruction>(llvm::IntrusiveRefCntPtr, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::key_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::value_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::context_type) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:652:0 #12 0x0000ffff972eea94 llvm::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 0x0000ffff972eea94 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #14 0x0000ffff972eea94 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #15 0x0000ffff972eea94 set<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:876:0 #16 0x0000ffff972eea94 clang::ento::ExprEngine::addObjectUnderConstruction(llvm::IntrusiveRefCntPtr, clang::ConstructionContextItem const&, clang::LocationContext const*, clang::ento::SVal) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:599:0 #17 0x0000ffff972ef174 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #18 0x0000ffff972ef174 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #19 0x0000ffff972ef174 clang::ento::ExprEngine::updateObjectsUnderConstruction(clang::ento::SVal, clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:463:0 #20 0x0000ffff972f6a00 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #21 0x0000ffff972f6a00 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #22 0x0000ffff972f6a00 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 0x0000ffff972f6a00 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 0x0000ffff972fbe5c clang::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 0x0000ffff972fbe5c clang::ento::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 0x0000ffff972fcf08 clang::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 0x0000ffff972fd1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff972fd310 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #29 0x0000ffff972fd5dc clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #30 0x0000ffff972fd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #31 0x0000ffff972fd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #32 0x0000ffff972fd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #33 0x0000ffff972fd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #34 0x0000ffff972fd764 clang::ento::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 0x0000ffff975c787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff975c787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff975c787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #38 0x0000ffff975c787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #39 0x0000ffff975c787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #40 0x0000ffff975c87e8 llvm::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 0x0000ffff975c87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #42 0x0000ffff975c87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #43 0x0000ffff975ccde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #44 0x0000ffff975ccde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #45 0x0000ffff975ccde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #46 0x0000ffff975ccde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #47 0x0000ffff975ccde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #48 0x0000ffff95a21e58 __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 0x0000ffff95a21e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #50 0x0000ffff95a21e58 void clang::finalize>, 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 0x0000ffff95a21e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #52 0x0000ffff970e7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #53 0x0000ffff9709fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #54 0x0000ffff9709fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #55 0x0000ffff9709fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #56 0x0000ffff9712610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #57 0x0000aaaad7cf59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #58 0x0000aaaad7cf94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #59 0x0000aaaad7cfaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #60 0x0000aaaad7cf1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #61 0x0000ffff8e69098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #62 0x0000ffff8e690a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #63 0x0000aaaad7cf20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cxx-for-range.cpp.script: line 2: 1824868 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core -analyzer-output=plist-multi-file -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cxx-for-range.cpp.tmp.plist -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-for-range.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/cxx-dynamic-memory-analysis-order.cpp (618 of 18953) ******************** TEST 'Clang :: Analysis/cxx-dynamic-memory-analysis-order.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++20 -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-dynamic-memory-analysis-order.cpp -analyzer-checker=core -analyzer-checker=debug.AnalysisOrder -analyzer-config debug.AnalysisOrder:PreStmtCXXNewExpr=true -analyzer-config debug.AnalysisOrder:PostStmtCXXNewExpr=true -analyzer-config debug.AnalysisOrder:PreStmtCXXDeleteExpr=true -analyzer-config debug.AnalysisOrder:PostStmtCXXDeleteExpr=true -analyzer-config debug.AnalysisOrder:PreCall=true -analyzer-config debug.AnalysisOrder:PostCall=true 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-dynamic-memory-analysis-order.cpp -- Exit Code: 1 Command Output (stderr): -- /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-dynamic-memory-analysis-order.cpp:37:17: error: CHECK-NEXT: expected string not found in input // CHECK-NEXT: PostCall (operator new) [CXXAllocatorCall] ^ :1:42: note: scanning from here PreCall (operator new) [CXXAllocatorCall] ^ :8:104: note: possible intended match here 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-dynamic-memory-analysis-order.cpp:34:14: Error evaluating New Allocator Call ^ Input file: Check file: /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-dynamic-memory-analysis-order.cpp -dump-input=help explains the following input dump. Input was: <<<<<< 1: PreCall (operator new) [CXXAllocatorCall] next:37'0 X error: no match found 2: PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. next:37'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3: Stack dump: next:37'0 ~~~~~~~~~~~~ 4: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++20 -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-dynamic-memory-analysis-order.cpp -analyzer-checker=core -analyzer-checker=debug.AnalysisOrder -analyzer-config debug.AnalysisOrder:PreStmtCXXNewExpr=true -analyzer-config debug.AnalysisOrder:PostStmtCXXNewExpr=true -analyzer-config debug.AnalysisOrder:PreStmtCXXDeleteExpr=true -analyzer-config debug.AnalysisOrder:PostStmtCXXDeleteExpr=true -analyzer-config debug.AnalysisOrder:PreCall=true -analyzer-config debug.AnalysisOrder:PostCall=true next:37'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5: 1. parser at end of file next:37'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6: 2. While analyzing stack: next:37'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7: #0 Calling f() next:37'0 ~~~~~~~~~~~~~~~~ 8: 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-dynamic-memory-analysis-order.cpp:34:14: Error evaluating New Allocator Call next:37'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ next:37'1 ? possible intended match 9: #0 0x0000ffff884cacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) next:37'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10: #1 0x0000ffff884c9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) next:37'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 11: #2 0x0000ffff884cb388 (/usr/lib64/libLLVM-17.so+0x9bb388) next:37'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 12: #3 0x0000ffff9140d800 (linux-vdso.so.1+0x800) next:37'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 13: #4 0x0000ffff90723688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 next:37'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0 FAIL: Clang :: Analysis/cxx-crashes.cpp (619 of 18953) ******************** TEST 'Clang :: Analysis/cxx-crashes.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-crashes.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-crashes.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling vla(int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-crashes.cpp:63:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-crashes.cpp:63:3: Error evaluating statement #0 0x0000ffffaf08acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffaf089100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffaf08b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb7fc8800 (linux-vdso.so.1+0x800) #4 0x0000ffffb72e3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb72e3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb72e3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb72e3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb72e3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb72e3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb72e3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb72e3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb6f90c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb6f90c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb6f90c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb6f90c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb6f91ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb6f91ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb6f91ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb6f91ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb6fa591c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb6fa591c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb6fa591c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffffb6fa5bf0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb6fa5bf0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb6fa5bf0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffffb6fa5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb6fa5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb6fa5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb6fb17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb6fb17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb6fb17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb6fbb074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb6fbb074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb6fbb074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb6f1f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb6f1f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb6f1f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb6f1f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb740d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb740d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb740d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffb72c5c5c std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #43 0x0000ffffb72c5c5c std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #44 0x0000ffffb72c5c5c std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #45 0x0000ffffb72c5c5c std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #46 0x0000ffffb72c5c5c std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #47 0x0000ffffb72c5c5c checkVLAIndexSize /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/VLASizeChecker.cpp:175:0 #48 0x0000ffffb72c5c5c (anonymous namespace)::VLASizeChecker::checkVLA(clang::ento::CheckerContext&, llvm::IntrusiveRefCntPtr, clang::VariableArrayType const*, clang::ento::SVal&) const (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/VLASizeChecker.cpp:83:0 #49 0x0000ffffb71b6198 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #50 0x0000ffffb71b6198 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #51 0x0000ffffb71b6198 checkPreStmt /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/VLASizeChecker.cpp:297:44 #52 0x0000ffffb71b6198 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 0x0000ffffb6f08078 expandGraphWithCheckers<(anonymous namespace)::CheckStmtContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #54 0x0000ffffb6f08078 clang::ento::CheckerManager::runCheckersForStmt(bool, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::Stmt const*, clang::ento::ExprEngine&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:190:0 #55 0x0000ffffb6f3decc llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #56 0x0000ffffb6f3decc llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #57 0x0000ffffb6f3decc llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #58 0x0000ffffb6f3decc llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #59 0x0000ffffb6f3decc llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #60 0x0000ffffb6f3decc clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #61 0x0000ffffb6f3decc 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 0x0000ffffb6f4c81c clang::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 0x0000ffffb6f4c81c clang::ento::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 0x0000ffffb6f4cf08 clang::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 0x0000ffffb6f4d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffb6f4d41c clang::ento::CoreEngine::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 0x0000ffffb6f4d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x0000ffffb6f4d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x0000ffffb6f4d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #70 0x0000ffffb6f4d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #71 0x0000ffffb6f4d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #72 0x0000ffffb721787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #73 0x0000ffffb721787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #74 0x0000ffffb721787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #75 0x0000ffffb721787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #76 0x0000ffffb721787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #77 0x0000ffffb72187e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #78 0x0000ffffb72187e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #79 0x0000ffffb72187e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #80 0x0000ffffb721cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #81 0x0000ffffb721cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #82 0x0000ffffb721cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #83 0x0000ffffb721cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #84 0x0000ffffb721cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #85 0x0000ffffb5671e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #86 0x0000ffffb5671e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #87 0x0000ffffb5671e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #88 0x0000ffffb5671e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #89 0x0000ffffb6d37ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #90 0x0000ffffb6cefc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #91 0x0000ffffb6cefc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #92 0x0000ffffb6cefc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #93 0x0000ffffb6d7610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #94 0x0000aaaaea8459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #95 0x0000aaaaea8494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #96 0x0000aaaaea84aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #97 0x0000aaaaea841fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #98 0x0000ffffae2e098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #99 0x0000ffffae2e0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #100 0x0000aaaaea8420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cxx-crashes.cpp.script: line 1: 1824855 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-crashes.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/cxx-inherited-ctor-is-skipped-as-top-level.cpp (620 of 18953) ******************** TEST 'Clang :: Analysis/cxx-inherited-ctor-is-skipped-as-top-level.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-display-progress /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-inherited-ctor-is-skipped-as-top-level.cpp 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-inherited-ctor-is-skipped-as-top-level.cpp -- Exit Code: 139 Command Output (stderr): -- /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cxx-inherited-ctor-is-skipped-as-top-level.cpp.script: line 1: 1824888 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-display-progress /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-inherited-ctor-is-skipped-as-top-level.cpp 2>&1 1824889 Done | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-inherited-ctor-is-skipped-as-top-level.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/cxx-member-initializer-const-field.cpp (621 of 18953) ******************** TEST 'Clang :: Analysis/cxx-member-initializer-const-field.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-member-initializer-const-field.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-member-initializer-const-field.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling NonAggregate::compliant2(NonAggregate) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-member-initializer-const-field.cpp:106:12: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-member-initializer-const-field.cpp:106:12: Error evaluating statement #0 0x0000ffffb528acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb5289100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb528b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffbe1ca800 (linux-vdso.so.1+0x800) #4 0x0000ffffbd4e3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffbd4e3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffbd4e3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffbd4e3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffbd4e3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffbd4e3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffbd4e3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffbd4e3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffbd190c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffbd190c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffbd190c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffbd190c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffbd191ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffbd191ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffbd191ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffbd191ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffbd1a4770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffbd1a4770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffbd1a4770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffbd1a5cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffbd1a5cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffbd1a5cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffbd1a5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffbd1a5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffbd1a5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffbd1b17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffbd1b17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffbd1b17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffbd1bb074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffbd1bb074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffbd1bb074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffbd11f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffbd11f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffbd11f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffbd11f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffbd23fe48 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:9 #40 0x0000ffffbd23fe48 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:21 #41 0x0000ffffbd23fe48 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:44 #42 0x0000ffffbd23fe48 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:25 #43 0x0000ffffbd23fe48 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:44 #44 0x0000ffffbd23fe48 checkPreStmt /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DivZeroChecker.cpp:99:11 #45 0x0000ffffbd23fe48 void clang::ento::check::PreStmt::_checkStmt<(anonymous namespace)::DivZeroChecker>(void*, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:85:45 #46 0x0000ffffbd108078 expandGraphWithCheckers<(anonymous namespace)::CheckStmtContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #47 0x0000ffffbd108078 clang::ento::CheckerManager::runCheckersForStmt(bool, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::Stmt const*, clang::ento::ExprEngine&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:190:0 #48 0x0000ffffbd13fdb8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #49 0x0000ffffbd13fdb8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #50 0x0000ffffbd13fdb8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #51 0x0000ffffbd13fdb8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #52 0x0000ffffbd13fdb8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #53 0x0000ffffbd13fdb8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #54 0x0000ffffbd13fdb8 clang::ento::ExprEngine::VisitBinaryOperator(clang::BinaryOperator const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:50:0 #55 0x0000ffffbd14cbd8 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2103:0 #56 0x0000ffffbd14cf08 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #57 0x0000ffffbd14d1f0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #58 0x0000ffffbd14d41c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #59 0x0000ffffbd14d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffbd14d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffbd14d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #62 0x0000ffffbd14d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #63 0x0000ffffbd14d764 clang::ento::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 0x0000ffffbd41787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #65 0x0000ffffbd41787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #66 0x0000ffffbd41787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #67 0x0000ffffbd41787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #68 0x0000ffffbd41787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #69 0x0000ffffbd4187e8 llvm::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 0x0000ffffbd4187e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #71 0x0000ffffbd4187e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #72 0x0000ffffbd41cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #73 0x0000ffffbd41cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #74 0x0000ffffbd41cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #75 0x0000ffffbd41cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #76 0x0000ffffbd41cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #77 0x0000ffffbb871e58 __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 0x0000ffffbb871e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #79 0x0000ffffbb871e58 void clang::finalize>, 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 0x0000ffffbb871e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #81 0x0000ffffbcf37ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #82 0x0000ffffbceefc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #83 0x0000ffffbceefc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #84 0x0000ffffbceefc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #85 0x0000ffffbcf7610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #86 0x0000aaaab86a59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #87 0x0000aaaab86a94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #88 0x0000aaaab86aaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #89 0x0000aaaab86a1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #90 0x0000ffffb44e098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #91 0x0000ffffb44e0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #92 0x0000aaaab86a20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cxx-member-initializer-const-field.cpp.script: line 1: 1824887 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-member-initializer-const-field.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/cxx-method-names.cpp (622 of 18953) ******************** TEST 'Clang :: Analysis/cxx-method-names.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix,osx,alpha.unix,alpha.security.taint -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-method-names.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix,osx,alpha.unix,alpha.security.taint -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-method-names.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling test(Evil &) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-method-names.cpp:16:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-method-names.cpp:16:3: Error evaluating statement #0 0x0000ffff96a2acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff96a29100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff96a2b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9f962800 (linux-vdso.so.1+0x800) #4 0x0000ffff9ead2178 isEqual /usr/include/llvm/ADT/ImmutableMap.h:45:41 #5 0x0000ffff9ead2178 remove_internal /usr/include/llvm/ADT/ImmutableSet.h:558:26 #6 0x0000ffff9ead2178 remove /usr/include/llvm/ADT/ImmutableSet.h:403:0 #7 0x0000ffff9ead2178 remove /usr/include/llvm/ADT/ImmutableMap.h:105:0 #8 0x0000ffff9ead2178 Remove /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:175:0 #9 0x0000ffff9ead2178 remove<(anonymous namespace)::LockMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:669:0 #10 0x0000ffff9ead2178 llvm::IntrusiveRefCntPtr clang::ento::ProgramState::remove<(anonymous namespace)::LockMap>(clang::ento::ProgramStateTrait<(anonymous namespace)::LockMap>::key_type) const (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:854:0 #11 0x0000ffff9eaedec4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #12 0x0000ffff9eaedec4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #13 0x0000ffff9eaedec4 checkRegionChanges /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/PthreadLockChecker.cpp:689:0 #14 0x0000ffff9eaedec4 llvm::IntrusiveRefCntPtr clang::ento::check::RegionChanges::_checkRegionChanges<(anonymous namespace)::PthreadLockChecker>(void*, llvm::IntrusiveRefCntPtr, llvm::DenseSet> const*, llvm::ArrayRef, llvm::ArrayRef, clang::LocationContext const*, clang::ento::CallEvent const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:344:0 #15 0x0000ffff9e88c044 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #16 0x0000ffff9e88c044 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #17 0x0000ffff9e88c044 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, llvm::DenseSet> const*, llvm::ArrayRef, llvm::ArrayRef, clang::LocationContext const*, clang::ento::CallEvent const*)>::operator()(llvm::IntrusiveRefCntPtr, llvm::DenseSet> const*, llvm::ArrayRef, llvm::ArrayRef, clang::LocationContext const*, clang::ento::CallEvent const*) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:0 #18 0x0000ffff9e88c044 clang::ento::CheckerManager::runCheckersForRegionChanges(llvm::IntrusiveRefCntPtr, llvm::DenseSet> const*, llvm::ArrayRef, llvm::ArrayRef, clang::LocationContext const*, clang::ento::CallEvent const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:608:0 #19 0x0000ffff9e91d310 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #20 0x0000ffff9e91d310 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #21 0x0000ffff9e91d310 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 0x0000ffff9e91d310 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 0x0000ffff9e8a0774 std::_Rb_tree, std::less, std::allocator>::~_Rb_tree() /usr/include/c++/12/bits/stl_tree.h:986:0 #24 0x0000ffff9e8a0774 std::set, std::allocator>::~set() /usr/include/c++/12/bits/stl_set.h:281:0 #25 0x0000ffff9e8a0774 llvm::SmallSet>::~SmallSet() /usr/include/llvm/ADT/SmallSet.h:135:0 #26 0x0000ffff9e8a0774 clang::ento::CallEvent::invalidateRegions(unsigned int, llvm::IntrusiveRefCntPtr) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:286:0 #27 0x0000ffff9e9208d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #28 0x0000ffff9e9208d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #29 0x0000ffff9e9208d0 clang::ento::ExprEngine::conservativeEvalCall(clang::ento::CallEvent const&, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:833:0 #30 0x0000ffff9e9212e4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x0000ffff9e9212e4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x0000ffff9e9212e4 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 0x0000ffff9e8a9fd8 clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:288:0 #34 0x0000ffff9e90981c llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #35 0x0000ffff9e90981c llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #36 0x0000ffff9e90981c clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #37 0x0000ffff9e90981c clang::ento::ExprEngine::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 0x0000ffff9e90a144 clang::ento::ExprEngine::VisitCallExpr(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 0x0000ffff9e8ebea0 clang::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 0x0000ffff9e8ebea0 clang::ento::ExprEngine::Visit(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 0x0000ffff9e8ecf08 clang::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 0x0000ffff9e8ed1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff9e8ed41c clang::ento::CoreEngine::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 0x0000ffff9e8ed764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #45 0x0000ffff9e8ed764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #46 0x0000ffff9e8ed764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #47 0x0000ffff9e8ed764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #48 0x0000ffff9e8ed764 clang::ento::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 0x0000ffff9ebb787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #50 0x0000ffff9ebb787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #51 0x0000ffff9ebb787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #52 0x0000ffff9ebb787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #53 0x0000ffff9ebb787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #54 0x0000ffff9ebb87e8 llvm::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 0x0000ffff9ebb87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #56 0x0000ffff9ebb87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #57 0x0000ffff9ebbcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #58 0x0000ffff9ebbcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #59 0x0000ffff9ebbcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #60 0x0000ffff9ebbcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #61 0x0000ffff9ebbcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #62 0x0000ffff9d011e58 __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 0x0000ffff9d011e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #64 0x0000ffff9d011e58 void clang::finalize>, 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 0x0000ffff9d011e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #66 0x0000ffff9e6d7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #67 0x0000ffff9e68fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #68 0x0000ffff9e68fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #69 0x0000ffff9e68fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #70 0x0000ffff9e71610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #71 0x0000aaaadc1a59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #72 0x0000aaaadc1a94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #73 0x0000aaaadc1aaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #74 0x0000aaaadc1a1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #75 0x0000ffff95c8098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #76 0x0000ffff95c80a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #77 0x0000aaaadc1a20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cxx-method-names.cpp.script: line 1: 1824899 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix,osx,alpha.unix,alpha.security.taint -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-method-names.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/cxx-uninitialized-object-inheritance.cpp (624 of 18953) ******************** TEST 'Clang :: Analysis/cxx-uninitialized-object-inheritance.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,optin.cplusplus.UninitializedObject -analyzer-config optin.cplusplus.UninitializedObject:Pedantic=true -DPEDANTIC -analyzer-config optin.cplusplus.UninitializedObject:CheckPointeeInitialization=true -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object-inheritance.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,optin.cplusplus.UninitializedObject -analyzer-config optin.cplusplus.UninitializedObject:Pedantic=true -DPEDANTIC -analyzer-config optin.cplusplus.UninitializedObject:CheckPointeeInitialization=true -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object-inheritance.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling fSymbolicSuperRegionTest() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object-inheritance.cpp:832:30: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object-inheritance.cpp:832:30: Error evaluating statement #0 0x0000ffffaccfacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffaccf9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffaccfb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb5c32800 (linux-vdso.so.1+0x800) #4 0x0000ffffb4ba8434 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb4ba8434 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb4ba8434 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb4ba8434 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb4ba8434 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb4ba8434 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb4ba8434 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:0 #11 0x0000ffffb4ba8434 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 0x0000ffffb4b70f7c std::_Optional_base_impl>::_M_is_engaged() const /usr/include/c++/12/optional:471:0 #13 0x0000ffffb4b70f7c std::optional::has_value() const /usr/include/c++/12/optional:988:0 #14 0x0000ffffb4b70f7c clang::ento::CallEvent::isArgumentConstructedDirectly(unsigned int) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:431:0 #15 0x0000ffffb4b70f7c addParameterValuesToBindings(clang::StackFrameContext const*, llvm::SmallVectorImpl>&, clang::ento::SValBuilder&, clang::ento::CallEvent const&, llvm::ArrayRef) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:478:0 #16 0x0000ffffb4b71f7c clang::ento::AnyCXXConstructorCall::getCXXThisVal() const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:896:0 #17 0x0000ffffb4b71f7c clang::ento::AnyCXXConstructorCall::getInitialStackFrameContents(clang::StackFrameContext const*, llvm::SmallVectorImpl>&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:915:0 #18 0x0000ffffb4c32cb0 llvm::SmallVectorTemplateCommon, void>::end() /usr/include/llvm/ADT/SmallVector.h:272:0 #19 0x0000ffffb4c32cb0 clang::ento::StoreManager::enterStackFrame(void const*, clang::ento::CallEvent const&, clang::StackFrameContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/Store.cpp:54:0 #20 0x0000ffffb4bedef8 clang::ento::ProgramState::makeWithStore(clang::ento::StoreRef const&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:434:27 #21 0x0000ffffb4bedef8 clang::ento::ProgramState::enterStackFrame(clang::ento::CallEvent const&, clang::StackFrameContext const*) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:234:0 #22 0x0000ffffb4bee0a8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #23 0x0000ffffb4bee0a8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #24 0x0000ffffb4bee0a8 clang::ento::ExprEngine::inlineCall(clang::ento::WorkList*, clang::ento::CallEvent const&, clang::Decl const*, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:561:0 #25 0x0000ffffb4bf0b40 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #26 0x0000ffffb4bf0b40 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #27 0x0000ffffb4bf0b40 clang::ento::ExprEngine::ctuBifurcate(clang::ento::CallEvent const&, clang::Decl const*, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:527:0 #28 0x0000ffffb4bf156c llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #29 0x0000ffffb4bf156c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #30 0x0000ffffb4bf156c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x0000ffffb4bf156c clang::ento::ExprEngine::defaultEvalCall(clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:1255:0 #32 0x0000ffffb4b79fd8 clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:288:0 #33 0x0000ffffb4bb6028 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #34 0x0000ffffb4bb6028 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #35 0x0000ffffb4bb6028 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #36 0x0000ffffb4bb6028 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #37 0x0000ffffb4bb6028 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #38 0x0000ffffb4bb6028 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #39 0x0000ffffb4bb6028 clang::ento::ExprEngine::handleConstructor(clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:789:0 #40 0x0000ffffb4bbbe5c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #41 0x0000ffffb4bbbe5c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2158:0 #42 0x0000ffffb4bbcf08 clang::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 0x0000ffffb4bbd1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffb4bbd41c clang::ento::CoreEngine::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 0x0000ffffb4bbd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #46 0x0000ffffb4bbd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #47 0x0000ffffb4bbd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #48 0x0000ffffb4bbd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #49 0x0000ffffb4bbd764 clang::ento::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 0x0000ffffb4e8787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #51 0x0000ffffb4e8787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x0000ffffb4e8787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #53 0x0000ffffb4e8787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #54 0x0000ffffb4e8787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #55 0x0000ffffb4e887e8 llvm::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 0x0000ffffb4e887e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #57 0x0000ffffb4e887e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #58 0x0000ffffb4e8cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #59 0x0000ffffb4e8cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #60 0x0000ffffb4e8cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #61 0x0000ffffb4e8cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #62 0x0000ffffb4e8cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #63 0x0000ffffb32e1e58 __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 0x0000ffffb32e1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #65 0x0000ffffb32e1e58 void clang::finalize>, 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 0x0000ffffb32e1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #67 0x0000ffffb49a7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #68 0x0000ffffb495fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #69 0x0000ffffb495fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #70 0x0000ffffb495fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #71 0x0000ffffb49e610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #72 0x0000aaaae2b059f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #73 0x0000aaaae2b094b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #74 0x0000aaaae2b0aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #75 0x0000aaaae2b01fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #76 0x0000ffffabf5098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #77 0x0000ffffabf50a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #78 0x0000aaaae2b020b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cxx-uninitialized-object-inheritance.cpp.script: line 1: 1824908 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,optin.cplusplus.UninitializedObject -analyzer-config optin.cplusplus.UninitializedObject:Pedantic=true -DPEDANTIC -analyzer-config optin.cplusplus.UninitializedObject:CheckPointeeInitialization=true -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object-inheritance.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/cxx-uninitialized-object-notes-as-warnings.cpp (625 of 18953) ******************** TEST 'Clang :: Analysis/cxx-uninitialized-object-notes-as-warnings.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,optin.cplusplus.UninitializedObject -analyzer-config optin.cplusplus.UninitializedObject:NotesAsWarnings=true -analyzer-config optin.cplusplus.UninitializedObject:CheckPointeeInitialization=true -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object-notes-as-warnings.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,optin.cplusplus.UninitializedObject -analyzer-config optin.cplusplus.UninitializedObject:NotesAsWarnings=true -analyzer-config optin.cplusplus.UninitializedObject:CheckPointeeInitialization=true -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object-notes-as-warnings.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling NotesAsWarningsTest::NotesAsWarningsTest() at line 17 #1 Calling fNotesAsWarningsTest() #0 0x0000ffffb27eacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb27e9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb27eb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffbb72d800 (linux-vdso.so.1+0x800) #4 0x0000ffffba9110c4 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffffba9110c4 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffba9110c4 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffba9110c4 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffba9110c4 llvm::ImmutableSet>::ImmutableSet(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:971:38 #9 0x0000ffffba9110c4 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 0x0000ffffba9110c4 contains<(anonymous namespace)::AnalyzedRegions> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:470:42 #11 0x0000ffffba9110c4 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 0x0000ffffba913b38 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 0x0000ffffba913d18 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 0x0000ffffbaa26254 llvm::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 0x0000ffffbaa26254 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #16 0x0000ffffbaa26254 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #17 0x0000ffffbaa26254 (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 0x0000ffffba641464 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 0x0000ffffba69cf60 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 0x0000ffffba69d578 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 0x0000ffffba6ad5a4 clang::ento::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 0x0000ffffba6ad764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #23 0x0000ffffba6ad764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #24 0x0000ffffba6ad764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #25 0x0000ffffba6ad764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #26 0x0000ffffba6ad764 clang::ento::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 0x0000ffffba97787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x0000ffffba97787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x0000ffffba97787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #30 0x0000ffffba97787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #31 0x0000ffffba97787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #32 0x0000ffffba9787e8 llvm::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 0x0000ffffba9787e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #34 0x0000ffffba9787e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #35 0x0000ffffba97cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x0000ffffba97cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x0000ffffba97cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #38 0x0000ffffba97cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #39 0x0000ffffba97cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #40 0x0000ffffb8dd1e58 __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 0x0000ffffb8dd1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #42 0x0000ffffb8dd1e58 void clang::finalize>, 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 0x0000ffffb8dd1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #44 0x0000ffffba497ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #45 0x0000ffffba44fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #46 0x0000ffffba44fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #47 0x0000ffffba44fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #48 0x0000ffffba4d610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #49 0x0000aaaacdba59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #50 0x0000aaaacdba94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #51 0x0000aaaacdbaaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #52 0x0000aaaacdba1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #53 0x0000ffffb1a4098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #54 0x0000ffffb1a40a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #55 0x0000aaaacdba20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cxx-uninitialized-object-notes-as-warnings.cpp.script: line 1: 1824930 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,optin.cplusplus.UninitializedObject -analyzer-config optin.cplusplus.UninitializedObject:NotesAsWarnings=true -analyzer-config optin.cplusplus.UninitializedObject:CheckPointeeInitialization=true -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object-notes-as-warnings.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/cxx-uninitialized-object-no-dereference.cpp (626 of 18953) ******************** TEST 'Clang :: Analysis/cxx-uninitialized-object-no-dereference.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,optin.cplusplus.UninitializedObject -std=c++11 -DPEDANTIC -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object-no-dereference.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,optin.cplusplus.UninitializedObject -std=c++11 -DPEDANTIC -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object-no-dereference.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling fUninitPointeeTest() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object-no-dereference.cpp:26:21: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object-no-dereference.cpp:26:21: Error evaluating statement #0 0x0000ffff7d6dacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7d6d9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7d6db388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff86611800 (linux-vdso.so.1+0x800) #4 0x0000ffff85588434 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff85588434 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff85588434 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff85588434 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff85588434 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff85588434 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff85588434 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:0 #11 0x0000ffff85588434 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 0x0000ffff85550f7c std::_Optional_base_impl>::_M_is_engaged() const /usr/include/c++/12/optional:471:0 #13 0x0000ffff85550f7c std::optional::has_value() const /usr/include/c++/12/optional:988:0 #14 0x0000ffff85550f7c clang::ento::CallEvent::isArgumentConstructedDirectly(unsigned int) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:431:0 #15 0x0000ffff85550f7c addParameterValuesToBindings(clang::StackFrameContext const*, llvm::SmallVectorImpl>&, clang::ento::SValBuilder&, clang::ento::CallEvent const&, llvm::ArrayRef) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:478:0 #16 0x0000ffff85551f7c clang::ento::AnyCXXConstructorCall::getCXXThisVal() const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:896:0 #17 0x0000ffff85551f7c clang::ento::AnyCXXConstructorCall::getInitialStackFrameContents(clang::StackFrameContext const*, llvm::SmallVectorImpl>&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:915:0 #18 0x0000ffff85612cb0 llvm::SmallVectorTemplateCommon, void>::end() /usr/include/llvm/ADT/SmallVector.h:272:0 #19 0x0000ffff85612cb0 clang::ento::StoreManager::enterStackFrame(void const*, clang::ento::CallEvent const&, clang::StackFrameContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/Store.cpp:54:0 #20 0x0000ffff855cdef8 clang::ento::ProgramState::makeWithStore(clang::ento::StoreRef const&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:434:27 #21 0x0000ffff855cdef8 clang::ento::ProgramState::enterStackFrame(clang::ento::CallEvent const&, clang::StackFrameContext const*) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:234:0 #22 0x0000ffff855ce0a8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #23 0x0000ffff855ce0a8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #24 0x0000ffff855ce0a8 clang::ento::ExprEngine::inlineCall(clang::ento::WorkList*, clang::ento::CallEvent const&, clang::Decl const*, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:561:0 #25 0x0000ffff855d0b40 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #26 0x0000ffff855d0b40 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #27 0x0000ffff855d0b40 clang::ento::ExprEngine::ctuBifurcate(clang::ento::CallEvent const&, clang::Decl const*, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:527:0 #28 0x0000ffff855d156c llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #29 0x0000ffff855d156c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #30 0x0000ffff855d156c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x0000ffff855d156c clang::ento::ExprEngine::defaultEvalCall(clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:1255:0 #32 0x0000ffff85559fd8 clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:288:0 #33 0x0000ffff85596028 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #34 0x0000ffff85596028 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #35 0x0000ffff85596028 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #36 0x0000ffff85596028 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #37 0x0000ffff85596028 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #38 0x0000ffff85596028 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #39 0x0000ffff85596028 clang::ento::ExprEngine::handleConstructor(clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:789:0 #40 0x0000ffff8559be5c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #41 0x0000ffff8559be5c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2158:0 #42 0x0000ffff8559cf08 clang::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 0x0000ffff8559d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8559d41c clang::ento::CoreEngine::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 0x0000ffff8559d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #46 0x0000ffff8559d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #47 0x0000ffff8559d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #48 0x0000ffff8559d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #49 0x0000ffff8559d764 clang::ento::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 0x0000ffff8586787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #51 0x0000ffff8586787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x0000ffff8586787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #53 0x0000ffff8586787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #54 0x0000ffff8586787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #55 0x0000ffff858687e8 llvm::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 0x0000ffff858687e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #57 0x0000ffff858687e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #58 0x0000ffff8586cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #59 0x0000ffff8586cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #60 0x0000ffff8586cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #61 0x0000ffff8586cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #62 0x0000ffff8586cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #63 0x0000ffff83cc1e58 __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 0x0000ffff83cc1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #65 0x0000ffff83cc1e58 void clang::finalize>, 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 0x0000ffff83cc1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #67 0x0000ffff85387ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #68 0x0000ffff8533fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #69 0x0000ffff8533fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #70 0x0000ffff8533fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #71 0x0000ffff853c610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #72 0x0000aaaab37159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #73 0x0000aaaab37194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #74 0x0000aaaab371aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #75 0x0000aaaab3711fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #76 0x0000ffff7c93098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #77 0x0000ffff7c930a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #78 0x0000aaaab37120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cxx-uninitialized-object-no-dereference.cpp.script: line 1: 1824928 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,optin.cplusplus.UninitializedObject -std=c++11 -DPEDANTIC -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object-no-dereference.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/cxx-uninitialized-object-ptr-ref.cpp (627 of 18953) ******************** TEST 'Clang :: Analysis/cxx-uninitialized-object-ptr-ref.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,optin.cplusplus.UninitializedObject -analyzer-config optin.cplusplus.UninitializedObject:Pedantic=true -DPEDANTIC -analyzer-config optin.cplusplus.UninitializedObject:CheckPointeeInitialization=true -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object-ptr-ref.cpp : 'RUN: at line 6'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,optin.cplusplus.UninitializedObject -analyzer-config optin.cplusplus.UninitializedObject:CheckPointeeInitialization=true -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object-ptr-ref.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,optin.cplusplus.UninitializedObject -analyzer-config optin.cplusplus.UninitializedObject:Pedantic=true -DPEDANTIC -analyzer-config optin.cplusplus.UninitializedObject:CheckPointeeInitialization=true -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object-ptr-ref.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling fMultipleObjectsReferencingTheSameObjectTest() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object-ptr-ref.cpp:947:24: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object-ptr-ref.cpp:947:24: Error evaluating statement #0 0x0000ffff9bfbacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff9bfb9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9bfbb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa4ef4800 (linux-vdso.so.1+0x800) #4 0x0000ffffa3e68434 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa3e68434 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa3e68434 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa3e68434 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa3e68434 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa3e68434 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa3e68434 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:0 #11 0x0000ffffa3e68434 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 0x0000ffffa3e30f7c std::_Optional_base_impl>::_M_is_engaged() const /usr/include/c++/12/optional:471:0 #13 0x0000ffffa3e30f7c std::optional::has_value() const /usr/include/c++/12/optional:988:0 #14 0x0000ffffa3e30f7c clang::ento::CallEvent::isArgumentConstructedDirectly(unsigned int) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:431:0 #15 0x0000ffffa3e30f7c addParameterValuesToBindings(clang::StackFrameContext const*, llvm::SmallVectorImpl>&, clang::ento::SValBuilder&, clang::ento::CallEvent const&, llvm::ArrayRef) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:478:0 #16 0x0000ffffa3e31f7c clang::ento::AnyCXXConstructorCall::getCXXThisVal() const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:896:0 #17 0x0000ffffa3e31f7c clang::ento::AnyCXXConstructorCall::getInitialStackFrameContents(clang::StackFrameContext const*, llvm::SmallVectorImpl>&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:915:0 #18 0x0000ffffa3ef2cb0 llvm::SmallVectorTemplateCommon, void>::end() /usr/include/llvm/ADT/SmallVector.h:272:0 #19 0x0000ffffa3ef2cb0 clang::ento::StoreManager::enterStackFrame(void const*, clang::ento::CallEvent const&, clang::StackFrameContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/Store.cpp:54:0 #20 0x0000ffffa3eadef8 clang::ento::ProgramState::makeWithStore(clang::ento::StoreRef const&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:434:27 #21 0x0000ffffa3eadef8 clang::ento::ProgramState::enterStackFrame(clang::ento::CallEvent const&, clang::StackFrameContext const*) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:234:0 #22 0x0000ffffa3eae0a8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #23 0x0000ffffa3eae0a8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #24 0x0000ffffa3eae0a8 clang::ento::ExprEngine::inlineCall(clang::ento::WorkList*, clang::ento::CallEvent const&, clang::Decl const*, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:561:0 #25 0x0000ffffa3eb0b40 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #26 0x0000ffffa3eb0b40 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #27 0x0000ffffa3eb0b40 clang::ento::ExprEngine::ctuBifurcate(clang::ento::CallEvent const&, clang::Decl const*, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:527:0 #28 0x0000ffffa3eb156c llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #29 0x0000ffffa3eb156c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #30 0x0000ffffa3eb156c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x0000ffffa3eb156c clang::ento::ExprEngine::defaultEvalCall(clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:1255:0 #32 0x0000ffffa3e39fd8 clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:288:0 #33 0x0000ffffa3e76028 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #34 0x0000ffffa3e76028 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #35 0x0000ffffa3e76028 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #36 0x0000ffffa3e76028 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #37 0x0000ffffa3e76028 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #38 0x0000ffffa3e76028 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #39 0x0000ffffa3e76028 clang::ento::ExprEngine::handleConstructor(clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:789:0 #40 0x0000ffffa3e7be5c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #41 0x0000ffffa3e7be5c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2158:0 #42 0x0000ffffa3e7cf08 clang::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 0x0000ffffa3e7d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffa3e7d41c clang::ento::CoreEngine::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 0x0000ffffa3e7d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #46 0x0000ffffa3e7d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #47 0x0000ffffa3e7d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #48 0x0000ffffa3e7d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #49 0x0000ffffa3e7d764 clang::ento::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 0x0000ffffa414787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #51 0x0000ffffa414787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x0000ffffa414787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #53 0x0000ffffa414787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #54 0x0000ffffa414787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #55 0x0000ffffa41487e8 llvm::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 0x0000ffffa41487e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #57 0x0000ffffa41487e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #58 0x0000ffffa414cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #59 0x0000ffffa414cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #60 0x0000ffffa414cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #61 0x0000ffffa414cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #62 0x0000ffffa414cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #63 0x0000ffffa25a1e58 __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 0x0000ffffa25a1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #65 0x0000ffffa25a1e58 void clang::finalize>, 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 0x0000ffffa25a1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #67 0x0000ffffa3c67ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #68 0x0000ffffa3c1fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #69 0x0000ffffa3c1fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #70 0x0000ffffa3c1fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #71 0x0000ffffa3ca610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #72 0x0000aaaab3a559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #73 0x0000aaaab3a594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #74 0x0000aaaab3a5aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #75 0x0000aaaab3a51fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #76 0x0000ffff9b21098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #77 0x0000ffff9b210a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #78 0x0000aaaab3a520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cxx-uninitialized-object-ptr-ref.cpp.script: line 2: 1824938 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,optin.cplusplus.UninitializedObject -analyzer-config optin.cplusplus.UninitializedObject:Pedantic=true -DPEDANTIC -analyzer-config optin.cplusplus.UninitializedObject:CheckPointeeInitialization=true -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object-ptr-ref.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/cxx-uninitialized-object-unguarded-access.cpp (628 of 18953) ******************** TEST 'Clang :: Analysis/cxx-uninitialized-object-unguarded-access.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,optin.cplusplus.UninitializedObject -analyzer-config optin.cplusplus.UninitializedObject:Pedantic=true -DPEDANTIC -analyzer-config optin.cplusplus.UninitializedObject:IgnoreGuardedFields=true -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object-unguarded-access.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,optin.cplusplus.UninitializedObject -analyzer-config optin.cplusplus.UninitializedObject:Pedantic=true -DPEDANTIC -analyzer-config optin.cplusplus.UninitializedObject:IgnoreGuardedFields=true -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object-unguarded-access.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling fConditionalOperatorGuardedFieldsTest() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object-unguarded-access.cpp:437:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object-unguarded-access.cpp:437:7: Error evaluating statement #0 0x0000ffff9f0aacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff9f0a9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9f0ab388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa7fe2800 (linux-vdso.so.1+0x800) #4 0x0000ffffa6f58434 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa6f58434 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa6f58434 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa6f58434 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa6f58434 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa6f58434 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa6f58434 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:0 #11 0x0000ffffa6f58434 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 0x0000ffffa6f20f7c std::_Optional_base_impl>::_M_is_engaged() const /usr/include/c++/12/optional:471:0 #13 0x0000ffffa6f20f7c std::optional::has_value() const /usr/include/c++/12/optional:988:0 #14 0x0000ffffa6f20f7c clang::ento::CallEvent::isArgumentConstructedDirectly(unsigned int) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:431:0 #15 0x0000ffffa6f20f7c addParameterValuesToBindings(clang::StackFrameContext const*, llvm::SmallVectorImpl>&, clang::ento::SValBuilder&, clang::ento::CallEvent const&, llvm::ArrayRef) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:478:0 #16 0x0000ffffa6f21f7c clang::ento::AnyCXXConstructorCall::getCXXThisVal() const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:896:0 #17 0x0000ffffa6f21f7c clang::ento::AnyCXXConstructorCall::getInitialStackFrameContents(clang::StackFrameContext const*, llvm::SmallVectorImpl>&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:915:0 #18 0x0000ffffa6fe2cb0 llvm::SmallVectorTemplateCommon, void>::end() /usr/include/llvm/ADT/SmallVector.h:272:0 #19 0x0000ffffa6fe2cb0 clang::ento::StoreManager::enterStackFrame(void const*, clang::ento::CallEvent const&, clang::StackFrameContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/Store.cpp:54:0 #20 0x0000ffffa6f9def8 clang::ento::ProgramState::makeWithStore(clang::ento::StoreRef const&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:434:27 #21 0x0000ffffa6f9def8 clang::ento::ProgramState::enterStackFrame(clang::ento::CallEvent const&, clang::StackFrameContext const*) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:234:0 #22 0x0000ffffa6f9e0a8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #23 0x0000ffffa6f9e0a8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #24 0x0000ffffa6f9e0a8 clang::ento::ExprEngine::inlineCall(clang::ento::WorkList*, clang::ento::CallEvent const&, clang::Decl const*, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:561:0 #25 0x0000ffffa6fa0b40 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #26 0x0000ffffa6fa0b40 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #27 0x0000ffffa6fa0b40 clang::ento::ExprEngine::ctuBifurcate(clang::ento::CallEvent const&, clang::Decl const*, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:527:0 #28 0x0000ffffa6fa156c llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #29 0x0000ffffa6fa156c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #30 0x0000ffffa6fa156c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x0000ffffa6fa156c clang::ento::ExprEngine::defaultEvalCall(clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:1255:0 #32 0x0000ffffa6f29fd8 clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:288:0 #33 0x0000ffffa6f66028 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #34 0x0000ffffa6f66028 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #35 0x0000ffffa6f66028 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #36 0x0000ffffa6f66028 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #37 0x0000ffffa6f66028 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #38 0x0000ffffa6f66028 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #39 0x0000ffffa6f66028 clang::ento::ExprEngine::handleConstructor(clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:789:0 #40 0x0000ffffa6f6be5c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #41 0x0000ffffa6f6be5c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2158:0 #42 0x0000ffffa6f6cf08 clang::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 0x0000ffffa6f6d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffa6f6d41c clang::ento::CoreEngine::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 0x0000ffffa6f6d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #46 0x0000ffffa6f6d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #47 0x0000ffffa6f6d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #48 0x0000ffffa6f6d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #49 0x0000ffffa6f6d764 clang::ento::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 0x0000ffffa723787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #51 0x0000ffffa723787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x0000ffffa723787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #53 0x0000ffffa723787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #54 0x0000ffffa723787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #55 0x0000ffffa72387e8 llvm::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 0x0000ffffa72387e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #57 0x0000ffffa72387e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #58 0x0000ffffa723cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #59 0x0000ffffa723cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #60 0x0000ffffa723cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #61 0x0000ffffa723cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #62 0x0000ffffa723cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #63 0x0000ffffa5691e58 __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 0x0000ffffa5691e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #65 0x0000ffffa5691e58 void clang::finalize>, 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 0x0000ffffa5691e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #67 0x0000ffffa6d57ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #68 0x0000ffffa6d0fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #69 0x0000ffffa6d0fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #70 0x0000ffffa6d0fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #71 0x0000ffffa6d9610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #72 0x0000aaaadb2259f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #73 0x0000aaaadb2294b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #74 0x0000aaaadb22aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #75 0x0000aaaadb221fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #76 0x0000ffff9e30098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #77 0x0000ffff9e300a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #78 0x0000aaaadb2220b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cxx-uninitialized-object-unguarded-access.cpp.script: line 1: 1824947 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,optin.cplusplus.UninitializedObject -analyzer-config optin.cplusplus.UninitializedObject:Pedantic=true -DPEDANTIC -analyzer-config optin.cplusplus.UninitializedObject:IgnoreGuardedFields=true -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object-unguarded-access.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/cxx-uninitialized-object.cpp (629 of 18953) ******************** TEST 'Clang :: Analysis/cxx-uninitialized-object.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object.cpp -analyzer-checker=core -analyzer-checker=optin.cplusplus.UninitializedObject -analyzer-config optin.cplusplus.UninitializedObject:Pedantic=true -DPEDANTIC -analyzer-config optin.cplusplus.UninitializedObject:CheckPointeeInitialization=true : 'RUN: at line 8'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object.cpp -analyzer-checker=core -analyzer-checker=optin.cplusplus.UninitializedObject -analyzer-config optin.cplusplus.UninitializedObject:CheckPointeeInitialization=true -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object.cpp -analyzer-checker=core -analyzer-checker=optin.cplusplus.UninitializedObject -analyzer-config optin.cplusplus.UninitializedObject:Pedantic=true -DPEDANTIC -analyzer-config optin.cplusplus.UninitializedObject:CheckPointeeInitialization=true 1. parser at end of file 2. While analyzing stack: #0 Calling ComplexInitTest::ComplexInitTest() at line 1180 #1 Calling fComplexTest() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object.cpp:1172:10: Error evaluating statement #0 0x0000ffff7a20acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7a209100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7a20b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8314d800 (linux-vdso.so.1+0x800) #4 0x0000ffff820b7db8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff820b7db8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff820b7db8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff820b7db8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff820b7db8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff820b7db8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff820b7db8 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff820b7db8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1059:61 #12 0x0000ffff820cce94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffff820cce94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffff820cce94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffff820cce94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffff820cce94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffff820cce94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffff820cce94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffff820cce94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffff820cce94 clang::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 0x0000ffff820cd1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff820cd310 clang::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 0x0000ffff820cd5dc clang::ento::CoreEngine::dispatchWorkItem(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 0x0000ffff820cd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x0000ffff820cd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x0000ffff820cd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #27 0x0000ffff820cd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #28 0x0000ffff820cd764 clang::ento::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 0x0000ffff8239787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffff8239787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffff8239787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #32 0x0000ffff8239787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #33 0x0000ffff8239787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #34 0x0000ffff823987e8 llvm::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 0x0000ffff823987e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x0000ffff823987e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #37 0x0000ffff8239cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x0000ffff8239cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x0000ffff8239cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x0000ffff8239cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x0000ffff8239cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x0000ffff807f1e58 __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 0x0000ffff807f1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x0000ffff807f1e58 void clang::finalize>, 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 0x0000ffff807f1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x0000ffff81eb7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #47 0x0000ffff81e6fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #48 0x0000ffff81e6fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #49 0x0000ffff81e6fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #50 0x0000ffff81ef610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #51 0x0000aaaae01859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x0000aaaae01894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x0000aaaae018aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x0000aaaae0181fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x0000ffff7946098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #56 0x0000ffff79460a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #57 0x0000aaaae01820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cxx-uninitialized-object.cpp.script: line 2: 1824963 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object.cpp -analyzer-checker=core -analyzer-checker=optin.cplusplus.UninitializedObject -analyzer-config optin.cplusplus.UninitializedObject:Pedantic=true -DPEDANTIC -analyzer-config optin.cplusplus.UninitializedObject:CheckPointeeInitialization=true -- ******************** Testing: 0 FAIL: Clang :: Analysis/cxx-uninitialized-object-unionlike-constructs.cpp (633 of 18953) ******************** TEST 'Clang :: Analysis/cxx-uninitialized-object-unionlike-constructs.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,optin.cplusplus.UninitializedObject -analyzer-config optin.cplusplus.UninitializedObject:Pedantic=true -DPEDANTIC -analyzer-config optin.cplusplus.UninitializedObject:IgnoreRecordsWithField="[Tt]ag|[Kk]ind" -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object-unionlike-constructs.cpp : 'RUN: at line 6'; not /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object-unionlike-constructs.cpp -analyzer-checker=core -analyzer-checker=optin.cplusplus.UninitializedObject -analyzer-config optin.cplusplus.UninitializedObject:IgnoreRecordsWithField="([)]" 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object-unionlike-constructs.cpp -check-prefix=CHECK-UNINIT-INVALID-REGEX -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,optin.cplusplus.UninitializedObject -analyzer-config optin.cplusplus.UninitializedObject:Pedantic=true -DPEDANTIC -analyzer-config optin.cplusplus.UninitializedObject:IgnoreRecordsWithField=[Tt]ag|[Kk]ind -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object-unionlike-constructs.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling fUnionLikeStruct5() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object-unionlike-constructs.cpp:149:20: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object-unionlike-constructs.cpp:149:20: Error evaluating statement #0 0x0000ffff8489acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff84899100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8489b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8d7d0800 (linux-vdso.so.1+0x800) #4 0x0000ffff8c748434 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8c748434 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8c748434 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8c748434 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8c748434 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8c748434 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff8c748434 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:0 #11 0x0000ffff8c748434 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 0x0000ffff8c710f7c std::_Optional_base_impl>::_M_is_engaged() const /usr/include/c++/12/optional:471:0 #13 0x0000ffff8c710f7c std::optional::has_value() const /usr/include/c++/12/optional:988:0 #14 0x0000ffff8c710f7c clang::ento::CallEvent::isArgumentConstructedDirectly(unsigned int) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:431:0 #15 0x0000ffff8c710f7c addParameterValuesToBindings(clang::StackFrameContext const*, llvm::SmallVectorImpl>&, clang::ento::SValBuilder&, clang::ento::CallEvent const&, llvm::ArrayRef) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:478:0 #16 0x0000ffff8c711f7c clang::ento::AnyCXXConstructorCall::getCXXThisVal() const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:896:0 #17 0x0000ffff8c711f7c clang::ento::AnyCXXConstructorCall::getInitialStackFrameContents(clang::StackFrameContext const*, llvm::SmallVectorImpl>&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:915:0 #18 0x0000ffff8c7d2cb0 llvm::SmallVectorTemplateCommon, void>::end() /usr/include/llvm/ADT/SmallVector.h:272:0 #19 0x0000ffff8c7d2cb0 clang::ento::StoreManager::enterStackFrame(void const*, clang::ento::CallEvent const&, clang::StackFrameContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/Store.cpp:54:0 #20 0x0000ffff8c78def8 clang::ento::ProgramState::makeWithStore(clang::ento::StoreRef const&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:434:27 #21 0x0000ffff8c78def8 clang::ento::ProgramState::enterStackFrame(clang::ento::CallEvent const&, clang::StackFrameContext const*) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:234:0 #22 0x0000ffff8c78e0a8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #23 0x0000ffff8c78e0a8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #24 0x0000ffff8c78e0a8 clang::ento::ExprEngine::inlineCall(clang::ento::WorkList*, clang::ento::CallEvent const&, clang::Decl const*, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:561:0 #25 0x0000ffff8c790b40 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #26 0x0000ffff8c790b40 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #27 0x0000ffff8c790b40 clang::ento::ExprEngine::ctuBifurcate(clang::ento::CallEvent const&, clang::Decl const*, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:527:0 #28 0x0000ffff8c79156c llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #29 0x0000ffff8c79156c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #30 0x0000ffff8c79156c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x0000ffff8c79156c clang::ento::ExprEngine::defaultEvalCall(clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:1255:0 #32 0x0000ffff8c719fd8 clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:288:0 #33 0x0000ffff8c756028 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #34 0x0000ffff8c756028 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #35 0x0000ffff8c756028 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #36 0x0000ffff8c756028 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #37 0x0000ffff8c756028 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #38 0x0000ffff8c756028 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #39 0x0000ffff8c756028 clang::ento::ExprEngine::handleConstructor(clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:789:0 #40 0x0000ffff8c75be5c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #41 0x0000ffff8c75be5c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2158:0 #42 0x0000ffff8c75cf08 clang::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 0x0000ffff8c75d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8c75d41c clang::ento::CoreEngine::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 0x0000ffff8c75d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #46 0x0000ffff8c75d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #47 0x0000ffff8c75d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #48 0x0000ffff8c75d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #49 0x0000ffff8c75d764 clang::ento::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 0x0000ffff8ca2787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #51 0x0000ffff8ca2787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x0000ffff8ca2787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #53 0x0000ffff8ca2787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #54 0x0000ffff8ca2787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #55 0x0000ffff8ca287e8 llvm::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 0x0000ffff8ca287e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #57 0x0000ffff8ca287e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #58 0x0000ffff8ca2cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #59 0x0000ffff8ca2cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #60 0x0000ffff8ca2cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #61 0x0000ffff8ca2cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #62 0x0000ffff8ca2cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #63 0x0000ffff8ae81e58 __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 0x0000ffff8ae81e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #65 0x0000ffff8ae81e58 void clang::finalize>, 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 0x0000ffff8ae81e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #67 0x0000ffff8c547ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #68 0x0000ffff8c4ffc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #69 0x0000ffff8c4ffc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #70 0x0000ffff8c4ffc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #71 0x0000ffff8c58610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #72 0x0000aaaaae0e59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #73 0x0000aaaaae0e94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #74 0x0000aaaaae0eaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #75 0x0000aaaaae0e1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #76 0x0000ffff83af098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #77 0x0000ffff83af0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #78 0x0000aaaaae0e20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/cxx-uninitialized-object-unionlike-constructs.cpp.script: line 2: 1824956 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,optin.cplusplus.UninitializedObject -analyzer-config optin.cplusplus.UninitializedObject:Pedantic=true -DPEDANTIC -analyzer-config optin.cplusplus.UninitializedObject:IgnoreRecordsWithField="[Tt]ag|[Kk]ind" -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxx-uninitialized-object-unionlike-constructs.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/cxxctr-array-evalcall-analysis-order.cpp (635 of 18953) ******************** TEST 'Clang :: Analysis/cxxctr-array-evalcall-analysis-order.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxxctr-array-evalcall-analysis-order.cpp -analyzer-checker=debug.AnalysisOrder -analyzer-config debug.AnalysisOrder:PreCall=true -analyzer-config debug.AnalysisOrder:PostCall=true 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxxctr-array-evalcall-analysis-order.cpp -- Exit Code: 1 Command Output (stderr): -- /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxxctr-array-evalcall-analysis-order.cpp:22:16: error: CHECK-NEXT: expected string not found in input // CHECK-NEXT: PostCall (C::C) [CXXConstructorCall] ^ :1:36: note: scanning from here PreCall (C::C) [CXXConstructorCall] ^ :4:512: note: possible intended match here 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxxctr-array-evalcall-analysis-order.cpp -analyzer-checker=debug.AnalysisOrder -analyzer-config debug.AnalysisOrder:PreCall=true -analyzer-config debug.AnalysisOrder:PostCall=true ^ Input file: Check file: /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxxctr-array-evalcall-analysis-order.cpp -dump-input=help explains the following input dump. Input was: <<<<<< 1: PreCall (C::C) [CXXConstructorCall] next:22'0 X error: no match found 2: PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. next:22'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3: Stack dump: next:22'0 ~~~~~~~~~~~~ 4: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxxctr-array-evalcall-analysis-order.cpp -analyzer-checker=debug.AnalysisOrder -analyzer-config debug.AnalysisOrder:PreCall=true -analyzer-config debug.AnalysisOrder:PostCall=true next:22'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ next:22'1 ? possible intended match 5: 1. parser at end of file next:22'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6: #0 0x0000ffff7c63acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) next:22'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7: #1 0x0000ffff7c639100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) next:22'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 8: #2 0x0000ffff7c63b388 (/usr/lib64/libLLVM-17.so+0x9bb388) next:22'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 9: #3 0x0000ffff85572800 (linux-vdso.so.1+0x800) next:22'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0 FAIL: Clang :: Analysis/cxxctr-evalcall-analysis-order.cpp (639 of 18953) ******************** TEST 'Clang :: Analysis/cxxctr-evalcall-analysis-order.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxxctr-evalcall-analysis-order.cpp -analyzer-checker=debug.AnalysisOrder -analyzer-config debug.AnalysisOrder:EvalCall=true -analyzer-config debug.AnalysisOrder:PreCall=true -analyzer-config debug.AnalysisOrder:PostCall=true 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxxctr-evalcall-analysis-order.cpp -- Exit Code: 1 Command Output (stderr): -- /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxxctr-evalcall-analysis-order.cpp:26:16: error: CHECK-NEXT: expected string not found in input // CHECK-NEXT: PreCall (C::C) [CXXConstructorCall] ^ :3:37: note: scanning from here PostCall (C::C) [CXXConstructorCall] ^ :21:45: note: possible intended match here #10 0x0000ffff93a37db8 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 ^ Input file: Check file: /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxxctr-evalcall-analysis-order.cpp -dump-input=help explains the following input dump. Input was: <<<<<< 1: PreCall (C::C) [CXXConstructorCall] 2: EvalCall (C::C) {argno: 0} [CXXConstructorCall] 3: PostCall (C::C) [CXXConstructorCall] next:26'0 X error: no match found 4: PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. next:26'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5: Stack dump: next:26'0 ~~~~~~~~~~~~ 6: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxxctr-evalcall-analysis-order.cpp -analyzer-checker=debug.AnalysisOrder -analyzer-config debug.AnalysisOrder:EvalCall=true -analyzer-config debug.AnalysisOrder:PreCall=true -analyzer-config debug.AnalysisOrder:PostCall=true next:26'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7: 1. parser at end of file next:26'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 8: 2. While analyzing stack: next:26'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . 16: #5 0x0000ffff93a37db8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 next:26'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 17: #6 0x0000ffff93a37db8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 next:26'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 18: #7 0x0000ffff93a37db8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 next:26'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 19: #8 0x0000ffff93a37db8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 next:26'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 20: #9 0x0000ffff93a37db8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 next:26'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 21: #10 0x0000ffff93a37db8 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 0x0000ffff93a37db8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1059:61 next:26'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 23: #12 0x0000ffff93a4ce94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 next:26'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 24: #13 0x0000ffff93a4ce94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 next:26'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 25: #14 0x0000ffff93a4ce94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 next:26'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 26: #15 0x0000ffff93a4ce94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 next:26'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0 FAIL: Clang :: Analysis/cxxnewexpr-callback.cpp (641 of 18953) ******************** TEST 'Clang :: Analysis/cxxnewexpr-callback.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.AnalysisOrder -analyzer-config c++-allocator-inlining=true,debug.AnalysisOrder:PreStmtCXXNewExpr=true,debug.AnalysisOrder:PostStmtCXXNewExpr=true,debug.AnalysisOrder:PreCall=true,debug.AnalysisOrder:PostCall=true,debug.AnalysisOrder:NewAllocator=true /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxxnewexpr-callback.cpp 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxxnewexpr-callback.cpp --check-prefixes=CHECK,CHECK-INLINE : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.AnalysisOrder -analyzer-config c++-allocator-inlining=false,debug.AnalysisOrder:PreStmtCXXNewExpr=true,debug.AnalysisOrder:PostStmtCXXNewExpr=true,debug.AnalysisOrder:PreCall=true,debug.AnalysisOrder:PostCall=true,debug.AnalysisOrder:NewAllocator=true /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxxnewexpr-callback.cpp 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxxnewexpr-callback.cpp --check-prefixes=CHECK,CHECK-NO-INLINE -- Exit Code: 1 Command Output (stderr): -- /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxxnewexpr-callback.cpp:33:23: error: CHECK-INLINE-NEXT: expected string not found in input // CHECK-INLINE-NEXT: PostCall (operator new) ^ :3:23: note: scanning from here PostCall (std::malloc) [SimpleFunctionCall] ^ :9:2: note: possible intended match here #0 Calling operator new(size_t) at line 22 ^ Input file: Check file: /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxxnewexpr-callback.cpp -dump-input=help explains the following input dump. Input was: <<<<<< 1: PreCall (operator new) [CXXAllocatorCall] 2: PreCall (std::malloc) [SimpleFunctionCall] 3: PostCall (std::malloc) [SimpleFunctionCall] next:33'0 X~~~~~~~~~~~~~~~~~~~~~ error: no match found 4: PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. next:33'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5: Stack dump: next:33'0 ~~~~~~~~~~~~ 6: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.AnalysisOrder -analyzer-config c++-allocator-inlining=true,debug.AnalysisOrder:PreStmtCXXNewExpr=true,debug.AnalysisOrder:PostStmtCXXNewExpr=true,debug.AnalysisOrder:PreCall=true,debug.AnalysisOrder:PostCall=true,debug.AnalysisOrder:NewAllocator=true /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/cxxnewexpr-callback.cpp next:33'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7: 1. parser at end of file next:33'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 8: 2. While analyzing stack: next:33'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 9: #0 Calling operator new(size_t) at line 22 next:33'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ next:33'1 ? possible intended match 10: #1 Calling test() next:33'0 ~~~~~~~~~~~~~~~~~~~ 11: #0 0x0000ffff83a2acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) next:33'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 12: #1 0x0000ffff83a29100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) next:33'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 13: #2 0x0000ffff83a2b388 (/usr/lib64/libLLVM-17.so+0x9bb388) next:33'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 14: #3 0x0000ffff8c966800 (linux-vdso.so.1+0x800) next:33'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0 FAIL: Clang :: Analysis/dead-stores.c (643 of 18953) ******************** TEST 'Clang :: Analysis/dead-stores.c' FAILED ******************** Script: -- : 'RUN: at line 1'; "/usr/bin/python3.11" /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/check-analyzer-fixit.py /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/dead-stores.c /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/dead-stores.c.tmp -Wunused-variable -fblocks -Wno-unreachable-code -analyzer-checker=core,deadcode.DeadStores -analyzer-config deadcode.DeadStores:ShowFixIts=true -analyzer-config deadcode.DeadStores:WarnForDeadNestedAssignments=false -verify=non-nested : 'RUN: at line 9'; "/usr/bin/python3.11" /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/check-analyzer-fixit.py /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/dead-stores.c /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/dead-stores.c.tmp -Wunused-variable -fblocks -Wno-unreachable-code -analyzer-checker=core,deadcode.DeadStores -analyzer-config deadcode.DeadStores:ShowFixIts=true -verify=non-nested,nested -- Exit Code: 1 Command Output (stdout): -- Running ['clang', '-cc1', '-internal-isystem', '/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include\n', '-nostdsysteminc', '-analyze', '-analyzer-constraints=range', '-analyzer-config', 'apply-fixits=true', '-Wunused-variable', '-fblocks', '-Wno-unreachable-code', '-analyzer-checker=core,deadcode.DeadStores', '-analyzer-config', 'deadcode.DeadStores:ShowFixIts=true', '-analyzer-config', 'deadcode.DeadStores:WarnForDeadNestedAssignments=false', '-verify=non-nested', '-verify', '/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/dead-stores.c.tmp.c']... Clang Static Analyzer test failed: PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include\n -nostdsysteminc -analyze -analyzer-constraints=range -analyzer-config apply-fixits=true -Wunused-variable -fblocks -Wno-unreachable-code -analyzer-checker=core,deadcode.DeadStores -analyzer-config deadcode.DeadStores:ShowFixIts=true -analyzer-config deadcode.DeadStores:WarnForDeadNestedAssignments=false -verify=non-nested -verify /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/dead-stores.c.tmp.c 1. parser at end of file 2. While analyzing stack: #0 Calling rdar34122265_test_nested 3. /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/dead-stores.c.tmp.c:675:12: Error evaluating statement #0 0x0000ffff82cbacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff82cb9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff82cbb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8bbf5800 (linux-vdso.so.1+0x800) #4 0x0000ffff8abbcd64 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8abbcd64 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8abbcd64 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8abbcd64 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffff8abbcd64 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffff8abbcd64 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffff8ab680bc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffff8ab680bc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffff8ab680bc clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffff8ab7ce94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffff8ab7ce94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffff8ab7ce94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffff8ab7ce94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffff8ab7ce94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffff8ab7ce94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffff8ab7ce94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffff8ab7ce94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffff8ab7ce94 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffff8ab7d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8ab7d310 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffff8ab7d5dc clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffff8ab7d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffff8ab7d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffff8ab7d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffff8ab7d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffff8ab7d764 clang::ento::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 0x0000ffff8ae4787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff8ae4787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff8ae4787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffff8ae4787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffff8ae4787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffff8ae487e8 llvm::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 0x0000ffff8ae487e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffff8ae487e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffff8ae4cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffff8ae4cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffff8ae4cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffff8ae4cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffff8ae4cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffff892a1e58 __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 0x0000ffff892a1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffff892a1e58 void clang::finalize>, 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 0x0000ffff892a1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffff8a967ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffff8a91fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffff8a91fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffff8a91fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffff8a9a610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaaad2e59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaaad2e94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaaad2eaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaaad2e1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffff81f1098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffff81f10a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaaad2e20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-17+0x120b0) -- Command Output (stderr): -- Traceback (most recent call last): File "/builddir/build/BUILD/clang-17.0.6.src/test/Analysis/check-analyzer-fixit.py", line 144, in main() File "/builddir/build/BUILD/clang-17.0.6.src/test/Analysis/check-analyzer-fixit.py", line 140, in main run_test_once(args, extra_args) File "/builddir/build/BUILD/clang-17.0.6.src/test/Analysis/check-analyzer-fixit.py", line 92, in run_test_once clang_analyzer_output = subprocess.check_output( ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/subprocess.py", line 466, in check_output return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/subprocess.py", line 571, in run raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command '['clang', '-cc1', '-internal-isystem', '/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include\n', '-nostdsysteminc', '-analyze', '-analyzer-constraints=range', '-analyzer-config', 'apply-fixits=true', '-Wunused-variable', '-fblocks', '-Wno-unreachable-code', '-analyzer-checker=core,deadcode.DeadStores', '-analyzer-config', 'deadcode.DeadStores:ShowFixIts=true', '-analyzer-config', 'deadcode.DeadStores:WarnForDeadNestedAssignments=false', '-verify=non-nested', '-verify', '/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/dead-stores.c.tmp.c']' died with . -- ******************** Testing: 0 FAIL: Clang :: Analysis/dead-stores.m (645 of 18953) ******************** TEST 'Clang :: Analysis/dead-stores.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -analyzer-checker=deadcode.DeadStores,osx.cocoa.RetainCount -fblocks -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/dead-stores.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -analyzer-checker=deadcode.DeadStores,osx.cocoa.RetainCount -fblocks -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/dead-stores.m 1. parser at end of file #0 0x0000ffff8abcacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8abc9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8abcb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff93b07800 (linux-vdso.so.1+0x800) #4 0x0000ffff92e23688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff92e23688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff92e23688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff92e23688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff92e23688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff92e23688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff92e23688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff92e23688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff92ad0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff92ad0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff92ad0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff92ad0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff92ad1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff92ad1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff92ad1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff92ad1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff92ae4770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff92ae4770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff92ae4770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff92ae5cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff92ae5cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff92ae5cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff92ae5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff92ae5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff92ae5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff92af17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff92af17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff92af17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff92afb074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff92afb074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff92afb074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff92a5f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff92a5f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff92a5f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff92a5f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff92a5fbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff92a5fbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff92a5fbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff92a331c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff92a331c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff92a331c0 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff92a6fba8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff92a6fba8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff92a6fba8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffff92a8daa8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff92a8daa8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff92a8daa8 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff92d5787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff92d5787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff92d5787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff92d5787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff92d5787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff92d587e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffff92d587e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff92d587e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff92d5cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff92d5cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff92d5cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff92d5cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff92d5cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff911b1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffff911b1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff911b1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffff911b1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff92877ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff9282fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff9282fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff9282fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff928b610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaabbb259f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaabbb294b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaabbb2aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaabbb21fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff89e2098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff89e20a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaabbb220b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/dead-stores.m.script: line 1: 1825028 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -analyzer-checker=deadcode.DeadStores,osx.cocoa.RetainCount -fblocks -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/dead-stores.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/debug-exprinspection-istainted.c (646 of 18953) ******************** TEST 'Clang :: Analysis/debug-exprinspection-istainted.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/debug-exprinspection-istainted.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-checker=alpha.security.taint -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/debug-exprinspection-istainted.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-checker=alpha.security.taint 1. parser at end of file 2. While analyzing stack: #0 Calling exactly_one_argument_required 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/debug-exprinspection-istainted.c:24:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/debug-exprinspection-istainted.c:24:3: Error evaluating statement #0 0x0000ffff92b0acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff92b09100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff92b0b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9ba48800 (linux-vdso.so.1+0x800) #4 0x0000ffff9ad59c08 llvm::ImutAVLTree>>>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9ad59c08 llvm::IntrusiveRefCntPtrInfo>>>>::retain(llvm::ImutAVLTree>>>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9ad59c08 llvm::IntrusiveRefCntPtr>>>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9ad59c08 llvm::IntrusiveRefCntPtr>>>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>>>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9ad59c08 llvm::ImmutableMap>, llvm::ImutKeyValueInfo>>>::ImmutableMap(llvm::ImutAVLTree>>> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9ad59c08 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 0x0000ffff9ad59c08 get<(anonymous namespace)::TaintArgsOnPostVisit> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff9ad59c08 (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 0x0000ffff9a989524 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #13 0x0000ffff9a989524 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #14 0x0000ffff9a989524 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #15 0x0000ffff9a989524 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #16 0x0000ffff9a989524 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #17 0x0000ffff9a9e98b8 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #18 0x0000ffff9a9e98b8 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #19 0x0000ffff9a9e98b8 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #20 0x0000ffff9a9e98b8 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #21 0x0000ffff9a9e98b8 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #22 0x0000ffff9a9e98b8 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #23 0x0000ffff9a9ea144 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #24 0x0000ffff9a9cbea0 clang::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 0x0000ffff9a9cbea0 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #26 0x0000ffff9a9ccf08 clang::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 0x0000ffff9a9cd1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff9a9cd41c clang::ento::CoreEngine::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 0x0000ffff9a9cd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #30 0x0000ffff9a9cd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #31 0x0000ffff9a9cd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #32 0x0000ffff9a9cd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #33 0x0000ffff9a9cd764 clang::ento::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 0x0000ffff9ac9787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #35 0x0000ffff9ac9787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #36 0x0000ffff9ac9787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #37 0x0000ffff9ac9787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #38 0x0000ffff9ac9787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #39 0x0000ffff9ac987e8 llvm::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 0x0000ffff9ac987e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #41 0x0000ffff9ac987e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #42 0x0000ffff9ac9cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #43 0x0000ffff9ac9cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #44 0x0000ffff9ac9cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #45 0x0000ffff9ac9cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #46 0x0000ffff9ac9cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #47 0x0000ffff990f1e58 __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 0x0000ffff990f1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #49 0x0000ffff990f1e58 void clang::finalize>, 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 0x0000ffff990f1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #51 0x0000ffff9a7b7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #52 0x0000ffff9a76fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #53 0x0000ffff9a76fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #54 0x0000ffff9a76fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #55 0x0000ffff9a7f610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #56 0x0000aaaab79d59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #57 0x0000aaaab79d94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #58 0x0000aaaab79daac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #59 0x0000aaaab79d1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #60 0x0000ffff91d6098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #61 0x0000ffff91d60a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #62 0x0000aaaab79d20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/debug-exprinspection-istainted.c.script: line 1: 1825053 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/debug-exprinspection-istainted.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-checker=alpha.security.taint -- ******************** Testing: 0 FAIL: Clang :: Analysis/debug-container-modeling.cpp (647 of 18953) ******************** TEST 'Clang :: Analysis/debug-container-modeling.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus -analyzer-checker=debug.DebugContainerModeling,debug.ExprInspection -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config c++-container-inlining=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/debug-container-modeling.cpp -verify : 'RUN: at line 7'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus -analyzer-checker=debug.DebugContainerModeling,debug.ExprInspection -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config c++-container-inlining=true -DINLINE=1 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/debug-container-modeling.cpp -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus -analyzer-checker=debug.DebugContainerModeling,debug.ExprInspection -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config c++-container-inlining=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/debug-container-modeling.cpp -verify 1. parser at end of file 2. While analyzing stack: #0 Calling container_begin_end(const std::vector) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/debug-container-modeling.cpp:23:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/debug-container-modeling.cpp:23:3: Error evaluating statement #0 0x0000ffff9bd8acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff9bd89100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9bd8b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa4cc1800 (linux-vdso.so.1+0x800) #4 0x0000ffffa3c6a900 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffffa3c6a900 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffa3c6a900 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffa3c6a900 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffa3c6a900 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffa3c6a900 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffa3c6a900 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x0000ffffa3c6a900 getConstraint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1055:37 #12 0x0000ffffa3c6a900 (anonymous namespace)::getConstraint(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1060:23 #13 0x0000ffffa3c6a9dc (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 0x0000ffffa3cbe038 getConst /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1238:0 #15 0x0000ffffa3cbe038 (anonymous namespace)::SimpleSValBuilder::simplifySValOnce(llvm::IntrusiveRefCntPtr, clang::ento::SVal)::Simplifier::getConstOrVisit(clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1246:0 #16 0x0000ffffa3cbd874 VisitSymIntExpr /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1270:0 #17 0x0000ffffa3cbd874 clang::ento::SymExprVisitor<(anonymous namespace)::SimpleSValBuilder::simplifySValOnce(llvm::IntrusiveRefCntPtr, clang::ento::SVal)::Simplifier, clang::ento::SVal>::Visit(clang::ento::SymExpr const*) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:0 #18 0x0000ffffa40ca8a4 VisitNonLocSymbolVal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1365:0 #19 0x0000ffffa40ca8a4 Visit /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.def:67:0 #20 0x0000ffffa40ca8a4 (anonymous namespace)::SimpleSValBuilder::simplifySValOnce(llvm::IntrusiveRefCntPtr, clang::ento::SVal) (.constprop.0.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1371:0 #21 0x0000ffffa3ca5484 simplifyUntilFixpoint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1194:40 #22 0x0000ffffa3ca5484 (anonymous namespace)::SimpleSValBuilder::simplifySVal(llvm::IntrusiveRefCntPtr, clang::ento::SVal) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1203:31 #23 0x0000ffffa3ca4a58 clang::ento::simplifyToSVal(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:237:26 #24 0x0000ffffa3ca4b5c clang::ento::simplify(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:241:38 #25 0x0000ffffa3ca5b9c clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:26:17 #26 0x0000ffffa3ca5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa3ca5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa3ca5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa3cb17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa3cb17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa3cb17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa3cbb074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa3cbb074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa3cbb074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa3c1f6d8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa3c1f6d8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa3c1f6d8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa3c1f6d8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffa3c1fbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa3c1fbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa3c1fbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffa3bf31c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffa3bf31c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffa3bf31c0 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffa3da6504 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #46 0x0000ffffa3da6504 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #47 0x0000ffffa3da6504 clang::ento::iterator::assumeNoOverflow(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, long) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/Iterator.cpp:291:0 #48 0x0000ffffa3d22988 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #49 0x0000ffffa3d22988 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffa3d22988 createContainerBegin /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp:850:0 #51 0x0000ffffa3d22988 handleBegin /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp:258:0 #52 0x0000ffffa3d22988 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp:193:0 #53 0x0000ffffa3d22988 void clang::ento::check::PostCall::_checkCall<(anonymous namespace)::ContainerModeling>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:183:0 #54 0x0000ffffa3c09524 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #55 0x0000ffffa3c09524 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #56 0x0000ffffa3c09524 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #57 0x0000ffffa3c09524 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #58 0x0000ffffa3c09524 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #59 0x0000ffffa3c698b8 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #60 0x0000ffffa3c698b8 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #61 0x0000ffffa3c698b8 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #62 0x0000ffffa3c698b8 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #63 0x0000ffffa3c698b8 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #64 0x0000ffffa3c698b8 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #65 0x0000ffffa3c6a144 clang::ento::ExprEngine::VisitCallExpr(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 0x0000ffffa3c4bea0 clang::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 0x0000ffffa3c4bea0 clang::ento::ExprEngine::Visit(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 0x0000ffffa3c4cf08 clang::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 0x0000ffffa3c4d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffa3c4d41c clang::ento::CoreEngine::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 0x0000ffffa3c4d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #72 0x0000ffffa3c4d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #73 0x0000ffffa3c4d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #74 0x0000ffffa3c4d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #75 0x0000ffffa3c4d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #76 0x0000ffffa3f1787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #77 0x0000ffffa3f1787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #78 0x0000ffffa3f1787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #79 0x0000ffffa3f1787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #80 0x0000ffffa3f1787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #81 0x0000ffffa3f187e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #82 0x0000ffffa3f187e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #83 0x0000ffffa3f187e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #84 0x0000ffffa3f1cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #85 0x0000ffffa3f1cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #86 0x0000ffffa3f1cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #87 0x0000ffffa3f1cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #88 0x0000ffffa3f1cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #89 0x0000ffffa2371e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #90 0x0000ffffa2371e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #91 0x0000ffffa2371e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #92 0x0000ffffa2371e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #93 0x0000ffffa3a37ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #94 0x0000ffffa39efc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #95 0x0000ffffa39efc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #96 0x0000ffffa39efc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #97 0x0000ffffa3a7610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #98 0x0000aaaab43959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #99 0x0000aaaab43994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #100 0x0000aaaab439aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #101 0x0000aaaab4391fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #102 0x0000ffff9afe098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #103 0x0000ffff9afe0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #104 0x0000aaaab43920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/debug-container-modeling.cpp.script: line 2: 1825049 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus -analyzer-checker=debug.DebugContainerModeling,debug.ExprInspection -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config c++-container-inlining=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/debug-container-modeling.cpp -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/debug-iterator-modeling.cpp (648 of 18953) ******************** TEST 'Clang :: Analysis/debug-iterator-modeling.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus -analyzer-checker=debug.DebugIteratorModeling,debug.ExprInspection -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config c++-container-inlining=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/debug-iterator-modeling.cpp -verify : 'RUN: at line 7'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus -analyzer-checker=debug.DebugIteratorModeling,debug.ExprInspection -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config c++-container-inlining=true -DINLINE=1 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/debug-iterator-modeling.cpp -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus -analyzer-checker=debug.DebugIteratorModeling,debug.ExprInspection -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config c++-container-inlining=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/debug-iterator-modeling.cpp -verify 1. parser at end of file 2. While analyzing stack: #0 Calling iterator_validity(std::vector) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/debug-iterator-modeling.cpp:52:13: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/debug-iterator-modeling.cpp:52:13: Error evaluating statement #0 0x0000ffff8eacacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8eac9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8eacb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff97a0a800 (linux-vdso.so.1+0x800) #4 0x0000ffff9697e6a4 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffff9697e6a4 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff9697e6a4 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff9697e6a4 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff9697e6a4 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff9697e6a4 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff9697e6a4 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff9697e6a4 llvm::IntrusiveRefCntPtr clang::ento::ProgramStateManager::set<(anonymous namespace)::ObjectsUnderConstruction>(llvm::IntrusiveRefCntPtr, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::key_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::value_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::context_type) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:652:0 #12 0x0000ffff9697ea94 llvm::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 0x0000ffff9697ea94 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #14 0x0000ffff9697ea94 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #15 0x0000ffff9697ea94 set<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:876:0 #16 0x0000ffff9697ea94 clang::ento::ExprEngine::addObjectUnderConstruction(llvm::IntrusiveRefCntPtr, clang::ConstructionContextItem const&, clang::LocationContext const*, clang::ento::SVal) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:599:0 #17 0x0000ffff9697f174 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #18 0x0000ffff9697f174 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #19 0x0000ffff9697f174 clang::ento::ExprEngine::updateObjectsUnderConstruction(clang::ento::SVal, clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:463:0 #20 0x0000ffff969c048c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #21 0x0000ffff969c048c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #22 0x0000ffff969c048c 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 0x0000ffff969c048c clang::ento::ExprEngine::bindReturnValue(clang::ento::CallEvent const&, clang::LocationContext const*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:773:0 #24 0x0000ffff969c0928 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #25 0x0000ffff969c0928 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #26 0x0000ffff969c0928 clang::ento::ExprEngine::conservativeEvalCall(clang::ento::CallEvent const&, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:834:0 #27 0x0000ffff969c12e4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #28 0x0000ffff969c12e4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #29 0x0000ffff969c12e4 clang::ento::ExprEngine::defaultEvalCall(clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:1266:0 #30 0x0000ffff96949fd8 clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:288:0 #31 0x0000ffff969a981c llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #32 0x0000ffff969a981c llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #33 0x0000ffff969a981c clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #34 0x0000ffff969a981c clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:696:26 #35 0x0000ffff969aa144 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #36 0x0000ffff9698bea0 clang::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 0x0000ffff9698bea0 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #38 0x0000ffff9698cf08 clang::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 0x0000ffff9698d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff9698d41c clang::ento::CoreEngine::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 0x0000ffff9698d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #42 0x0000ffff9698d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #43 0x0000ffff9698d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #44 0x0000ffff9698d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #45 0x0000ffff9698d764 clang::ento::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 0x0000ffff96c5787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #47 0x0000ffff96c5787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #48 0x0000ffff96c5787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #49 0x0000ffff96c5787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #50 0x0000ffff96c5787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #51 0x0000ffff96c587e8 llvm::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 0x0000ffff96c587e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #53 0x0000ffff96c587e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #54 0x0000ffff96c5cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #55 0x0000ffff96c5cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #56 0x0000ffff96c5cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #57 0x0000ffff96c5cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #58 0x0000ffff96c5cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #59 0x0000ffff950b1e58 __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 0x0000ffff950b1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #61 0x0000ffff950b1e58 void clang::finalize>, 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 0x0000ffff950b1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #63 0x0000ffff96777ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #64 0x0000ffff9672fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #65 0x0000ffff9672fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #66 0x0000ffff9672fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #67 0x0000ffff967b610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #68 0x0000aaaab6e059f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #69 0x0000aaaab6e094b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #70 0x0000aaaab6e0aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #71 0x0000aaaab6e01fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #72 0x0000ffff8dd2098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #73 0x0000ffff8dd20a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #74 0x0000aaaab6e020b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/debug-iterator-modeling.cpp.script: line 2: 1825076 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus -analyzer-checker=debug.DebugIteratorModeling,debug.ExprInspection -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config c++-container-inlining=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/debug-iterator-modeling.cpp -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/delegates.m (649 of 18953) ******************** TEST 'Clang :: Analysis/delegates.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount -Wno-objc-root-class -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/delegates.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount -Wno-objc-root-class -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/delegates.m 1. parser at end of file #0 0x0000ffff9db1acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff9db19100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9db1b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa6a51800 (linux-vdso.so.1+0x800) #4 0x0000ffffa5d73688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa5d73688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa5d73688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa5d73688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa5d73688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa5d73688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa5d73688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa5d73688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa5a20c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa5a20c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa5a20c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa5a20c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa5a21ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa5a21ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa5a21ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa5a21ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa5a34770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa5a34770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa5a34770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa5a35cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa5a35cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa5a35cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa5a35190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa5a35190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa5a35190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa5a417d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa5a417d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa5a417d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa5a4b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa5a4b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa5a4b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa59af72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa59af72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa59af72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa59af72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa59afbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa59afbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa59afbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffa59831c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffa59831c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffa59831c0 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffa59bfba8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffa59bfba8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffa59bfba8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffffa59ddaa8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffa59ddaa8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffa59ddaa8 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffa5ca787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffa5ca787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffa5ca787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffa5ca787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffa5ca787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffa5ca87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffffa5ca87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffa5ca87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffa5cacde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffa5cacde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffa5cacde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffa5cacde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffa5cacde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffa4101e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffffa4101e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffa4101e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffffa4101e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffa57c7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffa577fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffa577fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffa577fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffa580610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaac40359f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaac40394b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaac403aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaac4031fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff9cd7098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff9cd70a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaac40320b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/delegates.m.script: line 1: 1825089 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount -Wno-objc-root-class -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/delegates.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/derived-to-base.cpp (650 of 18953) ******************** TEST 'Clang :: Analysis/derived-to-base.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/derived-to-base.cpp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -DCONSTRUCTORS=1 -analyzer-config c++-inlining=constructors -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/derived-to-base.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/derived-to-base.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling Bug16309::Derived::Derived() at line 469 #1 Calling Bug16309::g() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/derived-to-base.cpp:458:10: Error evaluating statement #0 0x0000ffffaa32acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffaa329100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffaa32b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb326d800 (linux-vdso.so.1+0x800) #4 0x0000ffffb21d7db8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffb21d7db8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffb21d7db8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffb21d7db8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffb21d7db8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffb21d7db8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffb21d7db8 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffb21d7db8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1059:61 #12 0x0000ffffb21ece94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffffb21ece94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffffb21ece94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffffb21ece94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffffb21ece94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffffb21ece94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffffb21ece94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffffb21ece94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffffb21ece94 clang::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 0x0000ffffb21ed1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffb21ed310 clang::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 0x0000ffffb21ed5dc clang::ento::CoreEngine::dispatchWorkItem(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 0x0000ffffb21ed764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x0000ffffb21ed764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x0000ffffb21ed764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #27 0x0000ffffb21ed764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #28 0x0000ffffb21ed764 clang::ento::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 0x0000ffffb24b787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffffb24b787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffffb24b787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #32 0x0000ffffb24b787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #33 0x0000ffffb24b787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #34 0x0000ffffb24b87e8 llvm::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 0x0000ffffb24b87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x0000ffffb24b87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #37 0x0000ffffb24bcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x0000ffffb24bcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x0000ffffb24bcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x0000ffffb24bcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x0000ffffb24bcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x0000ffffb0911e58 __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 0x0000ffffb0911e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x0000ffffb0911e58 void clang::finalize>, 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 0x0000ffffb0911e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x0000ffffb1fd7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #47 0x0000ffffb1f8fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #48 0x0000ffffb1f8fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #49 0x0000ffffb1f8fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #50 0x0000ffffb201610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #51 0x0000aaaad8c759f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x0000aaaad8c794b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x0000aaaad8c7aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x0000aaaad8c71fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x0000ffffa958098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #56 0x0000ffffa9580a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #57 0x0000aaaad8c720b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/derived-to-base.cpp.script: line 2: 1825113 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/derived-to-base.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/diagnostics/deref-track-symbolic-region.c (651 of 18953) ******************** TEST 'Clang :: Analysis/diagnostics/deref-track-symbolic-region.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/deref-track-symbolic-region.c : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=plist-multi-file /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/deref-track-symbolic-region.c -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/deref-track-symbolic-region.c.tmp.plist : 'RUN: at line 3'; grep -Ev '^[[:space:]]*.* version .*[[:space:]]*$|^[[:space:]]*/.*[[:space:]]*$|^[[:space:]]*.:.*[[:space:]]*$' parser at end of file 2. While analyzing stack: #0 Calling testTrackConstraintBRVisitorIsTrackingTurnedOn 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/deref-track-symbolic-region.c:32:7: Error evaluating branch #0 0x0000ffffac14acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffac149100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffac14b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb508d800 (linux-vdso.so.1+0x800) #4 0x0000ffffb43a3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb43a3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb43a3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb43a3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb43a3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb43a3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb43a3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb43a3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb4050c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb4050c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb4050c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb4050c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb4051ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb4051ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb4051ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb4051ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb4064770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb4064770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb4064770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb4065cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb4065cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb4065cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb4065190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb4065190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb4065190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb40717d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb40717d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb40717d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb407b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb407b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb407b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb3fdf72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb3fdf72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb3fdf72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb3fdf72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb44cd3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb44cd3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb44cd3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffb3ff58c8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffffb3ff58c8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffffb3ff58c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffffb3ff58c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffffb3ff58c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffffb3ff58c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffffb3ff58c8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffffb3ff58c8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffffb3ff58c8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffffb3ff58c8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffffb3ff5e30 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffffb400d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffb400d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffb400d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffb400d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffb400d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffb42d787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffb42d787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffb42d787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffb42d787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffb42d787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffb42d87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffb42d87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffb42d87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffb42dcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffb42dcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffb42dcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffb42dcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffb42dcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffb2731e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffb2731e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffb2731e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffb2731e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffb3df7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffb3dafc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffb3dafc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffb3dafc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffb3e3610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaabce959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaabce994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaabce9aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaabce91fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffab3a098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffab3a0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaabce920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/deref-track-symbolic-region.c.script: line 3: 1825134 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/deref-track-symbolic-region.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/diagnostics/deref-track-symbolic-region.cpp (652 of 18953) ******************** TEST 'Clang :: Analysis/diagnostics/deref-track-symbolic-region.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/deref-track-symbolic-region.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/deref-track-symbolic-region.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling testRefParam(int *) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/deref-track-symbolic-region.cpp:20:6: Error evaluating branch #0 0x0000ffff7bdfacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7bdf9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7bdfb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff84d30800 (linux-vdso.so.1+0x800) #4 0x0000ffff84053688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff84053688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff84053688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff84053688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff84053688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff84053688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff84053688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff84053688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff83d00c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff83d00c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff83d00c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff83d00c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff83d01ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff83d01ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff83d01ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff83d01ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff83d14770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff83d14770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff83d14770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff83d15cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff83d15cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff83d15cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff83d15190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff83d15190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff83d15190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff83d217d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff83d217d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff83d217d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff83d2b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff83d2b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff83d2b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff83c8f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff83c8f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff83c8f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff83c8f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff8417d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8417d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8417d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff83ca58c8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffff83ca58c8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffff83ca58c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffff83ca58c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffff83ca58c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffff83ca58c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffff83ca58c8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffff83ca58c8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffff83ca58c8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffff83ca58c8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffff83ca5e30 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffff83cbd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff83cbd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff83cbd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff83cbd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff83cbd764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff83f8787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff83f8787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff83f8787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff83f8787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff83f8787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff83f887e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff83f887e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff83f887e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff83f8cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff83f8cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff83f8cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff83f8cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff83f8cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff823e1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff823e1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff823e1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff823e1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff83aa7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff83a5fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff83a5fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff83a5fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff83ae610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaac0a659f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaac0a694b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaac0a6aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaac0a61fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff7b05098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff7b050a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaac0a620b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/deref-track-symbolic-region.cpp.script: line 1: 1825136 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/deref-track-symbolic-region.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/diagnostics/dtors.cpp (653 of 18953) ******************** TEST 'Clang :: Analysis/diagnostics/dtors.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -w -analyzer-checker=core,cplusplus -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/dtors.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -w -analyzer-checker=core,cplusplus -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/dtors.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling no_crash_on_delete_dtor::smart_ptr::get() at line 28 #1 Calling no_crash_on_delete_dtor::bar(smart_ptr) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/dtors.cpp:19:13: Error evaluating branch #0 0x0000ffff891eacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff891e9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff891eb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9212b800 (linux-vdso.so.1+0x800) #4 0x0000ffff91443688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff91443688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff91443688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff91443688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff91443688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff91443688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff91443688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff91443688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff910f0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff910f0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff910f0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff910f0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff910f1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff910f1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff910f1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff910f1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff91104770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff91104770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff91104770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff91105cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff91105cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff91105cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff91105190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff91105190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff91105190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff911117d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff911117d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff911117d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9111b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9111b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9111b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9107f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9107f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9107f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9107f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9156d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9156d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9156d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff910958c8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffff910958c8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffff910958c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffff910958c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffff910958c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffff910958c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffff910958c8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffff910958c8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffff910958c8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffff910958c8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffff91095e30 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffff910ad764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff910ad764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff910ad764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff910ad764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff910ad764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff9137787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff9137787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff9137787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff9137787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff9137787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff913787e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff913787e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff913787e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff9137cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff9137cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff9137cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff9137cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff9137cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff8f7d1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff8f7d1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff8f7d1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff8f7d1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff90e97ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff90e4fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff90e4fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff90e4fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff90ed610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaab10e59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaab10e94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaab10eaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaab10e1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff8844098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff88440a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaab10e20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/dtors.cpp.script: line 1: 1825146 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -w -analyzer-checker=core,cplusplus -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/dtors.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/diagnostics/explicit-suppression.cpp (654 of 18953) ******************** TEST 'Clang :: Analysis/diagnostics/explicit-suppression.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config suppress-c++-stdlib=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/explicit-suppression.cpp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config suppress-c++-stdlib=true -DSUPPRESSED=1 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/explicit-suppression.cpp : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -DSUPPRESSED=1 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/explicit-suppression.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config suppress-c++-stdlib=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/explicit-suppression.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling std::__copy(class C *, class C *, class C *) at line /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/../Inputs/system-header-simulator-cxx.h:764:12 #1 Calling std::copy(class C *, class C *, class C *) at line 20 #2 Calling testCopyNull(C *, C *) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/../Inputs/system-header-simulator-cxx.h:740:14: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/../Inputs/system-header-simulator-cxx.h:740:14: Error evaluating statement #0 0x0000ffff820eacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff820e9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff820eb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8b02b800 (linux-vdso.so.1+0x800) #4 0x0000ffff89ff1074 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff89ff1074 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff89ff1074 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff89ff1074 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff89ff1074 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff89ff1074 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff89ff1074 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff89ff1074 markDisequal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2507:0 #12 0x0000ffff89ff1074 markDisequal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2494:0 #13 0x0000ffff89ff1074 markDisequal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2487:0 #14 0x0000ffff89ff1074 trackDisequality /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2155:0 #15 0x0000ffff89ff1074 assignSymSymExprToRangeSet /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2241:0 #16 0x0000ffff89ff1074 assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:0 #17 0x0000ffff89ff1074 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:0 #18 0x0000ffff89ff1074 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:0 #19 0x0000ffff89ff1074 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:0 #20 0x0000ffff89ff1074 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #21 0x0000ffff89ff1074 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #22 0x0000ffff89ff1940 llvm::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 0x0000ffff89ff1940 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #24 0x0000ffff89ff1940 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x0000ffff89ff1940 (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:0 #26 0x0000ffff8a004770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8a004770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8a004770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, 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 0x0000ffff8a005ddc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffff8a005ddc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffff8a005ddc 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 0x0000ffff8a005190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #33 0x0000ffff8a005190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #34 0x0000ffff8a005190 clang::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 0x0000ffff8a0117d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #36 0x0000ffff8a0117d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #37 0x0000ffff8a0117d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #38 0x0000ffff8a01b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #39 0x0000ffff8a01b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #40 0x0000ffff8a01b074 clang::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 0x0000ffff89f7f6d8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #42 0x0000ffff89f7f6d8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #43 0x0000ffff89f7f6d8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #44 0x0000ffff89f7f6d8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #45 0x0000ffff8a46d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #46 0x0000ffff8a46d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #47 0x0000ffff8a46d3d4 clang::ento::ProgramState::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 0x0000ffff89f92a0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #49 0x0000ffff89f92a0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #50 0x0000ffff89f92a0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #51 0x0000ffff89faccac llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #52 0x0000ffff89faccac llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #53 0x0000ffff89faccac llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #54 0x0000ffff89faccac clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #55 0x0000ffff89faccac clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #56 0x0000ffff89facf08 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #57 0x0000ffff89fad1f0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #58 0x0000ffff89fad41c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #59 0x0000ffff89fad764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff89fad764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff89fad764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #62 0x0000ffff89fad764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #63 0x0000ffff89fad764 clang::ento::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 0x0000ffff8a27787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #65 0x0000ffff8a27787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #66 0x0000ffff8a27787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #67 0x0000ffff8a27787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #68 0x0000ffff8a27787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #69 0x0000ffff8a2787e8 llvm::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 0x0000ffff8a2787e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #71 0x0000ffff8a2787e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #72 0x0000ffff8a27cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #73 0x0000ffff8a27cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #74 0x0000ffff8a27cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #75 0x0000ffff8a27cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #76 0x0000ffff8a27cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #77 0x0000ffff886d1e58 __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 0x0000ffff886d1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #79 0x0000ffff886d1e58 void clang::finalize>, 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 0x0000ffff886d1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #81 0x0000ffff89d97ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #82 0x0000ffff89d4fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #83 0x0000ffff89d4fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #84 0x0000ffff89d4fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #85 0x0000ffff89dd610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #86 0x0000aaaad75a59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #87 0x0000aaaad75a94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #88 0x0000aaaad75aaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #89 0x0000aaaad75a1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #90 0x0000ffff8134098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #91 0x0000ffff81340a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #92 0x0000aaaad75a20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/explicit-suppression.cpp.script: line 3: 1825152 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config suppress-c++-stdlib=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/explicit-suppression.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/diagnostics/false-positive-suppression.c (655 of 18953) ******************** TEST 'Clang :: Analysis/diagnostics/false-positive-suppression.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -I /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/Inputs -analyzer-checker=core,unix -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/false-positive-suppression.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -I /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/Inputs -analyzer-checker=core,unix -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/false-positive-suppression.c 1. parser at end of file 2. While analyzing stack: #0 Calling radar12491259_inside_macro 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/false-positive-suppression.c:19:14: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/false-positive-suppression.c:19:14: Error evaluating statement #0 0x0000ffff7922acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff79229100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7922b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8216e800 (linux-vdso.so.1+0x800) #4 0x0000ffff81469f20 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff81469f20 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff81469f20 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff81469f20 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff81469f20 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff81469f20 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff81469f20 get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff81469f20 (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 0x0000ffff812783d0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x0000ffff812783d0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x0000ffff812783d0 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 0x0000ffff8108c2f8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #16 0x0000ffff8108c2f8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #17 0x0000ffff8108c2f8 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool)>::operator()(llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:0 #18 0x0000ffff8108c2f8 clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:0 #19 0x0000ffff81151844 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffff81151844 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffff81151844 clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:78 #22 0x0000ffff81151844 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:53 #23 0x0000ffff8115b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x0000ffff8115b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x0000ffff8115b074 clang::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 0x0000ffff810bf818 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff810bf818 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff810bf818 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #29 0x0000ffff810bf818 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:68:21 #30 0x0000ffff815ad3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff815ad3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff815ad3d4 clang::ento::ProgramState::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 0x0000ffff812844b0 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x0000ffff812844b0 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x0000ffff812844b0 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x0000ffff812844b0 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x0000ffff812844b0 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x0000ffff812844b0 (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 0x0000ffff81284900 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #40 0x0000ffff81284900 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #41 0x0000ffff81284900 (anonymous namespace)::MallocChecker::checkBasicAlloc(clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1217:0 #42 0x0000ffff81290e00 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #43 0x0000ffff81290e00 void clang::ento::check::PostCall::_checkCall<(anonymous namespace)::MallocChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:183:0 #44 0x0000ffff810a9524 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #45 0x0000ffff810a9524 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x0000ffff810a9524 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #47 0x0000ffff810a9524 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #48 0x0000ffff810a9524 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #49 0x0000ffff811098b8 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #50 0x0000ffff811098b8 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #51 0x0000ffff811098b8 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #52 0x0000ffff811098b8 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #53 0x0000ffff811098b8 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #54 0x0000ffff811098b8 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #55 0x0000ffff8110a144 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #56 0x0000ffff810ebea0 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #57 0x0000ffff810ebea0 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #58 0x0000ffff810ecf08 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #59 0x0000ffff810ed1f0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #60 0x0000ffff810ed41c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #61 0x0000ffff810ed764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #62 0x0000ffff810ed764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #63 0x0000ffff810ed764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #64 0x0000ffff810ed764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #65 0x0000ffff810ed764 clang::ento::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 0x0000ffff813b787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #67 0x0000ffff813b787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #68 0x0000ffff813b787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #69 0x0000ffff813b787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #70 0x0000ffff813b787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #71 0x0000ffff813b87e8 llvm::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 0x0000ffff813b87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #73 0x0000ffff813b87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #74 0x0000ffff813bcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #75 0x0000ffff813bcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #76 0x0000ffff813bcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #77 0x0000ffff813bcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #78 0x0000ffff813bcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #79 0x0000ffff7f811e58 __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 0x0000ffff7f811e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #81 0x0000ffff7f811e58 void clang::finalize>, 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 0x0000ffff7f811e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #83 0x0000ffff80ed7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #84 0x0000ffff80e8fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #85 0x0000ffff80e8fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #86 0x0000ffff80e8fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #87 0x0000ffff80f1610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #88 0x0000aaaae7f859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #89 0x0000aaaae7f894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #90 0x0000aaaae7f8aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #91 0x0000aaaae7f81fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #92 0x0000ffff7848098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #93 0x0000ffff78480a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #94 0x0000aaaae7f820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/false-positive-suppression.c.script: line 1: 1825164 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -I /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/Inputs -analyzer-checker=core,unix -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/false-positive-suppression.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/diagnostics/find_last_store.c (656 of 18953) ******************** TEST 'Clang :: Analysis/diagnostics/find_last_store.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/find_last_store.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/find_last_store.c 1. parser at end of file 2. While analyzing stack: #0 Calling no_find_last_store 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/find_last_store.c:11:10: Error evaluating branch #0 0x0000ffff8e8facd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8e8f9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8e8fb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9783a800 (linux-vdso.so.1+0x800) #4 0x0000ffff96b53688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff96b53688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff96b53688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff96b53688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff96b53688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff96b53688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff96b53688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff96b53688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff96800c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff96800c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff96800c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff96800c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff96801ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff96801ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff96801ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff96801ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff96814770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff96814770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff96814770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff96815cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff96815cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff96815cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff96815190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff96815190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff96815190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff968217d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff968217d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff968217d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9682b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9682b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9682b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9678f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9678f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9678f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9678f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff96c7d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff96c7d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff96c7d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff967a58c8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffff967a58c8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffff967a58c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffff967a58c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffff967a58c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffff967a58c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffff967a58c8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffff967a58c8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffff967a58c8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffff967a58c8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffff967a5e30 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffff967bd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff967bd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff967bd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff967bd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff967bd764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff96a8787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff96a8787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff96a8787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff96a8787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff96a8787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff96a887e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff96a887e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff96a887e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff96a8cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff96a8cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff96a8cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff96a8cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff96a8cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff94ee1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff94ee1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff94ee1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff94ee1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff965a7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff9655fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff9655fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff9655fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff965e610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaadcfa59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaadcfa94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaadcfaaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaadcfa1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff8db5098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff8db50a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaadcfa20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/find_last_store.c.script: line 1: 1825171 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/find_last_store.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/diagnostics/initializer.cpp (658 of 18953) ******************** TEST 'Clang :: Analysis/diagnostics/initializer.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/initializer.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/initializer.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling note_on_skipped_vbases::D::D() at line 40 #1 Calling note_on_skipped_vbases::test_prunability() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/initializer.cpp:36:11: Error evaluating statement #0 0x0000ffffa856acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa8569100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa856b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb14ac800 (linux-vdso.so.1+0x800) #4 0x0000ffffb0417db8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffb0417db8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffb0417db8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffb0417db8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffb0417db8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffb0417db8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffb0417db8 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffb0417db8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1059:61 #12 0x0000ffffb042ce94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffffb042ce94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffffb042ce94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffffb042ce94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffffb042ce94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffffb042ce94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffffb042ce94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffffb042ce94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffffb042ce94 clang::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 0x0000ffffb042d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffb042d310 clang::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 0x0000ffffb042d5dc clang::ento::CoreEngine::dispatchWorkItem(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 0x0000ffffb042d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x0000ffffb042d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x0000ffffb042d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #27 0x0000ffffb042d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #28 0x0000ffffb042d764 clang::ento::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 0x0000ffffb06f787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffffb06f787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffffb06f787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #32 0x0000ffffb06f787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #33 0x0000ffffb06f787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #34 0x0000ffffb06f87e8 llvm::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 0x0000ffffb06f87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x0000ffffb06f87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #37 0x0000ffffb06fcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x0000ffffb06fcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x0000ffffb06fcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x0000ffffb06fcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x0000ffffb06fcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x0000ffffaeb51e58 __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 0x0000ffffaeb51e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x0000ffffaeb51e58 void clang::finalize>, 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 0x0000ffffaeb51e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x0000ffffb0217ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #47 0x0000ffffb01cfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #48 0x0000ffffb01cfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #49 0x0000ffffb01cfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #50 0x0000ffffb025610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #51 0x0000aaaab61659f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x0000aaaab61694b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x0000aaaab616aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x0000aaaab6161fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x0000ffffa77c098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #56 0x0000ffffa77c0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #57 0x0000aaaab61620b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/initializer.cpp.script: line 1: 1825189 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/initializer.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/diagnostics/implicit-cxx-std-suppression.cpp (659 of 18953) ******************** TEST 'Clang :: Analysis/diagnostics/implicit-cxx-std-suppression.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,cplusplus.NewDelete,debug.ExprInspection -analyzer-config c++-container-inlining=true -analyzer-config c++-stdlib-inlining=false -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/implicit-cxx-std-suppression.cpp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,cplusplus.NewDelete,debug.ExprInspection -analyzer-config c++-container-inlining=true -analyzer-config c++-stdlib-inlining=true -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/implicit-cxx-std-suppression.cpp : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,cplusplus.NewDelete,debug.ExprInspection -analyzer-config c++-container-inlining=true -analyzer-config c++-stdlib-inlining=false -std=c++11 -DTEST_INLINABLE_ALLOCATORS -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/implicit-cxx-std-suppression.cpp : 'RUN: at line 4'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,cplusplus.NewDelete,debug.ExprInspection -analyzer-config c++-container-inlining=true -analyzer-config c++-stdlib-inlining=true -std=c++11 -DTEST_INLINABLE_ALLOCATORS -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/implicit-cxx-std-suppression.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,cplusplus.NewDelete,debug.ExprInspection -analyzer-config c++-container-inlining=true -analyzer-config c++-stdlib-inlining=false -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/implicit-cxx-std-suppression.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling testSuppression_std_shared_pointer() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/implicit-cxx-std-suppression.cpp:36:26: Error evaluating New Allocator Call #0 0x0000ffffaf18acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffaf189100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffaf18b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb80cc800 (linux-vdso.so.1+0x800) #4 0x0000ffffb73e3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb73e3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb73e3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb73e3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb73e3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb73e3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb73e3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb73e3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb7090c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb7090c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb7090c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb7090c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb7091ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb7091ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb7091ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb7091ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb70a4770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb70a4770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb70a4770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb70a5cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb70a5cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb70a5cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb70a5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb70a5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb70a5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb70b17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb70b17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb70b17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb70bb074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb70bb074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb70bb074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb701f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb701f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb701f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb701f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb701fbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb701fbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb701fbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffb7049b98 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #43 0x0000ffffb7049b98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #44 0x0000ffffb7049b98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffffb7049b98 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #46 0x0000ffffb7049b98 clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #47 0x0000ffffb7049fac llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #48 0x0000ffffb7049fac llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #49 0x0000ffffb7049fac clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #50 0x0000ffffb7049fac clang::ento::CoreEngine::enqueue(clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:613:23 #51 0x0000ffffb7049fac clang::ento::ExprEngine::ProcessNewAllocator(clang::CXXNewExpr const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1326:0 #52 0x0000ffffb704d22c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:984:0 #53 0x0000ffffb704d310 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #54 0x0000ffffb704d5dc clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #55 0x0000ffffb704d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #56 0x0000ffffb704d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #57 0x0000ffffb704d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #58 0x0000ffffb704d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #59 0x0000ffffb704d764 clang::ento::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 0x0000ffffb731787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #61 0x0000ffffb731787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #62 0x0000ffffb731787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #63 0x0000ffffb731787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #64 0x0000ffffb731787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #65 0x0000ffffb73187e8 llvm::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 0x0000ffffb73187e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #67 0x0000ffffb73187e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #68 0x0000ffffb731cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #69 0x0000ffffb731cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #70 0x0000ffffb731cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #71 0x0000ffffb731cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #72 0x0000ffffb731cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #73 0x0000ffffb5771e58 __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 0x0000ffffb5771e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #75 0x0000ffffb5771e58 void clang::finalize>, 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 0x0000ffffb5771e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #77 0x0000ffffb6e37ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #78 0x0000ffffb6defc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #79 0x0000ffffb6defc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #80 0x0000ffffb6defc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #81 0x0000ffffb6e7610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #82 0x0000aaaae5b259f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #83 0x0000aaaae5b294b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #84 0x0000aaaae5b2aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #85 0x0000aaaae5b21fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #86 0x0000ffffae3e098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #87 0x0000ffffae3e0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #88 0x0000aaaae5b220b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/implicit-cxx-std-suppression.cpp.script: line 4: 1825182 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,cplusplus.NewDelete,debug.ExprInspection -analyzer-config c++-container-inlining=true -analyzer-config c++-stdlib-inlining=false -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/implicit-cxx-std-suppression.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/diagnostics/invalid-srcloc-fix.cpp (660 of 18953) ******************** TEST 'Clang :: Analysis/diagnostics/invalid-srcloc-fix.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/invalid-srcloc-fix.cpp -analyzer-output=plist -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/invalid-srcloc-fix.cpp.tmp.plist -analyzer-checker=core -analyzer-checker=debug.ReportStmts -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/invalid-srcloc-fix.cpp -analyzer-output=plist -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/invalid-srcloc-fix.cpp.tmp.plist -analyzer-checker=core -analyzer-checker=debug.ReportStmts 1. parser at end of file 2. While analyzing stack: #0 Calling k() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/invalid-srcloc-fix.cpp:11:10: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/invalid-srcloc-fix.cpp:11:10: Error evaluating statement #0 0x0000ffffa757acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa7579100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa757b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb04b5800 (linux-vdso.so.1+0x800) #4 0x0000ffffaf428434 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffaf428434 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffaf428434 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffaf428434 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffaf428434 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffaf428434 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffaf428434 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:0 #11 0x0000ffffaf428434 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 0x0000ffffaf42b014 llvm::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 0x0000ffffaf42b014 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #14 0x0000ffffaf42b014 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #15 0x0000ffffaf42b014 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 0x0000ffffaf42c040 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #17 0x0000ffffaf42c040 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #18 0x0000ffffaf42c040 clang::ento::ExprEngine::CreateCXXTemporaryObject(clang::MaterializeTemporaryExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:38:0 #19 0x0000ffffaf43bc54 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2269:0 #20 0x0000ffffaf43cf08 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #21 0x0000ffffaf43d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffaf43d41c clang::ento::CoreEngine::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 0x0000ffffaf43d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #24 0x0000ffffaf43d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #25 0x0000ffffaf43d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #26 0x0000ffffaf43d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #27 0x0000ffffaf43d764 clang::ento::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 0x0000ffffaf70787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #29 0x0000ffffaf70787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #30 0x0000ffffaf70787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #31 0x0000ffffaf70787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #32 0x0000ffffaf70787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #33 0x0000ffffaf7087e8 llvm::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 0x0000ffffaf7087e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #35 0x0000ffffaf7087e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #36 0x0000ffffaf70cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #37 0x0000ffffaf70cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #38 0x0000ffffaf70cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #39 0x0000ffffaf70cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #40 0x0000ffffaf70cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #41 0x0000ffffadb61e58 __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 0x0000ffffadb61e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #43 0x0000ffffadb61e58 void clang::finalize>, 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 0x0000ffffadb61e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #45 0x0000ffffaf227ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #46 0x0000ffffaf1dfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #47 0x0000ffffaf1dfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #48 0x0000ffffaf1dfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #49 0x0000ffffaf26610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #50 0x0000aaaae6d159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #51 0x0000aaaae6d194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #52 0x0000aaaae6d1aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #53 0x0000aaaae6d11fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #54 0x0000ffffa67d098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #55 0x0000ffffa67d0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #56 0x0000aaaae6d120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/invalid-srcloc-fix.cpp.script: line 1: 1825214 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/invalid-srcloc-fix.cpp -analyzer-output=plist -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/invalid-srcloc-fix.cpp.tmp.plist -analyzer-checker=core -analyzer-checker=debug.ReportStmts -- ******************** Testing: 0 FAIL: Clang :: Analysis/diagnostics/macro-null-return-suppression.cpp (662 of 18953) ******************** TEST 'Clang :: Analysis/diagnostics/macro-null-return-suppression.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -x c -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/macro-null-return-suppression.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -x c -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/macro-null-return-suppression.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling noSuppressMacroUnrelated 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/macro-null-return-suppression.cpp:54:7: Error evaluating branch #0 0x0000ffffab72acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffab729100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffab72b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb4667800 (linux-vdso.so.1+0x800) #4 0x0000ffffb3983688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb3983688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb3983688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb3983688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb3983688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb3983688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb3983688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb3983688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb3630c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb3630c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb3630c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb3630c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb3631ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb3631ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb3631ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb3631ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb3644770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb3644770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb3644770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb3645cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb3645cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb3645cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb3645190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb3645190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb3645190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb36517d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb36517d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb36517d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb365b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb365b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb365b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb35bf72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb35bf72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb35bf72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb35bf72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb3aad3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb3aad3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb3aad3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffb35d58c8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffffb35d58c8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffffb35d58c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffffb35d58c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffffb35d58c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffffb35d58c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffffb35d58c8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffffb35d58c8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffffb35d58c8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffffb35d58c8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffffb35d5e30 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffffb35ed764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffb35ed764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffb35ed764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffb35ed764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffb35ed764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffb38b787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffb38b787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffb38b787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffb38b787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffb38b787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffb38b87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffb38b87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffb38b87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffb38bcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffb38bcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffb38bcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffb38bcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffb38bcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffb1d11e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffb1d11e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffb1d11e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffb1d11e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffb33d7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffb338fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffb338fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffb338fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffb341610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaae12d59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaae12d94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaae12daac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaae12d1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffaa98098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffaa980a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaae12d20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/macro-null-return-suppression.cpp.script: line 1: 1825216 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -x c -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/macro-null-return-suppression.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/diagnostics/macros.cpp (663 of 18953) ******************** TEST 'Clang :: Analysis/diagnostics/macros.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,osx -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/macros.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,osx -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/macros.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling testNestedNullSplitMacro(int, int *) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/macros.cpp:68:3 : Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/macros.cpp:68:3 : Error evaluating statement #0 0x0000ffff78a9acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff78a99100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff78a9b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff819dd800 (linux-vdso.so.1+0x800) #4 0x0000ffff80cf3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff80cf3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff80cf3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff80cf3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff80cf3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff80cf3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff80cf3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff80cf3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff809a0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff809a0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff809a0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff809a0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff809a1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff809a1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff809a1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff809a1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff809b4770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff809b4770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff809b4770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff809b5cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff809b5cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff809b5cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff809b5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff809b5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff809b5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff809c17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff809c17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff809c17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff809cb074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff809cb074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff809cb074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8092f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8092f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8092f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8092f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff80e1d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff80e1d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff80e1d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff80942a0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff80942a0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff80942a0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffff8095ccac llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffff8095ccac llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffff8095ccac llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffff8095ccac clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffff8095ccac clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffff8095cf08 clang::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 0x0000ffff8095d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8095d41c clang::ento::CoreEngine::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 0x0000ffff8095d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff8095d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff8095d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff8095d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff8095d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff80c2787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff80c2787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff80c2787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff80c2787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff80c2787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff80c287e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff80c287e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff80c287e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff80c2cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff80c2cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff80c2cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff80c2cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff80c2cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff7f081e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff7f081e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff7f081e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff7f081e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff80747ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff806ffc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff806ffc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff806ffc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff8078610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaac51459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaac51494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaac514aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaac5141fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff77cf098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff77cf0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaac51420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/macros.cpp.script: line 1: 1825215 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,osx -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/macros.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/diagnostics/macros.m (664 of 18953) ******************** TEST 'Clang :: Analysis/diagnostics/macros.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx -fblocks -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/macros.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx -fblocks -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/macros.m 1. parser at end of file 2. While analyzing stack: #0 Calling testNilMacro 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/macros.m:24:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/macros.m:24:7: Error evaluating statement #0 0x0000ffff7c6eacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7c6e9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7c6eb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8562c800 (linux-vdso.so.1+0x800) #4 0x0000ffff84943688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff84943688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff84943688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff84943688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff84943688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff84943688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff84943688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff84943688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff845f0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff845f0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff845f0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff845f0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff845f1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff845f1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff845f1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff845f1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff84604770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff84604770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff84604770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff84605cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff84605cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff84605cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff84605190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff84605190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff84605190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff846117d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff846117d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff846117d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8461b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8461b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8461b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8457f6d8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8457f6d8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8457f6d8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8457f6d8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff84a6d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff84a6d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff84a6d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff84592a0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff84592a0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff84592a0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffff845accac llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffff845accac llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffff845accac llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffff845accac clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffff845accac clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffff845acf08 clang::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 0x0000ffff845ad1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff845ad41c clang::ento::CoreEngine::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 0x0000ffff845ad764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff845ad764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff845ad764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff845ad764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff845ad764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff8487787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff8487787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff8487787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff8487787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff8487787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff848787e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff848787e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff848787e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff8487cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff8487cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff8487cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff8487cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff8487cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff82cd1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff82cd1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff82cd1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff82cd1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff84397ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff8434fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff8434fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff8434fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff843d610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaae9a459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaae9a494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaae9a4aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaae9a41fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff7b94098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff7b940a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaae9a420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/macros.m.script: line 1: 1825225 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx -fblocks -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/macros.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/diagnostics/no-store-func-path-notes.cpp (666 of 18953) ******************** TEST 'Clang :: Analysis/diagnostics/no-store-func-path-notes.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -x c++ -std=c++14 -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/no-store-func-path-notes.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -x c++ -std=c++14 -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/no-store-func-path-notes.cpp 1. parser at end of file #0 0x0000ffffa99bacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa99b9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa99bb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb28fe800 (linux-vdso.so.1+0x800) #4 0x0000ffffb186cc54 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffb186cc54 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffb186cc54 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffb186cc54 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffb186cc54 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffb186cc54 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffb186cc54 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffb186cc54 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 0x0000ffffb186d578 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 0x0000ffffb187d5a4 clang::ento::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 0x0000ffffb187d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #15 0x0000ffffb187d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #16 0x0000ffffb187d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #17 0x0000ffffb187d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #18 0x0000ffffb187d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #19 0x0000ffffb1b4787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffffb1b4787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffffb1b4787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #22 0x0000ffffb1b4787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #23 0x0000ffffb1b4787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #24 0x0000ffffb1b487e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #25 0x0000ffffb1b487e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #26 0x0000ffffb1b487e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #27 0x0000ffffb1b4cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #28 0x0000ffffb1b4cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #29 0x0000ffffb1b4cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #30 0x0000ffffb1b4cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #31 0x0000ffffb1b4cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #32 0x0000ffffaffa1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #33 0x0000ffffaffa1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #34 0x0000ffffaffa1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #35 0x0000ffffaffa1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #36 0x0000ffffb1667ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #37 0x0000ffffb161fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #38 0x0000ffffb161fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #39 0x0000ffffb161fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #40 0x0000ffffb16a610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #41 0x0000aaaabee959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #42 0x0000aaaabee994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #43 0x0000aaaabee9aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #44 0x0000aaaabee91fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #45 0x0000ffffa8c1098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #46 0x0000ffffa8c10a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #47 0x0000aaaabee920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/no-store-func-path-notes.cpp.script: line 1: 1825246 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -x c++ -std=c++14 -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/no-store-func-path-notes.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/diagnostics/plist-diagnostics-include-check.cpp (667 of 18953) ******************** TEST 'Clang :: Analysis/diagnostics/plist-diagnostics-include-check.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.ExprInspection -analyzer-output=plist-multi-file /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/plist-diagnostics-include-check.cpp -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/plist-diagnostics-include-check.cpp.tmp.plist : 'RUN: at line 2'; tail -n +11 /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/plist-diagnostics-include-check.cpp.tmp.plist | grep -Ev '^[[:space:]]*.* version .*[[:space:]]*$|^[[:space:]]*/.*[[:space:]]*$|^[[:space:]]*.:.*[[:space:]]*$' | diff -ub /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/Inputs/expected-plists/plist-diagnostics-include-check.cpp.plist - -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.ExprInspection -analyzer-output=plist-multi-file /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/plist-diagnostics-include-check.cpp -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/plist-diagnostics-include-check.cpp.tmp.plist 1. parser at end of file #0 0x0000ffff92d0acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff92d09100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff92d0b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9bc4c800 (linux-vdso.so.1+0x800) #4 0x0000ffff9abbcc54 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff9abbcc54 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff9abbcc54 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff9abbcc54 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff9abbcc54 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff9abbcc54 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff9abbcc54 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff9abbcc54 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 0x0000ffff9abbd578 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 0x0000ffff9abcd5a4 clang::ento::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 0x0000ffff9abcd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #15 0x0000ffff9abcd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #16 0x0000ffff9abcd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #17 0x0000ffff9abcd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #18 0x0000ffff9abcd764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #19 0x0000ffff9ae9787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffff9ae9787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffff9ae9787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #22 0x0000ffff9ae9787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #23 0x0000ffff9ae9787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #24 0x0000ffff9ae987e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #25 0x0000ffff9ae987e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #26 0x0000ffff9ae987e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #27 0x0000ffff9ae9cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #28 0x0000ffff9ae9cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #29 0x0000ffff9ae9cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #30 0x0000ffff9ae9cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #31 0x0000ffff9ae9cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #32 0x0000ffff992f1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #33 0x0000ffff992f1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #34 0x0000ffff992f1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #35 0x0000ffff992f1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #36 0x0000ffff9a9b7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #37 0x0000ffff9a96fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #38 0x0000ffff9a96fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #39 0x0000ffff9a96fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #40 0x0000ffff9a9f610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #41 0x0000aaaac99159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #42 0x0000aaaac99194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #43 0x0000aaaac991aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #44 0x0000aaaac9911fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #45 0x0000ffff91f6098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #46 0x0000ffff91f60a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #47 0x0000aaaac99120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/plist-diagnostics-include-check.cpp.script: line 2: 1825263 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.ExprInspection -analyzer-output=plist-multi-file /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/plist-diagnostics-include-check.cpp -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/plist-diagnostics-include-check.cpp.tmp.plist -- ******************** Testing: 0 FAIL: Clang :: Analysis/diagnostics/no-store-func-path-notes.c (668 of 18953) ******************** TEST 'Clang :: Analysis/diagnostics/no-store-func-path-notes.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -Wno-implicit-function-declaration -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/no-store-func-path-notes.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -Wno-implicit-function-declaration -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/no-store-func-path-notes.c 1. parser at end of file 2. While analyzing stack: #0 Calling test_implicit_function_decl 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/no-store-func-path-notes.c:256:7: Error evaluating branch #0 0x0000ffffb3e9acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb3e99100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb3e9b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffbcddd800 (linux-vdso.so.1+0x800) #4 0x0000ffffbc0f3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffbc0f3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffbc0f3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffbc0f3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffbc0f3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffbc0f3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffbc0f3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffbc0f3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffbbda0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffbbda0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffbbda0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffbbda0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffbbda1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffbbda1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffbbda1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffbbda1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffbbdb4770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffbbdb4770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffbbdb4770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffbbdb5cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffbbdb5cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffbbdb5cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffbbdb5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffbbdb5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffbbdb5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffbbdc17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffbbdc17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffbbdc17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffbbdcb074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffbbdcb074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffbbdcb074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffbbd2f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffbbd2f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffbbd2f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffbbd2f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffbc21d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffbc21d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffbc21d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffbbd458c8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffffbbd458c8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffffbbd458c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffffbbd458c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffffbbd458c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffffbbd458c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffffbbd458c8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffffbbd458c8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffffbbd458c8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffffbbd458c8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffffbbd45e30 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffffbbd5d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffbbd5d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffbbd5d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffbbd5d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffbbd5d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffbc02787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffbc02787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffbc02787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffbc02787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffbc02787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffbc0287e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffbc0287e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffbc0287e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffbc02cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffbc02cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffbc02cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffbc02cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffbc02cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffba481e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffba481e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffba481e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffba481e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffbbb47ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffbbaffc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffbbaffc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffbbaffc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffbbb8610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaae71c59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaae71c94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaae71caac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaae71c1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffb30f098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffb30f0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaae71c20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/no-store-func-path-notes.c.script: line 1: 1825242 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -Wno-implicit-function-declaration -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/no-store-func-path-notes.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/diagnostics/no-store-func-path-notes.m (670 of 18953) ******************** TEST 'Clang :: Analysis/diagnostics/no-store-func-path-notes.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -x objective-c -analyzer-checker=core,nullability -analyzer-output=text -Wno-objc-root-class -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/no-store-func-path-notes.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -x objective-c -analyzer-checker=core,nullability -analyzer-output=text -Wno-objc-root-class -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/no-store-func-path-notes.m 1. parser at end of file #0 0x0000ffff919facd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff919f9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff919fb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9a934800 (linux-vdso.so.1+0x800) #4 0x0000ffff99c53688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff99c53688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff99c53688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff99c53688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff99c53688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff99c53688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff99c53688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff99c53688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff99900c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff99900c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff99900c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff99900c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff99901ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff99901ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff99901ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff99901ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff99914770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff99914770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff99914770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff99915cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff99915cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff99915cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff99915190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff99915190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff99915190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff999217d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff999217d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff999217d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9992b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9992b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9992b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9988f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9988f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9988f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9988f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9988fbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9988fbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9988fbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff998631c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff998631c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff998631c0 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff9989fba8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff9989fba8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff9989fba8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffff998bdaa8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff998bdaa8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff998bdaa8 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff99b8787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff99b8787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff99b8787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff99b8787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff99b8787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff99b887e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffff99b887e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff99b887e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff99b8cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff99b8cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff99b8cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff99b8cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff99b8cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff97fe1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffff97fe1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff97fe1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffff97fe1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff996a7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff9965fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff9965fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff9965fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff996e610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaaccb259f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaaccb294b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaaccb2aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaaccb21fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff90c5098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff90c50a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaaccb220b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/no-store-func-path-notes.m.script: line 1: 1825257 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -x objective-c -analyzer-checker=core,nullability -analyzer-output=text -Wno-objc-root-class -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/no-store-func-path-notes.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/diagnostics/sarif-multi-diagnostic-test.c (672 of 18953) ******************** TEST 'Clang :: Analysis/diagnostics/sarif-multi-diagnostic-test.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.security.taint,debug.TaintTest,unix.Malloc /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/sarif-multi-diagnostic-test.c -verify -analyzer-output=sarif -o - | grep -Ev '^[[:space:]]*("uri": "file:.*sarif-multi-diagnostic-test.c"|"version": ".* version .*"|"version": "2.1.0")[[:space:]]*$' | diff -U1 -b /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/Inputs/expected-sarif/sarif-multi-diagnostic-test.c.sarif - -- Exit Code: 1 Command Output (stdout): -- --- /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/Inputs/expected-sarif/sarif-multi-diagnostic-test.c.sarif 2023-11-28 16:52:28.000000000 +0800 +++ - 2024-05-20 12:45:32.817223945 +0800 @@ -1,506 +0,0 @@ -{ - "$schema": "https://docs.oasis-open.org/sarif/sarif/v2.1.0/cos02/schemas/sarif-schema-2.1.0.json", - "runs": [ - { - "artifacts": [ - { - "length": 1081, - "location": { - "index": 0, - }, - "mimeType": "text/plain", - "roles": [ - "resultFile" - ] - } - ], - "columnKind": "unicodeCodePoints", - "results": [ - { - "codeFlows": [ - { - "threadFlows": [ - { - "locations": [ - { - "importance": "essential", - "location": { - "message": { - "text": "Calling 'f'" - }, - "physicalLocation": { - "artifactLocation": { - "index": 0, - }, - "region": { - "endColumn": 6, - "endLine": 39, - "startColumn": 3, - "startLine": 39 - } - } - } - }, - { - "importance": "essential", - "location": { - "message": { - "text": "tainted" - }, - "physicalLocation": { - "artifactLocation": { - "index": 0, - }, - "region": { - "endColumn": 18, - "endLine": 11, - "startColumn": 11, - "startLine": 11 - } - } - } - } - ] - } - ] - } - ], - "level": "warning", - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0, - }, - "region": { - "endColumn": 18, - "endLine": 11, - "startColumn": 11, - "startLine": 11 - } - } - } - ], - "message": { - "text": "tainted" - }, - "ruleId": "debug.TaintTest", - "ruleIndex": 0 - }, - { - "codeFlows": [ - { - "threadFlows": [ - { - "locations": [ - { - "importance": "essential", - "location": { - "message": { - "text": "Calling 'g'" - }, - "physicalLocation": { - "artifactLocation": { - "index": 0, - }, - "region": { - "endColumn": 6, - "endLine": 40, - "startColumn": 3, - "startLine": 40 - } - } - } - }, - { - "importance": "essential", - "location": { - "message": { - "text": "'fp' declared without an initial value" - }, - "physicalLocation": { - "artifactLocation": { - "index": 0, - }, - "region": { - "endColumn": 12, - "endLine": 15, - "startColumn": 3, - "startLine": 15 - } - } - } - }, - { - "importance": "essential", - "location": { - "message": { - "text": "Called function pointer is an uninitialized pointer value" - }, - "physicalLocation": { - "artifactLocation": { - "index": 0, - }, - "region": { - "endColumn": 9, - "endLine": 16, - "startColumn": 3, - "startLine": 16 - } - } - } - } - ] - } - ] - } - ], - "level": "warning", - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0, - }, - "region": { - "endColumn": 9, - "endLine": 16, - "startColumn": 3, - "startLine": 16 - } - } - } - ], - "message": { - "text": "Called function pointer is an uninitialized pointer value" - }, - "ruleId": "core.CallAndMessage", - "ruleIndex": 1 - }, - { - "codeFlows": [ - { - "threadFlows": [ - { - "locations": [ - { - "importance": "important", - "location": { - "message": { - "text": "Assuming 'i' is equal to 0" - }, - "physicalLocation": { - "artifactLocation": { - "index": 0, - }, - "region": { - "endColumn": 13, - "endLine": 20, - "startColumn": 7, - "startLine": 20 - } - } - } - }, - { - "importance": "unimportant", - "location": { - "message": { - "text": "Taking true branch" - }, - "physicalLocation": { - "artifactLocation": { - "index": 0, - }, - "region": { - "endColumn": 3, - "startColumn": 3, - "startLine": 20 - } - } - } - }, - { - "importance": "essential", - "location": { - "message": { - "text": "Division by zero" - }, - "physicalLocation": { - "artifactLocation": { - "index": 0, - }, - "region": { - "endColumn": 14, - "startColumn": 14, - "startLine": 21 - } - } - } - } - ] - } - ] - } - ], - "level": "warning", - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0, - }, - "region": { - "endColumn": 14, - "startColumn": 14, - "startLine": 21 - } - } - } - ], - "message": { - "text": "Division by zero" - }, - "ruleId": "core.DivideZero", - "ruleIndex": 2 - }, - { - "codeFlows": [ - { - "threadFlows": [ - { - "locations": [ - { - "importance": "essential", - "location": { - "message": { - "text": "Memory is allocated" - }, - "physicalLocation": { - "artifactLocation": { - "index": 0, - }, - "region": { - "endColumn": 24, - "endLine": 26, - "startColumn": 15, - "startLine": 26 - } - } - } - }, - { - "importance": "important", - "location": { - "message": { - "text": "Assuming 'i' is < 4" - }, - "physicalLocation": { - "artifactLocation": { - "index": 0, - }, - "region": { - "endColumn": 12, - "endLine": 27, - "startColumn": 7, - "startLine": 27 - } - } - } - }, - { - "importance": "unimportant", - "location": { - "message": { - "text": "Taking true branch" - }, - "physicalLocation": { - "artifactLocation": { - "index": 0, - }, - "region": { - "endColumn": 3, - "startColumn": 3, - "startLine": 27 - } - } - } - }, - { - "importance": "essential", - "location": { - "message": { - "text": "Potential leak of memory pointed to by 'mem'" - }, - "physicalLocation": { - "artifactLocation": { - "index": 0, - }, - "region": { - "endColumn": 12, - "startColumn": 12, - "startLine": 28 - } - } - } - } - ] - } - ] - } - ], - "level": "warning", - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0, - }, - "region": { - "endColumn": 12, - "startColumn": 12, - "startLine": 28 - } - } - } - ], - "message": { - "text": "Potential leak of memory pointed to by 'mem'" - }, - "ruleId": "unix.Malloc", - "ruleIndex": 3 - }, - { - "codeFlows": [ - { - "threadFlows": [ - { - "locations": [ - { - "importance": "essential", - "location": { - "message": { - "text": "'løçål' initialized to 0" - }, - "physicalLocation": { - "artifactLocation": { - "index": 0, - }, - "region": { - "endColumn": 12, - "endLine": 34, - "startColumn": 3, - "startLine": 34 - } - } - } - }, - { - "importance": "essential", - "location": { - "message": { - "text": "Division by zero" - }, - "physicalLocation": { - "artifactLocation": { - "index": 0, - }, - "region": { - "endColumn": 20, - "startColumn": 20, - "startLine": 35 - } - } - } - } - ] - } - ] - } - ], - "level": "warning", - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0, - }, - "region": { - "endColumn": 20, - "startColumn": 20, - "startLine": 35 - } - } - } - ], - "message": { - "text": "Division by zero" - }, - "ruleId": "core.DivideZero", - "ruleIndex": 2 - } - ], - "tool": { - "driver": { - "fullName": "clang static analyzer", - "informationUri": "https://clang.llvm.org/docs/UsersManual.html", - "language": "en-US", - "name": "clang", - "rules": [ - { - "defaultConfiguration": { - "enabled": true, - "level": "warning", - "rank": -1 - }, - "fullDescription": { - "text": "Mark tainted symbols as such." - }, - "id": "debug.TaintTest", - "name": "debug.TaintTest" - }, - { - "defaultConfiguration": { - "enabled": true, - "level": "warning", - "rank": -1 - }, - "fullDescription": { - "text": "Check for logical errors for function calls and Objective-C message expressions (e.g., uninitialized arguments, null function pointers)" - }, - "helpUri": "https://clang.llvm.org/docs/analyzer/checkers.html#core-callandmessage", - "id": "core.CallAndMessage", - "name": "core.CallAndMessage" - }, - { - "defaultConfiguration": { - "enabled": true, - "level": "warning", - "rank": -1 - }, - "fullDescription": { - "text": "Check for division by zero" - }, - "helpUri": "https://clang.llvm.org/docs/analyzer/checkers.html#core-dividezero", - "id": "core.DivideZero", - "name": "core.DivideZero" - }, - { - "defaultConfiguration": { - "enabled": true, - "level": "warning", - "rank": -1 - }, - "fullDescription": { - "text": "Check for memory leaks, double free, and use-after-free problems. Traces memory managed by malloc()/free()." - }, - "helpUri": "https://clang.llvm.org/docs/analyzer/checkers.html#unix-malloc", - "id": "unix.Malloc", - "name": "unix.Malloc" - } - ], - } - } - } - ], -} -- Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.security.taint,debug.TaintTest,unix.Malloc /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/sarif-multi-diagnostic-test.c -verify -analyzer-output=sarif -o - 1. parser at end of file 2. While analyzing stack: #0 Calling f at line 39 #1 Calling main 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/sarif-multi-diagnostic-test.c:10:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/sarif-multi-diagnostic-test.c:10:3: Error evaluating statement #0 0x0000ffff8509acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff85099100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8509b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8dfd8800 (linux-vdso.so.1+0x800) #4 0x0000ffff8d2e9c08 llvm::ImutAVLTree>>>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8d2e9c08 llvm::IntrusiveRefCntPtrInfo>>>>::retain(llvm::ImutAVLTree>>>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8d2e9c08 llvm::IntrusiveRefCntPtr>>>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8d2e9c08 llvm::IntrusiveRefCntPtr>>>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>>>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8d2e9c08 llvm::ImmutableMap>, llvm::ImutKeyValueInfo>>>::ImmutableMap(llvm::ImutAVLTree>>> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8d2e9c08 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 0x0000ffff8d2e9c08 get<(anonymous namespace)::TaintArgsOnPostVisit> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff8d2e9c08 (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 0x0000ffff8cf19524 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #13 0x0000ffff8cf19524 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #14 0x0000ffff8cf19524 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #15 0x0000ffff8cf19524 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #16 0x0000ffff8cf19524 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #17 0x0000ffff8cf798b8 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #18 0x0000ffff8cf798b8 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #19 0x0000ffff8cf798b8 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #20 0x0000ffff8cf798b8 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #21 0x0000ffff8cf798b8 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #22 0x0000ffff8cf798b8 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #23 0x0000ffff8cf7a144 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #24 0x0000ffff8cf5bea0 clang::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 0x0000ffff8cf5bea0 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #26 0x0000ffff8cf5cf08 clang::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 0x0000ffff8cf5d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8cf5d41c clang::ento::CoreEngine::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 0x0000ffff8cf5d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #30 0x0000ffff8cf5d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #31 0x0000ffff8cf5d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #32 0x0000ffff8cf5d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #33 0x0000ffff8cf5d764 clang::ento::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 0x0000ffff8d22787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #35 0x0000ffff8d22787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #36 0x0000ffff8d22787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #37 0x0000ffff8d22787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #38 0x0000ffff8d22787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #39 0x0000ffff8d2287e8 llvm::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 0x0000ffff8d2287e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #41 0x0000ffff8d2287e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #42 0x0000ffff8d22cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #43 0x0000ffff8d22cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #44 0x0000ffff8d22cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #45 0x0000ffff8d22cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #46 0x0000ffff8d22cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #47 0x0000ffff8b681e58 __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 0x0000ffff8b681e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #49 0x0000ffff8b681e58 void clang::finalize>, 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 0x0000ffff8b681e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #51 0x0000ffff8cd47ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #52 0x0000ffff8ccffc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #53 0x0000ffff8ccffc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #54 0x0000ffff8ccffc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #55 0x0000ffff8cd8610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #56 0x0000aaaac83159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #57 0x0000aaaac83194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #58 0x0000aaaac831aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #59 0x0000aaaac8311fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #60 0x0000ffff842f098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #61 0x0000ffff842f0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #62 0x0000aaaac83120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) -- ******************** Testing: 0 FAIL: Clang :: Analysis/diagnostics/report-issues-within-main-file.cpp (673 of 18953) ******************** TEST 'Clang :: Analysis/diagnostics/report-issues-within-main-file.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix -analyzer-output=plist-multi-file -analyzer-config report-in-main-source-file=true /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/report-issues-within-main-file.cpp -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/report-issues-within-main-file.cpp.tmp.plist : 'RUN: at line 2'; grep -Ev '^[[:space:]]*.* version .*[[:space:]]*$|^[[:space:]]*/.*[[:space:]]*$|^[[:space:]]*.:.*[[:space:]]*$' parser at end of file 2. While analyzing stack: #0 Calling mainPlusHeader() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/report-issues-within-main-file.cpp:6:20: Error evaluating New Allocator Call #0 0x0000ffff971dacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff971d9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff971db388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa0112800 (linux-vdso.so.1+0x800) #4 0x0000ffff9f433688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9f433688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9f433688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9f433688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9f433688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9f433688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff9f433688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff9f433688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9f0e0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9f0e0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9f0e0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9f0e0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9f0e1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9f0e1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9f0e1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9f0e1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff9f0f4770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff9f0f4770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff9f0f4770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff9f0f5cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff9f0f5cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff9f0f5cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff9f0f5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff9f0f5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff9f0f5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff9f1017d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff9f1017d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff9f1017d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9f10b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9f10b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9f10b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9f06f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9f06f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9f06f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9f06f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9f06fbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9f06fbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9f06fbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff9f099b98 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #43 0x0000ffff9f099b98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #44 0x0000ffff9f099b98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffff9f099b98 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #46 0x0000ffff9f099b98 clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #47 0x0000ffff9f099fac llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #48 0x0000ffff9f099fac llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #49 0x0000ffff9f099fac clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #50 0x0000ffff9f099fac clang::ento::CoreEngine::enqueue(clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:613:23 #51 0x0000ffff9f099fac clang::ento::ExprEngine::ProcessNewAllocator(clang::CXXNewExpr const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1326:0 #52 0x0000ffff9f09d22c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:984:0 #53 0x0000ffff9f09d41c clang::ento::CoreEngine::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 0x0000ffff9f09d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #55 0x0000ffff9f09d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #56 0x0000ffff9f09d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #57 0x0000ffff9f09d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #58 0x0000ffff9f09d764 clang::ento::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 0x0000ffff9f36787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #60 0x0000ffff9f36787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #61 0x0000ffff9f36787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #62 0x0000ffff9f36787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #63 0x0000ffff9f36787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #64 0x0000ffff9f3687e8 llvm::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 0x0000ffff9f3687e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x0000ffff9f3687e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #67 0x0000ffff9f36cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x0000ffff9f36cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x0000ffff9f36cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x0000ffff9f36cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x0000ffff9f36cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x0000ffff9d7c1e58 __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 0x0000ffff9d7c1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x0000ffff9d7c1e58 void clang::finalize>, 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 0x0000ffff9d7c1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x0000ffff9ee87ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #77 0x0000ffff9ee3fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #78 0x0000ffff9ee3fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #79 0x0000ffff9ee3fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #80 0x0000ffff9eec610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #81 0x0000aaaac89759f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x0000aaaac89794b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x0000aaaac897aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x0000aaaac8971fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x0000ffff9643098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #86 0x0000ffff96430a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #87 0x0000aaaac89720b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/report-issues-within-main-file.cpp.script: line 2: 1825282 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix -analyzer-output=plist-multi-file -analyzer-config report-in-main-source-file=true /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/report-issues-within-main-file.cpp -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/report-issues-within-main-file.cpp.tmp.plist -- ******************** Testing: 0 FAIL: Clang :: Analysis/diagnostics/sarif-diagnostics-taint-test.c (674 of 18953) ******************** TEST 'Clang :: Analysis/diagnostics/sarif-diagnostics-taint-test.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.security.taint,debug.TaintTest /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/sarif-diagnostics-taint-test.c -verify -analyzer-output=sarif -o - | grep -Ev '^[[:space:]]*("uri": "file:.*sarif-diagnostics-taint-test.c"|"version": ".* version .*"|"version": "2.1.0")[[:space:]]*$' | diff -U1 -b /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/Inputs/expected-sarif/sarif-diagnostics-taint-test.c.sarif - -- Exit Code: 1 Command Output (stdout): -- --- /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/Inputs/expected-sarif/sarif-diagnostics-taint-test.c.sarif 2023-11-28 16:52:28.000000000 +0800 +++ - 2024-05-20 12:45:32.767305492 +0800 @@ -1,115 +0,0 @@ -{ - "$schema": "https://docs.oasis-open.org/sarif/sarif/v2.1.0/cos02/schemas/sarif-schema-2.1.0.json", - "runs": [ - { - "artifacts": [ - { - "length": 434, - "location": { - "index": 0, - }, - "mimeType": "text/plain", - "roles": [ - "resultFile" - ] - } - ], - "columnKind": "unicodeCodePoints", - "results": [ - { - "codeFlows": [ - { - "threadFlows": [ - { - "locations": [ - { - "importance": "essential", - "location": { - "message": { - "text": "Calling 'f'" - }, - "physicalLocation": { - "artifactLocation": { - "index": 0, - }, - "region": { - "endColumn": 6, - "endLine": 13, - "startColumn": 3, - "startLine": 13 - } - } - } - }, - { - "importance": "essential", - "location": { - "message": { - "text": "tainted" - }, - "physicalLocation": { - "artifactLocation": { - "index": 0, - }, - "region": { - "endColumn": 18, - "endLine": 9, - "startColumn": 11, - "startLine": 9 - } - } - } - } - ] - } - ] - } - ], - "level": "warning", - "locations": [ - { - "physicalLocation": { - "artifactLocation": { - "index": 0, - }, - "region": { - "endColumn": 18, - "endLine": 9, - "startColumn": 11, - "startLine": 9 - } - } - } - ], - "message": { - "text": "tainted" - }, - "ruleId": "debug.TaintTest", - "ruleIndex": 0 - } - ], - "tool": { - "driver": { - "fullName": "clang static analyzer", - "informationUri": "https://clang.llvm.org/docs/UsersManual.html", - "language": "en-US", - "name": "clang", - "rules": [ - { - "defaultConfiguration": { - "enabled": true, - "level": "warning", - "rank": -1 - }, - "fullDescription": { - "text": "Mark tainted symbols as such." - }, - "id": "debug.TaintTest", - "name": "debug.TaintTest" - } - ], - } - } - } - ], -} -- Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.security.taint,debug.TaintTest /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/sarif-diagnostics-taint-test.c -verify -analyzer-output=sarif -o - 1. parser at end of file 2. While analyzing stack: #0 Calling f at line 13 #1 Calling main 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/sarif-diagnostics-taint-test.c:8:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/sarif-diagnostics-taint-test.c:8:3: Error evaluating statement #0 0x0000ffffa34facd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa34f9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa34fb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffac43a800 (linux-vdso.so.1+0x800) #4 0x0000ffffab749c08 llvm::ImutAVLTree>>>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffab749c08 llvm::IntrusiveRefCntPtrInfo>>>>::retain(llvm::ImutAVLTree>>>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffab749c08 llvm::IntrusiveRefCntPtr>>>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffab749c08 llvm::IntrusiveRefCntPtr>>>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>>>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffab749c08 llvm::ImmutableMap>, llvm::ImutKeyValueInfo>>>::ImmutableMap(llvm::ImutAVLTree>>> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffab749c08 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 0x0000ffffab749c08 get<(anonymous namespace)::TaintArgsOnPostVisit> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffab749c08 (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 0x0000ffffab379524 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #13 0x0000ffffab379524 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #14 0x0000ffffab379524 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #15 0x0000ffffab379524 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #16 0x0000ffffab379524 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #17 0x0000ffffab3d98b8 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #18 0x0000ffffab3d98b8 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #19 0x0000ffffab3d98b8 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #20 0x0000ffffab3d98b8 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #21 0x0000ffffab3d98b8 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #22 0x0000ffffab3d98b8 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #23 0x0000ffffab3da144 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #24 0x0000ffffab3bbea0 clang::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 0x0000ffffab3bbea0 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #26 0x0000ffffab3bcf08 clang::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 0x0000ffffab3bd1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffab3bd41c clang::ento::CoreEngine::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 0x0000ffffab3bd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #30 0x0000ffffab3bd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #31 0x0000ffffab3bd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #32 0x0000ffffab3bd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #33 0x0000ffffab3bd764 clang::ento::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 0x0000ffffab68787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #35 0x0000ffffab68787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #36 0x0000ffffab68787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #37 0x0000ffffab68787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #38 0x0000ffffab68787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #39 0x0000ffffab6887e8 llvm::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 0x0000ffffab6887e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #41 0x0000ffffab6887e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #42 0x0000ffffab68cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #43 0x0000ffffab68cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #44 0x0000ffffab68cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #45 0x0000ffffab68cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #46 0x0000ffffab68cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #47 0x0000ffffa9ae1e58 __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 0x0000ffffa9ae1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #49 0x0000ffffa9ae1e58 void clang::finalize>, 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 0x0000ffffa9ae1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #51 0x0000ffffab1a7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #52 0x0000ffffab15fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #53 0x0000ffffab15fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #54 0x0000ffffab15fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #55 0x0000ffffab1e610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #56 0x0000aaaada5459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #57 0x0000aaaada5494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #58 0x0000aaaada54aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #59 0x0000aaaada541fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #60 0x0000ffffa275098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #61 0x0000ffffa2750a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #62 0x0000aaaada5420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) -- ******************** Testing: 0 FAIL: Clang :: Analysis/diagnostics/track_subexpressions.cpp (675 of 18953) ******************** TEST 'Clang :: Analysis/diagnostics/track_subexpressions.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -x c++ -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/track_subexpressions.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -x c++ -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/track_subexpressions.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling multi_array_index_tracking::getIndex(int) at line 76 #1 Calling multi_array_index_tracking::testArrayIndexTracking() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/track_subexpressions.cpp:62:9: Error evaluating statement #0 0x0000ffffa419acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa4199100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa419b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffad0d2800 (linux-vdso.so.1+0x800) #4 0x0000ffffac09cd64 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffac09cd64 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffac09cd64 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffac09cd64 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffffac09cd64 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffffac09cd64 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffffac0480bc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffffac0480bc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffffac0480bc clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffffac05ce94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffffac05ce94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffffac05ce94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffffac05ce94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffffac05ce94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffffac05ce94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffffac05ce94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffffac05ce94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffffac05ce94 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffffac05d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffac05d310 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffffac05d5dc clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffffac05d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffffac05d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffffac05d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffffac05d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffffac05d764 clang::ento::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 0x0000ffffac32787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffffac32787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffffac32787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffffac32787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffffac32787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffffac3287e8 llvm::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 0x0000ffffac3287e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffffac3287e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffffac32cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffffac32cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffffac32cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffffac32cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffffac32cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffffaa781e58 __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 0x0000ffffaa781e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffffaa781e58 void clang::finalize>, 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 0x0000ffffaa781e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffffabe47ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffffabdffc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffffabdffc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffffabdffc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffffabe8610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaab71f59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaab71f94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaab71faac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaab71f1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffffa33f098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffffa33f0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaab71f20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/track_subexpressions.cpp.script: line 1: 1825323 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -x c++ -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/track_subexpressions.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/diagnostics/text-diagnostics.c (676 of 18953) ******************** TEST 'Clang :: Analysis/diagnostics/text-diagnostics.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core.NullDereference -analyzer-output=text -fno-caret-diagnostics /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/text-diagnostics.c 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/text-diagnostics.c -- Exit Code: 1 Command Output (stderr): -- /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/text-diagnostics.c:7:18: error: CHECK-LABEL: expected string not found in input // CHECK-LABEL: text-diagnostics.c:{{.*}}:6: warning: Dereference of null pointer (loaded from variable 'p') ^ :1:1: note: scanning from here PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. ^ Input file: Check file: /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/text-diagnostics.c -dump-input=help explains the following input dump. Input was: <<<<<< 1: PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. label:7 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found 2: Stack dump: label:7 ~~~~~~~~~~~~ 3: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core.NullDereference -analyzer-output=text -fno-caret-diagnostics /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/text-diagnostics.c label:7 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4: 1. parser at end of file label:7 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5: 2. While analyzing stack: label:7 ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6: #0 Calling testB label:7 ~~~~~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0 FAIL: Clang :: Analysis/diagnostics/undef-value-param.c (679 of 18953) ******************** TEST 'Clang :: Analysis/diagnostics/undef-value-param.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/undef-value-param.c : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=plist-multi-file /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/undef-value-param.c -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/undef-value-param.c.tmp.plist : 'RUN: at line 3'; grep -Ev '^[[:space:]]*.* version .*[[:space:]]*$|^[[:space:]]*/.*[[:space:]]*$|^[[:space:]]*.:.*[[:space:]]*$' parser at end of file 2. While analyzing stack: #0 Calling initStruct at line 60 #1 Calling testPassingParentRegionStruct 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/undef-value-param.c:55:11: Error evaluating statement #0 0x0000ffffa8f5acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa8f59100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa8f5b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb1e9b800 (linux-vdso.so.1+0x800) #4 0x0000ffffb0e5cd64 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb0e5cd64 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb0e5cd64 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb0e5cd64 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffffb0e5cd64 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffffb0e5cd64 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffffb0e080bc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffffb0e080bc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffffb0e080bc clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffffb0e1ce94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffffb0e1ce94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffffb0e1ce94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffffb0e1ce94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffffb0e1ce94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffffb0e1ce94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffffb0e1ce94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffffb0e1ce94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffffb0e1ce94 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffffb0e1d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffb0e1d310 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffffb0e1d5dc clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffffb0e1d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffffb0e1d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffffb0e1d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffffb0e1d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffffb0e1d764 clang::ento::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 0x0000ffffb10e787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffffb10e787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffffb10e787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffffb10e787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffffb10e787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffffb10e87e8 llvm::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 0x0000ffffb10e87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffffb10e87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffffb10ecde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffffb10ecde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffffb10ecde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffffb10ecde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffffb10ecde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffffaf541e58 __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 0x0000ffffaf541e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffffaf541e58 void clang::finalize>, 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 0x0000ffffaf541e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffffb0c07ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffffb0bbfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffffb0bbfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffffb0bbfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffffb0c4610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaadaa259f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaadaa294b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaadaa2aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaadaa21fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffffa81b098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffffa81b0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaadaa220b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/undef-value-param.c.script: line 3: 1825338 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/undef-value-param.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/diagnostics/undef-value-param.m (680 of 18953) ******************** TEST 'Clang :: Analysis/diagnostics/undef-value-param.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/undef-value-param.m : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx -analyzer-output=plist-multi-file /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/undef-value-param.m -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/undef-value-param.m.tmp.plist : 'RUN: at line 3'; grep -Ev '^[[:space:]]*.* version .*[[:space:]]*$|^[[:space:]]*/.*[[:space:]]*$|^[[:space:]]*.:.*[[:space:]]*$' parser at end of file #0 0x0000ffff84c0acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff84c09100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff84c0b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8db4b800 (linux-vdso.so.1+0x800) #4 0x0000ffff8ce63688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8ce63688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8ce63688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8ce63688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8ce63688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8ce63688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff8ce63688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff8ce63688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8cb10c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8cb10c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8cb10c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8cb10c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8cb11ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8cb11ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8cb11ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8cb11ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff8cb24770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff8cb24770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff8cb24770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff8cb25cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff8cb25cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff8cb25cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff8cb25190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8cb25190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8cb25190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff8cb317d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff8cb317d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff8cb317d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8cb3b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8cb3b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8cb3b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8ca9f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8ca9f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8ca9f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8ca9f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff8ca9fbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8ca9fbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8ca9fbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff8ca731c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff8ca731c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff8ca731c0 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff8caafba8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff8caafba8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff8caafba8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffff8cacdaa8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff8cacdaa8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff8cacdaa8 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff8cd9787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff8cd9787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff8cd9787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff8cd9787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff8cd9787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff8cd987e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffff8cd987e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff8cd987e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff8cd9cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff8cd9cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff8cd9cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff8cd9cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff8cd9cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff8b1f1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffff8b1f1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff8b1f1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffff8b1f1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff8c8b7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff8c86fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff8c86fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff8c86fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff8c8f610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaab5e259f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaab5e294b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaab5e2aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaab5e21fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff83e6098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff83e60a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaab5e220b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/diagnostics/Output/undef-value-param.m.script: line 3: 1825344 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/diagnostics/undef-value-param.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/dispatch-once.m (681 of 18953) ******************** TEST 'Clang :: Analysis/dispatch-once.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/dispatch-once.m -analyzer-checker=core -analyzer-checker=osx.API -analyzer-checker=unix.Malloc -analyzer-config display-checker-name=false : 'RUN: at line 7'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -fblocks -fobjc-arc -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/dispatch-once.m -analyzer-checker=core -analyzer-checker=osx.API -analyzer-checker=unix.Malloc -analyzer-config display-checker-name=false -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/dispatch-once.m -analyzer-checker=core -analyzer-checker=osx.API -analyzer-checker=unix.Malloc -analyzer-config display-checker-name=false 1. parser at end of file 2. While analyzing stack: #0 Calling dispatch_once at line 123 #1 Calling anonymous code 3. Error evaluating statement 4. Error evaluating statement #0 0x0000ffff7d5eacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7d5e9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7d5eb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff86523800 (linux-vdso.so.1+0x800) #4 0x0000ffff85843688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff85843688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff85843688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff85843688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff85843688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff85843688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff85843688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff85843688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff854f0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff854f0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff854f0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff854f0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff854f1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff854f1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff854f1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff854f1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff85504770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff85504770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff85504770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff85505cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff85505cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff85505cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff85505190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff85505190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff85505190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff855117d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff855117d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff855117d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8551b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8551b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8551b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8547f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8547f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8547f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8547f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff8596d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8596d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8596d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff85492a0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff85492a0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff85492a0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffff854accac llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffff854accac llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffff854accac llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffff854accac clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffff854accac clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffff854acf08 clang::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 0x0000ffff854ad1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff854ad41c clang::ento::CoreEngine::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 0x0000ffff854ad764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff854ad764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff854ad764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff854ad764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff854ad764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff8577787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff8577787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff8577787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff8577787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff8577787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff857787e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff857787e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff857787e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff8577cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff8577cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff8577cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff8577cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff8577cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff83bd1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff83bd1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff83bd1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff83bd1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff85297ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff8524fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff8524fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff8524fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff852d610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaaaf6f59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaaaf6f94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaaaf6faac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaaaf6f1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff7c84098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff7c840a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaaaf6f20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/dispatch-once.m.script: line 2: 1825359 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/dispatch-once.m -analyzer-checker=core -analyzer-checker=osx.API -analyzer-checker=unix.Malloc -analyzer-config display-checker-name=false -- ******************** Testing: 0 FAIL: Clang :: Analysis/division-by-zero-track-zero.c (682 of 18953) ******************** TEST 'Clang :: Analysis/division-by-zero-track-zero.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/division-by-zero-track-zero.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/division-by-zero-track-zero.c 1. parser at end of file 2. While analyzing stack: #0 Calling track_mul_lhs_0 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/division-by-zero-track-zero.c:6:3: Error evaluating statement #0 0x0000ffffb256acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb2569100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb256b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffbb4ae800 (linux-vdso.so.1+0x800) #4 0x0000ffffba46cd64 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffba46cd64 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffba46cd64 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffba46cd64 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffffba46cd64 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffffba46cd64 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffffba4180bc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffffba4180bc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffffba4180bc clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffffba42ce94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffffba42ce94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffffba42ce94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffffba42ce94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffffba42ce94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffffba42ce94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffffba42ce94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffffba42ce94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffffba42ce94 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffffba42d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffba42d41c clang::ento::CoreEngine::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 0x0000ffffba42d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x0000ffffba42d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x0000ffffba42d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #27 0x0000ffffba42d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #28 0x0000ffffba42d764 clang::ento::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 0x0000ffffba6f787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffffba6f787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffffba6f787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #32 0x0000ffffba6f787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #33 0x0000ffffba6f787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #34 0x0000ffffba6f87e8 llvm::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 0x0000ffffba6f87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x0000ffffba6f87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #37 0x0000ffffba6fcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x0000ffffba6fcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x0000ffffba6fcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x0000ffffba6fcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x0000ffffba6fcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x0000ffffb8b51e58 __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 0x0000ffffb8b51e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x0000ffffb8b51e58 void clang::finalize>, 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 0x0000ffffb8b51e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x0000ffffba217ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #47 0x0000ffffba1cfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #48 0x0000ffffba1cfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #49 0x0000ffffba1cfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #50 0x0000ffffba25610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #51 0x0000aaaac74859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x0000aaaac74894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x0000aaaac748aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x0000aaaac7481fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x0000ffffb17c098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #56 0x0000ffffb17c0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #57 0x0000aaaac74820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/division-by-zero-track-zero.c.script: line 1: 1825382 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/division-by-zero-track-zero.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/division-by-zero-track-zero.cpp (683 of 18953) ******************** TEST 'Clang :: Analysis/division-by-zero-track-zero.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/division-by-zero-track-zero.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/division-by-zero-track-zero.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling test_tracking_of_assignment::f(int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/division-by-zero-track-zero.cpp:91:5: Error evaluating statement #0 0x0000ffff8ddfacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8ddf9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8ddfb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff96d3f800 (linux-vdso.so.1+0x800) #4 0x0000ffff95cfcd64 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff95cfcd64 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff95cfcd64 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff95cfcd64 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffff95cfcd64 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffff95cfcd64 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffff95ca80bc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffff95ca80bc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffff95ca80bc clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffff95cbce94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffff95cbce94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffff95cbce94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffff95cbce94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffff95cbce94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffff95cbce94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffff95cbce94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffff95cbce94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffff95cbce94 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffff95cbd1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff95cbd41c clang::ento::CoreEngine::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 0x0000ffff95cbd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x0000ffff95cbd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x0000ffff95cbd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #27 0x0000ffff95cbd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #28 0x0000ffff95cbd764 clang::ento::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 0x0000ffff95f8787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffff95f8787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffff95f8787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #32 0x0000ffff95f8787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #33 0x0000ffff95f8787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #34 0x0000ffff95f887e8 llvm::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 0x0000ffff95f887e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x0000ffff95f887e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #37 0x0000ffff95f8cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x0000ffff95f8cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x0000ffff95f8cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x0000ffff95f8cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x0000ffff95f8cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x0000ffff943e1e58 __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 0x0000ffff943e1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x0000ffff943e1e58 void clang::finalize>, 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 0x0000ffff943e1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x0000ffff95aa7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #47 0x0000ffff95a5fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #48 0x0000ffff95a5fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #49 0x0000ffff95a5fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #50 0x0000ffff95ae610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #51 0x0000aaaac41559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x0000aaaac41594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x0000aaaac415aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x0000aaaac4151fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x0000ffff8d05098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #56 0x0000ffff8d050a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #57 0x0000aaaac41520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/division-by-zero-track-zero.cpp.script: line 1: 1825384 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/division-by-zero-track-zero.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/div-zero.cpp (685 of 18953) ******************** TEST 'Clang :: Analysis/div-zero.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core.DivideZero -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/div-zero.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core.DivideZero -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/div-zero.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling fooPR10616(int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/div-zero.cpp:7:11: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/div-zero.cpp:7:11: Error evaluating statement #0 0x0000ffffac71acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffac719100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffac71b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb5654800 (linux-vdso.so.1+0x800) #4 0x0000ffffb4973688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb4973688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb4973688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb4973688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb4973688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb4973688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb4973688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb4973688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb4620c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb4620c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb4620c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb4620c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb4621ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb4621ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb4621ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb4621ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb4634770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb4634770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb4634770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb4635cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb4635cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb4635cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb4635190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb4635190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb4635190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb46417d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb46417d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb46417d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb464b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb464b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb464b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb45af72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb45af72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb45af72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb45af72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb4a9d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb4a9d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb4a9d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffb45c2a0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffb45c2a0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffb45c2a0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffffb45dccac llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffffb45dccac llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffffb45dccac llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffffb45dccac clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffffb45dccac clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffffb45dcf08 clang::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 0x0000ffffb45dd1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffb45dd41c clang::ento::CoreEngine::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 0x0000ffffb45dd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffb45dd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffb45dd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffb45dd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffb45dd764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffb48a787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffb48a787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffb48a787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffb48a787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffb48a787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffb48a87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffb48a87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffb48a87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffb48acde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffb48acde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffb48acde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffb48acde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffb48acde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffb2d01e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffb2d01e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffb2d01e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffb2d01e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffb43c7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffb437fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffb437fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffb437fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffb440610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaadf4059f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaadf4094b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaadf40aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaadf401fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffab97098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffab970a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaadf4020b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/div-zero.cpp.script: line 1: 1825380 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core.DivideZero -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/div-zero.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/division-by-zero.c (688 of 18953) ******************** TEST 'Clang :: Analysis/division-by-zero.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=unix.Malloc /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/division-by-zero.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=unix.Malloc /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/division-by-zero.c 1. parser at end of file 2. While analyzing stack: #0 Calling f 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/division-by-zero.c:5:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/division-by-zero.c:5:7: Error evaluating statement #0 0x0000ffffad7dacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffad7d9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffad7db388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb6717800 (linux-vdso.so.1+0x800) #4 0x0000ffffb5a33688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb5a33688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb5a33688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb5a33688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb5a33688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb5a33688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb5a33688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb5a33688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb56e0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb56e0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb56e0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb56e0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb56e15a4 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb56e15a4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb56e15a4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb56e15a4 (anonymous namespace)::RangeConstraintManager::assumeSymLE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3214:0 #20 0x0000ffffb56f4770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb56f4770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb56f4770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb56f5cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb56f5cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb56f5cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb56f5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb56f5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb56f5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb57017d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb57017d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb57017d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb570b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb570b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb570b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb566f6d8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb566f6d8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb566f6d8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb566f6d8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffb5b5d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb5b5d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb5b5d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffb5682a0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffb5682a0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffb5682a0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffffb569ccac llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffffb569ccac llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffffb569ccac llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffffb569ccac clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffffb569ccac clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffffb569cf08 clang::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 0x0000ffffb569d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffb569d41c clang::ento::CoreEngine::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 0x0000ffffb569d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffb569d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffb569d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffb569d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffb569d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffb596787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffb596787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffb596787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffb596787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffb596787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffb59687e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffb59687e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffb59687e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffb596cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffb596cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffb596cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffb596cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffb596cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffb3dc1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffb3dc1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffb3dc1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffb3dc1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffb5487ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffb543fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffb543fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffb543fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffb54c610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaad52d59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaad52d94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaad52daac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaad52d1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffaca3098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffaca30a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaad52d20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/division-by-zero.c.script: line 1: 1825401 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=unix.Malloc /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/division-by-zero.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/double-ranges-bug.c (690 of 18953) ******************** TEST 'Clang :: Analysis/double-ranges-bug.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/double-ranges-bug.c -analyzer-checker=core -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/double-ranges-bug.c -analyzer-checker=core 1. parser at end of file 2. While analyzing stack: #0 Calling foo 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/double-ranges-bug.c:17:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/double-ranges-bug.c:17:7: Error evaluating statement #0 0x0000ffff8d6facd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8d6f9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8d6fb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9663c800 (linux-vdso.so.1+0x800) #4 0x0000ffff95953688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff95953688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff95953688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff95953688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff95953688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff95953688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff95953688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff95953688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff95600c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff95600c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff95600c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff95600c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff95601ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff95601ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff95601ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff95601ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff95614770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff95614770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff95614770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff95615cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff95615cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff95615cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff95615190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff95615190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff95615190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff956217d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff956217d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff956217d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9562b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9562b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9562b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9558f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9558f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9558f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9558f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff95a7d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff95a7d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff95a7d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff956aeee0 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff956aeee0 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff956aeee0 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:61 #45 0x0000ffff956aeee0 void clang::ento::check::Location::_checkLocation<(anonymous namespace)::DereferenceChecker>(void*, clang::ento::SVal const&, bool, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:199:46 #46 0x0000ffff955799b8 void expandGraphWithCheckers<(anonymous namespace)::CheckLocationContext>((anonymous namespace)::CheckLocationContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #47 0x0000ffff955a2270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:60 #48 0x0000ffff955a2270 clang::ento::ExprEngine::evalLocation(clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::Stmt const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3710:19 #49 0x0000ffff955a24ac llvm::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 0x0000ffff955a24ac llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #51 0x0000ffff955a24ac llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x0000ffff955a24ac clang::ento::ExprEngine::evalLoad(clang::ento::ExplodedNodeSet&, clang::Expr const*, clang::Expr const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, clang::ProgramPointTag const*, clang::QualType) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3653:15 #53 0x0000ffff955b2170 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #54 0x0000ffff955b2170 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #55 0x0000ffff955b2170 clang::ento::ExprEngine::VisitCast(clang::CastExpr const*, clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:292:0 #56 0x0000ffff955bb884 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #57 0x0000ffff955bb884 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #58 0x0000ffff955bb884 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2258:0 #59 0x0000ffff955bcf08 clang::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 0x0000ffff955bd1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff955bd41c clang::ento::CoreEngine::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 0x0000ffff955bd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #63 0x0000ffff955bd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #64 0x0000ffff955bd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #65 0x0000ffff955bd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #66 0x0000ffff955bd764 clang::ento::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 0x0000ffff9588787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #68 0x0000ffff9588787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #69 0x0000ffff9588787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #70 0x0000ffff9588787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #71 0x0000ffff9588787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #72 0x0000ffff958887e8 llvm::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 0x0000ffff958887e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #74 0x0000ffff958887e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #75 0x0000ffff9588cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #76 0x0000ffff9588cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #77 0x0000ffff9588cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #78 0x0000ffff9588cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #79 0x0000ffff9588cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #80 0x0000ffff93ce1e58 __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 0x0000ffff93ce1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #82 0x0000ffff93ce1e58 void clang::finalize>, 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 0x0000ffff93ce1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #84 0x0000ffff953a7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #85 0x0000ffff9535fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #86 0x0000ffff9535fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #87 0x0000ffff9535fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #88 0x0000ffff953e610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #89 0x0000aaaad10759f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #90 0x0000aaaad10794b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #91 0x0000aaaad107aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #92 0x0000aaaad1071fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #93 0x0000ffff8c95098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #94 0x0000ffff8c950a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #95 0x0000aaaad10720b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/double-ranges-bug.c.script: line 1: 1825412 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/double-ranges-bug.c -analyzer-checker=core -- ******************** Testing: 0 FAIL: Clang :: Analysis/dtor-cxx11.cpp (691 of 18953) ******************** TEST 'Clang :: Analysis/dtor-cxx11.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,unix.Malloc,debug.ExprInspection -Wno-null-dereference -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/dtor-cxx11.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,unix.Malloc,debug.ExprInspection -Wno-null-dereference -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/dtor-cxx11.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling Cxx11BraceInit::testInitializerList() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/dtor-cxx11.cpp:12:21: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/dtor-cxx11.cpp:12:21: Error evaluating statement #0 0x0000ffffa8a7acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa8a79100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa8a7b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb19bc800 (linux-vdso.so.1+0x800) #4 0x0000ffffb092e6a4 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffffb092e6a4 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffb092e6a4 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffb092e6a4 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffb092e6a4 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffb092e6a4 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffb092e6a4 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffb092e6a4 llvm::IntrusiveRefCntPtr clang::ento::ProgramStateManager::set<(anonymous namespace)::ObjectsUnderConstruction>(llvm::IntrusiveRefCntPtr, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::key_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::value_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::context_type) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:652:0 #12 0x0000ffffb092ea94 llvm::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 0x0000ffffb092ea94 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #14 0x0000ffffb092ea94 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #15 0x0000ffffb092ea94 set<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:876:0 #16 0x0000ffffb092ea94 clang::ento::ExprEngine::addObjectUnderConstruction(llvm::IntrusiveRefCntPtr, clang::ConstructionContextItem const&, clang::LocationContext const*, clang::ento::SVal) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:599:0 #17 0x0000ffffb092efac llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #18 0x0000ffffb092efac llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #19 0x0000ffffb092efac clang::ento::ExprEngine::updateObjectsUnderConstruction(clang::ento::SVal, clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:486:0 #20 0x0000ffffb0936a00 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #21 0x0000ffffb0936a00 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #22 0x0000ffffb0936a00 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 0x0000ffffb0936a00 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 0x0000ffffb093be5c clang::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 0x0000ffffb093be5c clang::ento::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 0x0000ffffb093cf08 clang::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 0x0000ffffb093d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffb093d310 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #29 0x0000ffffb093d5dc clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #30 0x0000ffffb093d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #31 0x0000ffffb093d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #32 0x0000ffffb093d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #33 0x0000ffffb093d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #34 0x0000ffffb093d764 clang::ento::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 0x0000ffffb0c0787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb0c0787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb0c0787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #38 0x0000ffffb0c0787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #39 0x0000ffffb0c0787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #40 0x0000ffffb0c087e8 llvm::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 0x0000ffffb0c087e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #42 0x0000ffffb0c087e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #43 0x0000ffffb0c0cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #44 0x0000ffffb0c0cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #45 0x0000ffffb0c0cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #46 0x0000ffffb0c0cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #47 0x0000ffffb0c0cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #48 0x0000ffffaf061e58 __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 0x0000ffffaf061e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #50 0x0000ffffaf061e58 void clang::finalize>, 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 0x0000ffffaf061e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #52 0x0000ffffb0727ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #53 0x0000ffffb06dfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #54 0x0000ffffb06dfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #55 0x0000ffffb06dfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #56 0x0000ffffb076610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #57 0x0000aaaac04859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #58 0x0000aaaac04894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #59 0x0000aaaac048aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #60 0x0000aaaac0481fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #61 0x0000ffffa7cd098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #62 0x0000ffffa7cd0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #63 0x0000aaaac04820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/dtor-cxx11.cpp.script: line 1: 1825428 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,unix.Malloc,debug.ExprInspection -Wno-null-dereference -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/dtor-cxx11.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/dtor-array.cpp (694 of 18953) ******************** TEST 'Clang :: Analysis/dtor-array.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config c++-inlining=destructors -verify -std=c++11 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/dtor-array.cpp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config c++-inlining=destructors -verify -std=c++17 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/dtor-array.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config c++-inlining=destructors -verify -std=c++11 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/dtor-array.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling crash6::top(int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/dtor-array.cpp:364:17: Error evaluating New Allocator Call #0 0x0000ffff77a0acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff77a09100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff77a0b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff80949800 (linux-vdso.so.1+0x800) #4 0x0000ffff7fc63688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff7fc63688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff7fc63688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff7fc63688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff7fc63688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff7fc63688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff7fc63688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff7fc63688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff7f910c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff7f910c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff7f910c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff7f910c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff7f911ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff7f911ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff7f911ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff7f911ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff7f924770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff7f924770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff7f924770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff7f925cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff7f925cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff7f925cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff7f925190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff7f925190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff7f925190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff7f9317d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff7f9317d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff7f9317d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff7f93b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff7f93b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff7f93b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff7f89f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff7f89f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff7f89f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff7f89f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff7f89fbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff7f89fbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff7f89fbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff7f8c9b98 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #43 0x0000ffff7f8c9b98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #44 0x0000ffff7f8c9b98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffff7f8c9b98 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #46 0x0000ffff7f8c9b98 clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #47 0x0000ffff7f8c9fac llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #48 0x0000ffff7f8c9fac llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #49 0x0000ffff7f8c9fac clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #50 0x0000ffff7f8c9fac clang::ento::CoreEngine::enqueue(clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:613:23 #51 0x0000ffff7f8c9fac clang::ento::ExprEngine::ProcessNewAllocator(clang::CXXNewExpr const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1326:0 #52 0x0000ffff7f8cd22c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:984:0 #53 0x0000ffff7f8cd310 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #54 0x0000ffff7f8cd5dc clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #55 0x0000ffff7f8cd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #56 0x0000ffff7f8cd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #57 0x0000ffff7f8cd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #58 0x0000ffff7f8cd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #59 0x0000ffff7f8cd764 clang::ento::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 0x0000ffff7fb9787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #61 0x0000ffff7fb9787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #62 0x0000ffff7fb9787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #63 0x0000ffff7fb9787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #64 0x0000ffff7fb9787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #65 0x0000ffff7fb987e8 llvm::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 0x0000ffff7fb987e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #67 0x0000ffff7fb987e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #68 0x0000ffff7fb9cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #69 0x0000ffff7fb9cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #70 0x0000ffff7fb9cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #71 0x0000ffff7fb9cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #72 0x0000ffff7fb9cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #73 0x0000ffff7dff1e58 __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 0x0000ffff7dff1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #75 0x0000ffff7dff1e58 void clang::finalize>, 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 0x0000ffff7dff1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #77 0x0000ffff7f6b7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #78 0x0000ffff7f66fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #79 0x0000ffff7f66fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #80 0x0000ffff7f66fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #81 0x0000ffff7f6f610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #82 0x0000aaaaddda59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #83 0x0000aaaaddda94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #84 0x0000aaaadddaaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #85 0x0000aaaaddda1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #86 0x0000ffff76c6098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #87 0x0000ffff76c60a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #88 0x0000aaaaddda20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/dtor-array.cpp.script: line 2: 1825421 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config c++-inlining=destructors -verify -std=c++11 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/dtor-array.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/dump_egraph.cpp (695 of 18953) ******************** TEST 'Clang :: Analysis/dump_egraph.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-dump-egraph=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/dump_egraph.cpp.tmp.dot /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/dump_egraph.cpp : 'RUN: at line 2'; cat /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/dump_egraph.cpp.tmp.dot | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/dump_egraph.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-dump-egraph=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/dump_egraph.cpp.tmp.dot /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/dump_egraph.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling T::T() at line 15 #1 Calling foo() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/dump_egraph.cpp:10:9: Error evaluating statement #0 0x0000ffffb10aacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb10a9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb10ab388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb9fe1800 (linux-vdso.so.1+0x800) #4 0x0000ffffb8f57db8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffb8f57db8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffb8f57db8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffb8f57db8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffb8f57db8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffb8f57db8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffb8f57db8 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffb8f57db8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1059:61 #12 0x0000ffffb8f6ce94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffffb8f6ce94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffffb8f6ce94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffffb8f6ce94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffffb8f6ce94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffffb8f6ce94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffffb8f6ce94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffffb8f6ce94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffffb8f6ce94 clang::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 0x0000ffffb8f6d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffb8f6d310 clang::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 0x0000ffffb8f6d5dc clang::ento::CoreEngine::dispatchWorkItem(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 0x0000ffffb8f6d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x0000ffffb8f6d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x0000ffffb8f6d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #27 0x0000ffffb8f6d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #28 0x0000ffffb8f6d764 clang::ento::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 0x0000ffffb923787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffffb923787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffffb923787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #32 0x0000ffffb923787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #33 0x0000ffffb923787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #34 0x0000ffffb92387e8 llvm::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 0x0000ffffb92387e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x0000ffffb92387e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #37 0x0000ffffb923cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x0000ffffb923cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x0000ffffb923cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x0000ffffb923cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x0000ffffb923cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x0000ffffb7691e58 __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 0x0000ffffb7691e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x0000ffffb7691e58 void clang::finalize>, 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 0x0000ffffb7691e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x0000ffffb8d57ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #47 0x0000ffffb8d0fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #48 0x0000ffffb8d0fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #49 0x0000ffffb8d0fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #50 0x0000ffffb8d9610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #51 0x0000aaaacc3859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x0000aaaacc3894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x0000aaaacc38aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x0000aaaacc381fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x0000ffffb030098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #56 0x0000ffffb0300a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #57 0x0000aaaacc3820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/dump_egraph.cpp.script: line 2: 1825459 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-dump-egraph=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/dump_egraph.cpp.tmp.dot /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/dump_egraph.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/dtor.cpp (696 of 18953) ******************** TEST 'Clang :: Analysis/dtor.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,debug.ExprInspection,cplusplus -analyzer-config c++-inlining=destructors -Wno-null-dereference -Wno-inaccessible-base -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/dtor.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,debug.ExprInspection,cplusplus -analyzer-config c++-inlining=destructors -Wno-null-dereference -Wno-inaccessible-base -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/dtor.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling CustomOperators::operator new(size_t) at line 594 #1 Calling overrideDoubleDelete() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/dtor.cpp:573:12: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/dtor.cpp:573:12: Error evaluating statement #0 0x0000ffff9a18acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff9a189100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9a18b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa30cc800 (linux-vdso.so.1+0x800) #4 0x0000ffffa23e3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa23e3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa23e3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa23e3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa23e3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa23e3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa23e3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa23e3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa2090c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa2090c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa2090c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa2090c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa2091ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa2091ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa2091ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa2091ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa20a4770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa20a4770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa20a4770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa20a5cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa20a5cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa20a5cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa20a5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa20a5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa20a5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa20b17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa20b17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa20b17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa20bb074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa20bb074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa20bb074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa201f6d8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa201f6d8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa201f6d8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa201f6d8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffa250d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa250d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa250d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffa21e44b0 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #43 0x0000ffffa21e44b0 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #44 0x0000ffffa21e44b0 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #45 0x0000ffffa21e44b0 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #46 0x0000ffffa21e44b0 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #47 0x0000ffffa21e44b0 (anonymous namespace)::MallocChecker::ProcessZeroAllocCheck(clang::ento::CallEvent const&, unsigned int, llvm::IntrusiveRefCntPtr, std::optional) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1529:0 #48 0x0000ffffa21e4900 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #49 0x0000ffffa21e4900 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffa21e4900 (anonymous namespace)::MallocChecker::checkBasicAlloc(clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1217:0 #51 0x0000ffffa21f0e00 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #52 0x0000ffffa21f0e00 void clang::ento::check::PostCall::_checkCall<(anonymous namespace)::MallocChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:183:0 #53 0x0000ffffa2009524 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #54 0x0000ffffa2009524 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #55 0x0000ffffa2009524 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #56 0x0000ffffa2009524 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #57 0x0000ffffa2009524 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #58 0x0000ffffa20698b8 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #59 0x0000ffffa20698b8 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #60 0x0000ffffa20698b8 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #61 0x0000ffffa20698b8 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #62 0x0000ffffa20698b8 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #63 0x0000ffffa20698b8 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #64 0x0000ffffa206a144 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #65 0x0000ffffa204bea0 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #66 0x0000ffffa204bea0 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #67 0x0000ffffa204cf08 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #68 0x0000ffffa204d1f0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #69 0x0000ffffa204d41c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #70 0x0000ffffa204d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #71 0x0000ffffa204d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #72 0x0000ffffa204d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #73 0x0000ffffa204d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #74 0x0000ffffa204d764 clang::ento::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 0x0000ffffa231787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #76 0x0000ffffa231787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #77 0x0000ffffa231787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #78 0x0000ffffa231787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #79 0x0000ffffa231787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #80 0x0000ffffa23187e8 llvm::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 0x0000ffffa23187e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #82 0x0000ffffa23187e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #83 0x0000ffffa231cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #84 0x0000ffffa231cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #85 0x0000ffffa231cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #86 0x0000ffffa231cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #87 0x0000ffffa231cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #88 0x0000ffffa0771e58 __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 0x0000ffffa0771e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #90 0x0000ffffa0771e58 void clang::finalize>, 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 0x0000ffffa0771e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #92 0x0000ffffa1e37ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #93 0x0000ffffa1defc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #94 0x0000ffffa1defc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #95 0x0000ffffa1defc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #96 0x0000ffffa1e7610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #97 0x0000aaaacee859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #98 0x0000aaaacee894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #99 0x0000aaaacee8aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #100 0x0000aaaacee81fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #101 0x0000ffff993e098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #102 0x0000ffff993e0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #103 0x0000aaaacee820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/dtor.cpp.script: line 1: 1825437 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,debug.ExprInspection,cplusplus -analyzer-config c++-inlining=destructors -Wno-null-dereference -Wno-inaccessible-base -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/dtor.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/dynamic-cast.cpp (697 of 18953) ******************** TEST 'Clang :: Analysis/dynamic-cast.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin10 -analyzer-checker=core,debug.ExprInspection -analyzer-config ipa=none -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/dynamic-cast.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin10 -analyzer-checker=core,debug.ExprInspection -analyzer-config ipa=none -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/dynamic-cast.cpp 1. parser at end of file #0 0x0000ffff963dacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff963d9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff963db388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9f310800 (linux-vdso.so.1+0x800) #4 0x0000ffff9e633688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9e633688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9e633688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9e633688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9e633688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9e633688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff9e633688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff9e633688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9e2e0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9e2e0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9e2e0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9e2e0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9e2e1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9e2e1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9e2e1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9e2e1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff9e2f4770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff9e2f4770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff9e2f4770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff9e2f5cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff9e2f5cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff9e2f5cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff9e2f5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff9e2f5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff9e2f5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff9e3017d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff9e3017d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff9e3017d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9e30b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9e30b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9e30b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9e26f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9e26f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9e26f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9e26f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9e26fbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9e26fbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9e26fbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff9e2431c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff9e2431c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff9e2431c0 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff9e27fb5c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff9e27fb5c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff9e27fb5c clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:42 #48 0x0000ffff9e29daa8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff9e29daa8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff9e29daa8 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff9e56787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff9e56787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff9e56787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff9e56787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff9e56787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff9e577ff8 VisitFunctionDecl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:319:0 #57 0x0000ffff9e577ff8 WalkUpFromFunctionDecl /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include/clang/AST/DeclNodes.inc:433:0 #58 0x0000ffff9e577ff8 WalkUpFromCXXDeductionGuideDecl /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include/clang/AST/DeclNodes.inc:437:0 #59 0x0000ffff9e577ff8 clang::RecursiveASTVisitor<(anonymous namespace)::AnalysisConsumer>::TraverseCXXDeductionGuideDecl(clang::CXXDeductionGuideDecl*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/RecursiveASTVisitor.h:2233:0 #60 0x0000ffff9e56d1a0 clang::RecursiveASTVisitor<(anonymous namespace)::AnalysisConsumer>::TraverseDeclContextHelper(clang::DeclContext*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/RecursiveASTVisitor.h:1489:0 #61 0x0000ffff9e56a514 TraverseCXXRecordDecl /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/RecursiveASTVisitor.h:2015:0 #62 0x0000ffff9e56a514 clang::RecursiveASTVisitor<(anonymous namespace)::AnalysisConsumer>::TraverseDecl(clang::Decl*) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include/clang/AST/DeclNodes.inc:295:0 #63 0x0000ffff9e56cd04 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:552:0 #64 0x0000ffff9e56cd04 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #65 0x0000ffff9c9c1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #66 0x0000ffff9c9c1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #67 0x0000ffff9c9c1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #68 0x0000ffff9c9c1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #69 0x0000ffff9e087ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #70 0x0000ffff9e03fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #71 0x0000ffff9e03fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #72 0x0000ffff9e03fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #73 0x0000ffff9e0c610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #74 0x0000aaaae68459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #75 0x0000aaaae68494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #76 0x0000aaaae684aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #77 0x0000aaaae6841fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #78 0x0000ffff9563098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #79 0x0000ffff95630a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #80 0x0000aaaae68420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/dynamic-cast.cpp.script: line 1: 1825472 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin10 -analyzer-checker=core,debug.ExprInspection -analyzer-config ipa=none -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/dynamic-cast.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/edges-new.mm (698 of 18953) ******************** TEST 'Clang :: Analysis/edges-new.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,deadcode.DeadStores,osx.cocoa.RetainCount,unix.Malloc,unix.MismatchedDeallocator -analyzer-output=plist -analyzer-config deadcode.DeadStores:ShowFixIts=true -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/edges-new.mm.tmp -w /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/edges-new.mm : 'RUN: at line 2'; grep -Ev '^[[:space:]]*.* version .*[[:space:]]*$|^[[:space:]]*/.*[[:space:]]*$|^[[:space:]]*.:.*[[:space:]]*$' parser at end of file #0 0x0000ffff9615acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff96159100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9615b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9f090800 (linux-vdso.so.1+0x800) #4 0x0000ffff9e3b3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9e3b3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9e3b3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9e3b3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9e3b3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9e3b3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff9e3b3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff9e3b3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9e060c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9e060c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9e060c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9e060c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9e061ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9e061ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9e061ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9e061ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff9e074770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff9e074770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff9e074770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff9e075cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff9e075cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff9e075cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff9e075190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff9e075190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff9e075190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff9e0817d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff9e0817d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff9e0817d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9e08b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9e08b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9e08b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9dfef72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9dfef72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9dfef72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9dfef72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9dfefbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9dfefbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9dfefbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff9dfc31c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff9dfc31c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff9dfc31c0 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff9dfffb5c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff9dfffb5c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff9dfffb5c clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:42 #48 0x0000ffff9e01daa8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff9e01daa8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff9e01daa8 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff9e2e787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff9e2e787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff9e2e787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff9e2e787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff9e2e787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff9e2e87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffff9e2e87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff9e2e87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff9e2ecde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff9e2ecde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff9e2ecde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff9e2ecde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff9e2ecde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff9c741e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffff9c741e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff9c741e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffff9c741e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff9de07ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff9ddbfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff9ddbfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff9ddbfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff9de4610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaaada159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaaada194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaaada1aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaaada11fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff953b098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff953b0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaaada120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/edges-new.mm.script: line 2: 1825476 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,deadcode.DeadStores,osx.cocoa.RetainCount,unix.Malloc,unix.MismatchedDeallocator -analyzer-output=plist -analyzer-config deadcode.DeadStores:ShowFixIts=true -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/edges-new.mm.tmp -w /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/edges-new.mm -- ******************** Testing: 0 FAIL: Clang :: Analysis/engine/replay-without-inlining.c (699 of 18953) ******************** TEST 'Clang :: Analysis/engine/replay-without-inlining.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/engine/replay-without-inlining.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/engine/replay-without-inlining.c 1. parser at end of file 2. While analyzing stack: #0 Calling gb at line 28 #1 Calling getID at line 34 #2 Calling getH at line 43 #3 Calling readILBM at line 56 #4 Calling bitmapImageRepFromIFF 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/engine/replay-without-inlining.c:25:12: Error evaluating statement #0 0x0000ffff9409acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff94099100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9409b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9cfd6800 (linux-vdso.so.1+0x800) #4 0x0000ffff9bf9cd64 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9bf9cd64 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9bf9cd64 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9bf9cd64 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffff9bf9cd64 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffff9bf9cd64 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffff9bf480bc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffff9bf480bc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffff9bf480bc clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffff9bf5ce94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffff9bf5ce94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffff9bf5ce94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffff9bf5ce94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffff9bf5ce94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffff9bf5ce94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffff9bf5ce94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffff9bf5ce94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffff9bf5ce94 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffff9bf5d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff9bf5d310 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffff9bf5d5dc clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffff9bf5d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffff9bf5d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffff9bf5d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffff9bf5d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffff9bf5d764 clang::ento::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 0x0000ffff9c22787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff9c22787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff9c22787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffff9c22787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffff9c22787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffff9c2287e8 llvm::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 0x0000ffff9c2287e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffff9c2287e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffff9c22cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffff9c22cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffff9c22cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffff9c22cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffff9c22cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffff9a681e58 __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 0x0000ffff9a681e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffff9a681e58 void clang::finalize>, 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 0x0000ffff9a681e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffff9bd47ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffff9bcffc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffff9bcffc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffff9bcffc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffff9bd8610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaab75e59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaab75e94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaab75eaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaab75e1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffff932f098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffff932f0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaab75e20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/engine/Output/replay-without-inlining.c.script: line 1: 1825498 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/engine/replay-without-inlining.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/end-function-return-stmt.cpp (700 of 18953) ******************** TEST 'Clang :: Analysis/end-function-return-stmt.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.AnalysisOrder -analyzer-config debug.AnalysisOrder:EndFunction=true /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/end-function-return-stmt.cpp 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/end-function-return-stmt.cpp -- Exit Code: 1 Command Output (stderr): -- /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/end-function-return-stmt.cpp:24:16: error: CHECK-NEXT: expected string not found in input // CHECK-NEXT: ReturnStmt: yes ^ :3:379: note: scanning from here 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.AnalysisOrder -analyzer-config debug.AnalysisOrder:EndFunction=true /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/end-function-return-stmt.cpp ^ :6:21: note: possible intended match here #0 Calling endsWithReturnStmt() ^ Input file: Check file: /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/end-function-return-stmt.cpp -dump-input=help explains the following input dump. Input was: <<<<<< 1: PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. 2: Stack dump: 3: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.AnalysisOrder -analyzer-config debug.AnalysisOrder:EndFunction=true /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/end-function-return-stmt.cpp next:24'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found 4: 1. parser at end of file next:24'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5: 2. While analyzing stack: next:24'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6: #0 Calling endsWithReturnStmt() next:24'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ next:24'1 ? possible intended match 7: 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/end-function-return-stmt.cpp:19:3: Error evaluating statement next:24'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 8: #0 0x0000ffffa8d4acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) next:24'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 9: #1 0x0000ffffa8d49100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) next:24'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10: #2 0x0000ffffa8d4b388 (/usr/lib64/libLLVM-17.so+0x9bb388) next:24'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 11: #3 0x0000ffffb1c88800 (linux-vdso.so.1+0x800) next:24'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0 FAIL: Clang :: Analysis/enum-cast-out-of-range.cpp (701 of 18953) ******************** TEST 'Clang :: Analysis/enum-cast-out-of-range.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.cplusplus.EnumCastOutOfRange -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/enum-cast-out-of-range.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.cplusplus.EnumCastOutOfRange -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/enum-cast-out-of-range.cpp 1. parser at end of file #0 0x0000ffff8196acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff81969100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8196b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8a8ab800 (linux-vdso.so.1+0x800) #4 0x0000ffff8981cc54 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff8981cc54 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff8981cc54 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff8981cc54 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff8981cc54 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff8981cc54 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff8981cc54 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff8981cc54 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 0x0000ffff8981d578 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 0x0000ffff8982d5a4 clang::ento::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 0x0000ffff8982d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #15 0x0000ffff8982d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #16 0x0000ffff8982d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #17 0x0000ffff8982d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #18 0x0000ffff8982d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #19 0x0000ffff89af787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffff89af787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffff89af787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #22 0x0000ffff89af787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #23 0x0000ffff89af787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #24 0x0000ffff89af87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #25 0x0000ffff89af87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #26 0x0000ffff89af87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #27 0x0000ffff89afcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #28 0x0000ffff89afcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #29 0x0000ffff89afcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #30 0x0000ffff89afcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #31 0x0000ffff89afcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #32 0x0000ffff87f51e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #33 0x0000ffff87f51e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #34 0x0000ffff87f51e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #35 0x0000ffff87f51e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #36 0x0000ffff89617ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #37 0x0000ffff895cfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #38 0x0000ffff895cfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #39 0x0000ffff895cfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #40 0x0000ffff8965610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #41 0x0000aaaab79e59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #42 0x0000aaaab79e94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #43 0x0000aaaab79eaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #44 0x0000aaaab79e1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #45 0x0000ffff80bc098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #46 0x0000ffff80bc0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #47 0x0000aaaab79e20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/enum-cast-out-of-range.cpp.script: line 1: 1825512 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.cplusplus.EnumCastOutOfRange -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/enum-cast-out-of-range.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/enum.cpp (702 of 18953) ******************** TEST 'Clang :: Analysis/enum.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/enum.cpp -- Exit Code: 139 Command Output (stderr): -- /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/enum.cpp:34:11: warning: enumeration value 'T' not handled in switch [-Wswitch] 34 | switch (E) { | ^ /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/enum.cpp:43:11: warning: enumeration value 'T' not handled in switch [-Wswitch] 43 | switch (E) { | ^ /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/enum.cpp:53:11: warning: enumeration value 'T' not handled in switch [-Wswitch] 53 | switch (E) { | ^ /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/enum.cpp:64:11: warning: enumeration value 'T' not handled in switch [-Wswitch] 64 | switch (E) { | ^ PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/enum.cpp 1. parser at end of file #0 0x0000ffff791bacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff791b9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff791bb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff820f0800 (linux-vdso.so.1+0x800) #4 0x0000ffff81413688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff81413688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff81413688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff81413688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff81413688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff81413688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff81413688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff81413688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff810c0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff810c0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff810c0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff810c0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff810c2ce8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff810c2ce8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff810c2ce8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff810c2ce8 (anonymous namespace)::RangeConstraintManager::assumeSymWithinInclusiveRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3224:0 #20 0x0000ffff810d4e58 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff810d4e58 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff810d4e58 clang::ento::RangedConstraintManager::assumeSymInclusiveRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:129:64 #23 0x0000ffff810d53b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff810d53b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff810d53b4 clang::ento::SimpleConstraintManager::assumeInclusiveRangeInternal(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:118:67 #26 0x0000ffff8104fd48 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8104fd48 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8104fd48 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:105:75 #29 0x0000ffff8104fd48 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeInclusiveRangeDual(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #30 0x0000ffff810661e8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff810661e8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff810661e8 clang::ento::ProgramState::assumeInclusiveRange(clang::ento::DefinedOrUnknownSVal, llvm::APSInt const&, llvm::APSInt const&) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:746:43 #33 0x0000ffff810661e8 clang::ento::ExprEngine::processSwitch(clang::ento::SwitchNodeBuilder&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3004:42 #34 0x0000ffff8106dbbc clang::ento::CoreEngine::HandleBlockExit(clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:422:0 #35 0x0000ffff8107d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x0000ffff8107d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x0000ffff8107d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #38 0x0000ffff8107d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #39 0x0000ffff8107d764 clang::ento::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 0x0000ffff8134787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #41 0x0000ffff8134787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #42 0x0000ffff8134787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #43 0x0000ffff8134787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #44 0x0000ffff8134787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #45 0x0000ffff813487e8 llvm::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 0x0000ffff813487e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #47 0x0000ffff813487e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #48 0x0000ffff8134cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #49 0x0000ffff8134cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #50 0x0000ffff8134cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #51 0x0000ffff8134cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #52 0x0000ffff8134cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #53 0x0000ffff7f7a1e58 __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 0x0000ffff7f7a1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #55 0x0000ffff7f7a1e58 void clang::finalize>, 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 0x0000ffff7f7a1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #57 0x0000ffff80e67ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #58 0x0000ffff80e1fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #59 0x0000ffff80e1fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #60 0x0000ffff80e1fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #61 0x0000ffff80ea610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #62 0x0000aaaae41259f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #63 0x0000aaaae41294b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #64 0x0000aaaae412aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #65 0x0000aaaae4121fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #66 0x0000ffff7841098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #67 0x0000ffff78410a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #68 0x0000aaaae41220b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/enum.cpp.script: line 1: 1825516 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/enum.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/equality_tracking.c (703 of 18953) ******************** TEST 'Clang :: Analysis/equality_tracking.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/equality_tracking.c -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/equality_tracking.c -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false 1. parser at end of file 2. While analyzing stack: #0 Calling deleteAllPoints 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/equality_tracking.c:288:5 : Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/equality_tracking.c:288:5 : Error evaluating statement #0 0x0000ffffad91acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffad919100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffad91b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb6859800 (linux-vdso.so.1+0x800) #4 0x0000ffffb57fa900 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffffb57fa900 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffb57fa900 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffb57fa900 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffb57fa900 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffb57fa900 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffb57fa900 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x0000ffffb57fa900 getConstraint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1055:37 #12 0x0000ffffb57fa900 (anonymous namespace)::getConstraint(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1060:23 #13 0x0000ffffb57fa9dc (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 0x0000ffffb580e654 clang::ento::ProgramState::getSVal(clang::ento::Loc, clang::QualType) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:273:0 #15 0x0000ffffb57c2664 clang::ento::ExprEngine::evalLoad(clang::ento::ExplodedNodeSet&, clang::Expr const*, clang::Expr const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, clang::ProgramPointTag const*, clang::QualType) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3670:25 #16 0x0000ffffb57d2170 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #17 0x0000ffffb57d2170 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #18 0x0000ffffb57d2170 clang::ento::ExprEngine::VisitCast(clang::CastExpr const*, clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:292:0 #19 0x0000ffffb57db884 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #20 0x0000ffffb57db884 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #21 0x0000ffffb57db884 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2258:0 #22 0x0000ffffb57dcf08 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #23 0x0000ffffb57dd1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffb57dd41c clang::ento::CoreEngine::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 0x0000ffffb57dd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffffb57dd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffffb57dd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffffb57dd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffffb57dd764 clang::ento::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 0x0000ffffb5aa787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffffb5aa787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffffb5aa787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffffb5aa787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffffb5aa787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffffb5aa87e8 llvm::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 0x0000ffffb5aa87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffffb5aa87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffffb5aacde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffffb5aacde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffffb5aacde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffffb5aacde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffffb5aacde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffffb3f01e58 __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 0x0000ffffb3f01e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffffb3f01e58 void clang::finalize>, 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 0x0000ffffb3f01e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffffb55c7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffffb557fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffffb557fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffffb557fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffffb560610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaacc7159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaacc7194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaacc71aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaacc711fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffffacb7098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffffacb70a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaacc7120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/equality_tracking.c.script: line 1: 1825530 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/equality_tracking.c -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -- ******************** Testing: 0 FAIL: Clang :: Analysis/errno-notes.c (704 of 18953) ******************** TEST 'Clang :: Analysis/errno-notes.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify -analyzer-output text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/errno-notes.c -analyzer-checker=core -analyzer-checker=apiModeling.Errno -analyzer-checker=debug.ExprInspection -analyzer-checker=debug.ErrnoTest -analyzer-checker=alpha.unix.Errno -DERRNO_VAR : 'RUN: at line 9'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify -analyzer-output text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/errno-notes.c -analyzer-checker=core -analyzer-checker=apiModeling.Errno -analyzer-checker=debug.ExprInspection -analyzer-checker=debug.ErrnoTest -analyzer-checker=alpha.unix.Errno -DERRNO_FUNC -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify -analyzer-output text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/errno-notes.c -analyzer-checker=core -analyzer-checker=apiModeling.Errno -analyzer-checker=debug.ExprInspection -analyzer-checker=debug.ErrnoTest -analyzer-checker=alpha.unix.Errno -DERRNO_VAR 1. parser at end of file #0 0x0000ffff9418acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff94189100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9418b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9d0cc800 (linux-vdso.so.1+0x800) #4 0x0000ffff9c0c2628 clang::ento::MemRegion::getKind() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h:172:0 #5 0x0000ffff9c0c2628 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 0x0000ffff9c0c2628 llvm::isa_impl::doit(clang::ento::MemRegion const&) /usr/include/llvm/Support/Casting.h:64:0 #7 0x0000ffff9c0c2628 llvm::isa_impl_cl::doit(clang::ento::MemRegion const*) /usr/include/llvm/Support/Casting.h:110:0 #8 0x0000ffff9c0c2628 llvm::isa_impl_wrap::doit(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:137:0 #9 0x0000ffff9c0c2628 llvm::isa_impl_wrap::doit(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:129:0 #10 0x0000ffff9c0c2628 llvm::CastIsPossible::isPossible(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:257:0 #11 0x0000ffff9c0c2628 llvm::CastInfo::doCastIfPossible(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:493:0 #12 0x0000ffff9c0c2628 decltype(auto) llvm::dyn_cast(clang::ento::MemRegion const*) /usr/include/llvm/Support/Casting.h:663:0 #13 0x0000ffff9c0c2628 (anonymous namespace)::RegionStoreManager::bind((anonymous namespace)::RegionBindingsRef const&, clang::ento::Loc, clang::ento::SVal) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RegionStore.cpp:2368:0 #14 0x0000ffff9c0c2b3c asImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:258:62 #15 0x0000ffff9c0c2b3c asStore /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RegionStore.cpp:225:23 #16 0x0000ffff9c0c2b3c (anonymous namespace)::RegionStoreManager::Bind(void const*, clang::ento::Loc, clang::ento::SVal) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RegionStore.cpp:443:0 #17 0x0000ffff9c07cb28 clang::ento::ProgramState::makeWithStore(clang::ento::StoreRef const&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:434:27 #18 0x0000ffff9c07cb28 clang::ento::ProgramState::bindLoc(clang::ento::Loc, clang::ento::SVal, clang::LocationContext const*, bool) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:120:0 #19 0x0000ffff9c158fa8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #20 0x0000ffff9c158fa8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #21 0x0000ffff9c158fa8 clang::ento::errno_modeling::setErrnoValue(llvm::IntrusiveRefCntPtr, clang::ento::CheckerContext&, unsigned long, clang::ento::errno_modeling::ErrnoCheckState) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ErrnoModeling.cpp:240:0 #22 0x0000ffff9c15a95c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #23 0x0000ffff9c15a95c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #24 0x0000ffff9c15a95c checkBeginFunction /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ErrnoModeling.cpp:149:0 #25 0x0000ffff9c15a95c 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 0x0000ffff9c008388 expandGraphWithCheckers<(anonymous namespace)::CheckBeginFunctionContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #27 0x0000ffff9c008388 clang::ento::CheckerManager::runCheckersForBeginFunction(clang::ento::ExplodedNodeSet&, clang::BlockEdge const&, clang::ento::ExplodedNode*, clang::ento::ExprEngine&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:441:0 #28 0x0000ffff9c04da24 llvm::SaveAndRestore::~SaveAndRestore() /usr/include/llvm/Support/SaveAndRestore.h:29:25 #29 0x0000ffff9c04da24 clang::ento::ExprEngine::processBeginOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::BlockEdge const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2884:1 #30 0x0000ffff9c04da24 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:124:0 #31 0x0000ffff9c31787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #32 0x0000ffff9c31787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #33 0x0000ffff9c31787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #34 0x0000ffff9c31787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #35 0x0000ffff9c31787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #36 0x0000ffff9c3187e8 llvm::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 0x0000ffff9c3187e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #38 0x0000ffff9c3187e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #39 0x0000ffff9c31cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #40 0x0000ffff9c31cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #41 0x0000ffff9c31cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #42 0x0000ffff9c31cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #43 0x0000ffff9c31cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #44 0x0000ffff9a771e58 __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 0x0000ffff9a771e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #46 0x0000ffff9a771e58 void clang::finalize>, 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 0x0000ffff9a771e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #48 0x0000ffff9be37ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #49 0x0000ffff9bdefc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #50 0x0000ffff9bdefc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #51 0x0000ffff9bdefc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #52 0x0000ffff9be7610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #53 0x0000aaaaac7359f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #54 0x0000aaaaac7394b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #55 0x0000aaaaac73aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #56 0x0000aaaaac731fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #57 0x0000ffff933e098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #58 0x0000ffff933e0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #59 0x0000aaaaac7320b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/errno-notes.c.script: line 2: 1825537 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify -analyzer-output text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/errno-notes.c -analyzer-checker=core -analyzer-checker=apiModeling.Errno -analyzer-checker=debug.ExprInspection -analyzer-checker=debug.ErrnoTest -analyzer-checker=alpha.unix.Errno -DERRNO_VAR -- ******************** Testing: 0 FAIL: Clang :: Analysis/errno-options.c (705 of 18953) ******************** TEST 'Clang :: Analysis/errno-options.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/errno-options.c -analyzer-checker=core -analyzer-checker=apiModeling.Errno -analyzer-checker=debug.ErrnoTest -analyzer-checker=alpha.unix.Errno -analyzer-config alpha.unix.Errno:AllowErrnoReadOutsideConditionExpressions=false -DERRNO_VAR : 'RUN: at line 9'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/errno-options.c -analyzer-checker=core -analyzer-checker=apiModeling.Errno -analyzer-checker=debug.ErrnoTest -analyzer-checker=alpha.unix.Errno -analyzer-config alpha.unix.Errno:AllowErrnoReadOutsideConditionExpressions=false -DERRNO_FUNC -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/errno-options.c -analyzer-checker=core -analyzer-checker=apiModeling.Errno -analyzer-checker=debug.ErrnoTest -analyzer-checker=alpha.unix.Errno -analyzer-config alpha.unix.Errno:AllowErrnoReadOutsideConditionExpressions=false -DERRNO_VAR 1. parser at end of file #0 0x0000ffff783cacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff783c9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff783cb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff81302800 (linux-vdso.so.1+0x800) #4 0x0000ffff80302628 clang::ento::MemRegion::getKind() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h:172:0 #5 0x0000ffff80302628 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 0x0000ffff80302628 llvm::isa_impl::doit(clang::ento::MemRegion const&) /usr/include/llvm/Support/Casting.h:64:0 #7 0x0000ffff80302628 llvm::isa_impl_cl::doit(clang::ento::MemRegion const*) /usr/include/llvm/Support/Casting.h:110:0 #8 0x0000ffff80302628 llvm::isa_impl_wrap::doit(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:137:0 #9 0x0000ffff80302628 llvm::isa_impl_wrap::doit(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:129:0 #10 0x0000ffff80302628 llvm::CastIsPossible::isPossible(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:257:0 #11 0x0000ffff80302628 llvm::CastInfo::doCastIfPossible(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:493:0 #12 0x0000ffff80302628 decltype(auto) llvm::dyn_cast(clang::ento::MemRegion const*) /usr/include/llvm/Support/Casting.h:663:0 #13 0x0000ffff80302628 (anonymous namespace)::RegionStoreManager::bind((anonymous namespace)::RegionBindingsRef const&, clang::ento::Loc, clang::ento::SVal) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RegionStore.cpp:2368:0 #14 0x0000ffff80302b3c asImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:258:62 #15 0x0000ffff80302b3c asStore /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RegionStore.cpp:225:23 #16 0x0000ffff80302b3c (anonymous namespace)::RegionStoreManager::Bind(void const*, clang::ento::Loc, clang::ento::SVal) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RegionStore.cpp:443:0 #17 0x0000ffff802bcb28 clang::ento::ProgramState::makeWithStore(clang::ento::StoreRef const&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:434:27 #18 0x0000ffff802bcb28 clang::ento::ProgramState::bindLoc(clang::ento::Loc, clang::ento::SVal, clang::LocationContext const*, bool) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:120:0 #19 0x0000ffff80398fa8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #20 0x0000ffff80398fa8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #21 0x0000ffff80398fa8 clang::ento::errno_modeling::setErrnoValue(llvm::IntrusiveRefCntPtr, clang::ento::CheckerContext&, unsigned long, clang::ento::errno_modeling::ErrnoCheckState) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ErrnoModeling.cpp:240:0 #22 0x0000ffff8039a95c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #23 0x0000ffff8039a95c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #24 0x0000ffff8039a95c checkBeginFunction /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ErrnoModeling.cpp:149:0 #25 0x0000ffff8039a95c 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 0x0000ffff80248388 expandGraphWithCheckers<(anonymous namespace)::CheckBeginFunctionContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #27 0x0000ffff80248388 clang::ento::CheckerManager::runCheckersForBeginFunction(clang::ento::ExplodedNodeSet&, clang::BlockEdge const&, clang::ento::ExplodedNode*, clang::ento::ExprEngine&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:441:0 #28 0x0000ffff8028da24 llvm::SaveAndRestore::~SaveAndRestore() /usr/include/llvm/Support/SaveAndRestore.h:29:25 #29 0x0000ffff8028da24 clang::ento::ExprEngine::processBeginOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::BlockEdge const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2884:1 #30 0x0000ffff8028da24 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:124:0 #31 0x0000ffff8055787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #32 0x0000ffff8055787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #33 0x0000ffff8055787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #34 0x0000ffff8055787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #35 0x0000ffff8055787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #36 0x0000ffff805587e8 llvm::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 0x0000ffff805587e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #38 0x0000ffff805587e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #39 0x0000ffff8055cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #40 0x0000ffff8055cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #41 0x0000ffff8055cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #42 0x0000ffff8055cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #43 0x0000ffff8055cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #44 0x0000ffff7e9b1e58 __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 0x0000ffff7e9b1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #46 0x0000ffff7e9b1e58 void clang::finalize>, 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 0x0000ffff7e9b1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #48 0x0000ffff80077ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #49 0x0000ffff8002fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #50 0x0000ffff8002fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #51 0x0000ffff8002fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #52 0x0000ffff800b610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #53 0x0000aaaab1be59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #54 0x0000aaaab1be94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #55 0x0000aaaab1beaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #56 0x0000aaaab1be1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #57 0x0000ffff7762098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #58 0x0000ffff77620a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #59 0x0000aaaab1be20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/errno-options.c.script: line 2: 1825554 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/errno-options.c -analyzer-checker=core -analyzer-checker=apiModeling.Errno -analyzer-checker=debug.ErrnoTest -analyzer-checker=alpha.unix.Errno -analyzer-config alpha.unix.Errno:AllowErrnoReadOutsideConditionExpressions=false -DERRNO_VAR -- ******************** Testing: 0 FAIL: Clang :: Analysis/errno-stdlibraryfunctions-notes.c (706 of 18953) ******************** TEST 'Clang :: Analysis/errno-stdlibraryfunctions-notes.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify -analyzer-output text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/errno-stdlibraryfunctions-notes.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-checker=alpha.unix.StdCLibraryFunctions -analyzer-checker=apiModeling.Errno -analyzer-checker=alpha.unix.Errno -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify -analyzer-output text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/errno-stdlibraryfunctions-notes.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-checker=alpha.unix.StdCLibraryFunctions -analyzer-checker=apiModeling.Errno -analyzer-checker=alpha.unix.Errno -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true 1. parser at end of file #0 0x0000ffff7948acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff79489100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7948b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff823c8800 (linux-vdso.so.1+0x800) #4 0x0000ffff813c2628 clang::ento::MemRegion::getKind() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h:172:0 #5 0x0000ffff813c2628 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 0x0000ffff813c2628 llvm::isa_impl::doit(clang::ento::MemRegion const&) /usr/include/llvm/Support/Casting.h:64:0 #7 0x0000ffff813c2628 llvm::isa_impl_cl::doit(clang::ento::MemRegion const*) /usr/include/llvm/Support/Casting.h:110:0 #8 0x0000ffff813c2628 llvm::isa_impl_wrap::doit(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:137:0 #9 0x0000ffff813c2628 llvm::isa_impl_wrap::doit(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:129:0 #10 0x0000ffff813c2628 llvm::CastIsPossible::isPossible(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:257:0 #11 0x0000ffff813c2628 llvm::CastInfo::doCastIfPossible(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:493:0 #12 0x0000ffff813c2628 decltype(auto) llvm::dyn_cast(clang::ento::MemRegion const*) /usr/include/llvm/Support/Casting.h:663:0 #13 0x0000ffff813c2628 (anonymous namespace)::RegionStoreManager::bind((anonymous namespace)::RegionBindingsRef const&, clang::ento::Loc, clang::ento::SVal) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RegionStore.cpp:2368:0 #14 0x0000ffff813c2b3c asImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:258:62 #15 0x0000ffff813c2b3c asStore /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RegionStore.cpp:225:23 #16 0x0000ffff813c2b3c (anonymous namespace)::RegionStoreManager::Bind(void const*, clang::ento::Loc, clang::ento::SVal) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RegionStore.cpp:443:0 #17 0x0000ffff8137cb28 clang::ento::ProgramState::makeWithStore(clang::ento::StoreRef const&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:434:27 #18 0x0000ffff8137cb28 clang::ento::ProgramState::bindLoc(clang::ento::Loc, clang::ento::SVal, clang::LocationContext const*, bool) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:120:0 #19 0x0000ffff81458fa8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #20 0x0000ffff81458fa8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #21 0x0000ffff81458fa8 clang::ento::errno_modeling::setErrnoValue(llvm::IntrusiveRefCntPtr, clang::ento::CheckerContext&, unsigned long, clang::ento::errno_modeling::ErrnoCheckState) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ErrnoModeling.cpp:240:0 #22 0x0000ffff8145a95c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #23 0x0000ffff8145a95c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #24 0x0000ffff8145a95c checkBeginFunction /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ErrnoModeling.cpp:149:0 #25 0x0000ffff8145a95c 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 0x0000ffff81308388 expandGraphWithCheckers<(anonymous namespace)::CheckBeginFunctionContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #27 0x0000ffff81308388 clang::ento::CheckerManager::runCheckersForBeginFunction(clang::ento::ExplodedNodeSet&, clang::BlockEdge const&, clang::ento::ExplodedNode*, clang::ento::ExprEngine&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:441:0 #28 0x0000ffff8134da24 llvm::SaveAndRestore::~SaveAndRestore() /usr/include/llvm/Support/SaveAndRestore.h:29:25 #29 0x0000ffff8134da24 clang::ento::ExprEngine::processBeginOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::BlockEdge const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2884:1 #30 0x0000ffff8134da24 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:124:0 #31 0x0000ffff8161787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #32 0x0000ffff8161787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #33 0x0000ffff8161787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #34 0x0000ffff8161787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #35 0x0000ffff8161787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #36 0x0000ffff816187e8 llvm::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 0x0000ffff816187e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #38 0x0000ffff816187e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #39 0x0000ffff8161cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #40 0x0000ffff8161cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #41 0x0000ffff8161cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #42 0x0000ffff8161cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #43 0x0000ffff8161cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #44 0x0000ffff7fa71e58 __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 0x0000ffff7fa71e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #46 0x0000ffff7fa71e58 void clang::finalize>, 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 0x0000ffff7fa71e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #48 0x0000ffff81137ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #49 0x0000ffff810efc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #50 0x0000ffff810efc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #51 0x0000ffff810efc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #52 0x0000ffff8117610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #53 0x0000aaaabeec59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #54 0x0000aaaabeec94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #55 0x0000aaaabeecaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #56 0x0000aaaabeec1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #57 0x0000ffff786e098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #58 0x0000ffff786e0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #59 0x0000aaaabeec20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/errno-stdlibraryfunctions-notes.c.script: line 1: 1825552 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify -analyzer-output text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/errno-stdlibraryfunctions-notes.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-checker=alpha.unix.StdCLibraryFunctions -analyzer-checker=apiModeling.Errno -analyzer-checker=alpha.unix.Errno -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true -- ******************** Testing: 0 FAIL: Clang :: Analysis/errno-stdlibraryfunctions.c (707 of 18953) ******************** TEST 'Clang :: Analysis/errno-stdlibraryfunctions.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/errno-stdlibraryfunctions.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-checker=alpha.unix.StdCLibraryFunctions -analyzer-checker=apiModeling.Errno -analyzer-checker=alpha.unix.Errno -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/errno-stdlibraryfunctions.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-checker=alpha.unix.StdCLibraryFunctions -analyzer-checker=apiModeling.Errno -analyzer-checker=alpha.unix.Errno -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true 1. parser at end of file #0 0x0000ffffa0c1acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa0c19100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa0c1b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa9b59800 (linux-vdso.so.1+0x800) #4 0x0000ffffa8b52628 clang::ento::MemRegion::getKind() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h:172:0 #5 0x0000ffffa8b52628 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 0x0000ffffa8b52628 llvm::isa_impl::doit(clang::ento::MemRegion const&) /usr/include/llvm/Support/Casting.h:64:0 #7 0x0000ffffa8b52628 llvm::isa_impl_cl::doit(clang::ento::MemRegion const*) /usr/include/llvm/Support/Casting.h:110:0 #8 0x0000ffffa8b52628 llvm::isa_impl_wrap::doit(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:137:0 #9 0x0000ffffa8b52628 llvm::isa_impl_wrap::doit(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:129:0 #10 0x0000ffffa8b52628 llvm::CastIsPossible::isPossible(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:257:0 #11 0x0000ffffa8b52628 llvm::CastInfo::doCastIfPossible(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:493:0 #12 0x0000ffffa8b52628 decltype(auto) llvm::dyn_cast(clang::ento::MemRegion const*) /usr/include/llvm/Support/Casting.h:663:0 #13 0x0000ffffa8b52628 (anonymous namespace)::RegionStoreManager::bind((anonymous namespace)::RegionBindingsRef const&, clang::ento::Loc, clang::ento::SVal) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RegionStore.cpp:2368:0 #14 0x0000ffffa8b52b3c asImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:258:62 #15 0x0000ffffa8b52b3c asStore /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RegionStore.cpp:225:23 #16 0x0000ffffa8b52b3c (anonymous namespace)::RegionStoreManager::Bind(void const*, clang::ento::Loc, clang::ento::SVal) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RegionStore.cpp:443:0 #17 0x0000ffffa8b0cb28 clang::ento::ProgramState::makeWithStore(clang::ento::StoreRef const&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:434:27 #18 0x0000ffffa8b0cb28 clang::ento::ProgramState::bindLoc(clang::ento::Loc, clang::ento::SVal, clang::LocationContext const*, bool) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:120:0 #19 0x0000ffffa8be8fa8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #20 0x0000ffffa8be8fa8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #21 0x0000ffffa8be8fa8 clang::ento::errno_modeling::setErrnoValue(llvm::IntrusiveRefCntPtr, clang::ento::CheckerContext&, unsigned long, clang::ento::errno_modeling::ErrnoCheckState) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ErrnoModeling.cpp:240:0 #22 0x0000ffffa8bea95c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #23 0x0000ffffa8bea95c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #24 0x0000ffffa8bea95c checkBeginFunction /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ErrnoModeling.cpp:149:0 #25 0x0000ffffa8bea95c 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 0x0000ffffa8a98388 expandGraphWithCheckers<(anonymous namespace)::CheckBeginFunctionContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #27 0x0000ffffa8a98388 clang::ento::CheckerManager::runCheckersForBeginFunction(clang::ento::ExplodedNodeSet&, clang::BlockEdge const&, clang::ento::ExplodedNode*, clang::ento::ExprEngine&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:441:0 #28 0x0000ffffa8adda24 llvm::SaveAndRestore::~SaveAndRestore() /usr/include/llvm/Support/SaveAndRestore.h:29:25 #29 0x0000ffffa8adda24 clang::ento::ExprEngine::processBeginOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::BlockEdge const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2884:1 #30 0x0000ffffa8adda24 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:124:0 #31 0x0000ffffa8da787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #32 0x0000ffffa8da787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #33 0x0000ffffa8da787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #34 0x0000ffffa8da787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #35 0x0000ffffa8da787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #36 0x0000ffffa8da87e8 llvm::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 0x0000ffffa8da87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #38 0x0000ffffa8da87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #39 0x0000ffffa8dacde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #40 0x0000ffffa8dacde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #41 0x0000ffffa8dacde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #42 0x0000ffffa8dacde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #43 0x0000ffffa8dacde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #44 0x0000ffffa7201e58 __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 0x0000ffffa7201e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #46 0x0000ffffa7201e58 void clang::finalize>, 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 0x0000ffffa7201e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #48 0x0000ffffa88c7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #49 0x0000ffffa887fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #50 0x0000ffffa887fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #51 0x0000ffffa887fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #52 0x0000ffffa890610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #53 0x0000aaaab5fd59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #54 0x0000aaaab5fd94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #55 0x0000aaaab5fdaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #56 0x0000aaaab5fd1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #57 0x0000ffff9fe7098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #58 0x0000ffff9fe70a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #59 0x0000aaaab5fd20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/errno-stdlibraryfunctions.c.script: line 1: 1825576 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/errno-stdlibraryfunctions.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-checker=alpha.unix.StdCLibraryFunctions -analyzer-checker=apiModeling.Errno -analyzer-checker=alpha.unix.Errno -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true -- ******************** Testing: 0 FAIL: Clang :: Analysis/eval-predefined-exprs.cpp (708 of 18953) ******************** TEST 'Clang :: Analysis/eval-predefined-exprs.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++17 -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/eval-predefined-exprs.cpp : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++17 -analyzer-checker=core,debug.ExprInspection -verify -triple i386-pc-win32 -fms-compatibility -fms-extensions -DANALYZER_MS /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/eval-predefined-exprs.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++17 -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/eval-predefined-exprs.cpp 1. parser at end of file #0 0x0000ffff8d16acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8d169100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8d16b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff960ad800 (linux-vdso.so.1+0x800) #4 0x0000ffff953c3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff953c3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff953c3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff953c3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff953c3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff953c3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff953c3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff953c3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff95070c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff95070c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff95070c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff95070c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff95071ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff95071ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff95071ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff95071ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff95084770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff95084770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff95084770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff95085cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff95085cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff95085cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff95085190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff95085190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff95085190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff950917d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff950917d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff950917d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9509b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9509b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9509b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff94fff72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff94fff72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff94fff72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff94fff72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff94fffbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff94fffbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff94fffbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff94fd31c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff94fd31c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff94fd31c0 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff9500fb5c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff9500fb5c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff9500fb5c clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:42 #48 0x0000ffff9502daa8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff9502daa8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff9502daa8 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff952f787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff952f787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff952f787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff952f787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff952f787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff952f87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffff952f87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff952f87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff952fcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff952fcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff952fcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff952fcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff952fcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff93751e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffff93751e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff93751e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffff93751e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff94e17ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff94dcfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff94dcfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff94dcfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff94e5610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaad41659f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaad41694b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaad416aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaad4161fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff8c3c098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff8c3c0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaad41620b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/eval-predefined-exprs.cpp.script: line 2: 1825578 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++17 -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/eval-predefined-exprs.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/errno.c (709 of 18953) ******************** TEST 'Clang :: Analysis/errno.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/errno.c -analyzer-checker=core -analyzer-checker=apiModeling.Errno -analyzer-checker=debug.ExprInspection -analyzer-checker=debug.ErrnoTest -analyzer-checker=alpha.unix.Errno -DERRNO_VAR : 'RUN: at line 9'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/errno.c -analyzer-checker=core -analyzer-checker=apiModeling.Errno -analyzer-checker=debug.ExprInspection -analyzer-checker=debug.ErrnoTest -analyzer-checker=alpha.unix.Errno -DERRNO_FUNC -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/errno.c -analyzer-checker=core -analyzer-checker=apiModeling.Errno -analyzer-checker=debug.ExprInspection -analyzer-checker=debug.ErrnoTest -analyzer-checker=alpha.unix.Errno -DERRNO_VAR 1. parser at end of file #0 0x0000ffff9b96acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff9b969100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9b96b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa48a6800 (linux-vdso.so.1+0x800) #4 0x0000ffffa38a2628 clang::ento::MemRegion::getKind() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h:172:0 #5 0x0000ffffa38a2628 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 0x0000ffffa38a2628 llvm::isa_impl::doit(clang::ento::MemRegion const&) /usr/include/llvm/Support/Casting.h:64:0 #7 0x0000ffffa38a2628 llvm::isa_impl_cl::doit(clang::ento::MemRegion const*) /usr/include/llvm/Support/Casting.h:110:0 #8 0x0000ffffa38a2628 llvm::isa_impl_wrap::doit(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:137:0 #9 0x0000ffffa38a2628 llvm::isa_impl_wrap::doit(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:129:0 #10 0x0000ffffa38a2628 llvm::CastIsPossible::isPossible(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:257:0 #11 0x0000ffffa38a2628 llvm::CastInfo::doCastIfPossible(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:493:0 #12 0x0000ffffa38a2628 decltype(auto) llvm::dyn_cast(clang::ento::MemRegion const*) /usr/include/llvm/Support/Casting.h:663:0 #13 0x0000ffffa38a2628 (anonymous namespace)::RegionStoreManager::bind((anonymous namespace)::RegionBindingsRef const&, clang::ento::Loc, clang::ento::SVal) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RegionStore.cpp:2368:0 #14 0x0000ffffa38a2b3c asImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:258:62 #15 0x0000ffffa38a2b3c asStore /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RegionStore.cpp:225:23 #16 0x0000ffffa38a2b3c (anonymous namespace)::RegionStoreManager::Bind(void const*, clang::ento::Loc, clang::ento::SVal) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RegionStore.cpp:443:0 #17 0x0000ffffa385cb28 clang::ento::ProgramState::makeWithStore(clang::ento::StoreRef const&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:434:27 #18 0x0000ffffa385cb28 clang::ento::ProgramState::bindLoc(clang::ento::Loc, clang::ento::SVal, clang::LocationContext const*, bool) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:120:0 #19 0x0000ffffa3938fa8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #20 0x0000ffffa3938fa8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #21 0x0000ffffa3938fa8 clang::ento::errno_modeling::setErrnoValue(llvm::IntrusiveRefCntPtr, clang::ento::CheckerContext&, unsigned long, clang::ento::errno_modeling::ErrnoCheckState) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ErrnoModeling.cpp:240:0 #22 0x0000ffffa393a95c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #23 0x0000ffffa393a95c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #24 0x0000ffffa393a95c checkBeginFunction /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ErrnoModeling.cpp:149:0 #25 0x0000ffffa393a95c 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 0x0000ffffa37e8388 expandGraphWithCheckers<(anonymous namespace)::CheckBeginFunctionContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #27 0x0000ffffa37e8388 clang::ento::CheckerManager::runCheckersForBeginFunction(clang::ento::ExplodedNodeSet&, clang::BlockEdge const&, clang::ento::ExplodedNode*, clang::ento::ExprEngine&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:441:0 #28 0x0000ffffa382da24 llvm::SaveAndRestore::~SaveAndRestore() /usr/include/llvm/Support/SaveAndRestore.h:29:25 #29 0x0000ffffa382da24 clang::ento::ExprEngine::processBeginOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::BlockEdge const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2884:1 #30 0x0000ffffa382da24 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:124:0 #31 0x0000ffffa3af787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #32 0x0000ffffa3af787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #33 0x0000ffffa3af787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #34 0x0000ffffa3af787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #35 0x0000ffffa3af787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #36 0x0000ffffa3af87e8 llvm::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 0x0000ffffa3af87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #38 0x0000ffffa3af87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #39 0x0000ffffa3afcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #40 0x0000ffffa3afcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #41 0x0000ffffa3afcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #42 0x0000ffffa3afcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #43 0x0000ffffa3afcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #44 0x0000ffffa1f51e58 __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 0x0000ffffa1f51e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #46 0x0000ffffa1f51e58 void clang::finalize>, 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 0x0000ffffa1f51e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #48 0x0000ffffa3617ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #49 0x0000ffffa35cfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #50 0x0000ffffa35cfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #51 0x0000ffffa35cfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #52 0x0000ffffa365610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #53 0x0000aaaaad2459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #54 0x0000aaaaad2494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #55 0x0000aaaaad24aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #56 0x0000aaaaad241fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #57 0x0000ffff9abc098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #58 0x0000ffff9abc0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #59 0x0000aaaaad2420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/errno.c.script: line 2: 1825580 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/errno.c -analyzer-checker=core -analyzer-checker=apiModeling.Errno -analyzer-checker=debug.ExprInspection -analyzer-checker=debug.ErrnoTest -analyzer-checker=alpha.unix.Errno -DERRNO_VAR -- ******************** Testing: 0 FAIL: Clang :: Analysis/exceptions.mm (719 of 18953) ******************** TEST 'Clang :: Analysis/exceptions.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fexceptions -fobjc-exceptions -fcxx-exceptions -analyzer-checker=core,unix.Malloc,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exceptions.mm -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fexceptions -fobjc-exceptions -fcxx-exceptions -analyzer-checker=core,unix.Malloc,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exceptions.mm 1. parser at end of file 2. While analyzing stack: #0 Calling testCXX() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exceptions.mm:34:15: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exceptions.mm:34:15: Error evaluating statement #0 0x0000ffff9a95acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff9a959100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9a95b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa3894800 (linux-vdso.so.1+0x800) #4 0x0000ffffa2b99f20 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa2b99f20 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa2b99f20 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa2b99f20 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa2b99f20 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa2b99f20 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa2b99f20 get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa2b99f20 (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 0x0000ffffa29a83d0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x0000ffffa29a83d0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x0000ffffa29a83d0 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 0x0000ffffa27bc2f8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #16 0x0000ffffa27bc2f8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #17 0x0000ffffa27bc2f8 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool)>::operator()(llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:0 #18 0x0000ffffa27bc2f8 clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:0 #19 0x0000ffffa2881844 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffffa2881844 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffffa2881844 clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:78 #22 0x0000ffffa2881844 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:53 #23 0x0000ffffa288b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x0000ffffa288b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x0000ffffa288b074 clang::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 0x0000ffffa27ef818 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa27ef818 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa27ef818 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #29 0x0000ffffa27ef818 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:68:21 #30 0x0000ffffa2cdd3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffffa2cdd3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffffa2cdd3d4 clang::ento::ProgramState::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 0x0000ffffa29b44b0 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x0000ffffa29b44b0 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x0000ffffa29b44b0 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x0000ffffa29b44b0 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x0000ffffa29b44b0 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x0000ffffa29b44b0 (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 0x0000ffffa29b4900 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #40 0x0000ffffa29b4900 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #41 0x0000ffffa29b4900 (anonymous namespace)::MallocChecker::checkBasicAlloc(clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1217:0 #42 0x0000ffffa29c0e00 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #43 0x0000ffffa29c0e00 void clang::ento::check::PostCall::_checkCall<(anonymous namespace)::MallocChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:183:0 #44 0x0000ffffa27d9524 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #45 0x0000ffffa27d9524 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x0000ffffa27d9524 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #47 0x0000ffffa27d9524 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #48 0x0000ffffa27d9524 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #49 0x0000ffffa28398b8 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #50 0x0000ffffa28398b8 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #51 0x0000ffffa28398b8 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #52 0x0000ffffa28398b8 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #53 0x0000ffffa28398b8 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #54 0x0000ffffa28398b8 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #55 0x0000ffffa283a144 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #56 0x0000ffffa281bea0 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #57 0x0000ffffa281bea0 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #58 0x0000ffffa281cf08 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #59 0x0000ffffa281d1f0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #60 0x0000ffffa281d41c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #61 0x0000ffffa281d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #62 0x0000ffffa281d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #63 0x0000ffffa281d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #64 0x0000ffffa281d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #65 0x0000ffffa281d764 clang::ento::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 0x0000ffffa2ae787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #67 0x0000ffffa2ae787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #68 0x0000ffffa2ae787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #69 0x0000ffffa2ae787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #70 0x0000ffffa2ae787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #71 0x0000ffffa2ae87e8 llvm::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 0x0000ffffa2ae87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #73 0x0000ffffa2ae87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #74 0x0000ffffa2aecde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #75 0x0000ffffa2aecde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #76 0x0000ffffa2aecde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #77 0x0000ffffa2aecde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #78 0x0000ffffa2aecde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #79 0x0000ffffa0f41e58 __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 0x0000ffffa0f41e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #81 0x0000ffffa0f41e58 void clang::finalize>, 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 0x0000ffffa0f41e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #83 0x0000ffffa2607ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #84 0x0000ffffa25bfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #85 0x0000ffffa25bfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #86 0x0000ffffa25bfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #87 0x0000ffffa264610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #88 0x0000aaaaab4959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #89 0x0000aaaaab4994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #90 0x0000aaaaab49aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #91 0x0000aaaaab491fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #92 0x0000ffff99bb098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #93 0x0000ffff99bb0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #94 0x0000aaaaab4920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/exceptions.mm.script: line 1: 1825592 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fexceptions -fobjc-exceptions -fcxx-exceptions -analyzer-checker=core,unix.Malloc,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exceptions.mm -- ******************** Testing: 0 FAIL: Clang :: Analysis/explain-svals.c (723 of 18953) ******************** TEST 'Clang :: Analysis/explain-svals.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/explain-svals.c -analyzer-checker=core.builtin -analyzer-checker=debug.ExprInspection -analyzer-checker=unix.cstring -analyzer-config display-checker-name=false -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/explain-svals.c -analyzer-checker=core.builtin -analyzer-checker=debug.ExprInspection -analyzer-checker=unix.cstring -analyzer-config display-checker-name=false 1. parser at end of file 2. While analyzing stack: #0 Calling test_1 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 0x0000ffff804facd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff804f9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff804fb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8943c800 (linux-vdso.so.1+0x800) #4 0x0000ffff88753688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff88753688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff88753688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff88753688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff88753688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff88753688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff88753688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff88753688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff88400c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff88400c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff88400c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff88400c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff88401ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff88401ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff88401ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff88401ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff88414770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff88414770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff88414770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff88415cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff88415cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff88415cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff88415190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff88415190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff88415190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff884217d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff884217d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff884217d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8842b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8842b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8842b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8838f6d8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8838f6d8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8838f6d8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8838f6d8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff8887d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8887d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8887d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff883a2a0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff883a2a0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff883a2a0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffff883bccac llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffff883bccac llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffff883bccac llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffff883bccac clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffff883bccac clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffff883bcf08 clang::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 0x0000ffff883bd1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff883bd41c clang::ento::CoreEngine::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 0x0000ffff883bd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff883bd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff883bd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff883bd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff883bd764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff8868787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff8868787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff8868787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff8868787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff8868787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff886887e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff886887e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff886887e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff8868cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff8868cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff8868cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff8868cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff8868cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff86ae1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff86ae1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff86ae1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff86ae1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff881a7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff8815fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff8815fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff8815fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff881e610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaad11a59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaad11a94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaad11aaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaad11a1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff7f75098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff7f750a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaad11a20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/explain-svals.c.script: line 1: 1825609 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/explain-svals.c -analyzer-checker=core.builtin -analyzer-checker=debug.ExprInspection -analyzer-checker=unix.cstring -analyzer-config display-checker-name=false -- ******************** Testing: 0 FAIL: Clang :: Analysis/exercise-ps.c (725 of 18953) ******************** TEST 'Clang :: Analysis/exercise-ps.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exercise-ps.c -verify -Wno-error=implicit-function-declaration -analyzer-checker=core -analyzer-config core.CallAndMessage:ArgPointeeInitializedness=true -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exercise-ps.c -verify -Wno-error=implicit-function-declaration -analyzer-checker=core -analyzer-config core.CallAndMessage:ArgPointeeInitializedness=true 1. parser at end of file 2. While analyzing stack: #0 Calling f1 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exercise-ps.c:9:10: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exercise-ps.c:9:10: Error evaluating statement #0 0x0000ffffa68eacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa68e9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa68eb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffaf822800 (linux-vdso.so.1+0x800) #4 0x0000ffffaeb43688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffaeb43688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffaeb43688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffaeb43688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffaeb43688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffaeb43688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffaeb43688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffaeb43688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffae7f0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffae7f0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffae7f0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffae7f0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffae7f1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffae7f1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffae7f1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffae7f1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffae804770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffae804770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffae804770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffae805cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffae805cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffae805cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffae805190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffae805190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffae805190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffae8117d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffae8117d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffae8117d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffae81b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffae81b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffae81b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffae77f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffae77f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffae77f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffae77f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffaec6d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffaec6d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffaec6d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffae89eee0 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffae89eee0 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffae89eee0 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:61 #45 0x0000ffffae89eee0 void clang::ento::check::Location::_checkLocation<(anonymous namespace)::DereferenceChecker>(void*, clang::ento::SVal const&, bool, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:199:46 #46 0x0000ffffae7699b8 void expandGraphWithCheckers<(anonymous namespace)::CheckLocationContext>((anonymous namespace)::CheckLocationContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #47 0x0000ffffae792270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:60 #48 0x0000ffffae792270 clang::ento::ExprEngine::evalLocation(clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::Stmt const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3710:19 #49 0x0000ffffae7924ac llvm::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 0x0000ffffae7924ac llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #51 0x0000ffffae7924ac llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x0000ffffae7924ac clang::ento::ExprEngine::evalLoad(clang::ento::ExplodedNodeSet&, clang::Expr const*, clang::Expr const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, clang::ProgramPointTag const*, clang::QualType) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3653:15 #53 0x0000ffffae7a2170 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #54 0x0000ffffae7a2170 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #55 0x0000ffffae7a2170 clang::ento::ExprEngine::VisitCast(clang::CastExpr const*, clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:292:0 #56 0x0000ffffae7ab884 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #57 0x0000ffffae7ab884 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #58 0x0000ffffae7ab884 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2258:0 #59 0x0000ffffae7acf08 clang::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 0x0000ffffae7ad1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffae7ad41c clang::ento::CoreEngine::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 0x0000ffffae7ad764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #63 0x0000ffffae7ad764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #64 0x0000ffffae7ad764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #65 0x0000ffffae7ad764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #66 0x0000ffffae7ad764 clang::ento::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 0x0000ffffaea7787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #68 0x0000ffffaea7787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #69 0x0000ffffaea7787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #70 0x0000ffffaea7787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #71 0x0000ffffaea7787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #72 0x0000ffffaea787e8 llvm::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 0x0000ffffaea787e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #74 0x0000ffffaea787e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #75 0x0000ffffaea7cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #76 0x0000ffffaea7cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #77 0x0000ffffaea7cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #78 0x0000ffffaea7cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #79 0x0000ffffaea7cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #80 0x0000ffffaced1e58 __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 0x0000ffffaced1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #82 0x0000ffffaced1e58 void clang::finalize>, 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 0x0000ffffaced1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #84 0x0000ffffae597ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #85 0x0000ffffae54fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #86 0x0000ffffae54fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #87 0x0000ffffae54fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #88 0x0000ffffae5d610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #89 0x0000aaaabccd59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #90 0x0000aaaabccd94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #91 0x0000aaaabccdaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #92 0x0000aaaabccd1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #93 0x0000ffffa5b4098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #94 0x0000ffffa5b40a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #95 0x0000aaaabccd20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/exercise-ps.c.script: line 1: 1825603 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exercise-ps.c -verify -Wno-error=implicit-function-declaration -analyzer-checker=core -analyzer-config core.CallAndMessage:ArgPointeeInitializedness=true -- ******************** Testing: 0 FAIL: Clang :: Analysis/explain-svals.m (731 of 18953) ******************** TEST 'Clang :: Analysis/explain-svals.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -triple i386-apple-darwin10 -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/explain-svals.m -analyzer-checker=core.builtin -analyzer-checker=debug.ExprInspection -analyzer-config display-checker-name=false -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -triple i386-apple-darwin10 -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/explain-svals.m -analyzer-checker=core.builtin -analyzer-checker=debug.ExprInspection -analyzer-config display-checker-name=false 1. parser at end of file 2. While analyzing stack: #0 Calling test_3 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/explain-svals.m:59:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/explain-svals.m:59:3: Error evaluating statement #0 0x0000ffff874dacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff874d9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff874db388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff90411800 (linux-vdso.so.1+0x800) #4 0x0000ffff8f733688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8f733688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8f733688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8f733688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8f733688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8f733688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff8f733688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff8f733688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8f3e0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8f3e0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8f3e0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8f3e0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8f3e1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8f3e1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8f3e1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8f3e1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff8f3f4770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff8f3f4770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff8f3f4770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff8f3f5cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff8f3f5cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff8f3f5cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff8f3f5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8f3f5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8f3f5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff8f4017d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff8f4017d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff8f4017d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8f40b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8f40b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8f40b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8f36f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8f36f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8f36f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8f36f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff8f85d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8f85d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8f85d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff8f3d171c std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #43 0x0000ffff8f3d171c std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #44 0x0000ffff8f3d171c std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #45 0x0000ffff8f3d171c std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #46 0x0000ffff8f3d171c std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #47 0x0000ffff8f3d171c clang::ento::ExprEngine::VisitObjCMessage(clang::ObjCMessageExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineObjC.cpp:192:0 #48 0x0000ffff8f39ba38 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #49 0x0000ffff8f39ba38 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2309:0 #50 0x0000ffff8f39cf08 clang::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 0x0000ffff8f39d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8f39d41c clang::ento::CoreEngine::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 0x0000ffff8f39d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff8f39d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff8f39d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff8f39d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff8f39d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff8f66787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff8f66787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff8f66787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff8f66787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff8f66787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff8f6687e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff8f6687e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff8f6687e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff8f66cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff8f66cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff8f66cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff8f66cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff8f66cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff8dac1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff8dac1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff8dac1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff8dac1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff8f187ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff8f13fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff8f13fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff8f13fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff8f1c610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaaba7c59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaaba7c94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaaba7caac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaaba7c1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff8673098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff86730a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaaba7c20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/explain-svals.m.script: line 1: 1825627 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -triple i386-apple-darwin10 -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/explain-svals.m -analyzer-checker=core.builtin -analyzer-checker=debug.ExprInspection -analyzer-config display-checker-name=false -- ******************** Testing: 0 FAIL: Clang :: Analysis/explain-svals.cpp (732 of 18953) ******************** TEST 'Clang :: Analysis/explain-svals.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/explain-svals.cpp -analyzer-checker=core.builtin -analyzer-checker=debug.ExprInspection -analyzer-checker=unix.cstring -analyzer-config display-checker-name=false -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/explain-svals.cpp -analyzer-checker=core.builtin -analyzer-checker=debug.ExprInspection -analyzer-checker=unix.cstring -analyzer-config display-checker-name=false 1. parser at end of file #0 0x0000ffffa498acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa4989100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa498b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffad8c4800 (linux-vdso.so.1+0x800) #4 0x0000ffffacbe3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffacbe3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffacbe3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffacbe3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffacbe3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffacbe3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffacbe3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffacbe3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffac890c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffac890c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffac890c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffac890c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffac891ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffac891ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffac891ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffac891ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffac8a4770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffac8a4770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffac8a4770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffac8a5cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffac8a5cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffac8a5cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffac8a5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffac8a5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffac8a5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffac8b17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffac8b17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffac8b17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffac8bb074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffac8bb074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffac8bb074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffac81f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffac81f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffac81f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffac81f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffac81fbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffac81fbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffac81fbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffac7f31c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffac7f31c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffac7f31c0 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffac82fb5c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffac82fb5c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffac82fb5c clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:42 #48 0x0000ffffac84daa8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffac84daa8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffac84daa8 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffacb1787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffacb1787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffacb1787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffacb1787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffacb1787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffacb187e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffffacb187e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffacb187e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffacb1cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffacb1cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffacb1cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffacb1cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffacb1cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffaaf71e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffffaaf71e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffaaf71e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffffaaf71e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffac637ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffac5efc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffac5efc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffac5efc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffac67610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaae95159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaae95194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaae951aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaae9511fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffffa3be098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffffa3be0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaae95120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/explain-svals.cpp.script: line 1: 1825626 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin10 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/explain-svals.cpp -analyzer-checker=core.builtin -analyzer-checker=debug.ExprInspection -analyzer-checker=unix.cstring -analyzer-config display-checker-name=false -- ******************** Testing: 0 FAIL: Clang :: Analysis/exploded-graph-rewriter/dynamic_types.cpp (734 of 18953) ******************** TEST 'Clang :: Analysis/exploded-graph-rewriter/dynamic_types.cpp' FAILED ******************** Script: -- : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -triple x86_64-unknown-linux-gnu -analyzer-checker=core -analyzer-dump-egraph=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/exploded-graph-rewriter/Output/dynamic_types.cpp.tmp.dot /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exploded-graph-rewriter/dynamic_types.cpp : 'RUN: at line 5'; '/usr/bin/python3.11' /builddir/build/BUILD/clang-17.0.6.src/utils/analyzer/exploded-graph-rewriter.py --dump-dot-only /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/exploded-graph-rewriter/Output/dynamic_types.cpp.tmp.dot | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exploded-graph-rewriter/dynamic_types.cpp -- Exit Code: -11 Command Output (stdout): -- $ ":" "RUN: at line 2" $ "/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang" "-cc1" "-internal-isystem" "/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include" "-nostdsysteminc" "-analyze" "-triple" "x86_64-unknown-linux-gnu" "-analyzer-checker=core" "-analyzer-dump-egraph=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/exploded-graph-rewriter/Output/dynamic_types.cpp.tmp.dot" "/builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exploded-graph-rewriter/dynamic_types.cpp" # command stderr: PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -triple x86_64-unknown-linux-gnu -analyzer-checker=core -analyzer-dump-egraph=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/exploded-graph-rewriter/Output/dynamic_types.cpp.tmp.dot /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exploded-graph-rewriter/dynamic_types.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling test() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exploded-graph-rewriter/dynamic_types.cpp:16:3: Error evaluating New Allocator Call #0 0x0000ffffa4eaacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa4ea9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa4eab388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffaddea800 (linux-vdso.so.1+0x800) #4 0x0000ffffad103688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffad103688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffad103688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffad103688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffad103688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffad103688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffad103688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffad103688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffacdb0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffacdb0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffacdb0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffacdb0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffacdb1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffacdb1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffacdb1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffacdb1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffacdc4770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffacdc4770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffacdc4770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffacdc5cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffacdc5cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffacdc5cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffacdc5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffacdc5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffacdc5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffacdd17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffacdd17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffacdd17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffacddb074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffacddb074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffacddb074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffacd3f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffacd3f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffacd3f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffacd3f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffacd3fbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffacd3fbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffacd3fbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffacd69b98 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #43 0x0000ffffacd69b98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #44 0x0000ffffacd69b98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffffacd69b98 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #46 0x0000ffffacd69b98 clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #47 0x0000ffffacd69fac llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #48 0x0000ffffacd69fac llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #49 0x0000ffffacd69fac clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #50 0x0000ffffacd69fac clang::ento::CoreEngine::enqueue(clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:613:23 #51 0x0000ffffacd69fac clang::ento::ExprEngine::ProcessNewAllocator(clang::CXXNewExpr const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1326:0 #52 0x0000ffffacd6d22c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:984:0 #53 0x0000ffffacd6d310 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #54 0x0000ffffacd6d5dc clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #55 0x0000ffffacd6d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #56 0x0000ffffacd6d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #57 0x0000ffffacd6d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #58 0x0000ffffacd6d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #59 0x0000ffffacd6d764 clang::ento::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 0x0000ffffad03787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #61 0x0000ffffad03787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #62 0x0000ffffad03787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #63 0x0000ffffad03787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #64 0x0000ffffad03787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #65 0x0000ffffad0387e8 llvm::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 0x0000ffffad0387e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #67 0x0000ffffad0387e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #68 0x0000ffffad03cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #69 0x0000ffffad03cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #70 0x0000ffffad03cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #71 0x0000ffffad03cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #72 0x0000ffffad03cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #73 0x0000ffffab491e58 __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 0x0000ffffab491e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #75 0x0000ffffab491e58 void clang::finalize>, 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 0x0000ffffab491e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #77 0x0000ffffacb57ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #78 0x0000ffffacb0fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #79 0x0000ffffacb0fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #80 0x0000ffffacb0fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #81 0x0000ffffacb9610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #82 0x0000aaaabe9159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #83 0x0000aaaabe9194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #84 0x0000aaaabe91aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #85 0x0000aaaabe911fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #86 0x0000ffffa410098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #87 0x0000ffffa4100a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #88 0x0000aaaabe9120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) error: command failed with exit status: -11 -- ******************** Testing: 0 FAIL: Clang :: Analysis/exploded-graph-rewriter/initializers_under_construction.cpp (735 of 18953) ******************** TEST 'Clang :: Analysis/exploded-graph-rewriter/initializers_under_construction.cpp' FAILED ******************** Script: -- : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -triple x86_64-unknown-linux-gnu -analyzer-checker=core -analyzer-dump-egraph=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/exploded-graph-rewriter/Output/initializers_under_construction.cpp.tmp.dot /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exploded-graph-rewriter/initializers_under_construction.cpp : 'RUN: at line 5'; '/usr/bin/python3.11' /builddir/build/BUILD/clang-17.0.6.src/utils/analyzer/exploded-graph-rewriter.py --dump-dot-only /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/exploded-graph-rewriter/Output/initializers_under_construction.cpp.tmp.dot | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exploded-graph-rewriter/initializers_under_construction.cpp -- Exit Code: -11 Command Output (stdout): -- $ ":" "RUN: at line 2" $ "/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang" "-cc1" "-internal-isystem" "/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include" "-nostdsysteminc" "-analyze" "-triple" "x86_64-unknown-linux-gnu" "-analyzer-checker=core" "-analyzer-dump-egraph=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/exploded-graph-rewriter/Output/initializers_under_construction.cpp.tmp.dot" "/builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exploded-graph-rewriter/initializers_under_construction.cpp" # command stderr: PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -triple x86_64-unknown-linux-gnu -analyzer-checker=core -analyzer-dump-egraph=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/exploded-graph-rewriter/Output/initializers_under_construction.cpp.tmp.dot /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exploded-graph-rewriter/initializers_under_construction.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling B::B() at line 20 #1 Calling test() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exploded-graph-rewriter/initializers_under_construction.cpp:13:9: Error evaluating statement #0 0x0000ffff93e6acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff93e69100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff93e6b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9cda0800 (linux-vdso.so.1+0x800) #4 0x0000ffff9bd17db8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff9bd17db8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff9bd17db8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff9bd17db8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff9bd17db8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff9bd17db8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff9bd17db8 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff9bd17db8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1059:61 #12 0x0000ffff9bd2ce94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffff9bd2ce94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffff9bd2ce94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffff9bd2ce94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffff9bd2ce94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffff9bd2ce94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffff9bd2ce94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffff9bd2ce94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffff9bd2ce94 clang::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 0x0000ffff9bd2d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff9bd2d310 clang::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 0x0000ffff9bd2d5dc clang::ento::CoreEngine::dispatchWorkItem(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 0x0000ffff9bd2d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x0000ffff9bd2d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x0000ffff9bd2d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #27 0x0000ffff9bd2d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #28 0x0000ffff9bd2d764 clang::ento::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 0x0000ffff9bff787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffff9bff787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffff9bff787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #32 0x0000ffff9bff787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #33 0x0000ffff9bff787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #34 0x0000ffff9bff87e8 llvm::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 0x0000ffff9bff87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x0000ffff9bff87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #37 0x0000ffff9bffcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x0000ffff9bffcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x0000ffff9bffcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x0000ffff9bffcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x0000ffff9bffcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x0000ffff9a451e58 __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 0x0000ffff9a451e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x0000ffff9a451e58 void clang::finalize>, 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 0x0000ffff9a451e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x0000ffff9bb17ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #47 0x0000ffff9bacfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #48 0x0000ffff9bacfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #49 0x0000ffff9bacfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #50 0x0000ffff9bb5610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #51 0x0000aaaab1e759f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x0000aaaab1e794b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x0000aaaab1e7aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x0000aaaab1e71fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x0000ffff930c098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #56 0x0000ffff930c0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #57 0x0000aaaab1e720b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) error: command failed with exit status: -11 -- ******************** Testing: 0 FAIL: Clang :: Analysis/exploded-graph-rewriter/objects_under_construction.cpp (736 of 18953) ******************** TEST 'Clang :: Analysis/exploded-graph-rewriter/objects_under_construction.cpp' FAILED ******************** Script: -- : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -std=c++14 -analyze -triple x86_64-unknown-linux-gnu -analyze-function "test()" -analyzer-checker=core -analyzer-dump-egraph=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/exploded-graph-rewriter/Output/objects_under_construction.cpp.tmp.dot /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exploded-graph-rewriter/objects_under_construction.cpp : 'RUN: at line 6'; '/usr/bin/python3.11' /builddir/build/BUILD/clang-17.0.6.src/utils/analyzer/exploded-graph-rewriter.py --dump-dot-only /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/exploded-graph-rewriter/Output/objects_under_construction.cpp.tmp.dot | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exploded-graph-rewriter/objects_under_construction.cpp -- Exit Code: -11 Command Output (stdout): -- $ ":" "RUN: at line 2" $ "/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang" "-cc1" "-internal-isystem" "/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include" "-nostdsysteminc" "-std=c++14" "-analyze" "-triple" "x86_64-unknown-linux-gnu" "-analyze-function" "test()" "-analyzer-checker=core" "-analyzer-dump-egraph=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/exploded-graph-rewriter/Output/objects_under_construction.cpp.tmp.dot" "/builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exploded-graph-rewriter/objects_under_construction.cpp" # command stderr: PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -std=c++14 -analyze -triple x86_64-unknown-linux-gnu -analyze-function test() -analyzer-checker=core -analyzer-dump-egraph=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/exploded-graph-rewriter/Output/objects_under_construction.cpp.tmp.dot /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exploded-graph-rewriter/objects_under_construction.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling test() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exploded-graph-rewriter/objects_under_construction.cpp:44:9: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exploded-graph-rewriter/objects_under_construction.cpp:44:9: Error evaluating statement #0 0x0000ffffb634acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb6349100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb634b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffbf288800 (linux-vdso.so.1+0x800) #4 0x0000ffffbe1fe6a4 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffffbe1fe6a4 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffbe1fe6a4 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffbe1fe6a4 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffbe1fe6a4 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffbe1fe6a4 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffbe1fe6a4 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffbe1fe6a4 llvm::IntrusiveRefCntPtr clang::ento::ProgramStateManager::set<(anonymous namespace)::ObjectsUnderConstruction>(llvm::IntrusiveRefCntPtr, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::key_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::value_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::context_type) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:652:0 #12 0x0000ffffbe1fea94 llvm::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 0x0000ffffbe1fea94 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #14 0x0000ffffbe1fea94 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #15 0x0000ffffbe1fea94 set<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:876:0 #16 0x0000ffffbe1fea94 clang::ento::ExprEngine::addObjectUnderConstruction(llvm::IntrusiveRefCntPtr, clang::ConstructionContextItem const&, clang::LocationContext const*, clang::ento::SVal) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:599:0 #17 0x0000ffffbe1ff174 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #18 0x0000ffffbe1ff174 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #19 0x0000ffffbe1ff174 clang::ento::ExprEngine::updateObjectsUnderConstruction(clang::ento::SVal, clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:463:0 #20 0x0000ffffbe206a00 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #21 0x0000ffffbe206a00 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #22 0x0000ffffbe206a00 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 0x0000ffffbe206a00 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 0x0000ffffbe20be5c clang::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 0x0000ffffbe20be5c clang::ento::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 0x0000ffffbe20cf08 clang::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 0x0000ffffbe20d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffbe20d310 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #29 0x0000ffffbe20d5dc clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #30 0x0000ffffbe20d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #31 0x0000ffffbe20d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #32 0x0000ffffbe20d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #33 0x0000ffffbe20d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #34 0x0000ffffbe20d764 clang::ento::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 0x0000ffffbe4d787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffbe4d787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffbe4d787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #38 0x0000ffffbe4d787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #39 0x0000ffffbe4d787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #40 0x0000ffffbe4d87e8 llvm::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 0x0000ffffbe4d87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #42 0x0000ffffbe4d87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #43 0x0000ffffbe4dcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #44 0x0000ffffbe4dcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #45 0x0000ffffbe4dcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #46 0x0000ffffbe4dcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #47 0x0000ffffbe4dcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #48 0x0000ffffbc931e58 __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 0x0000ffffbc931e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #50 0x0000ffffbc931e58 void clang::finalize>, 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 0x0000ffffbc931e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #52 0x0000ffffbdff7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #53 0x0000ffffbdfafc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #54 0x0000ffffbdfafc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #55 0x0000ffffbdfafc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #56 0x0000ffffbe03610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #57 0x0000aaaab1fc59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #58 0x0000aaaab1fc94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #59 0x0000aaaab1fcaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #60 0x0000aaaab1fc1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #61 0x0000ffffb55a098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #62 0x0000ffffb55a0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #63 0x0000aaaab1fc20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) error: command failed with exit status: -11 -- ******************** Testing: 0 FAIL: Clang :: Analysis/exploration_order/prefer_unexplored.cpp (737 of 18953) ******************** TEST 'Clang :: Analysis/exploration_order/prefer_unexplored.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core -analyzer-config exploration_strategy=unexplored_first -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exploration_order/prefer_unexplored.cpp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core -analyzer-config exploration_strategy=unexplored_first_queue -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exploration_order/prefer_unexplored.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core -analyzer-config exploration_strategy=unexplored_first -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exploration_order/prefer_unexplored.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling bar2() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exploration_order/prefer_unexplored.cpp:37:11: Error evaluating branch #0 0x0000ffff83d6acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff83d69100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff83d6b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8cca4800 (linux-vdso.so.1+0x800) #4 0x0000ffff8bfc3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8bfc3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8bfc3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8bfc3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8bfc3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8bfc3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff8bfc3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff8bfc3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8bc70c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8bc70c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8bc70c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8bc70c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8bc71ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8bc71ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8bc71ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8bc71ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff8bc84770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff8bc84770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff8bc84770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff8bc85cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff8bc85cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff8bc85cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff8bc85190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8bc85190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8bc85190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff8bc917d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff8bc917d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff8bc917d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8bc9b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8bc9b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8bc9b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8bbff72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8bbff72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8bbff72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8bbff72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff8c0ed3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8c0ed3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8c0ed3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff8bc158c8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffff8bc158c8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffff8bc158c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffff8bc158c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffff8bc158c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffff8bc158c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffff8bc158c8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffff8bc158c8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffff8bc158c8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffff8bc158c8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffff8bc15e30 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffff8bc2d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff8bc2d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff8bc2d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff8bc2d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff8bc2d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff8bef787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff8bef787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff8bef787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff8bef787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff8bef787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff8bef87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff8bef87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff8bef87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff8befcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff8befcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff8befcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff8befcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff8befcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff8a351e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff8a351e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff8a351e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff8a351e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff8ba17ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff8b9cfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff8b9cfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff8b9cfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff8ba5610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaac73e59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaac73e94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaac73eaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaac73e1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff82fc098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff82fc0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaac73e20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/exploration_order/Output/prefer_unexplored.cpp.script: line 2: 1825734 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core -analyzer-config exploration_strategy=unexplored_first -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exploration_order/prefer_unexplored.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/exploration_order/noexprcrash.c (738 of 18953) ******************** TEST 'Clang :: Analysis/exploration_order/noexprcrash.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify -analyzer-config exploration_strategy=unexplored_first /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exploration_order/noexprcrash.c : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify -analyzer-config exploration_strategy=dfs /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exploration_order/noexprcrash.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify -analyzer-config exploration_strategy=unexplored_first /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exploration_order/noexprcrash.c 1. parser at end of file 2. While analyzing stack: #0 Calling c 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exploration_order/noexprcrash.c:8:14: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exploration_order/noexprcrash.c:8:14: Error evaluating statement #0 0x0000ffff8792acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff87929100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8792b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9086e800 (linux-vdso.so.1+0x800) #4 0x0000ffff8fb83688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8fb83688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8fb83688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8fb83688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8fb83688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8fb83688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff8fb83688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff8fb83688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8f830c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8f830c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8f830c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8f830c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8f831ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8f831ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8f831ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8f831ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff8f844770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff8f844770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff8f844770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff8f845cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff8f845cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff8f845cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff8f845190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8f845190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8f845190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff8f8517d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff8f8517d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff8f8517d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8f85b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8f85b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8f85b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8f7bf72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8f7bf72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8f7bf72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8f7bf72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff8fcad3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8fcad3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8fcad3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff8f8deee0 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff8f8deee0 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff8f8deee0 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:61 #45 0x0000ffff8f8deee0 void clang::ento::check::Location::_checkLocation<(anonymous namespace)::DereferenceChecker>(void*, clang::ento::SVal const&, bool, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:199:46 #46 0x0000ffff8f7a99b8 void expandGraphWithCheckers<(anonymous namespace)::CheckLocationContext>((anonymous namespace)::CheckLocationContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #47 0x0000ffff8f7d2270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:60 #48 0x0000ffff8f7d2270 clang::ento::ExprEngine::evalLocation(clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::Stmt const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3710:19 #49 0x0000ffff8f7d24ac llvm::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 0x0000ffff8f7d24ac llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #51 0x0000ffff8f7d24ac llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x0000ffff8f7d24ac clang::ento::ExprEngine::evalLoad(clang::ento::ExplodedNodeSet&, clang::Expr const*, clang::Expr const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, clang::ProgramPointTag const*, clang::QualType) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3653:15 #53 0x0000ffff8f7e2170 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #54 0x0000ffff8f7e2170 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #55 0x0000ffff8f7e2170 clang::ento::ExprEngine::VisitCast(clang::CastExpr const*, clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:292:0 #56 0x0000ffff8f7eb884 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #57 0x0000ffff8f7eb884 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #58 0x0000ffff8f7eb884 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2258:0 #59 0x0000ffff8f7ecf08 clang::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 0x0000ffff8f7ed1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8f7ed41c clang::ento::CoreEngine::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 0x0000ffff8f7ed764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #63 0x0000ffff8f7ed764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #64 0x0000ffff8f7ed764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #65 0x0000ffff8f7ed764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #66 0x0000ffff8f7ed764 clang::ento::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 0x0000ffff8fab787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #68 0x0000ffff8fab787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #69 0x0000ffff8fab787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #70 0x0000ffff8fab787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #71 0x0000ffff8fab787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #72 0x0000ffff8fab87e8 llvm::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 0x0000ffff8fab87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #74 0x0000ffff8fab87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #75 0x0000ffff8fabcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #76 0x0000ffff8fabcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #77 0x0000ffff8fabcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #78 0x0000ffff8fabcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #79 0x0000ffff8fabcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #80 0x0000ffff8df11e58 __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 0x0000ffff8df11e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #82 0x0000ffff8df11e58 void clang::finalize>, 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 0x0000ffff8df11e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #84 0x0000ffff8f5d7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #85 0x0000ffff8f58fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #86 0x0000ffff8f58fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #87 0x0000ffff8f58fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #88 0x0000ffff8f61610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #89 0x0000aaaae88e59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #90 0x0000aaaae88e94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #91 0x0000aaaae88eaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #92 0x0000aaaae88e1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #93 0x0000ffff86b8098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #94 0x0000ffff86b80a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #95 0x0000aaaae88e20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/exploration_order/Output/noexprcrash.c.script: line 2: 1825726 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify -analyzer-config exploration_strategy=unexplored_first /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/exploration_order/noexprcrash.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/expr-inspection-printState-eq-classes.c (739 of 18953) ******************** TEST 'Clang :: Analysis/expr-inspection-printState-eq-classes.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/expr-inspection-printState-eq-classes.c 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/expr-inspection-printState-eq-classes.c -- Exit Code: 1 Command Output (stderr): -- /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/expr-inspection-printState-eq-classes.c:18:11: error: CHECK: expected string not found in input // CHECK: "equivalence_classes": [ ^ :1:1: note: scanning from here PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. ^ :6:17: note: possible intended match here #0 Calling test_equivalence_classes ^ Input file: Check file: /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/expr-inspection-printState-eq-classes.c -dump-input=help explains the following input dump. Input was: <<<<<< 1: PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. check:18'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found 2: Stack dump: check:18'0 ~~~~~~~~~~~~ 3: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/expr-inspection-printState-eq-classes.c check:18'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4: 1. parser at end of file check:18'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5: 2. While analyzing stack: check:18'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6: #0 Calling test_equivalence_classes check:18'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ check:18'1 ? possible intended match 7: 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/expr-inspection-printState-eq-classes.c:7:7: Error evaluating statement check:18'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 8: 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/expr-inspection-printState-eq-classes.c:7:7: Error evaluating statement check:18'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 9: #0 0x0000ffff8f57acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) check:18'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10: #1 0x0000ffff8f579100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) check:18'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 11: #2 0x0000ffff8f57b388 (/usr/lib64/libLLVM-17.so+0x9bb388) check:18'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0 FAIL: Clang :: Analysis/expr-inspection-printState-diseq-info.c (741 of 18953) ******************** TEST 'Clang :: Analysis/expr-inspection-printState-diseq-info.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/expr-inspection-printState-diseq-info.c 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/expr-inspection-printState-diseq-info.c -- Exit Code: 1 Command Output (stderr): -- /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/expr-inspection-printState-diseq-info.c:17:12: error: CHECK: expected string not found in input // CHECK: "disequality_info": [ ^ :1:1: note: scanning from here PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. ^ :6:17: note: possible intended match here #0 Calling test_disequality_info ^ Input file: Check file: /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/expr-inspection-printState-diseq-info.c -dump-input=help explains the following input dump. Input was: <<<<<< 1: PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. check:17'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found 2: Stack dump: check:17'0 ~~~~~~~~~~~~ 3: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/expr-inspection-printState-diseq-info.c check:17'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4: 1. parser at end of file check:17'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5: 2. While analyzing stack: check:17'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6: #0 Calling test_disequality_info check:17'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ check:17'1 ? possible intended match 7: 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/expr-inspection-printState-diseq-info.c:8:7: Error evaluating statement check:17'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 8: 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/expr-inspection-printState-diseq-info.c:8:7: Error evaluating statement check:17'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 9: #0 0x0000ffff9e33acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) check:17'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10: #1 0x0000ffff9e339100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) check:17'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 11: #2 0x0000ffff9e33b388 (/usr/lib64/libLLVM-17.so+0x9bb388) check:17'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0 FAIL: Clang :: Analysis/expr-inspection.c (743 of 18953) ******************** TEST 'Clang :: Analysis/expr-inspection.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/expr-inspection.c 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/expr-inspection.c -- Exit Code: 1 Command Output (stderr): -- /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/expr-inspection.c:31:11: error: CHECK: expected string not found in input // CHECK: "program_state": { ^ :1:1: note: scanning from here PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. ^ :17:126: note: possible intended match here #9 0x0000ffff8b9ecd64 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 ^ Input file: Check file: /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/expr-inspection.c -dump-input=help explains the following input dump. Input was: <<<<<< 1: PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. check:31'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found 2: Stack dump: check:31'0 ~~~~~~~~~~~~ 3: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/expr-inspection.c check:31'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4: 1. parser at end of file check:31'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5: 2. While analyzing stack: check:31'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6: #0 Calling foo check:31'0 ~~~~~~~~~~~~~~~~ . . . 12: #4 0x0000ffff8b9ecd64 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 check:31'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 13: #5 0x0000ffff8b9ecd64 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 check:31'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 14: #6 0x0000ffff8b9ecd64 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 check:31'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 15: #7 0x0000ffff8b9ecd64 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 check:31'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 16: #8 0x0000ffff8b9ecd64 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 check:31'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 17: #9 0x0000ffff8b9ecd64 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 check:31'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ check:31'1 ? possible intended match 18: #10 0x0000ffff8b9980bc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 check:31'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 19: #11 0x0000ffff8b9980bc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 check:31'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 20: #12 0x0000ffff8b9980bc clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 check:31'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 21: #13 0x0000ffff8b9ace94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 check:31'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 22: #14 0x0000ffff8b9ace94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 check:31'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0 FAIL: Clang :: Analysis/expr-inspection.cpp (744 of 18953) ******************** TEST 'Clang :: Analysis/expr-inspection.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -x c++ -analyzer-checker=debug.ExprInspection -analyzer-config support-symbolic-integer-casts=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/expr-inspection.cpp : 'RUN: at line 5'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -x c++ -analyzer-checker=debug.ExprInspection -analyzer-config support-symbolic-integer-casts=true -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/expr-inspection.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -x c++ -analyzer-checker=debug.ExprInspection -analyzer-config support-symbolic-integer-casts=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/expr-inspection.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling foo(int, unsigned int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/expr-inspection.cpp:29:3: Error evaluating statement #0 0x0000ffffa315acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa3159100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa315b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffac09d800 (linux-vdso.so.1+0x800) #4 0x0000ffffab12c89c llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffab12c89c llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffab12c89c llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffab12c89c llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffab12c89c llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffab12c89c 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 0x0000ffffab12c89c get<(anonymous namespace)::DenotedSymbols> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffab12c89c (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 0x0000ffffaafed814 void expandGraphWithCheckers<(anonymous namespace)::CheckDeadSymbolsContext>((anonymous namespace)::CheckDeadSymbolsContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #13 0x0000ffffab007fe8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x0000ffffab007fe8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x0000ffffab007fe8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #16 0x0000ffffab007fe8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #17 0x0000ffffab007fe8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #18 0x0000ffffab007fe8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #19 0x0000ffffab007fe8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1080:48 #20 0x0000ffffab01ce94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #21 0x0000ffffab01ce94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #22 0x0000ffffab01ce94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #23 0x0000ffffab01ce94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #24 0x0000ffffab01ce94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #25 0x0000ffffab01ce94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #26 0x0000ffffab01ce94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #27 0x0000ffffab01ce94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #28 0x0000ffffab01ce94 clang::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 0x0000ffffab01d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffab01d41c clang::ento::CoreEngine::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 0x0000ffffab01d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #32 0x0000ffffab01d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #33 0x0000ffffab01d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #34 0x0000ffffab01d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #35 0x0000ffffab01d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #36 0x0000ffffab2e787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffffab2e787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffffab2e787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #39 0x0000ffffab2e787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #40 0x0000ffffab2e787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #41 0x0000ffffab2e87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #42 0x0000ffffab2e87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #43 0x0000ffffab2e87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #44 0x0000ffffab2ecde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #45 0x0000ffffab2ecde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #46 0x0000ffffab2ecde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #47 0x0000ffffab2ecde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #48 0x0000ffffab2ecde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #49 0x0000ffffa9741e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #50 0x0000ffffa9741e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #51 0x0000ffffa9741e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #52 0x0000ffffa9741e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #53 0x0000ffffaae07ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #54 0x0000ffffaadbfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #55 0x0000ffffaadbfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #56 0x0000ffffaadbfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #57 0x0000ffffaae4610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #58 0x0000aaaae79f59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #59 0x0000aaaae79f94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #60 0x0000aaaae79faac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #61 0x0000aaaae79f1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #62 0x0000ffffa23b098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #63 0x0000ffffa23b0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #64 0x0000aaaae79f20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/expr-inspection.cpp.script: line 2: 1825777 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -x c++ -analyzer-checker=debug.ExprInspection -analyzer-config support-symbolic-integer-casts=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/expr-inspection.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/fields.c (745 of 18953) ******************** TEST 'Clang :: Analysis/fields.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/fields.c -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/fields.c -verify 1. parser at end of file 2. While analyzing stack: #0 Calling testBitfields 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/fields.c:64:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/fields.c:64:7: Error evaluating statement #0 0x0000ffff7c15acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7c159100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7c15b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8509f800 (linux-vdso.so.1+0x800) #4 0x0000ffff84203018 llvm::ImutKeyValueInfo::isEqual(clang::ento::MemRegion const* const&, clang::ento::MemRegion const* const&) /usr/include/llvm/ADT/ImmutableMap.h:45:41 #5 0x0000ffff84203018 llvm::ImutAVLFactory>::remove_internal(clang::ento::MemRegion const* const&, llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:558:26 #6 0x0000ffff84203018 llvm::ImutAVLFactory>::remove(llvm::ImutAVLTree>*, clang::ento::MemRegion const* const&) /usr/include/llvm/ADT/ImmutableSet.h:403:0 #7 0x0000ffff84203018 llvm::ImmutableMap>::Factory::remove(llvm::ImmutableMap>, clang::ento::MemRegion const* const&) /usr/include/llvm/ADT/ImmutableMap.h:105:0 #8 0x0000ffff84203018 clang::ento::ProgramStatePartialTrait>, void>::Remove(llvm::ImmutableMap>, clang::ento::MemRegion const*, llvm::ImmutableMap>::Factory&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:175:0 #9 0x0000ffff84203018 remove<(anonymous namespace)::DestroyRetVal> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:669:0 #10 0x0000ffff84203018 llvm::IntrusiveRefCntPtr clang::ento::ProgramState::remove<(anonymous namespace)::DestroyRetVal>(clang::ento::ProgramStateTrait<(anonymous namespace)::DestroyRetVal>::key_type) const (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:854:0 #11 0x0000ffff8421dee4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #12 0x0000ffff8421dee4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #13 0x0000ffff8421dee4 checkRegionChanges /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/PthreadLockChecker.cpp:690:0 #14 0x0000ffff8421dee4 llvm::IntrusiveRefCntPtr clang::ento::check::RegionChanges::_checkRegionChanges<(anonymous namespace)::PthreadLockChecker>(void*, llvm::IntrusiveRefCntPtr, llvm::DenseSet> const*, llvm::ArrayRef, llvm::ArrayRef, clang::LocationContext const*, clang::ento::CallEvent const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:344:0 #15 0x0000ffff83fbc044 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #16 0x0000ffff83fbc044 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #17 0x0000ffff83fbc044 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, llvm::DenseSet> const*, llvm::ArrayRef, llvm::ArrayRef, clang::LocationContext const*, clang::ento::CallEvent const*)>::operator()(llvm::IntrusiveRefCntPtr, llvm::DenseSet> const*, llvm::ArrayRef, llvm::ArrayRef, clang::LocationContext const*, clang::ento::CallEvent const*) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:0 #18 0x0000ffff83fbc044 clang::ento::CheckerManager::runCheckersForRegionChanges(llvm::IntrusiveRefCntPtr, llvm::DenseSet> const*, llvm::ArrayRef, llvm::ArrayRef, clang::LocationContext const*, clang::ento::CallEvent const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:608:0 #19 0x0000ffff8404d310 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #20 0x0000ffff8404d310 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #21 0x0000ffff8404d310 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 0x0000ffff8404d310 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 0x0000ffff83fd0774 std::_Rb_tree, std::less, std::allocator>::~_Rb_tree() /usr/include/c++/12/bits/stl_tree.h:986:0 #24 0x0000ffff83fd0774 std::set, std::allocator>::~set() /usr/include/c++/12/bits/stl_set.h:281:0 #25 0x0000ffff83fd0774 llvm::SmallSet>::~SmallSet() /usr/include/llvm/ADT/SmallSet.h:135:0 #26 0x0000ffff83fd0774 clang::ento::CallEvent::invalidateRegions(unsigned int, llvm::IntrusiveRefCntPtr) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:286:0 #27 0x0000ffff840508d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #28 0x0000ffff840508d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #29 0x0000ffff840508d0 clang::ento::ExprEngine::conservativeEvalCall(clang::ento::CallEvent const&, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:833:0 #30 0x0000ffff840512e4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #31 0x0000ffff840512e4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #32 0x0000ffff840512e4 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 0x0000ffff83fd9fd8 clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:288:0 #34 0x0000ffff8403981c llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #35 0x0000ffff8403981c llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #36 0x0000ffff8403981c clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #37 0x0000ffff8403981c clang::ento::ExprEngine::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 0x0000ffff8403a144 clang::ento::ExprEngine::VisitCallExpr(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 0x0000ffff8401bea0 clang::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 0x0000ffff8401bea0 clang::ento::ExprEngine::Visit(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 0x0000ffff8401cf08 clang::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 0x0000ffff8401d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8401d41c clang::ento::CoreEngine::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 0x0000ffff8401d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #45 0x0000ffff8401d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #46 0x0000ffff8401d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #47 0x0000ffff8401d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #48 0x0000ffff8401d764 clang::ento::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 0x0000ffff842e787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #50 0x0000ffff842e787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #51 0x0000ffff842e787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #52 0x0000ffff842e787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #53 0x0000ffff842e787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #54 0x0000ffff842e87e8 llvm::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 0x0000ffff842e87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #56 0x0000ffff842e87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #57 0x0000ffff842ecde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #58 0x0000ffff842ecde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #59 0x0000ffff842ecde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #60 0x0000ffff842ecde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #61 0x0000ffff842ecde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #62 0x0000ffff82741e58 __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 0x0000ffff82741e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #64 0x0000ffff82741e58 void clang::finalize>, 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 0x0000ffff82741e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #66 0x0000ffff83e07ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #67 0x0000ffff83dbfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #68 0x0000ffff83dbfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #69 0x0000ffff83dbfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #70 0x0000ffff83e4610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #71 0x0000aaaab54959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #72 0x0000aaaab54994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #73 0x0000aaaab549aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #74 0x0000aaaab5491fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #75 0x0000ffff7b3b098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #76 0x0000ffff7b3b0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #77 0x0000aaaab54920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/fields.c.script: line 1: 1825784 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/fields.c -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/find-binop-constraints.cpp (746 of 18953) ******************** TEST 'Clang :: Analysis/find-binop-constraints.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/find-binop-constraints.cpp -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/find-binop-constraints.cpp -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -verify 1. parser at end of file 2. While analyzing stack: #0 Calling test_deferred_contradiction(int, int, int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/find-binop-constraints.cpp:153:7: Error evaluating branch #0 0x0000ffff80ceacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff80ce9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff80ceb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff89c2c800 (linux-vdso.so.1+0x800) #4 0x0000ffff88bf1074 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff88bf1074 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff88bf1074 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff88bf1074 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff88bf1074 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff88bf1074 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff88bf1074 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff88bf1074 markDisequal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2507:0 #12 0x0000ffff88bf1074 markDisequal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2494:0 #13 0x0000ffff88bf1074 markDisequal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2487:0 #14 0x0000ffff88bf1074 trackDisequality /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2155:0 #15 0x0000ffff88bf1074 assignSymSymExprToRangeSet /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2241:0 #16 0x0000ffff88bf1074 assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:0 #17 0x0000ffff88bf1074 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:0 #18 0x0000ffff88bf1074 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:0 #19 0x0000ffff88bf1074 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:0 #20 0x0000ffff88bf1074 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #21 0x0000ffff88bf1074 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #22 0x0000ffff88bf2474 llvm::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 0x0000ffff88bf2474 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #24 0x0000ffff88bf2474 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x0000ffff88bf2474 (anonymous namespace)::RangeConstraintManager::assumeSymGT(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3133:0 #26 0x0000ffff88c04770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff88c04770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff88c04770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, 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 0x0000ffff88c05cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffff88c05cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffff88c05cc0 clang::ento::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 0x0000ffff88c05190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #33 0x0000ffff88c05190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #34 0x0000ffff88c05190 clang::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 0x0000ffff88c117d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #36 0x0000ffff88c117d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #37 0x0000ffff88c117d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #38 0x0000ffff88c1b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #39 0x0000ffff88c1b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #40 0x0000ffff88c1b074 clang::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 0x0000ffff88b7f6d8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #42 0x0000ffff88b7f6d8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #43 0x0000ffff88b7f6d8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #44 0x0000ffff88b7f6d8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #45 0x0000ffff8906d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #46 0x0000ffff8906d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #47 0x0000ffff8906d3d4 clang::ento::ProgramState::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 0x0000ffff88b958c8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #49 0x0000ffff88b958c8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #50 0x0000ffff88b958c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #51 0x0000ffff88b958c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #52 0x0000ffff88b958c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #53 0x0000ffff88b958c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #54 0x0000ffff88b958c8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #55 0x0000ffff88b958c8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #56 0x0000ffff88b958c8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #57 0x0000ffff88b958c8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #58 0x0000ffff88b95e30 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #59 0x0000ffff88bad764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff88bad764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff88bad764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #62 0x0000ffff88bad764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #63 0x0000ffff88bad764 clang::ento::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 0x0000ffff88e7787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #65 0x0000ffff88e7787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #66 0x0000ffff88e7787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #67 0x0000ffff88e7787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #68 0x0000ffff88e7787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #69 0x0000ffff88e787e8 llvm::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 0x0000ffff88e787e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #71 0x0000ffff88e787e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #72 0x0000ffff88e7cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #73 0x0000ffff88e7cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #74 0x0000ffff88e7cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #75 0x0000ffff88e7cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #76 0x0000ffff88e7cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #77 0x0000ffff872d1e58 __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 0x0000ffff872d1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #79 0x0000ffff872d1e58 void clang::finalize>, 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 0x0000ffff872d1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #81 0x0000ffff88997ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #82 0x0000ffff8894fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #83 0x0000ffff8894fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #84 0x0000ffff8894fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #85 0x0000ffff889d610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #86 0x0000aaaaabe659f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #87 0x0000aaaaabe694b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #88 0x0000aaaaabe6aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #89 0x0000aaaaabe61fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #90 0x0000ffff7ff4098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #91 0x0000ffff7ff40a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #92 0x0000aaaaabe620b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/find-binop-constraints.cpp.script: line 1: 1825789 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/find-binop-constraints.cpp -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/flexible-array-member.cpp (748 of 18953) ******************** TEST 'Clang :: Analysis/flexible-array-member.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/flexible-array-member.cpp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -std=c++17 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/flexible-array-member.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/flexible-array-member.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling operator new(std::size_t, void *) at line 38 #1 Calling flexibleArrayMember() #0 0x0000ffff90f1acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff90f19100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff90f1b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff99e50800 (linux-vdso.so.1+0x800) #4 0x0000ffff98dc7db8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff98dc7db8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff98dc7db8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff98dc7db8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff98dc7db8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff98dc7db8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff98dc7db8 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff98dc7db8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1059:61 #12 0x0000ffff98e0fdfc clang::ento::ExprEngine::processCallExit(clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:372:0 #13 0x0000ffff98ddd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #14 0x0000ffff98ddd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #15 0x0000ffff98ddd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #16 0x0000ffff98ddd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #17 0x0000ffff98ddd764 clang::ento::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 0x0000ffff990a787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #19 0x0000ffff990a787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #20 0x0000ffff990a787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #21 0x0000ffff990a787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #22 0x0000ffff990a787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #23 0x0000ffff990a87e8 llvm::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 0x0000ffff990a87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #25 0x0000ffff990a87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #26 0x0000ffff990acde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #27 0x0000ffff990acde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #28 0x0000ffff990acde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #29 0x0000ffff990acde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #30 0x0000ffff990acde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #31 0x0000ffff97501e58 __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 0x0000ffff97501e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #33 0x0000ffff97501e58 void clang::finalize>, 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 0x0000ffff97501e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #35 0x0000ffff98bc7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #36 0x0000ffff98b7fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #37 0x0000ffff98b7fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #38 0x0000ffff98b7fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #39 0x0000ffff98c0610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #40 0x0000aaaabb4e59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #41 0x0000aaaabb4e94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #42 0x0000aaaabb4eaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #43 0x0000aaaabb4e1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #44 0x0000ffff9017098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #45 0x0000ffff90170a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #46 0x0000aaaabb4e20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/flexible-array-member.cpp.script: line 2: 1825820 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/flexible-array-member.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/flexible-array-members.c (749 of 18953) ******************** TEST 'Clang :: Analysis/flexible-array-members.c' FAILED ******************** Script: -- : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-linux-gnu -analyzer-checker=core,unix,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/flexible-array-members.c -verify -std=c90 -fstrict-flex-arrays=2 : 'RUN: at line 5'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-linux-gnu -analyzer-checker=core,unix,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/flexible-array-members.c -verify -std=c99 -fstrict-flex-arrays=2 : 'RUN: at line 7'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-linux-gnu -analyzer-checker=core,unix,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/flexible-array-members.c -verify -std=c11 -fstrict-flex-arrays=2 : 'RUN: at line 9'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-linux-gnu -analyzer-checker=core,unix,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/flexible-array-members.c -verify -std=c17 -fstrict-flex-arrays=2 : 'RUN: at line 12'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-linux-gnu -analyzer-checker=core,unix,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/flexible-array-members.c -verify -std=c++98 -x c++ -fstrict-flex-arrays=2 : 'RUN: at line 14'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-linux-gnu -analyzer-checker=core,unix,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/flexible-array-members.c -verify -std=c++03 -x c++ -fstrict-flex-arrays=2 : 'RUN: at line 16'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-linux-gnu -analyzer-checker=core,unix,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/flexible-array-members.c -verify -std=c++11 -x c++ -fstrict-flex-arrays=2 : 'RUN: at line 18'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-linux-gnu -analyzer-checker=core,unix,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/flexible-array-members.c -verify -std=c++14 -x c++ -fstrict-flex-arrays=2 : 'RUN: at line 20'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-linux-gnu -analyzer-checker=core,unix,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/flexible-array-members.c -verify -std=c++17 -x c++ -fstrict-flex-arrays=2 : 'RUN: at line 24'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-linux-gnu -analyzer-checker=core,unix,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/flexible-array-members.c -verify -std=c17 -DSINGLE_ELEMENT_FAMS : 'RUN: at line 26'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-linux-gnu -analyzer-checker=core,unix,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/flexible-array-members.c -verify -std=c++17 -x c++ -DSINGLE_ELEMENT_FAMS -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-linux-gnu -analyzer-checker=core,unix,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/flexible-array-members.c -verify -std=c90 -fstrict-flex-arrays=2 1. parser at end of file 2. While analyzing stack: #0 Calling test_single_element_array_possible_fam 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/flexible-array-members.c:121:19: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/flexible-array-members.c:121:19: Error evaluating statement #0 0x0000ffff82bfacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff82bf9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff82bfb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8bb33800 (linux-vdso.so.1+0x800) #4 0x0000ffff8ae39f20 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8ae39f20 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8ae39f20 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8ae39f20 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8ae39f20 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8ae39f20 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff8ae39f20 get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff8ae39f20 (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 0x0000ffff8ac483d0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x0000ffff8ac483d0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x0000ffff8ac483d0 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 0x0000ffff8aa5c2f8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #16 0x0000ffff8aa5c2f8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #17 0x0000ffff8aa5c2f8 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool)>::operator()(llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:0 #18 0x0000ffff8aa5c2f8 clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:0 #19 0x0000ffff8ab21844 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffff8ab21844 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffff8ab21844 clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:78 #22 0x0000ffff8ab21844 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:53 #23 0x0000ffff8ab2b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x0000ffff8ab2b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x0000ffff8ab2b074 clang::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 0x0000ffff8aa8f818 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8aa8f818 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8aa8f818 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #29 0x0000ffff8aa8f818 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:68:21 #30 0x0000ffff8af7d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff8af7d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff8af7d3d4 clang::ento::ProgramState::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 0x0000ffff8ac544b0 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x0000ffff8ac544b0 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x0000ffff8ac544b0 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x0000ffff8ac544b0 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x0000ffff8ac544b0 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x0000ffff8ac544b0 (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 0x0000ffff8ac55490 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #40 0x0000ffff8ac55490 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #41 0x0000ffff8ac55490 (anonymous namespace)::MallocChecker::checkAlloca(clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1302:0 #42 0x0000ffff8ac60e00 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #43 0x0000ffff8ac60e00 void clang::ento::check::PostCall::_checkCall<(anonymous namespace)::MallocChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:183:0 #44 0x0000ffff8aa79524 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #45 0x0000ffff8aa79524 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x0000ffff8aa79524 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #47 0x0000ffff8aa79524 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #48 0x0000ffff8aa79524 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #49 0x0000ffff8aad98b8 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #50 0x0000ffff8aad98b8 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #51 0x0000ffff8aad98b8 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #52 0x0000ffff8aad98b8 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #53 0x0000ffff8aad98b8 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #54 0x0000ffff8aad98b8 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #55 0x0000ffff8aada144 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #56 0x0000ffff8aabbea0 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #57 0x0000ffff8aabbea0 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #58 0x0000ffff8aabcf08 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #59 0x0000ffff8aabd1f0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #60 0x0000ffff8aabd41c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #61 0x0000ffff8aabd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #62 0x0000ffff8aabd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #63 0x0000ffff8aabd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #64 0x0000ffff8aabd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #65 0x0000ffff8aabd764 clang::ento::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 0x0000ffff8ad8787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #67 0x0000ffff8ad8787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #68 0x0000ffff8ad8787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #69 0x0000ffff8ad8787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #70 0x0000ffff8ad8787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #71 0x0000ffff8ad887e8 llvm::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 0x0000ffff8ad887e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #73 0x0000ffff8ad887e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #74 0x0000ffff8ad8cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #75 0x0000ffff8ad8cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #76 0x0000ffff8ad8cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #77 0x0000ffff8ad8cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #78 0x0000ffff8ad8cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #79 0x0000ffff891e1e58 __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 0x0000ffff891e1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #81 0x0000ffff891e1e58 void clang::finalize>, 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 0x0000ffff891e1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #83 0x0000ffff8a8a7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #84 0x0000ffff8a85fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #85 0x0000ffff8a85fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #86 0x0000ffff8a85fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #87 0x0000ffff8a8e610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #88 0x0000aaaad71c59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #89 0x0000aaaad71c94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #90 0x0000aaaad71caac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #91 0x0000aaaad71c1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #92 0x0000ffff81e5098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #93 0x0000ffff81e50a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #94 0x0000aaaad71c20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/flexible-array-members.c.script: line 11: 1825825 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-linux-gnu -analyzer-checker=core,unix,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/flexible-array-members.c -verify -std=c90 -fstrict-flex-arrays=2 -- ******************** Testing: 0 FAIL: Clang :: Analysis/free.c (750 of 18953) ******************** TEST 'Clang :: Analysis/free.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/free.c -analyzer-checker=core -analyzer-checker=unix.Malloc : 'RUN: at line 5'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/free.c -analyzer-checker=core -analyzer-checker=unix.Malloc -analyzer-config unix.DynamicMemoryModeling:Optimistic=true -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/free.c -analyzer-checker=core -analyzer-checker=unix.Malloc 1. parser at end of file 2. While analyzing stack: #0 Calling t18 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/free.c:117:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/free.c:117:3: Error evaluating statement #0 0x0000ffffb034acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb0349100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb034b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb928c800 (linux-vdso.so.1+0x800) #4 0x0000ffffb85a3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb85a3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb85a3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb85a3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb85a3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb85a3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb85a3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb85a3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb8250c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb8250c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb8250c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb8250c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb8251ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb8251ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb8251ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb8251ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb8264770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb8264770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb8264770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb8265cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb8265cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb8265cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb8265190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb8265190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb8265190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb82717d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb82717d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb82717d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb827b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb827b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb827b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb81df72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb81df72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb81df72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb81df72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb86cd3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb86cd3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb86cd3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffb83a8c54 (anonymous namespace)::MallocChecker::FreeMemAux(clang::ento::CheckerContext&, clang::Expr const*, clang::ento::CallEvent const&, llvm::IntrusiveRefCntPtr, bool, bool&, (anonymous namespace)::AllocationFamily, bool) const (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1909:0 #43 0x0000ffffb8584dc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x0000ffffb8584dc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffffb8584dc0 (anonymous namespace)::MallocChecker::FreeMemAux(clang::ento::CheckerContext&, clang::ento::CallEvent const&, llvm::IntrusiveRefCntPtr, unsigned int, bool, bool&, (anonymous namespace)::AllocationFamily, bool) const (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1808:0 #46 0x0000ffffb83a3e2c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #47 0x0000ffffb83a3e2c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #48 0x0000ffffb83a3e2c (anonymous namespace)::MallocChecker::checkFree(clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1293:0 #49 0x0000ffffb83b0d34 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #50 0x0000ffffb83b0d34 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #51 0x0000ffffb83b0d34 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1489:0 #52 0x0000ffffb83b0d34 void clang::ento::check::PostCall::_checkCall<(anonymous namespace)::MallocChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:183:0 #53 0x0000ffffb81c9524 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #54 0x0000ffffb81c9524 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #55 0x0000ffffb81c9524 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #56 0x0000ffffb81c9524 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #57 0x0000ffffb81c9524 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #58 0x0000ffffb82298b8 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #59 0x0000ffffb82298b8 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #60 0x0000ffffb82298b8 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #61 0x0000ffffb82298b8 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #62 0x0000ffffb82298b8 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #63 0x0000ffffb82298b8 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #64 0x0000ffffb822a144 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #65 0x0000ffffb820bea0 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #66 0x0000ffffb820bea0 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #67 0x0000ffffb820cf08 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #68 0x0000ffffb820d1f0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #69 0x0000ffffb820d41c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #70 0x0000ffffb820d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #71 0x0000ffffb820d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #72 0x0000ffffb820d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #73 0x0000ffffb820d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #74 0x0000ffffb820d764 clang::ento::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 0x0000ffffb84d787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #76 0x0000ffffb84d787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #77 0x0000ffffb84d787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #78 0x0000ffffb84d787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #79 0x0000ffffb84d787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #80 0x0000ffffb84d87e8 llvm::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 0x0000ffffb84d87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #82 0x0000ffffb84d87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #83 0x0000ffffb84dcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #84 0x0000ffffb84dcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #85 0x0000ffffb84dcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #86 0x0000ffffb84dcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #87 0x0000ffffb84dcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #88 0x0000ffffb6931e58 __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 0x0000ffffb6931e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #90 0x0000ffffb6931e58 void clang::finalize>, 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 0x0000ffffb6931e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #92 0x0000ffffb7ff7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #93 0x0000ffffb7fafc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #94 0x0000ffffb7fafc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #95 0x0000ffffb7fafc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #96 0x0000ffffb803610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #97 0x0000aaaab39359f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #98 0x0000aaaab39394b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #99 0x0000aaaab393aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #100 0x0000aaaab3931fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #101 0x0000ffffaf5a098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #102 0x0000ffffaf5a0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #103 0x0000aaaab39320b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/free.c.script: line 2: 1825829 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/free.c -analyzer-checker=core -analyzer-checker=unix.Malloc -- ******************** Testing: 0 FAIL: Clang :: Analysis/fuchsia_handle.cpp (751 of 18953) ******************** TEST 'Clang :: Analysis/fuchsia_handle.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,fuchsia.HandleChecker -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/fuchsia_handle.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,fuchsia.HandleChecker -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/fuchsia_handle.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling escape_top_level_pointees(zx_handle_t *) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/fuchsia_handle.cpp:505:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/fuchsia_handle.cpp:505:7: Error evaluating statement #0 0x0000ffffa9b5acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa9b59100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa9b5b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb2a97800 (linux-vdso.so.1+0x800) #4 0x0000ffffb1b30eb0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb1b30eb0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb1b30eb0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb1b30eb0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb1b30eb0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb1b30eb0 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb1b30eb0 get<(anonymous namespace)::HStateMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:0 #11 0x0000ffffb1b30eb0 (anonymous namespace)::FuchsiaHandleChecker::checkPostCall(clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/FuchsiaHandleChecker.cpp:421:0 #12 0x0000ffffb19d9524 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #13 0x0000ffffb19d9524 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #14 0x0000ffffb19d9524 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #15 0x0000ffffb19d9524 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #16 0x0000ffffb19d9524 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #17 0x0000ffffb1a398b8 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #18 0x0000ffffb1a398b8 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #19 0x0000ffffb1a398b8 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #20 0x0000ffffb1a398b8 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #21 0x0000ffffb1a398b8 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #22 0x0000ffffb1a398b8 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #23 0x0000ffffb1a3a144 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #24 0x0000ffffb1a1bea0 clang::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 0x0000ffffb1a1bea0 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #26 0x0000ffffb1a1cf08 clang::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 0x0000ffffb1a1d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffb1a1d41c clang::ento::CoreEngine::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 0x0000ffffb1a1d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #30 0x0000ffffb1a1d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #31 0x0000ffffb1a1d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #32 0x0000ffffb1a1d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #33 0x0000ffffb1a1d764 clang::ento::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 0x0000ffffb1ce787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #35 0x0000ffffb1ce787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #36 0x0000ffffb1ce787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #37 0x0000ffffb1ce787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #38 0x0000ffffb1ce787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #39 0x0000ffffb1ce87e8 llvm::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 0x0000ffffb1ce87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #41 0x0000ffffb1ce87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #42 0x0000ffffb1cecde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #43 0x0000ffffb1cecde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #44 0x0000ffffb1cecde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #45 0x0000ffffb1cecde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #46 0x0000ffffb1cecde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #47 0x0000ffffb0141e58 __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 0x0000ffffb0141e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #49 0x0000ffffb0141e58 void clang::finalize>, 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 0x0000ffffb0141e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #51 0x0000ffffb1807ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #52 0x0000ffffb17bfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #53 0x0000ffffb17bfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #54 0x0000ffffb17bfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #55 0x0000ffffb184610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #56 0x0000aaaad51b59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #57 0x0000aaaad51b94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #58 0x0000aaaad51baac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #59 0x0000aaaad51b1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #60 0x0000ffffa8db098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #61 0x0000ffffa8db0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #62 0x0000aaaad51b20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/fuchsia_handle.cpp.script: line 1: 1825844 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,fuchsia.HandleChecker -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/fuchsia_handle.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/free.cpp (752 of 18953) ******************** TEST 'Clang :: Analysis/free.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/free.cpp -analyzer-checker=core -analyzer-checker=unix.Malloc : 'RUN: at line 5'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/free.cpp -analyzer-checker=core -analyzer-checker=unix.Malloc -analyzer-config unix.DynamicMemoryModeling:Optimistic=true -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/free.cpp -analyzer-checker=core -analyzer-checker=unix.Malloc 1. parser at end of file 2. While analyzing stack: #0 Calling t18_reinterpret_reinterpret_std_free(S) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/free.cpp:245:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/free.cpp:245:3: Error evaluating statement #0 0x0000ffffab4cacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffab4c9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffab4cb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb4406800 (linux-vdso.so.1+0x800) #4 0x0000ffffb3723688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb3723688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb3723688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb3723688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb3723688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb3723688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb3723688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb3723688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb33d0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb33d0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb33d0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb33d0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb33d1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb33d1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb33d1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb33d1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb33e4770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb33e4770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb33e4770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb33e5cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb33e5cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb33e5cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb33e5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb33e5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb33e5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb33f17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb33f17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb33f17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb33fb074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb33fb074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb33fb074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb335f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb335f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb335f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb335f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb384d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb384d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb384d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffb3528c54 (anonymous namespace)::MallocChecker::FreeMemAux(clang::ento::CheckerContext&, clang::Expr const*, clang::ento::CallEvent const&, llvm::IntrusiveRefCntPtr, bool, bool&, (anonymous namespace)::AllocationFamily, bool) const (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1909:0 #43 0x0000ffffb3704dc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x0000ffffb3704dc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffffb3704dc0 (anonymous namespace)::MallocChecker::FreeMemAux(clang::ento::CheckerContext&, clang::ento::CallEvent const&, llvm::IntrusiveRefCntPtr, unsigned int, bool, bool&, (anonymous namespace)::AllocationFamily, bool) const (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1808:0 #46 0x0000ffffb3523e2c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #47 0x0000ffffb3523e2c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #48 0x0000ffffb3523e2c (anonymous namespace)::MallocChecker::checkFree(clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1293:0 #49 0x0000ffffb3530d34 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #50 0x0000ffffb3530d34 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #51 0x0000ffffb3530d34 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1489:0 #52 0x0000ffffb3530d34 void clang::ento::check::PostCall::_checkCall<(anonymous namespace)::MallocChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:183:0 #53 0x0000ffffb3349524 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #54 0x0000ffffb3349524 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #55 0x0000ffffb3349524 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #56 0x0000ffffb3349524 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #57 0x0000ffffb3349524 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #58 0x0000ffffb33a98b8 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #59 0x0000ffffb33a98b8 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #60 0x0000ffffb33a98b8 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #61 0x0000ffffb33a98b8 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #62 0x0000ffffb33a98b8 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #63 0x0000ffffb33a98b8 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #64 0x0000ffffb33aa144 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #65 0x0000ffffb338bea0 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #66 0x0000ffffb338bea0 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #67 0x0000ffffb338cf08 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #68 0x0000ffffb338d1f0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #69 0x0000ffffb338d41c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #70 0x0000ffffb338d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #71 0x0000ffffb338d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #72 0x0000ffffb338d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #73 0x0000ffffb338d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #74 0x0000ffffb338d764 clang::ento::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 0x0000ffffb365787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #76 0x0000ffffb365787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #77 0x0000ffffb365787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #78 0x0000ffffb365787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #79 0x0000ffffb365787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #80 0x0000ffffb36587e8 llvm::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 0x0000ffffb36587e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #82 0x0000ffffb36587e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #83 0x0000ffffb365cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #84 0x0000ffffb365cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #85 0x0000ffffb365cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #86 0x0000ffffb365cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #87 0x0000ffffb365cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #88 0x0000ffffb1ab1e58 __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 0x0000ffffb1ab1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #90 0x0000ffffb1ab1e58 void clang::finalize>, 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 0x0000ffffb1ab1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #92 0x0000ffffb3177ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #93 0x0000ffffb312fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #94 0x0000ffffb312fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #95 0x0000ffffb312fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #96 0x0000ffffb31b610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #97 0x0000aaaad8a659f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #98 0x0000aaaad8a694b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #99 0x0000aaaad8a6aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #100 0x0000aaaad8a61fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #101 0x0000ffffaa72098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #102 0x0000ffffaa720a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #103 0x0000aaaad8a620b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/free.cpp.script: line 2: 1825837 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/free.cpp -analyzer-checker=core -analyzer-checker=unix.Malloc -- ******************** Testing: 0 FAIL: Clang :: Analysis/fuchsia_lock.c (753 of 18953) ******************** TEST 'Clang :: Analysis/fuchsia_lock.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.fuchsia.Lock -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/fuchsia_lock.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.fuchsia.Lock -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/fuchsia_lock.c 1. parser at end of file 2. While analyzing stack: #0 Calling good12 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/fuchsia_lock.c:102:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/fuchsia_lock.c:102:7: Error evaluating statement #0 0x0000ffff7dc5acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7dc59100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7dc5b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff86b9d800 (linux-vdso.so.1+0x800) #4 0x0000ffff85eb3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff85eb3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff85eb3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff85eb3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff85eb3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff85eb3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff85eb3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff85eb3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff85b60c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff85b60c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff85b60c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff85b60c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff85b61ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff85b61ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff85b61ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff85b61ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff85b7591c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff85b7591c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff85b7591c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffff85b75bf0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff85b75bf0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff85b75bf0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffff85b75190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff85b75190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff85b75190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff85b817d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff85b817d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff85b817d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff85b8b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff85b8b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff85b8b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff85aef72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff85aef72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff85aef72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff85aef72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff85fdd3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff85fdd3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff85fdd3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff85d041e8 (anonymous namespace)::PthreadLockChecker::AcquireLockAux(clang::ento::CallEvent const&, clang::ento::CheckerContext&, clang::Expr const*, clang::ento::SVal, bool, (anonymous namespace)::PthreadLockChecker::LockingSemantics, (anonymous namespace)::PthreadLockChecker::CheckerKind) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/PthreadLockChecker.cpp:433:0 #43 0x0000ffff85d04540 (anonymous namespace)::PthreadLockChecker::TryPthreadLock(clang::ento::CallEvent const&, clang::ento::CheckerContext&, (anonymous namespace)::PthreadLockChecker::CheckerKind) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/PthreadLockChecker.cpp:375:0 #44 0x0000ffff85ad9524 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #45 0x0000ffff85ad9524 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x0000ffff85ad9524 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #47 0x0000ffff85ad9524 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #48 0x0000ffff85ad9524 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #49 0x0000ffff85b398b8 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #50 0x0000ffff85b398b8 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #51 0x0000ffff85b398b8 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #52 0x0000ffff85b398b8 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #53 0x0000ffff85b398b8 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #54 0x0000ffff85b398b8 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #55 0x0000ffff85b3a144 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #56 0x0000ffff85b1bea0 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #57 0x0000ffff85b1bea0 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #58 0x0000ffff85b1cf08 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #59 0x0000ffff85b1d1f0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #60 0x0000ffff85b1d41c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #61 0x0000ffff85b1d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #62 0x0000ffff85b1d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #63 0x0000ffff85b1d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #64 0x0000ffff85b1d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #65 0x0000ffff85b1d764 clang::ento::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 0x0000ffff85de787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #67 0x0000ffff85de787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #68 0x0000ffff85de787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #69 0x0000ffff85de787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #70 0x0000ffff85de787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #71 0x0000ffff85de87e8 llvm::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 0x0000ffff85de87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #73 0x0000ffff85de87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #74 0x0000ffff85decde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #75 0x0000ffff85decde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #76 0x0000ffff85decde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #77 0x0000ffff85decde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #78 0x0000ffff85decde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #79 0x0000ffff84241e58 __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 0x0000ffff84241e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #81 0x0000ffff84241e58 void clang::finalize>, 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 0x0000ffff84241e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #83 0x0000ffff85907ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #84 0x0000ffff858bfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #85 0x0000ffff858bfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #86 0x0000ffff858bfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #87 0x0000ffff8594610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #88 0x0000aaaabb5759f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #89 0x0000aaaabb5794b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #90 0x0000aaaabb57aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #91 0x0000aaaabb571fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #92 0x0000ffff7ceb098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #93 0x0000ffff7ceb0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #94 0x0000aaaabb5720b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/fuchsia_lock.c.script: line 1: 1825853 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.fuchsia.Lock -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/fuchsia_lock.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/fuchsia_lock_impl.c (754 of 18953) ******************** TEST 'Clang :: Analysis/fuchsia_lock_impl.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.fuchsia.Lock -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/fuchsia_lock_impl.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.fuchsia.Lock -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/fuchsia_lock_impl.c 1. parser at end of file 2. While analyzing stack: #0 Calling spin_trylock at line 16 #1 Calling no_crash 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/fuchsia_lock_impl.c:8:9: Error evaluating branch #0 0x0000ffff9b7bacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff9b7b9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9b7bb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa46f0800 (linux-vdso.so.1+0x800) #4 0x0000ffffa3a13688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa3a13688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa3a13688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa3a13688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa3a13688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa3a13688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa3a13688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa3a13688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa36c0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa36c0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa36c0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa36c0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa36c1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa36c1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa36c1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa36c1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa36d591c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa36d591c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa36d591c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffffa36d5bf0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa36d5bf0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa36d5bf0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffffa36d5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa36d5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa36d5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa36e17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa36e17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa36e17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa36eb074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa36eb074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa36eb074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa364f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa364f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa364f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa364f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa3b3d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa3b3d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa3b3d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffa36658c8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffffa36658c8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffffa36658c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffffa36658c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffffa36658c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffffa36658c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffffa36658c8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffffa36658c8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffffa36658c8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffffa36658c8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffffa3665e30 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffffa367d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffa367d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffa367d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffa367d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffa367d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffa394787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffa394787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffa394787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffa394787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffa394787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffa39487e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffa39487e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffa39487e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffa394cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffa394cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffa394cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffa394cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffa394cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffa1da1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffa1da1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffa1da1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffa1da1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffa3467ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffa341fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffa341fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffa341fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffa34a610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaaea2059f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaaea2094b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaaea20aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaaea201fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff9aa1098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff9aa10a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaaea2020b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/fuchsia_lock_impl.c.script: line 1: 1825859 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.fuchsia.Lock -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/fuchsia_lock_impl.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/func.c (756 of 18953) ******************** TEST 'Clang :: Analysis/func.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/func.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/func.c 1. parser at end of file 2. While analyzing stack: #0 Calling nullFunctionPointerConstraint 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/func.c:37:7: Error evaluating branch #0 0x0000ffff8cfbacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8cfb9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8cfbb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff95ef3800 (linux-vdso.so.1+0x800) #4 0x0000ffff95213688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff95213688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff95213688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff95213688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff95213688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff95213688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff95213688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff95213688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff94ec0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff94ec0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff94ec0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff94ec0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff94ec1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff94ec1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff94ec1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff94ec1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff94ed4770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff94ed4770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff94ed4770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff94ed5cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff94ed5cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff94ed5cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff94ed5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff94ed5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff94ed5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff94ee17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff94ee17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff94ee17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff94eeb074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff94eeb074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff94eeb074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff94e4f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff94e4f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff94e4f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff94e4f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9533d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9533d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9533d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff94e658c8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffff94e658c8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffff94e658c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffff94e658c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffff94e658c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffff94e658c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffff94e658c8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffff94e658c8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffff94e658c8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffff94e658c8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffff94e65e30 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffff94e7d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff94e7d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff94e7d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff94e7d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff94e7d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff9514787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff9514787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff9514787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff9514787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff9514787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff951487e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff951487e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff951487e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff9514cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff9514cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff9514cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff9514cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff9514cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff935a1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff935a1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff935a1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff935a1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff94c67ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff94c1fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff94c1fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff94c1fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff94ca610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaab94159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaab94194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaab941aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaab9411fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff8c21098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff8c210a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaab94120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/func.c.script: line 1: 1825875 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/func.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/gcdantipatternchecker_test.m (757 of 18953) ******************** TEST 'Clang :: Analysis/gcdantipatternchecker_test.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,optin.performance.GCDAntipattern /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/gcdantipatternchecker_test.m -fblocks -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,optin.performance.GCDAntipattern /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/gcdantipatternchecker_test.m -fblocks -verify 1. parser at end of file 2. While analyzing stack: #0 Calling no_warn_on_nonzero_semaphore 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/gcdantipatternchecker_test.m:340:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/gcdantipatternchecker_test.m:340:3: Error evaluating statement #0 0x0000ffff8e61acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8e619100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8e61b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff97550800 (linux-vdso.so.1+0x800) #4 0x0000ffff96873688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff96873688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff96873688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff96873688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff96873688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff96873688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff96873688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff96873688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff96520c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff96520c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff96520c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff96520c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff96521ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff96521ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff96521ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff96521ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff96534770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff96534770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff96534770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff96535cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff96535cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff96535cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff96535190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff96535190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff96535190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff965417d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff965417d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff965417d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9654b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9654b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9654b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff964af72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff964af72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff964af72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff964af72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9699d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9699d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9699d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff9651171c std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #43 0x0000ffff9651171c std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #44 0x0000ffff9651171c std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #45 0x0000ffff9651171c std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #46 0x0000ffff9651171c std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #47 0x0000ffff9651171c clang::ento::ExprEngine::VisitObjCMessage(clang::ObjCMessageExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineObjC.cpp:192:0 #48 0x0000ffff964dba38 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #49 0x0000ffff964dba38 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2309:0 #50 0x0000ffff964dcf08 clang::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 0x0000ffff964dd1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff964dd41c clang::ento::CoreEngine::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 0x0000ffff964dd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff964dd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff964dd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff964dd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff964dd764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff967a787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff967a787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff967a787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff967a787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff967a787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff967a87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff967a87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff967a87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff967acde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff967acde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff967acde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff967acde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff967acde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff94c01e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff94c01e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff94c01e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff94c01e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff962c7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff9627fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff9627fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff9627fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff9630610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaaafa459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaaafa494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaaafa4aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaaafa41fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff8d87098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff8d870a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaaafa420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/gcdantipatternchecker_test.m.script: line 1: 1825884 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,optin.performance.GCDAntipattern /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/gcdantipatternchecker_test.m -fblocks -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/global-region-invalidation.c (758 of 18953) ******************** TEST 'Clang :: Analysis/global-region-invalidation.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -disable-free -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/global-region-invalidation.c -analyzer-checker=core,deadcode,alpha.security.taint,debug.TaintTest,debug.ExprInspection -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -disable-free -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/global-region-invalidation.c -analyzer-checker=core,deadcode,alpha.security.taint,debug.TaintTest,debug.ExprInspection 1. parser at end of file 2. While analyzing stack: #0 Calling Function1 #0 0x0000ffff78f7acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff78f79100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff78f7b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff81eb9800 (linux-vdso.so.1+0x800) #4 0x0000ffff80e15e9c llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffff80e15e9c llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff80e15e9c llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff80e15e9c llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff80e15e9c llvm::ImmutableSet>::ImmutableSet(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:971:38 #9 0x0000ffff80e15e9c 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 0x0000ffff80e15e9c contains<(anonymous namespace)::InitializedGlobalsSet> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:470:42 #11 0x0000ffff80e15e9c clang::ento::ExprEngine::processStaticInitializer(clang::DeclStmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2822:59 #12 0x0000ffff80e1620c clang::ento::CoreEngine::HandleStaticInit(clang::DeclStmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:484:10 #13 0x0000ffff80e3d5dc clang::ento::CoreEngine::dispatchWorkItem(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 0x0000ffff80e3d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #15 0x0000ffff80e3d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #16 0x0000ffff80e3d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #17 0x0000ffff80e3d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #18 0x0000ffff80e3d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #19 0x0000ffff8110787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffff8110787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffff8110787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #22 0x0000ffff8110787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #23 0x0000ffff8110787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #24 0x0000ffff811087e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #25 0x0000ffff811087e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #26 0x0000ffff811087e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #27 0x0000ffff8110cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #28 0x0000ffff8110cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #29 0x0000ffff8110cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #30 0x0000ffff8110cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #31 0x0000ffff8110cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #32 0x0000ffff7f561e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #33 0x0000ffff7f561e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #34 0x0000ffff7f561e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #35 0x0000ffff7f561e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #36 0x0000ffff80c27ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #37 0x0000ffff80bdfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #38 0x0000ffff80bdfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #39 0x0000ffff80bdfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #40 0x0000ffff80c6610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #41 0x0000aaaad8bf59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #42 0x0000aaaad8bf94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #43 0x0000aaaad8bfaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #44 0x0000aaaad8bf1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #45 0x0000ffff781d098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #46 0x0000ffff781d0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #47 0x0000aaaad8bf20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/global-region-invalidation.c.script: line 1: 1825915 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -disable-free -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/global-region-invalidation.c -analyzer-checker=core,deadcode,alpha.security.taint,debug.TaintTest,debug.ExprInspection -- ******************** Testing: 0 FAIL: Clang :: Analysis/generics.m (759 of 18953) ******************** TEST 'Clang :: Analysis/generics.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.ObjCGenerics,alpha.core.DynamicTypeChecker -verify -Wno-objc-method-access /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/generics.m : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.ObjCGenerics,alpha.core.DynamicTypeChecker -verify -Wno-objc-method-access /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/generics.m -analyzer-output=plist -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/generics.m.tmp.plist : 'RUN: at line 3'; grep -Ev '^[[:space:]]*.* version .*[[:space:]]*$|^[[:space:]]*/.*[[:space:]]*$|^[[:space:]]*.:.*[[:space:]]*$' parser at end of file 2. While analyzing stack: #0 Calling testCallToMethodWithCovariantParameterOnInstanceOfSubclassWithInvariantParameter 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/generics.m:405:3: Error evaluating statement #0 0x0000ffff8c7dacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8c7d9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8c7db388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9571d800 (linux-vdso.so.1+0x800) #4 0x0000ffff94a229bc llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff94a229bc llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff94a229bc llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff94a229bc llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff94a229bc llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff94a229bc 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 0x0000ffff94a229bc get<(anonymous namespace)::MostSpecializedTypeArgsMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff94a229bc (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 0x0000ffff9466d814 void expandGraphWithCheckers<(anonymous namespace)::CheckDeadSymbolsContext>((anonymous namespace)::CheckDeadSymbolsContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #13 0x0000ffff94687fe8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x0000ffff94687fe8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x0000ffff94687fe8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #16 0x0000ffff94687fe8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #17 0x0000ffff94687fe8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #18 0x0000ffff94687fe8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #19 0x0000ffff94687fe8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1080:48 #20 0x0000ffff9469ce94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #21 0x0000ffff9469ce94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #22 0x0000ffff9469ce94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #23 0x0000ffff9469ce94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #24 0x0000ffff9469ce94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #25 0x0000ffff9469ce94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #26 0x0000ffff9469ce94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #27 0x0000ffff9469ce94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #28 0x0000ffff9469ce94 clang::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 0x0000ffff9469d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff9469d41c clang::ento::CoreEngine::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 0x0000ffff9469d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #32 0x0000ffff9469d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #33 0x0000ffff9469d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #34 0x0000ffff9469d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #35 0x0000ffff9469d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #36 0x0000ffff9496787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffff9496787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffff9496787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #39 0x0000ffff9496787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #40 0x0000ffff9496787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #41 0x0000ffff949687e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #42 0x0000ffff949687e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #43 0x0000ffff949687e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #44 0x0000ffff9496cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #45 0x0000ffff9496cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #46 0x0000ffff9496cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #47 0x0000ffff9496cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #48 0x0000ffff9496cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #49 0x0000ffff92dc1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #50 0x0000ffff92dc1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #51 0x0000ffff92dc1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #52 0x0000ffff92dc1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #53 0x0000ffff94487ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #54 0x0000ffff9443fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #55 0x0000ffff9443fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #56 0x0000ffff9443fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #57 0x0000ffff944c610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #58 0x0000aaaae7ab59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #59 0x0000aaaae7ab94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #60 0x0000aaaae7abaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #61 0x0000aaaae7ab1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #62 0x0000ffff8ba3098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #63 0x0000ffff8ba30a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #64 0x0000aaaae7ab20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/generics.m.script: line 3: 1825912 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.ObjCGenerics,alpha.core.DynamicTypeChecker -verify -Wno-objc-method-access /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/generics.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/global_region_invalidation.mm (760 of 18953) ******************** TEST 'Clang :: Analysis/global_region_invalidation.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/global_region_invalidation.mm -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/global_region_invalidation.mm 1. parser at end of file 2. While analyzing stack: #0 Calling testWrappedStaticsViaGlobal() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/global_region_invalidation.mm:176:7: Error evaluating branch #0 0x0000ffffa6e2acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa6e29100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa6e2b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffafd63800 (linux-vdso.so.1+0x800) #4 0x0000ffffaf083688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffaf083688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffaf083688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffaf083688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffaf083688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffaf083688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffaf083688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffaf083688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffaed30c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffaed30c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffaed30c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffaed30c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffaed31ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffaed31ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffaed31ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffaed31ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffaed44770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffaed44770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffaed44770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffaed45cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffaed45cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffaed45cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffaed45190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffaed45190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffaed45190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffaed517d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffaed517d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffaed517d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffaed5b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffaed5b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffaed5b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffaecbf6d8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffaecbf6d8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffaecbf6d8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffaecbf6d8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffaf1ad3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffaf1ad3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffaf1ad3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffaecd58c8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffffaecd58c8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffffaecd58c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffffaecd58c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffffaecd58c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffffaecd58c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffffaecd58c8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffffaecd58c8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffffaecd58c8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffffaecd58c8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffffaecd5e30 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffffaeced764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffaeced764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffaeced764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffaeced764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffaeced764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffaefb787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffaefb787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffaefb787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffaefb787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffaefb787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffaefb87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffaefb87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffaefb87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffaefbcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffaefbcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffaefbcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffaefbcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffaefbcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffad411e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffad411e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffad411e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffad411e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffaead7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffaea8fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffaea8fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffaea8fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffaeb1610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaab6d159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaab6d194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaab6d1aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaab6d11fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffa608098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffa6080a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaab6d120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/global_region_invalidation.mm.script: line 1: 1825922 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/global_region_invalidation.mm -- ******************** Testing: 0 FAIL: Clang :: Analysis/globals.cpp (761 of 18953) ******************** TEST 'Clang :: Analysis/globals.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify -std=c++2a /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/globals.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify -std=c++2a /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/globals.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling S3::S3() at line 109 #1 Calling recordinit() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/globals.cpp:103:8: Error evaluating statement #0 0x0000ffffa817acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa8179100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa817b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb10bb800 (linux-vdso.so.1+0x800) #4 0x0000ffffb0027db8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffb0027db8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffb0027db8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffb0027db8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffb0027db8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffb0027db8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffb0027db8 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffb0027db8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1059:61 #12 0x0000ffffb003ce94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffffb003ce94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffffb003ce94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffffb003ce94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffffb003ce94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffffb003ce94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffffb003ce94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffffb003ce94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffffb003ce94 clang::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 0x0000ffffb003d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffb003d310 clang::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 0x0000ffffb003d5dc clang::ento::CoreEngine::dispatchWorkItem(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 0x0000ffffb003d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x0000ffffb003d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x0000ffffb003d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #27 0x0000ffffb003d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #28 0x0000ffffb003d764 clang::ento::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 0x0000ffffb030787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffffb030787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffffb030787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #32 0x0000ffffb030787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #33 0x0000ffffb030787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #34 0x0000ffffb03087e8 llvm::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 0x0000ffffb03087e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x0000ffffb03087e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #37 0x0000ffffb030cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x0000ffffb030cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x0000ffffb030cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x0000ffffb030cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x0000ffffb030cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x0000ffffae761e58 __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 0x0000ffffae761e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x0000ffffae761e58 void clang::finalize>, 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 0x0000ffffae761e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x0000ffffafe27ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #47 0x0000ffffafddfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #48 0x0000ffffafddfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #49 0x0000ffffafddfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #50 0x0000ffffafe6610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #51 0x0000aaaae69159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x0000aaaae69194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x0000aaaae691aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x0000aaaae6911fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x0000ffffa73d098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #56 0x0000ffffa73d0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #57 0x0000aaaae69120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/globals.cpp.script: line 1: 1825940 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify -std=c++2a /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/globals.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/global-region-invalidation-errno.c (763 of 18953) ******************** TEST 'Clang :: Analysis/global-region-invalidation-errno.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -disable-free -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/global-region-invalidation-errno.c -analyzer-checker=core,deadcode,alpha.security.taint -DERRNO_VAR : 'RUN: at line 5'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -disable-free -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/global-region-invalidation-errno.c -analyzer-checker=core,deadcode,alpha.security.taint -DERRNO_FUNC -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -disable-free -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/global-region-invalidation-errno.c -analyzer-checker=core,deadcode,alpha.security.taint -DERRNO_VAR 1. parser at end of file 2. While analyzing stack: #0 Calling testErrnoInternal 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/global-region-invalidation-errno.c:43:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/global-region-invalidation-errno.c:43:3: Error evaluating statement #0 0x0000ffff7e2dacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7e2d9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7e2db388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff87216800 (linux-vdso.so.1+0x800) #4 0x0000ffff863f5648 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffff863f5648 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff863f5648 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff863f5648 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff863f5648 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff863f5648 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 0x0000ffff863f5648 get<(anonymous namespace)::TaintMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x0000ffff863f5648 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 0x0000ffff863eb838 llvm::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 0x0000ffff863eb838 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #14 0x0000ffff863eb838 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #15 0x0000ffff863eb838 clang::ento::taint::getTaintedSymbolsImpl(llvm::IntrusiveRefCntPtr, clang::ento::SVal, unsigned int, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/Taint.cpp:206:0 #16 0x0000ffff863ebba0 clang::ento::taint::isTainted(llvm::IntrusiveRefCntPtr, clang::ento::SVal, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/Taint.cpp:155:0 #17 0x0000ffff862b5160 (anonymous namespace)::getTaintedPointeeOrPointer(llvm::IntrusiveRefCntPtr, clang::ento::SVal) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp:145:0 #18 0x0000ffff862d6de8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp:939:0 #19 0x0000ffff862d6de8 operator()<(anonymous namespace)::GenericTaintRule::process(const (anonymous namespace)::GenericTaintChecker&, const clang::ento::CallEvent&, clang::ento::CheckerContext&) const:: > /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp:905:0 #20 0x0000ffff862d6de8 (anonymous namespace)::GenericTaintRule::process((anonymous namespace)::GenericTaintChecker const&, clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp:936:0 #21 0x0000ffff862d8fdc getPrintfFormatArgumentNum /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp:1047:0 #22 0x0000ffff862d8fdc checkUncontrolledFormatString /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp:1069:0 #23 0x0000ffff862d8fdc checkPreCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp:825:0 #24 0x0000ffff862d8fdc void clang::ento::check::PreCall::_checkCall<(anonymous namespace)::GenericTaintChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:168:0 #25 0x0000ffff86159524 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #26 0x0000ffff86159524 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #27 0x0000ffff86159524 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #28 0x0000ffff86159524 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #29 0x0000ffff86159524 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #30 0x0000ffff861b97a0 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #31 0x0000ffff861b97a0 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #32 0x0000ffff861b97a0 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #33 0x0000ffff861b97a0 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #34 0x0000ffff861b97a0 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #35 0x0000ffff861b97a0 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #36 0x0000ffff861b97a0 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:683:44 #37 0x0000ffff861ba144 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #38 0x0000ffff8619bea0 clang::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 0x0000ffff8619bea0 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #40 0x0000ffff8619cf08 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #41 0x0000ffff8619d1f0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #42 0x0000ffff8619d41c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #43 0x0000ffff8619d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #44 0x0000ffff8619d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #45 0x0000ffff8619d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #46 0x0000ffff8619d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #47 0x0000ffff8619d764 clang::ento::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 0x0000ffff8646787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #49 0x0000ffff8646787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #50 0x0000ffff8646787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #51 0x0000ffff8646787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #52 0x0000ffff8646787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #53 0x0000ffff864687e8 llvm::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 0x0000ffff864687e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #55 0x0000ffff864687e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #56 0x0000ffff8646cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #57 0x0000ffff8646cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #58 0x0000ffff8646cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #59 0x0000ffff8646cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #60 0x0000ffff8646cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #61 0x0000ffff848c1e58 __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 0x0000ffff848c1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #63 0x0000ffff848c1e58 void clang::finalize>, 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 0x0000ffff848c1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #65 0x0000ffff85f87ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #66 0x0000ffff85f3fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #67 0x0000ffff85f3fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #68 0x0000ffff85f3fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #69 0x0000ffff85fc610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #70 0x0000aaaab00059f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #71 0x0000aaaab00094b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #72 0x0000aaaab000aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #73 0x0000aaaab0001fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #74 0x0000ffff7d53098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #75 0x0000ffff7d530a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #76 0x0000aaaab00020b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/global-region-invalidation-errno.c.script: line 2: 1825916 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -disable-free -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/global-region-invalidation-errno.c -analyzer-checker=core,deadcode,alpha.security.taint -DERRNO_VAR -- ******************** Testing: 0 FAIL: Clang :: Analysis/globals-are-not-always-immutable.c (766 of 18953) ******************** TEST 'Clang :: Analysis/globals-are-not-always-immutable.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/globals-are-not-always-immutable.c -analyzer-config eagerly-assume=false -analyzer-checker=core,debug.ExprInspection -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/globals-are-not-always-immutable.c -analyzer-config eagerly-assume=false -analyzer-checker=core,debug.ExprInspection 1. parser at end of file 2. While analyzing stack: #0 Calling test_my_mutable_system_global_assign 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/globals-are-not-always-immutable.c:70:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/globals-are-not-always-immutable.c:70:3: Error evaluating statement #0 0x0000ffff7954acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff79549100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7954b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8248b800 (linux-vdso.so.1+0x800) #4 0x0000ffff8144a80c retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff8144a80c retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff8144a80c retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff8144a80c IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff8144a80c ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff8144a80c MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff8144a80c get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff8144a80c (anonymous namespace)::EquivalenceClass::mergeImpl(clang::ento::RangeSet::Factory&, llvm::IntrusiveRefCntPtr, llvm::ImmutableSet>, (anonymous namespace)::EquivalenceClass, llvm::ImmutableSet>) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2361:0 #12 0x0000ffff8144c73c llvm::IntrusiveRefCntPtrInfo>>::release(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:351:0 #13 0x0000ffff8144c73c llvm::IntrusiveRefCntPtr>>::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #14 0x0000ffff8144c73c llvm::IntrusiveRefCntPtr>>::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #15 0x0000ffff8144c73c llvm::ImmutableSet>::~ImmutableSet() /usr/include/llvm/ADT/ImmutableSet.h:957:0 #16 0x0000ffff8144c73c (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 0x0000ffff814512b0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #18 0x0000ffff814512b0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff814512b0 merge /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2309:0 #20 0x0000ffff814512b0 trackEquality /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2160:0 #21 0x0000ffff814512b0 assignSymSymExprToRangeSet /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2238:0 #22 0x0000ffff814512b0 assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:0 #23 0x0000ffff814512b0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:0 #24 0x0000ffff814512b0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:0 #25 0x0000ffff814512b0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:0 #26 0x0000ffff814512b0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #27 0x0000ffff814512b0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #28 0x0000ffff81451940 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #29 0x0000ffff81451940 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #30 0x0000ffff81451940 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x0000ffff81451940 (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:0 #32 0x0000ffff8146591c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #33 0x0000ffff8146591c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #34 0x0000ffff8146591c 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 0x0000ffff81465190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff81465190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff81465190 clang::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 0x0000ffff814717d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #39 0x0000ffff814717d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #40 0x0000ffff814717d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #41 0x0000ffff8147b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #42 0x0000ffff8147b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #43 0x0000ffff8147b074 clang::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 0x0000ffff813df6d8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #45 0x0000ffff813df6d8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #46 0x0000ffff813df6d8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #47 0x0000ffff813df6d8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #48 0x0000ffff818d1984 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #49 0x0000ffff818d1984 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #50 0x0000ffff818d1984 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 0x0000ffff818d1984 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 0x0000ffff814ec980 getArgumentValueString /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:135:3 #53 0x0000ffff814ec980 analyzerEval /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:224:12 #54 0x0000ffff814ec980 (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 0x0000ffff81520120 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:130:0 #56 0x0000ffff81520120 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 0x0000ffff813c9f0c 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 0x0000ffff8142981c llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #59 0x0000ffff8142981c llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #60 0x0000ffff8142981c clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #61 0x0000ffff8142981c clang::ento::ExprEngine::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 0x0000ffff8142a144 clang::ento::ExprEngine::VisitCallExpr(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 0x0000ffff8140bea0 clang::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 0x0000ffff8140bea0 clang::ento::ExprEngine::Visit(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 0x0000ffff8140cf08 clang::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 0x0000ffff8140d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8140d41c clang::ento::CoreEngine::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 0x0000ffff8140d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #69 0x0000ffff8140d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #70 0x0000ffff8140d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #71 0x0000ffff8140d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #72 0x0000ffff8140d764 clang::ento::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 0x0000ffff816d787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #74 0x0000ffff816d787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #75 0x0000ffff816d787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #76 0x0000ffff816d787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #77 0x0000ffff816d787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #78 0x0000ffff816d87e8 llvm::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 0x0000ffff816d87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #80 0x0000ffff816d87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #81 0x0000ffff816dcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #82 0x0000ffff816dcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #83 0x0000ffff816dcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #84 0x0000ffff816dcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #85 0x0000ffff816dcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #86 0x0000ffff7fb31e58 __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 0x0000ffff7fb31e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #88 0x0000ffff7fb31e58 void clang::finalize>, 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 0x0000ffff7fb31e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #90 0x0000ffff811f7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #91 0x0000ffff811afc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #92 0x0000ffff811afc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #93 0x0000ffff811afc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #94 0x0000ffff8123610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #95 0x0000aaaad1d959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #96 0x0000aaaad1d994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #97 0x0000aaaad1d9aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #98 0x0000aaaad1d91fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #99 0x0000ffff787a098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #100 0x0000ffff787a0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #101 0x0000aaaad1d920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/globals-are-not-always-immutable.c.script: line 1: 1825936 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/globals-are-not-always-immutable.c -analyzer-config eagerly-assume=false -analyzer-checker=core,debug.ExprInspection -- ******************** Testing: 0 FAIL: Clang :: Analysis/gmalloc.c (768 of 18953) ******************** TEST 'Clang :: Analysis/gmalloc.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-checker=core,unix.Malloc -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/gmalloc.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-checker=core,unix.Malloc -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/gmalloc.c 1. parser at end of file 2. While analyzing stack: #0 Calling f8 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/gmalloc.c:177:36: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/gmalloc.c:177:36: Error evaluating statement #0 0x0000ffff76ffacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff76ff9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff76ffb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff7ff31800 (linux-vdso.so.1+0x800) #4 0x0000ffff7f239f20 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff7f239f20 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff7f239f20 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff7f239f20 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff7f239f20 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff7f239f20 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff7f239f20 get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff7f239f20 (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 0x0000ffff7f0483d0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x0000ffff7f0483d0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x0000ffff7f0483d0 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 0x0000ffff7ee5c2f8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #16 0x0000ffff7ee5c2f8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #17 0x0000ffff7ee5c2f8 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool)>::operator()(llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:0 #18 0x0000ffff7ee5c2f8 clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:0 #19 0x0000ffff7ef21844 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffff7ef21844 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffff7ef21844 clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:78 #22 0x0000ffff7ef21844 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:53 #23 0x0000ffff7ef2b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x0000ffff7ef2b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x0000ffff7ef2b074 clang::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 0x0000ffff7ee8f818 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff7ee8f818 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff7ee8f818 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #29 0x0000ffff7ee8f818 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:68:21 #30 0x0000ffff7f37d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff7f37d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff7f37d3d4 clang::ento::ProgramState::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 0x0000ffff7f0544b0 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x0000ffff7f0544b0 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x0000ffff7f0544b0 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x0000ffff7f0544b0 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x0000ffff7f0544b0 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x0000ffff7f0544b0 (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 0x0000ffff7f0557b4 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #40 0x0000ffff7f0557b4 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #41 0x0000ffff7f0557b4 (anonymous namespace)::MallocChecker::checkGMalloc0(clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1384:0 #42 0x0000ffff7f060e00 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #43 0x0000ffff7f060e00 void clang::ento::check::PostCall::_checkCall<(anonymous namespace)::MallocChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:183:0 #44 0x0000ffff7ee79524 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #45 0x0000ffff7ee79524 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x0000ffff7ee79524 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #47 0x0000ffff7ee79524 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #48 0x0000ffff7ee79524 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #49 0x0000ffff7eed98b8 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #50 0x0000ffff7eed98b8 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #51 0x0000ffff7eed98b8 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #52 0x0000ffff7eed98b8 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #53 0x0000ffff7eed98b8 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #54 0x0000ffff7eed98b8 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #55 0x0000ffff7eeda144 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #56 0x0000ffff7eebbea0 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #57 0x0000ffff7eebbea0 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #58 0x0000ffff7eebcf08 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #59 0x0000ffff7eebd1f0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #60 0x0000ffff7eebd41c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #61 0x0000ffff7eebd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #62 0x0000ffff7eebd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #63 0x0000ffff7eebd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #64 0x0000ffff7eebd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #65 0x0000ffff7eebd764 clang::ento::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 0x0000ffff7f18787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #67 0x0000ffff7f18787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #68 0x0000ffff7f18787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #69 0x0000ffff7f18787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #70 0x0000ffff7f18787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #71 0x0000ffff7f1887e8 llvm::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 0x0000ffff7f1887e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #73 0x0000ffff7f1887e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #74 0x0000ffff7f18cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #75 0x0000ffff7f18cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #76 0x0000ffff7f18cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #77 0x0000ffff7f18cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #78 0x0000ffff7f18cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #79 0x0000ffff7d5e1e58 __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 0x0000ffff7d5e1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #81 0x0000ffff7d5e1e58 void clang::finalize>, 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 0x0000ffff7d5e1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #83 0x0000ffff7eca7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #84 0x0000ffff7ec5fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #85 0x0000ffff7ec5fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #86 0x0000ffff7ec5fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #87 0x0000ffff7ece610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #88 0x0000aaaab55f59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #89 0x0000aaaab55f94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #90 0x0000aaaab55faac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #91 0x0000aaaab55f1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #92 0x0000ffff7625098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #93 0x0000ffff76250a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #94 0x0000aaaab55f20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/gmalloc.c.script: line 1: 1825949 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-checker=core,unix.Malloc -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/gmalloc.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/gtest.cpp (769 of 18953) ******************** TEST 'Clang :: Analysis/gtest.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -cc1 -std=c++11 -analyzer-checker=core,apiModeling.google.GTest,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/gtest.cpp -verify : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -cc1 -std=c++11 -analyzer-checker=core,apiModeling.google.GTest,debug.ExprInspection -DGTEST_VERSION_1_8_AND_LATER=1 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/gtest.cpp -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -cc1 -std=c++11 -analyzer-checker=core,apiModeling.google.GTest,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/gtest.cpp -verify 1. parser at end of file 2. While analyzing stack: #0 Calling testAssertSymbolicRef(const _Bool &) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/gtest.cpp:161:3 : Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/gtest.cpp:161:3 : Error evaluating statement #0 0x0000ffffaeafacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffaeaf9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffaeafb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb7a35800 (linux-vdso.so.1+0x800) #4 0x0000ffffb69ae6a4 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffffb69ae6a4 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffb69ae6a4 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffb69ae6a4 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffb69ae6a4 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffb69ae6a4 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffb69ae6a4 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffb69ae6a4 llvm::IntrusiveRefCntPtr clang::ento::ProgramStateManager::set<(anonymous namespace)::ObjectsUnderConstruction>(llvm::IntrusiveRefCntPtr, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::key_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::value_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::context_type) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:652:0 #12 0x0000ffffb69aea94 llvm::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 0x0000ffffb69aea94 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #14 0x0000ffffb69aea94 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #15 0x0000ffffb69aea94 set<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:876:0 #16 0x0000ffffb69aea94 clang::ento::ExprEngine::addObjectUnderConstruction(llvm::IntrusiveRefCntPtr, clang::ConstructionContextItem const&, clang::LocationContext const*, clang::ento::SVal) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:599:0 #17 0x0000ffffb69af174 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #18 0x0000ffffb69af174 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #19 0x0000ffffb69af174 clang::ento::ExprEngine::updateObjectsUnderConstruction(clang::ento::SVal, clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:463:0 #20 0x0000ffffb69b6a00 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #21 0x0000ffffb69b6a00 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #22 0x0000ffffb69b6a00 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 0x0000ffffb69b6a00 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 0x0000ffffb69bbe5c clang::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 0x0000ffffb69bbe5c clang::ento::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 0x0000ffffb69bcf08 clang::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 0x0000ffffb69bd1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffb69bd41c clang::ento::CoreEngine::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 0x0000ffffb69bd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #30 0x0000ffffb69bd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #31 0x0000ffffb69bd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #32 0x0000ffffb69bd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #33 0x0000ffffb69bd764 clang::ento::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 0x0000ffffb6c8787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #35 0x0000ffffb6c8787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #36 0x0000ffffb6c8787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #37 0x0000ffffb6c8787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #38 0x0000ffffb6c8787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #39 0x0000ffffb6c887e8 llvm::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 0x0000ffffb6c887e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #41 0x0000ffffb6c887e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #42 0x0000ffffb6c8cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #43 0x0000ffffb6c8cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #44 0x0000ffffb6c8cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #45 0x0000ffffb6c8cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #46 0x0000ffffb6c8cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #47 0x0000ffffb50e1e58 __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 0x0000ffffb50e1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #49 0x0000ffffb50e1e58 void clang::finalize>, 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 0x0000ffffb50e1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #51 0x0000ffffb67a7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #52 0x0000ffffb675fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #53 0x0000ffffb675fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #54 0x0000ffffb675fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #55 0x0000ffffb67e610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #56 0x0000aaaaea4e59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #57 0x0000aaaaea4e94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #58 0x0000aaaaea4eaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #59 0x0000aaaaea4e1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #60 0x0000ffffadd5098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #61 0x0000ffffadd50a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #62 0x0000aaaaea4e20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/gtest.cpp.script: line 2: 1825963 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -cc1 -std=c++11 -analyzer-checker=core,apiModeling.google.GTest,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/gtest.cpp -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/handle_constructors_for_default_arguments.cpp (770 of 18953) ******************** TEST 'Clang :: Analysis/handle_constructors_for_default_arguments.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -fsyntax-only -analyze -analyzer-checker=core,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/handle_constructors_for_default_arguments.cpp -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -fsyntax-only -analyze -analyzer-checker=core,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/handle_constructors_for_default_arguments.cpp -verify 1. parser at end of file 2. While analyzing stack: #0 Calling test6() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/handle_constructors_for_default_arguments.cpp:115:23: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/handle_constructors_for_default_arguments.cpp:115:23: Error evaluating statement #0 0x0000ffff8b90acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8b909100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8b90b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff94847800 (linux-vdso.so.1+0x800) #4 0x0000ffff93b63688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff93b63688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff93b63688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff93b63688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff93b63688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff93b63688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff93b63688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff93b63688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff93810c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff93810c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff93810c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff93810c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff93811ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff93811ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff93811ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff93811ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff93824770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff93824770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff93824770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff93825cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff93825cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff93825cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff93825190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff93825190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff93825190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff938317d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff938317d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff938317d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9383b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9383b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9383b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9379f6d8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9379f6d8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9379f6d8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9379f6d8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff93c8d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff93c8d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff93c8d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff937b2a0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff937b2a0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff937b2a0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffff937cccac llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffff937cccac llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffff937cccac llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffff937cccac clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffff937cccac clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffff937ccf08 clang::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 0x0000ffff937cd1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff937cd41c clang::ento::CoreEngine::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 0x0000ffff937cd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff937cd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff937cd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff937cd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff937cd764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff93a9787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff93a9787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff93a9787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff93a9787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff93a9787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff93a987e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff93a987e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff93a987e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff93a9cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff93a9cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff93a9cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff93a9cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff93a9cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff91ef1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff91ef1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff91ef1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff91ef1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff935b7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff9356fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff9356fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff9356fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff935f610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaaaad459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaaaad494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaaaad4aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaaaad41fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff8ab6098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff8ab60a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaaaad420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/handle_constructors_for_default_arguments.cpp.script: line 1: 1825971 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -fsyntax-only -analyze -analyzer-checker=core,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/handle_constructors_for_default_arguments.cpp -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/handle_constructors_with_new_array.cpp (772 of 18953) ******************** TEST 'Clang :: Analysis/handle_constructors_with_new_array.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -fsyntax-only -analyze -analyzer-checker=core,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/handle_constructors_with_new_array.cpp -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -fsyntax-only -analyze -analyzer-checker=core,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/handle_constructors_with_new_array.cpp -verify 1. parser at end of file 2. While analyzing stack: #0 Calling test_dynamic_aggregate() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/handle_constructors_with_new_array.cpp:69:14: Error evaluating New Allocator Call #0 0x0000ffff8cdfacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8cdf9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8cdfb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff95d38800 (linux-vdso.so.1+0x800) #4 0x0000ffff95053688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff95053688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff95053688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff95053688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff95053688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff95053688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff95053688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff95053688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff94d00c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff94d00c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff94d00c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff94d00c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff94d01ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff94d01ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff94d01ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff94d01ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff94d14770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff94d14770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff94d14770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff94d15cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff94d15cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff94d15cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff94d15190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff94d15190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff94d15190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff94d217d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff94d217d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff94d217d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff94d2b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff94d2b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff94d2b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff94c8f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff94c8f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff94c8f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff94c8f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff94c8fbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff94c8fbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff94c8fbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff94cb9b98 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #43 0x0000ffff94cb9b98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #44 0x0000ffff94cb9b98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffff94cb9b98 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #46 0x0000ffff94cb9b98 clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #47 0x0000ffff94cb9fac llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #48 0x0000ffff94cb9fac llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #49 0x0000ffff94cb9fac clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #50 0x0000ffff94cb9fac clang::ento::CoreEngine::enqueue(clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:613:23 #51 0x0000ffff94cb9fac clang::ento::ExprEngine::ProcessNewAllocator(clang::CXXNewExpr const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1326:0 #52 0x0000ffff94cbd22c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:984:0 #53 0x0000ffff94cbd41c clang::ento::CoreEngine::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 0x0000ffff94cbd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #55 0x0000ffff94cbd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #56 0x0000ffff94cbd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #57 0x0000ffff94cbd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #58 0x0000ffff94cbd764 clang::ento::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 0x0000ffff94f8787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #60 0x0000ffff94f8787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #61 0x0000ffff94f8787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #62 0x0000ffff94f8787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #63 0x0000ffff94f8787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #64 0x0000ffff94f887e8 llvm::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 0x0000ffff94f887e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x0000ffff94f887e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #67 0x0000ffff94f8cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x0000ffff94f8cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x0000ffff94f8cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x0000ffff94f8cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x0000ffff94f8cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x0000ffff933e1e58 __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 0x0000ffff933e1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x0000ffff933e1e58 void clang::finalize>, 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 0x0000ffff933e1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x0000ffff94aa7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #77 0x0000ffff94a5fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #78 0x0000ffff94a5fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #79 0x0000ffff94a5fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #80 0x0000ffff94ae610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #81 0x0000aaaabebc59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x0000aaaabebc94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x0000aaaabebcaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x0000aaaabebc1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x0000ffff8c05098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #86 0x0000ffff8c050a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #87 0x0000aaaabebc20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/handle_constructors_with_new_array.cpp.script: line 1: 1825978 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -fsyntax-only -analyze -analyzer-checker=core,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/handle_constructors_with_new_array.cpp -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/hangs.c (773 of 18953) ******************** TEST 'Clang :: Analysis/hangs.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/hangs.c -analyzer-checker core,debug.ExprInspection -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/hangs.c -analyzer-checker core,debug.ExprInspection 1. parser at end of file 2. While analyzing stack: #0 Calling produce_an_exponentially_exploding_symbol_3 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/hangs.c:85:3 : Error evaluating statement #0 0x0000ffff9376acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff93769100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9376b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9c6a4800 (linux-vdso.so.1+0x800) #4 0x0000ffff9b66cd64 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9b66cd64 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9b66cd64 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9b66cd64 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffff9b66cd64 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffff9b66cd64 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffff9b6180bc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffff9b6180bc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffff9b6180bc clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffff9b62ce94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffff9b62ce94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffff9b62ce94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffff9b62ce94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffff9b62ce94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffff9b62ce94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffff9b62ce94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffff9b62ce94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffff9b62ce94 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffff9b62d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff9b62d310 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffff9b62d5dc clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffff9b62d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffff9b62d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffff9b62d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffff9b62d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffff9b62d764 clang::ento::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 0x0000ffff9b8f787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff9b8f787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff9b8f787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffff9b8f787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffff9b8f787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffff9b8f87e8 llvm::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 0x0000ffff9b8f87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffff9b8f87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffff9b8fcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffff9b8fcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffff9b8fcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffff9b8fcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffff9b8fcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffff99d51e58 __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 0x0000ffff99d51e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffff99d51e58 void clang::finalize>, 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 0x0000ffff99d51e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffff9b417ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffff9b3cfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffff9b3cfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffff9b3cfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffff9b45610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaae44f59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaae44f94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaae44faac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaae44f1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffff929c098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffff929c0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaae44f20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/hangs.c.script: line 1: 1825993 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/hangs.c -analyzer-checker core,debug.ExprInspection -- ******************** Testing: 0 FAIL: Clang :: Analysis/html_diagnostics/relevant_lines/goto.c (774 of 18953) ******************** TEST 'Clang :: Analysis/html_diagnostics/relevant_lines/goto.c' FAILED ******************** Script: -- : 'RUN: at line 10'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/goto.c.tmp.output : 'RUN: at line 11'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyze -analyzer-checker=core -analyzer-output html -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/goto.c.tmp.output /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/goto.c : 'RUN: at line 12'; cat /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/goto.c.tmp.output/* | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/goto.c --match-full-lines -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyze -analyzer-checker=core -analyzer-output html -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/goto.c.tmp.output /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/goto.c 1. parser at end of file 2. While analyzing stack: #0 Calling goto_test 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/goto.c:3:7: Error evaluating branch #0 0x0000ffffb3dcacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb3dc9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb3dcb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffbcd00800 (linux-vdso.so.1+0x800) #4 0x0000ffffbc023688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffbc023688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffbc023688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffbc023688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffbc023688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffbc023688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffbc023688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffbc023688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffbbcd0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffbbcd0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffbbcd0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffbbcd0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffbbcd1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffbbcd1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffbbcd1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffbbcd1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffbbce591c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffbbce591c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffbbce591c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffffbbce5bf0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffbbce5bf0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffbbce5bf0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffffbbce5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffbbce5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffbbce5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffbbcf17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffbbcf17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffbbcf17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffbbcfb074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffbbcfb074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffbbcfb074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffbbc5f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffbbc5f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffbbc5f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffbbc5f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffbc14d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffbc14d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffbc14d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffbbc758c8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffffbbc758c8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffffbbc758c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffffbbc758c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffffbbc758c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffffbbc758c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffffbbc758c8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffffbbc758c8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffffbbc758c8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffffbbc758c8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffffbbc75e30 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffffbbc8d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffbbc8d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffbbc8d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffbbc8d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffbbc8d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffbbf5787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffbbf5787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffbbf5787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffbbf5787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffbbf5787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffbbf587e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffbbf587e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffbbf587e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffbbf5cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffbbf5cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffbbf5cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffbbf5cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffbbf5cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffba3b1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffba3b1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffba3b1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffba3b1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffbba77ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffbba2fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffbba2fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffbba2fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffbbab610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaad67059f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaad67094b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaad670aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaad6701fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffb302098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffb3020a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaad67020b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/goto.c.script: line 3: 1826032 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyze -analyzer-checker=core -analyzer-output html -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/goto.c.tmp.output /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/goto.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/html_diagnostics/control-arrows.cpp (775 of 18953) ******************** TEST 'Clang :: Analysis/html_diagnostics/control-arrows.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; rm -fR /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/Output/control-arrows.cpp.tmp : 'RUN: at line 2'; mkdir /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/Output/control-arrows.cpp.tmp : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=html -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/Output/control-arrows.cpp.tmp -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/control-arrows.cpp : 'RUN: at line 5'; cat /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/Output/control-arrows.cpp.tmp/report-*.html | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/control-arrows.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=html -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/Output/control-arrows.cpp.tmp -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/control-arrows.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling foobar(_Bool, int *) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/control-arrows.cpp:12:7: Error evaluating branch #0 0x0000ffffb416acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb4169100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb416b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffbd0aa800 (linux-vdso.so.1+0x800) #4 0x0000ffffbc3c3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffbc3c3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffbc3c3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffbc3c3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffbc3c3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffbc3c3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffbc3c3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffbc3c3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffbc070c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffbc070c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffbc070c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffbc070c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffbc071940 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffbc071940 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffbc071940 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffbc071940 (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:0 #20 0x0000ffffbc08591c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffbc08591c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffbc08591c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffffbc085bf0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffbc085bf0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffbc085bf0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffffbc085190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffbc085190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffbc085190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffbc0917d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffbc0917d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffbc0917d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffbc09b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffbc09b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffbc09b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffbbfff6d8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffbbfff6d8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffbbfff6d8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffbbfff6d8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffbc4ed3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffbc4ed3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffbc4ed3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffbc0158c8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffffbc0158c8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffffbc0158c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffffbc0158c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffffbc0158c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffffbc0158c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffffbc0158c8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffffbc0158c8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffffbc0158c8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffffbc0158c8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffffbc015e30 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffffbc02d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffbc02d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffbc02d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffbc02d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffbc02d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffbc2f787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffbc2f787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffbc2f787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffbc2f787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffbc2f787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffbc2f87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffbc2f87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffbc2f87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffbc2fcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffbc2fcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffbc2fcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffbc2fcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffbc2fcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffba751e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffba751e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffba751e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffba751e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffbbe17ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffbbdcfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffbbdcfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffbbdcfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffbbe5610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaabead59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaabead94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaabeadaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaabead1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffb33c098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffb33c0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaabead20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/Output/control-arrows.cpp.script: line 4: 1826029 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=html -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/Output/control-arrows.cpp.tmp -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/control-arrows.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/html_diagnostics/relevant_lines/macros_same_file.c (776 of 18953) ******************** TEST 'Clang :: Analysis/html_diagnostics/relevant_lines/macros_same_file.c' FAILED ******************** Script: -- : 'RUN: at line 12'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/macros_same_file.c.tmp.output : 'RUN: at line 13'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyze -analyzer-checker=core -analyzer-output html -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/macros_same_file.c.tmp.output /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/macros_same_file.c : 'RUN: at line 14'; cat /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/macros_same_file.c.tmp.output/* | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/macros_same_file.c --match-full-lines -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyze -analyzer-checker=core -analyzer-output html -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/macros_same_file.c.tmp.output /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/macros_same_file.c 1. parser at end of file 2. While analyzing stack: #0 Calling f 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/macros_same_file.c:4:7: Error evaluating branch #0 0x0000ffff8fb9acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8fb99100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8fb9b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff98ad3800 (linux-vdso.so.1+0x800) #4 0x0000ffff97df3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff97df3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff97df3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff97df3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff97df3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff97df3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff97df3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff97df3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff97aa0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff97aa0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff97aa0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff97aa0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff97aa1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff97aa1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff97aa1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff97aa1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff97ab591c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff97ab591c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff97ab591c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffff97ab5bf0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff97ab5bf0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff97ab5bf0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffff97ab5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff97ab5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff97ab5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff97ac17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff97ac17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff97ac17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff97acb074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff97acb074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff97acb074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff97a2f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff97a2f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff97a2f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff97a2f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff97f1d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff97f1d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff97f1d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff97a458c8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffff97a458c8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffff97a458c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffff97a458c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffff97a458c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffff97a458c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffff97a458c8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffff97a458c8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffff97a458c8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffff97a458c8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffff97a45e30 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffff97a5d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff97a5d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff97a5d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff97a5d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff97a5d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff97d2787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff97d2787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff97d2787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff97d2787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff97d2787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff97d287e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff97d287e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff97d287e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff97d2cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff97d2cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff97d2cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff97d2cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff97d2cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff96181e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff96181e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff96181e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff96181e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff97847ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff977ffc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff977ffc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff977ffc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff9788610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaaaed659f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaaaed694b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaaaed6aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaaaed61fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff8edf098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff8edf0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaaaed620b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/macros_same_file.c.script: line 3: 1826047 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyze -analyzer-checker=core -analyzer-output html -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/macros_same_file.c.tmp.output /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/macros_same_file.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/html_diagnostics/relevant_lines/multifile.c (777 of 18953) ******************** TEST 'Clang :: Analysis/html_diagnostics/relevant_lines/multifile.c' FAILED ******************** Script: -- : 'RUN: at line 11'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/multifile.c.tmp.output : 'RUN: at line 12'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyze -analyzer-checker=core -analyzer-output html -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/multifile.c.tmp.output /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/multifile.c : 'RUN: at line 13'; cat /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/multifile.c.tmp.output/* | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/multifile.c --match-full-lines -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyze -analyzer-checker=core -analyzer-output html -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/multifile.c.tmp.output /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/multifile.c 1. parser at end of file 2. While analyzing stack: #0 Calling f 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/multifile.c:5:7: Error evaluating branch #0 0x0000ffffadf6acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffadf69100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffadf6b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb6eaa800 (linux-vdso.so.1+0x800) #4 0x0000ffffb61c3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb61c3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb61c3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb61c3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb61c3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb61c3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb61c3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb61c3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb5e70c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb5e70c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb5e70c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb5e70c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb5e71ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb5e71ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb5e71ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb5e71ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb5e8591c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb5e8591c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb5e8591c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffffb5e85bf0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb5e85bf0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb5e85bf0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffffb5e85190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb5e85190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb5e85190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb5e917d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb5e917d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb5e917d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb5e9b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb5e9b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb5e9b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb5dff72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb5dff72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb5dff72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb5dff72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb62ed3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb62ed3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb62ed3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffb5e158c8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffffb5e158c8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffffb5e158c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffffb5e158c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffffb5e158c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffffb5e158c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffffb5e158c8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffffb5e158c8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffffb5e158c8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffffb5e158c8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffffb5e15e30 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffffb5e2d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffb5e2d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffb5e2d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffb5e2d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffb5e2d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffb60f787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffb60f787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffb60f787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffb60f787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffb60f787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffb60f87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffb60f87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffb60f87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffb60fcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffb60fcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffb60fcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffb60fcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffb60fcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffb4551e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffb4551e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffb4551e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffb4551e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffb5c17ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffb5bcfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffb5bcfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffb5bcfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffb5c5610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaaca1359f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaaca1394b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaaca13aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaaca131fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffad1c098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffad1c0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaaca1320b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/multifile.c.script: line 3: 1826057 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyze -analyzer-checker=core -analyzer-output html -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/multifile.c.tmp.output /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/multifile.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/html_diagnostics/relevant_lines/multiline_func_def.c (782 of 18953) ******************** TEST 'Clang :: Analysis/html_diagnostics/relevant_lines/multiline_func_def.c' FAILED ******************** Script: -- : 'RUN: at line 13'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/multiline_func_def.c.tmp.output : 'RUN: at line 14'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyze -analyzer-checker=core -analyzer-output html -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/multiline_func_def.c.tmp.output /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/multiline_func_def.c : 'RUN: at line 15'; cat /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/multiline_func_def.c.tmp.output/* | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/multiline_func_def.c --match-full-lines -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyze -analyzer-checker=core -analyzer-output html -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/multiline_func_def.c.tmp.output /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/multiline_func_def.c 1. parser at end of file 2. While analyzing stack: #0 Calling f 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/multiline_func_def.c:5:7: Error evaluating branch #0 0x0000ffff780bacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff780b9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff780bb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff80ff6800 (linux-vdso.so.1+0x800) #4 0x0000ffff80313688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff80313688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff80313688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff80313688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff80313688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff80313688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff80313688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff80313688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff7ffc0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff7ffc0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff7ffc0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff7ffc0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff7ffc1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff7ffc1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff7ffc1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff7ffc1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff7ffd591c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff7ffd591c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff7ffd591c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffff7ffd5bf0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff7ffd5bf0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff7ffd5bf0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffff7ffd5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff7ffd5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff7ffd5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff7ffe17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff7ffe17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff7ffe17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff7ffeb074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff7ffeb074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff7ffeb074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff7ff4f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff7ff4f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff7ff4f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff7ff4f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff8043d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8043d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8043d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff7ff658c8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffff7ff658c8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffff7ff658c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffff7ff658c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffff7ff658c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffff7ff658c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffff7ff658c8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffff7ff658c8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffff7ff658c8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffff7ff658c8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffff7ff65e30 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffff7ff7d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff7ff7d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff7ff7d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff7ff7d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff7ff7d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff8024787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff8024787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff8024787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff8024787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff8024787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff802487e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff802487e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff802487e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff8024cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff8024cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff8024cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff8024cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff8024cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff7e6a1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff7e6a1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff7e6a1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff7e6a1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff7fd67ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff7fd1fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff7fd1fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff7fd1fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff7fda610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaaabc359f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaaabc394b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaaabc3aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaaabc31fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff7731098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff77310a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaaabc320b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/multiline_func_def.c.script: line 3: 1826069 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyze -analyzer-checker=core -analyzer-output html -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/multiline_func_def.c.tmp.output /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/multiline_func_def.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/html_diagnostics/relevant_lines/objcmethods.m (783 of 18953) ******************** TEST 'Clang :: Analysis/html_diagnostics/relevant_lines/objcmethods.m' FAILED ******************** Script: -- : 'RUN: at line 16'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/objcmethods.m.tmp.output : 'RUN: at line 17'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyze -analyzer-checker=core -analyzer-output html -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/objcmethods.m.tmp.output -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/objcmethods.m : 'RUN: at line 18'; cat /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/objcmethods.m.tmp.output/* | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/objcmethods.m -- Exit Code: 139 Command Output (stderr): -- /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/objcmethods.m:5:17: warning: method definition for 'func' not found [-Wincomplete-implementation] 5 | @implementation I | ^ 6 | - (int)func:(int *)param { 7 | return *param; 8 | } 9 | @end /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/objcmethods.m:2:1: note: method 'func' declared here 2 | - (int)func; | ^ PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyze -analyzer-checker=core -analyzer-output html -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/objcmethods.m.tmp.output -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/objcmethods.m 1. parser at end of file 2. While analyzing stack: #0 Calling foo 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/objcmethods.m:13:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/objcmethods.m:13:3: Error evaluating statement #0 0x0000ffff8665acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff86659100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8665b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8f593800 (linux-vdso.so.1+0x800) #4 0x0000ffff8e8b3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8e8b3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8e8b3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8e8b3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8e8b3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8e8b3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff8e8b3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff8e8b3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8e560c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8e560c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8e560c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8e560c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8e561ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8e561ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8e561ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8e561ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff8e574770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff8e574770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff8e574770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff8e575cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff8e575cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff8e575cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff8e575190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8e575190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8e575190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff8e5817d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff8e5817d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff8e5817d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8e58b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8e58b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8e58b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8e4ef72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8e4ef72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8e4ef72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8e4ef72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff8e9dd3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8e9dd3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8e9dd3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff8e55171c std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #43 0x0000ffff8e55171c std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #44 0x0000ffff8e55171c std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #45 0x0000ffff8e55171c std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #46 0x0000ffff8e55171c std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #47 0x0000ffff8e55171c clang::ento::ExprEngine::VisitObjCMessage(clang::ObjCMessageExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineObjC.cpp:192:0 #48 0x0000ffff8e51ba38 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #49 0x0000ffff8e51ba38 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2309:0 #50 0x0000ffff8e51cf08 clang::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 0x0000ffff8e51d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8e51d41c clang::ento::CoreEngine::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 0x0000ffff8e51d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff8e51d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff8e51d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff8e51d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff8e51d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff8e7e787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff8e7e787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff8e7e787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff8e7e787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff8e7e787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff8e7e87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff8e7e87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff8e7e87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff8e7ecde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff8e7ecde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff8e7ecde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff8e7ecde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff8e7ecde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff8cc41e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff8cc41e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff8cc41e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff8cc41e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff8e307ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff8e2bfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff8e2bfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff8e2bfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff8e34610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaad5c359f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaad5c394b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaad5c3aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaad5c31fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff858b098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff858b0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaad5c320b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/objcmethods.m.script: line 3: 1826083 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyze -analyzer-checker=core -analyzer-output html -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/objcmethods.m.tmp.output -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/objcmethods.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/html_diagnostics/relevant_lines/switch.c (785 of 18953) ******************** TEST 'Clang :: Analysis/html_diagnostics/relevant_lines/switch.c' FAILED ******************** Script: -- : 'RUN: at line 17'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/switch.c.tmp.output : 'RUN: at line 18'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyze -analyzer-checker=core -analyzer-output html -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/switch.c.tmp.output /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/switch.c : 'RUN: at line 19'; cat /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/switch.c.tmp.output/* | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/switch.c --match-full-lines -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyze -analyzer-checker=core -analyzer-output html -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/switch.c.tmp.output /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/switch.c 1. parser at end of file #0 0x0000ffffb43facd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb43f9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb43fb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffbd334800 (linux-vdso.so.1+0x800) #4 0x0000ffffbc653688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffbc653688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffbc653688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffbc653688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffbc653688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffbc653688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffbc653688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffbc653688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffbc300c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffbc300c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffbc300c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffbc300c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffbc302ce8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffbc302ce8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffbc302ce8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffbc302ce8 (anonymous namespace)::RangeConstraintManager::assumeSymWithinInclusiveRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3224:0 #20 0x0000ffffbc314e58 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffbc314e58 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffbc314e58 clang::ento::RangedConstraintManager::assumeSymInclusiveRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:129:64 #23 0x0000ffffbc3153b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffbc3153b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffbc3153b4 clang::ento::SimpleConstraintManager::assumeInclusiveRangeInternal(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:118:67 #26 0x0000ffffbc28fd48 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffbc28fd48 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffbc28fd48 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:105:75 #29 0x0000ffffbc28fd48 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeInclusiveRangeDual(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #30 0x0000ffffbc2a61e8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffffbc2a61e8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffffbc2a61e8 clang::ento::ProgramState::assumeInclusiveRange(clang::ento::DefinedOrUnknownSVal, llvm::APSInt const&, llvm::APSInt const&) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:746:43 #33 0x0000ffffbc2a61e8 clang::ento::ExprEngine::processSwitch(clang::ento::SwitchNodeBuilder&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3004:42 #34 0x0000ffffbc2adbbc clang::ento::CoreEngine::HandleBlockExit(clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:422:0 #35 0x0000ffffbc2bd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x0000ffffbc2bd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x0000ffffbc2bd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #38 0x0000ffffbc2bd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #39 0x0000ffffbc2bd764 clang::ento::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 0x0000ffffbc58787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #41 0x0000ffffbc58787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #42 0x0000ffffbc58787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #43 0x0000ffffbc58787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #44 0x0000ffffbc58787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #45 0x0000ffffbc5887e8 llvm::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 0x0000ffffbc5887e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #47 0x0000ffffbc5887e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #48 0x0000ffffbc58cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #49 0x0000ffffbc58cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #50 0x0000ffffbc58cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #51 0x0000ffffbc58cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #52 0x0000ffffbc58cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #53 0x0000ffffba9e1e58 __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 0x0000ffffba9e1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #55 0x0000ffffba9e1e58 void clang::finalize>, 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 0x0000ffffba9e1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #57 0x0000ffffbc0a7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #58 0x0000ffffbc05fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #59 0x0000ffffbc05fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #60 0x0000ffffbc05fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #61 0x0000ffffbc0e610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #62 0x0000aaaae83059f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #63 0x0000aaaae83094b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #64 0x0000aaaae830aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #65 0x0000aaaae8301fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #66 0x0000ffffb365098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #67 0x0000ffffb3650a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #68 0x0000aaaae83020b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/switch.c.script: line 3: 1826098 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyze -analyzer-checker=core -analyzer-output html -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/switch.c.tmp.output /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/switch.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/html_diagnostics/relevant_lines/simple_conditional.c (786 of 18953) ******************** TEST 'Clang :: Analysis/html_diagnostics/relevant_lines/simple_conditional.c' FAILED ******************** Script: -- : 'RUN: at line 10'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/simple_conditional.c.tmp.output : 'RUN: at line 11'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyze -analyzer-checker=core -analyzer-output html -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/simple_conditional.c.tmp.output /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/simple_conditional.c : 'RUN: at line 12'; cat /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/simple_conditional.c.tmp.output/* | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/simple_conditional.c --match-full-lines -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyze -analyzer-checker=core -analyzer-output html -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/simple_conditional.c.tmp.output /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/simple_conditional.c 1. parser at end of file 2. While analyzing stack: #0 Calling f 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/simple_conditional.c:2:7: Error evaluating branch #0 0x0000ffff7ea8acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7ea89100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7ea8b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff879c1800 (linux-vdso.so.1+0x800) #4 0x0000ffff86ce3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff86ce3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff86ce3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff86ce3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff86ce3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff86ce3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff86ce3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff86ce3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff86990c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff86990c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff86990c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff86990c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff86991ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff86991ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff86991ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff86991ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff869a591c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff869a591c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff869a591c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffff869a5bf0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff869a5bf0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff869a5bf0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffff869a5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff869a5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff869a5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff869b17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff869b17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff869b17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff869bb074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff869bb074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff869bb074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8691f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8691f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8691f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8691f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff86e0d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff86e0d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff86e0d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff869358c8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffff869358c8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffff869358c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffff869358c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffff869358c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffff869358c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffff869358c8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffff869358c8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffff869358c8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffff869358c8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffff86935e30 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffff8694d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff8694d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff8694d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff8694d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff8694d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff86c1787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff86c1787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff86c1787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff86c1787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff86c1787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff86c187e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff86c187e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff86c187e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff86c1cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff86c1cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff86c1cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff86c1cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff86c1cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff85071e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff85071e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff85071e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff85071e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff86737ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff866efc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff866efc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff866efc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff8677610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaac74159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaac74194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaac741aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaac7411fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff7dce098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff7dce0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaac74120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/simple_conditional.c.script: line 3: 1826095 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyze -analyzer-checker=core -analyzer-output html -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/simple_conditional.c.tmp.output /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/simple_conditional.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/html_diagnostics/relevant_lines/synthesized_body.cpp (788 of 18953) ******************** TEST 'Clang :: Analysis/html_diagnostics/relevant_lines/synthesized_body.cpp' FAILED ******************** Script: -- : 'RUN: at line 22'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/synthesized_body.cpp.tmp.output : 'RUN: at line 23'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyze -analyzer-checker=core -analyzer-output html -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/synthesized_body.cpp.tmp.output /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/synthesized_body.cpp : 'RUN: at line 24'; cat /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/synthesized_body.cpp.tmp.output/* | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/synthesized_body.cpp --match-full-lines -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyze -analyzer-checker=core -analyzer-output html -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/synthesized_body.cpp.tmp.output /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/synthesized_body.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling std::once_flag_s::once_flag_s() at line 16 #1 Calling call_deref_once() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/synthesized_body.cpp:3:16: Error evaluating statement #0 0x0000ffff9ef0acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff9ef09100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9ef0b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa7e4e800 (linux-vdso.so.1+0x800) #4 0x0000ffffa6db7db8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffa6db7db8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffa6db7db8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffa6db7db8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffa6db7db8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffa6db7db8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffa6db7db8 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffa6db7db8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1059:61 #12 0x0000ffffa6dcce94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffffa6dcce94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffffa6dcce94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffffa6dcce94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffffa6dcce94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffffa6dcce94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffffa6dcce94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffffa6dcce94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffffa6dcce94 clang::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 0x0000ffffa6dcd1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffa6dcd310 clang::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 0x0000ffffa6dcd5dc clang::ento::CoreEngine::dispatchWorkItem(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 0x0000ffffa6dcd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x0000ffffa6dcd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x0000ffffa6dcd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #27 0x0000ffffa6dcd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #28 0x0000ffffa6dcd764 clang::ento::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 0x0000ffffa709787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffffa709787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffffa709787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #32 0x0000ffffa709787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #33 0x0000ffffa709787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #34 0x0000ffffa70987e8 llvm::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 0x0000ffffa70987e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x0000ffffa70987e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #37 0x0000ffffa709cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x0000ffffa709cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x0000ffffa709cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x0000ffffa709cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x0000ffffa709cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x0000ffffa54f1e58 __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 0x0000ffffa54f1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x0000ffffa54f1e58 void clang::finalize>, 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 0x0000ffffa54f1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x0000ffffa6bb7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #47 0x0000ffffa6b6fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #48 0x0000ffffa6b6fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #49 0x0000ffffa6b6fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #50 0x0000ffffa6bf610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #51 0x0000aaaad52f59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x0000aaaad52f94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x0000aaaad52faac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x0000aaaad52f1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x0000ffff9e16098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #56 0x0000ffff9e160a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #57 0x0000aaaad52f20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/synthesized_body.cpp.script: line 3: 1826123 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyze -analyzer-checker=core -analyzer-output html -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/synthesized_body.cpp.tmp.output /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/synthesized_body.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/html_diagnostics/relevant_lines/switch_default.c (791 of 18953) ******************** TEST 'Clang :: Analysis/html_diagnostics/relevant_lines/switch_default.c' FAILED ******************** Script: -- : 'RUN: at line 17'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/switch_default.c.tmp.output : 'RUN: at line 18'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyze -analyzer-checker=core -analyzer-output html -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/switch_default.c.tmp.output /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/switch_default.c : 'RUN: at line 19'; cat /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/switch_default.c.tmp.output/* | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/switch_default.c --match-full-lines -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyze -analyzer-checker=core -analyzer-output html -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/switch_default.c.tmp.output /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/switch_default.c 1. parser at end of file #0 0x0000ffffb53aacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb53a9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb53ab388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffbe2e9800 (linux-vdso.so.1+0x800) #4 0x0000ffffbd603688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffbd603688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffbd603688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffbd603688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffbd603688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffbd603688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffbd603688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffbd603688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffbd2b0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffbd2b0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffbd2b0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffbd2b0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffbd2b2ce8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffbd2b2ce8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffbd2b2ce8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffbd2b2ce8 (anonymous namespace)::RangeConstraintManager::assumeSymWithinInclusiveRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3224:0 #20 0x0000ffffbd2c4e58 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffbd2c4e58 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffbd2c4e58 clang::ento::RangedConstraintManager::assumeSymInclusiveRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:129:64 #23 0x0000ffffbd2c53b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffbd2c53b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffbd2c53b4 clang::ento::SimpleConstraintManager::assumeInclusiveRangeInternal(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:118:67 #26 0x0000ffffbd23fd48 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffbd23fd48 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffbd23fd48 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:105:75 #29 0x0000ffffbd23fd48 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeInclusiveRangeDual(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #30 0x0000ffffbd2561e8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffffbd2561e8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffffbd2561e8 clang::ento::ProgramState::assumeInclusiveRange(clang::ento::DefinedOrUnknownSVal, llvm::APSInt const&, llvm::APSInt const&) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:746:43 #33 0x0000ffffbd2561e8 clang::ento::ExprEngine::processSwitch(clang::ento::SwitchNodeBuilder&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3004:42 #34 0x0000ffffbd25dbbc clang::ento::CoreEngine::HandleBlockExit(clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:422:0 #35 0x0000ffffbd26d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x0000ffffbd26d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x0000ffffbd26d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #38 0x0000ffffbd26d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #39 0x0000ffffbd26d764 clang::ento::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 0x0000ffffbd53787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #41 0x0000ffffbd53787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #42 0x0000ffffbd53787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #43 0x0000ffffbd53787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #44 0x0000ffffbd53787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #45 0x0000ffffbd5387e8 llvm::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 0x0000ffffbd5387e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #47 0x0000ffffbd5387e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #48 0x0000ffffbd53cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #49 0x0000ffffbd53cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #50 0x0000ffffbd53cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #51 0x0000ffffbd53cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #52 0x0000ffffbd53cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #53 0x0000ffffbb991e58 __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 0x0000ffffbb991e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #55 0x0000ffffbb991e58 void clang::finalize>, 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 0x0000ffffbb991e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #57 0x0000ffffbd057ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #58 0x0000ffffbd00fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #59 0x0000ffffbd00fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #60 0x0000ffffbd00fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #61 0x0000ffffbd09610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #62 0x0000aaaad5d759f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #63 0x0000aaaad5d794b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #64 0x0000aaaad5d7aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #65 0x0000aaaad5d71fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #66 0x0000ffffb460098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #67 0x0000ffffb4600a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #68 0x0000aaaad5d720b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/switch_default.c.script: line 3: 1826120 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyze -analyzer-checker=core -analyzer-output html -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/switch_default.c.tmp.output /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/switch_default.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/html_diagnostics/relevant_lines/unused_header.c (792 of 18953) ******************** TEST 'Clang :: Analysis/html_diagnostics/relevant_lines/unused_header.c' FAILED ******************** Script: -- : 'RUN: at line 16'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/unused_header.c.tmp.output : 'RUN: at line 17'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyze -analyzer-checker=core -analyzer-output html -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/unused_header.c.tmp.output /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/unused_header.c : 'RUN: at line 18'; cat /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/unused_header.c.tmp.output/* | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/unused_header.c --match-full-lines -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyze -analyzer-checker=core -analyzer-output html -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/unused_header.c.tmp.output /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/unused_header.c 1. parser at end of file 2. While analyzing stack: #0 Calling f 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/unused_header.c:4:7: Error evaluating branch #0 0x0000ffff904eacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff904e9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff904eb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9942c800 (linux-vdso.so.1+0x800) #4 0x0000ffff98743688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff98743688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff98743688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff98743688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff98743688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff98743688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff98743688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff98743688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff983f0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff983f0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff983f0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff983f0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff983f1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff983f1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff983f1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff983f1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff9840591c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff9840591c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff9840591c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffff98405bf0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff98405bf0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff98405bf0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffff98405190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff98405190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff98405190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff984117d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff984117d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff984117d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9841b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9841b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9841b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9837f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9837f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9837f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9837f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9886d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9886d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9886d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff983958c8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffff983958c8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffff983958c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffff983958c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffff983958c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffff983958c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffff983958c8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffff983958c8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffff983958c8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffff983958c8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffff98395e30 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffff983ad764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff983ad764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff983ad764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff983ad764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff983ad764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff9867787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff9867787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff9867787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff9867787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff9867787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff986787e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff986787e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff986787e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff9867cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff9867cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff9867cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff9867cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff9867cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff96ad1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff96ad1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff96ad1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff96ad1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff98197ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff9814fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff9814fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff9814fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff981d610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaaca6d59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaaca6d94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaaca6daac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaaca6d1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff8f74098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff8f740a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaaca6d20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/unused_header.c.script: line 3: 1826131 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyze -analyzer-checker=core -analyzer-output html -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/html_diagnostics/relevant_lines/Output/unused_header.c.tmp.output /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/html_diagnostics/relevant_lines/unused_header.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/implicit-ctor-undef-value.cpp (795 of 18953) ******************** TEST 'Clang :: Analysis/implicit-ctor-undef-value.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/implicit-ctor-undef-value.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/implicit-ctor-undef-value.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling base_class_constructor::D::D() at line 71 #1 Calling base_class_constructor::test() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/implicit-ctor-undef-value.cpp:67:8: Error evaluating statement #0 0x0000ffff9cceacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff9cce9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9cceb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa5c29800 (linux-vdso.so.1+0x800) #4 0x0000ffffa4b97db8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffa4b97db8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffa4b97db8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffa4b97db8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffa4b97db8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffa4b97db8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffa4b97db8 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffa4b97db8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1059:61 #12 0x0000ffffa4bace94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffffa4bace94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffffa4bace94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffffa4bace94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffffa4bace94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffffa4bace94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffffa4bace94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffffa4bace94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffffa4bace94 clang::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 0x0000ffffa4bad1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffa4bad310 clang::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 0x0000ffffa4bad5dc clang::ento::CoreEngine::dispatchWorkItem(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 0x0000ffffa4bad764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x0000ffffa4bad764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x0000ffffa4bad764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #27 0x0000ffffa4bad764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #28 0x0000ffffa4bad764 clang::ento::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 0x0000ffffa4e7787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffffa4e7787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffffa4e7787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #32 0x0000ffffa4e7787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #33 0x0000ffffa4e7787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #34 0x0000ffffa4e787e8 llvm::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 0x0000ffffa4e787e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x0000ffffa4e787e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #37 0x0000ffffa4e7cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x0000ffffa4e7cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x0000ffffa4e7cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x0000ffffa4e7cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x0000ffffa4e7cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x0000ffffa32d1e58 __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 0x0000ffffa32d1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x0000ffffa32d1e58 void clang::finalize>, 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 0x0000ffffa32d1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x0000ffffa4997ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #47 0x0000ffffa494fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #48 0x0000ffffa494fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #49 0x0000ffffa494fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #50 0x0000ffffa49d610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #51 0x0000aaaace8659f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x0000aaaace8694b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x0000aaaace86aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x0000aaaace861fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x0000ffff9bf4098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #56 0x0000ffff9bf40a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #57 0x0000aaaace8620b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/implicit-ctor-undef-value.cpp.script: line 1: 1826177 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/implicit-ctor-undef-value.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/identical-expressions.cpp (796 of 18953) ******************** TEST 'Clang :: Analysis/identical-expressions.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core.IdenticalExpr -w -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/identical-expressions.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core.IdenticalExpr -w -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/identical-expressions.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling test_nowarn_inner_if_1(int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/identical-expressions.cpp:1553:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/identical-expressions.cpp:1553:7: Error evaluating statement #0 0x0000ffff7eccacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7ecc9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7eccb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff87c03800 (linux-vdso.so.1+0x800) #4 0x0000ffff86f23688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff86f23688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff86f23688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff86f23688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff86f23688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff86f23688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff86f23688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff86f23688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff86bd0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff86bd0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff86bd0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff86bd0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff86bd1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff86bd1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff86bd1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff86bd1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff86be4770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff86be4770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff86be4770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff86be5cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff86be5cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff86be5cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff86be5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff86be5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff86be5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff86bf17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff86bf17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff86bf17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff86bfb074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff86bfb074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff86bfb074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff86b5f6d8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff86b5f6d8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff86b5f6d8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff86b5f6d8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff8704d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8704d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8704d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff86b72a0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff86b72a0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff86b72a0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffff86b8ccac llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffff86b8ccac llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffff86b8ccac llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffff86b8ccac clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffff86b8ccac clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffff86b8cf08 clang::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 0x0000ffff86b8d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff86b8d41c clang::ento::CoreEngine::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 0x0000ffff86b8d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff86b8d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff86b8d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff86b8d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff86b8d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff86e5787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff86e5787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff86e5787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff86e5787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff86e5787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff86e587e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff86e587e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff86e587e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff86e5cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff86e5cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff86e5cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff86e5cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff86e5cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff852b1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff852b1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff852b1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff852b1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff86977ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff8692fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff8692fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff8692fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff869b610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaae0cb59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaae0cb94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaae0cbaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaae0cb1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff7df2098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff7df20a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaae0cb20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/identical-expressions.cpp.script: line 1: 1826165 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core.IdenticalExpr -w -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/identical-expressions.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/infeasible-sink.c (800 of 18953) ******************** TEST 'Clang :: Analysis/infeasible-sink.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/infeasible-sink.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/infeasible-sink.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -verify 1. parser at end of file 2. While analyzing stack: #0 Calling test2 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/infeasible-sink.c:43:7: Error evaluating branch #0 0x0000ffff95baacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff95ba9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff95bab388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9eaeb800 (linux-vdso.so.1+0x800) #4 0x0000ffff9de03688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9de03688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9de03688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9de03688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9de03688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9de03688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff9de03688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff9de03688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9dab0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9dab0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9dab0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9dab0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9dab1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9dab1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9dab1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9dab1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff9dac4770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff9dac4770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff9dac4770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff9dac5cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff9dac5cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff9dac5cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff9dac5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff9dac5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff9dac5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff9dad17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff9dad17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff9dad17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9dadb074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9dadb074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9dadb074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9da3f6d8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9da3f6d8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9da3f6d8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9da3f6d8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff9df2d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9df2d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9df2d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff9da558c8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffff9da558c8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffff9da558c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffff9da558c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffff9da558c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffff9da558c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffff9da558c8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffff9da558c8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffff9da558c8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffff9da558c8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffff9da55e30 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffff9da6d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff9da6d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff9da6d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff9da6d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff9da6d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff9dd3787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff9dd3787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff9dd3787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff9dd3787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff9dd3787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff9dd387e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff9dd387e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff9dd387e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff9dd3cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff9dd3cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff9dd3cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff9dd3cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff9dd3cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff9c191e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff9c191e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff9c191e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff9c191e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff9d857ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff9d80fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff9d80fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff9d80fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff9d89610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaad03e59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaad03e94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaad03eaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaad03e1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff94e0098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff94e00a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaad03e20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/infeasible-sink.c.script: line 1: 1826203 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-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/infeasible-crash.c (801 of 18953) ******************** TEST 'Clang :: Analysis/infeasible-crash.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/infeasible-crash.c -analyzer-checker=core -analyzer-checker=alpha.unix.cstring.OutOfBounds,alpha.unix.cstring.UninitializedRead -analyzer-config eagerly-assume=false -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/infeasible-crash.c -analyzer-checker=core -analyzer-checker=alpha.unix.cstring.OutOfBounds,alpha.unix.cstring.UninitializedRead -analyzer-config eagerly-assume=false -verify 1. parser at end of file 2. While analyzing stack: #0 Calling d 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/infeasible-crash.c:21:11: Error evaluating statement #0 0x0000ffffb1a3acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb1a39100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb1a3b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffba975800 (linux-vdso.so.1+0x800) #4 0x0000ffffb993cd64 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb993cd64 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb993cd64 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb993cd64 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffffb993cd64 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffffb993cd64 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffffb98e80bc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffffb98e80bc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffffb98e80bc clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffffb98fce94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffffb98fce94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffffb98fce94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffffb98fce94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffffb98fce94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffffb98fce94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffffb98fce94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffffb98fce94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffffb98fce94 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffffb98fd1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffb98fd310 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffffb98fd5dc clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffffb98fd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffffb98fd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffffb98fd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffffb98fd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffffb98fd764 clang::ento::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 0x0000ffffb9bc787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffffb9bc787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffffb9bc787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffffb9bc787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffffb9bc787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffffb9bc87e8 llvm::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 0x0000ffffb9bc87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffffb9bc87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffffb9bccde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffffb9bccde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffffb9bccde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffffb9bccde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffffb9bccde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffffb8021e58 __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 0x0000ffffb8021e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffffb8021e58 void clang::finalize>, 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 0x0000ffffb8021e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffffb96e7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffffb969fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffffb969fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffffb969fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffffb972610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaae3fc59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaae3fc94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaae3fcaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaae3fc1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffffb0c9098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffffb0c90a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaae3fc20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/infeasible-crash.c.script: line 1: 1826198 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-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 (802 of 18953) ******************** TEST 'Clang :: Analysis/initializer.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/initializer.cpp -analyzer-checker=core,unix.Malloc,cplusplus.NewDeleteLeaks -analyzer-checker=debug.ExprInspection -std=c++11 : 'RUN: at line 4'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/initializer.cpp -analyzer-checker=core,unix.Malloc,cplusplus.NewDeleteLeaks -analyzer-checker=debug.ExprInspection -std=c++17 : 'RUN: at line 7'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/initializer.cpp -analyzer-checker=core,unix.Malloc,cplusplus.NewDeleteLeaks -analyzer-checker=debug.ExprInspection -std=c++11 -DTEST_INLINABLE_ALLOCATORS : 'RUN: at line 11'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/initializer.cpp -analyzer-checker=core,unix.Malloc,cplusplus.NewDeleteLeaks -analyzer-checker=debug.ExprInspection -std=c++17 -DTEST_INLINABLE_ALLOCATORS -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/initializer.cpp -analyzer-checker=core,unix.Malloc,cplusplus.NewDeleteLeaks -analyzer-checker=debug.ExprInspection -std=c++11 1. parser at end of file 2. While analyzing stack: #0 Calling dont_skip_vbase_initializers_in_most_derived_class::I::I() at line 364 #1 Calling dont_skip_vbase_initializers_in_most_derived_class::testI() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/initializer.cpp:360:10: Error evaluating statement #0 0x0000ffffac69acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffac699100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffac69b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb55d8800 (linux-vdso.so.1+0x800) #4 0x0000ffffb4547db8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffb4547db8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffb4547db8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffb4547db8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffb4547db8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffb4547db8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffb4547db8 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffb4547db8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1059:61 #12 0x0000ffffb455ce94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffffb455ce94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffffb455ce94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffffb455ce94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffffb455ce94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffffb455ce94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffffb455ce94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffffb455ce94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffffb455ce94 clang::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 0x0000ffffb455d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffb455d310 clang::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 0x0000ffffb455d5dc clang::ento::CoreEngine::dispatchWorkItem(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 0x0000ffffb455d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x0000ffffb455d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x0000ffffb455d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #27 0x0000ffffb455d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #28 0x0000ffffb455d764 clang::ento::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 0x0000ffffb482787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffffb482787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffffb482787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #32 0x0000ffffb482787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #33 0x0000ffffb482787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #34 0x0000ffffb48287e8 llvm::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 0x0000ffffb48287e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x0000ffffb48287e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #37 0x0000ffffb482cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x0000ffffb482cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x0000ffffb482cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x0000ffffb482cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x0000ffffb482cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x0000ffffb2c81e58 __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 0x0000ffffb2c81e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x0000ffffb2c81e58 void clang::finalize>, 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 0x0000ffffb2c81e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x0000ffffb4347ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #47 0x0000ffffb42ffc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #48 0x0000ffffb42ffc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #49 0x0000ffffb42ffc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #50 0x0000ffffb438610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #51 0x0000aaaaaef759f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x0000aaaaaef794b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x0000aaaaaef7aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x0000aaaaaef71fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x0000ffffab8f098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #56 0x0000ffffab8f0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #57 0x0000aaaaaef720b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/initializer.cpp.script: line 4: 1826227 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/initializer.cpp -analyzer-checker=core,unix.Malloc,cplusplus.NewDeleteLeaks -analyzer-checker=debug.ExprInspection -std=c++11 -- ******************** Testing: 0 FAIL: Clang :: Analysis/incorrect-checker-names.mm (803 of 18953) ******************** TEST 'Clang :: Analysis/incorrect-checker-names.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -fobjc-arc -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/incorrect-checker-names.mm -Wno-objc-root-class -analyzer-checker=core -analyzer-checker=alpha.core.StackAddressAsyncEscape -analyzer-checker=nullability -analyzer-checker=osx -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -fobjc-arc -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/incorrect-checker-names.mm -Wno-objc-root-class -analyzer-checker=core -analyzer-checker=alpha.core.StackAddressAsyncEscape -analyzer-checker=nullability -analyzer-checker=osx 1. parser at end of file 2. While analyzing stack: #0 Calling anonymous code 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/incorrect-checker-names.mm:148:5: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/incorrect-checker-names.mm:148:5: Error evaluating statement #0 0x0000ffff9139acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff91399100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9139b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9a2d8800 (linux-vdso.so.1+0x800) #4 0x0000ffff995f3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff995f3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff995f3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff995f3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff995f3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff995f3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff995f3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff995f3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff992a0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff992a0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff992a0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff992a0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff992a1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff992a1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff992a1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff992a1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff992b4770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff992b4770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff992b4770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff992b5cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff992b5cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff992b5cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff992b5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff992b5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff992b5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff992c17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff992c17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff992c17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff992cb074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff992cb074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff992cb074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9922f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9922f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9922f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9922f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9971d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9971d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9971d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff9934eee0 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff9934eee0 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff9934eee0 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:61 #45 0x0000ffff9934eee0 void clang::ento::check::Location::_checkLocation<(anonymous namespace)::DereferenceChecker>(void*, clang::ento::SVal const&, bool, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:199:46 #46 0x0000ffff992199b8 void expandGraphWithCheckers<(anonymous namespace)::CheckLocationContext>((anonymous namespace)::CheckLocationContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #47 0x0000ffff99242270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:60 #48 0x0000ffff99242270 clang::ento::ExprEngine::evalLocation(clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::Stmt const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3710:19 #49 0x0000ffff99247868 llvm::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 0x0000ffff99247868 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #51 0x0000ffff99247868 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x0000ffff99247868 clang::ento::ExprEngine::evalStore(clang::ento::ExplodedNodeSet&, clang::Expr const*, clang::Expr const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, clang::ento::SVal, clang::ProgramPointTag const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3628:15 #53 0x0000ffff99250834 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #54 0x0000ffff99250834 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #55 0x0000ffff99250834 clang::ento::ExprEngine::VisitBinaryOperator(clang::BinaryOperator const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:74:0 #56 0x0000ffff9925cbd8 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2103:0 #57 0x0000ffff9925cf08 clang::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 0x0000ffff9925d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff9925d41c clang::ento::CoreEngine::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 0x0000ffff9925d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #61 0x0000ffff9925d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #62 0x0000ffff9925d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #63 0x0000ffff9925d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #64 0x0000ffff9925d764 clang::ento::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 0x0000ffff9952787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #66 0x0000ffff9952787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #67 0x0000ffff9952787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #68 0x0000ffff9952787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #69 0x0000ffff9952787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #70 0x0000ffff995287e8 llvm::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 0x0000ffff995287e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #72 0x0000ffff995287e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #73 0x0000ffff9952cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #74 0x0000ffff9952cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #75 0x0000ffff9952cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #76 0x0000ffff9952cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #77 0x0000ffff9952cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #78 0x0000ffff97981e58 __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 0x0000ffff97981e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #80 0x0000ffff97981e58 void clang::finalize>, 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 0x0000ffff97981e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #82 0x0000ffff99047ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #83 0x0000ffff98fffc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #84 0x0000ffff98fffc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #85 0x0000ffff98fffc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #86 0x0000ffff9908610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #87 0x0000aaaaadaa59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #88 0x0000aaaaadaa94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #89 0x0000aaaaadaaaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #90 0x0000aaaaadaa1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #91 0x0000ffff905f098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #92 0x0000ffff905f0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #93 0x0000aaaaadaa20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/incorrect-checker-names.mm.script: line 1: 1826192 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -fobjc-arc -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/incorrect-checker-names.mm -Wno-objc-root-class -analyzer-checker=core -analyzer-checker=alpha.core.StackAddressAsyncEscape -analyzer-checker=nullability -analyzer-checker=osx -- ******************** Testing: 0 FAIL: Clang :: Analysis/inline-plist.c (804 of 18953) ******************** TEST 'Clang :: Analysis/inline-plist.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inline-plist.c -analyzer-checker=core.NullDereference,core.DivideZero -fblocks -analyzer-output=text -analyzer-config suppress-null-return-paths=false -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inline-plist.c : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inline-plist.c -analyzer-checker=core.NullDereference,core.DivideZero -fblocks -analyzer-output=plist -analyzer-config suppress-null-return-paths=false -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/inline-plist.c.tmp : 'RUN: at line 3'; grep -Ev '^[[:space:]]*.* version .*[[:space:]]*$|^[[:space:]]*/.*[[:space:]]*$|^[[:space:]]*.:.*[[:space:]]*$' parser at end of file 2. While analyzing stack: #0 Calling bar 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inline-plist.c:39:7: Error evaluating branch #0 0x0000ffffafb3acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffafb39100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffafb3b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb8a7f800 (linux-vdso.so.1+0x800) #4 0x0000ffffb7d93688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb7d93688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb7d93688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb7d93688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb7d93688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb7d93688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb7d93688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb7d93688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb7a40c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb7a40c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb7a40c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb7a40c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb7a41ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb7a41ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb7a41ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb7a41ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb7a54770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb7a54770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb7a54770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb7a55cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb7a55cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb7a55cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb7a55190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb7a55190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb7a55190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb7a617d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb7a617d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb7a617d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb7a6b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb7a6b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb7a6b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb79cf72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb79cf72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb79cf72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb79cf72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb7ebd3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb7ebd3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb7ebd3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffb79e58c8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffffb79e58c8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffffb79e58c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffffb79e58c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffffb79e58c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffffb79e58c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffffb79e58c8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffffb79e58c8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffffb79e58c8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffffb79e58c8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffffb79e5e30 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffffb79fd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffb79fd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffb79fd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffb79fd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffb79fd764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffb7cc787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffb7cc787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffb7cc787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffb7cc787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffb7cc787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffb7cc87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffb7cc87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffb7cc87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffb7cccde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffb7cccde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffb7cccde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffb7cccde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffb7cccde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffb6121e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffb6121e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffb6121e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffb6121e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffb77e7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffb779fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffb779fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffb779fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffb782610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaac8a759f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaac8a794b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaac8a7aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaac8a71fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffaed9098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffaed90a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaac8a720b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/inline-plist.c.script: line 3: 1826243 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inline-plist.c -analyzer-checker=core.NullDereference,core.DivideZero -fblocks -analyzer-output=text -analyzer-config suppress-null-return-paths=false -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inline-plist.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/inline-not-supported.c (805 of 18953) ******************** TEST 'Clang :: Analysis/inline-not-supported.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inline-not-supported.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inline-not-supported.c 1. parser at end of file 2. While analyzing stack: #0 Calling test_qux 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inline-not-supported.c:22:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inline-not-supported.c:22:3: Error evaluating statement #0 0x0000ffff8c2dacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8c2d9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8c2db388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff95212800 (linux-vdso.so.1+0x800) #4 0x0000ffff94533688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff94533688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff94533688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff94533688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff94533688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff94533688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff94533688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff94533688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff941e0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff941e0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff941e0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff941e0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff941e1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff941e1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff941e1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff941e1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff941f4770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff941f4770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff941f4770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff941f5cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff941f5cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff941f5cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff941f5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff941f5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff941f5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff942017d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff942017d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff942017d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9420b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9420b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9420b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9416f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9416f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9416f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9416f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9465d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9465d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9465d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff94244578 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff94244578 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff94244578 checkFunctionPointerCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CallAndMessageChecker.cpp:390:79 #45 0x0000ffff94244578 checkPreCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CallAndMessageChecker.cpp:546:37 #46 0x0000ffff94244578 void clang::ento::check::PreCall::_checkCall<(anonymous namespace)::CallAndMessageChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:168:45 #47 0x0000ffff94159524 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #48 0x0000ffff94159524 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #49 0x0000ffff94159524 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #50 0x0000ffff94159524 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #51 0x0000ffff94159524 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #52 0x0000ffff941b97a0 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #53 0x0000ffff941b97a0 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #54 0x0000ffff941b97a0 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #55 0x0000ffff941b97a0 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #56 0x0000ffff941b97a0 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #57 0x0000ffff941b97a0 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #58 0x0000ffff941b97a0 clang::ento::ExprEngine::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 0x0000ffff941ba144 clang::ento::ExprEngine::VisitCallExpr(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 0x0000ffff9419bea0 clang::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 0x0000ffff9419bea0 clang::ento::ExprEngine::Visit(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 0x0000ffff9419cf08 clang::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 0x0000ffff9419d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff9419d41c clang::ento::CoreEngine::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 0x0000ffff9419d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #66 0x0000ffff9419d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #67 0x0000ffff9419d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #68 0x0000ffff9419d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #69 0x0000ffff9419d764 clang::ento::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 0x0000ffff9446787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #71 0x0000ffff9446787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #72 0x0000ffff9446787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #73 0x0000ffff9446787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #74 0x0000ffff9446787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #75 0x0000ffff944687e8 llvm::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 0x0000ffff944687e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #77 0x0000ffff944687e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #78 0x0000ffff9446cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #79 0x0000ffff9446cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #80 0x0000ffff9446cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #81 0x0000ffff9446cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #82 0x0000ffff9446cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #83 0x0000ffff928c1e58 __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 0x0000ffff928c1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #85 0x0000ffff928c1e58 void clang::finalize>, 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 0x0000ffff928c1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #87 0x0000ffff93f87ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #88 0x0000ffff93f3fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #89 0x0000ffff93f3fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #90 0x0000ffff93f3fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #91 0x0000ffff93fc610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #92 0x0000aaaad82259f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #93 0x0000aaaad82294b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #94 0x0000aaaad822aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #95 0x0000aaaad8221fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #96 0x0000ffff8b53098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #97 0x0000ffff8b530a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #98 0x0000aaaad82220b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/inline-not-supported.c.script: line 1: 1826241 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inline-not-supported.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/inline.cpp (806 of 18953) ******************** TEST 'Clang :: Analysis/inline.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-config ipa=inlining -analyzer-config c++-allocator-inlining=true -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inline.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-config ipa=inlining -analyzer-config c++-allocator-inlining=true -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inline.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling rdar12409977::Child::Child() at line 427 #1 Calling rdar12409977::test() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inline.cpp:422:10: Error evaluating statement #0 0x0000ffff7ba0acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7ba09100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7ba0b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff84942800 (linux-vdso.so.1+0x800) #4 0x0000ffff838b7db8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff838b7db8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff838b7db8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff838b7db8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff838b7db8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff838b7db8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff838b7db8 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff838b7db8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1059:61 #12 0x0000ffff838cce94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffff838cce94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffff838cce94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffff838cce94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffff838cce94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffff838cce94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffff838cce94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffff838cce94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffff838cce94 clang::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 0x0000ffff838cd1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff838cd310 clang::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 0x0000ffff838cd5dc clang::ento::CoreEngine::dispatchWorkItem(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 0x0000ffff838cd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x0000ffff838cd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x0000ffff838cd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #27 0x0000ffff838cd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #28 0x0000ffff838cd764 clang::ento::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 0x0000ffff83b9787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffff83b9787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffff83b9787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #32 0x0000ffff83b9787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #33 0x0000ffff83b9787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #34 0x0000ffff83b987e8 llvm::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 0x0000ffff83b987e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x0000ffff83b987e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #37 0x0000ffff83b9cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x0000ffff83b9cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x0000ffff83b9cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x0000ffff83b9cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x0000ffff83b9cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x0000ffff81ff1e58 __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 0x0000ffff81ff1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x0000ffff81ff1e58 void clang::finalize>, 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 0x0000ffff81ff1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x0000ffff836b7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #47 0x0000ffff8366fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #48 0x0000ffff8366fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #49 0x0000ffff8366fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #50 0x0000ffff836f610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #51 0x0000aaaac11159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x0000aaaac11194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x0000aaaac111aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x0000aaaac1111fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x0000ffff7ac6098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #56 0x0000ffff7ac60a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #57 0x0000aaaac11120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/inline.cpp.script: line 1: 1826265 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-config ipa=inlining -analyzer-config c++-allocator-inlining=true -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inline.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/inline3.c (807 of 18953) ******************** TEST 'Clang :: Analysis/inline3.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inline3.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inline3.c 1. parser at end of file 2. While analyzing stack: #0 Calling f1 at line 14 #1 Calling f2 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inline3.c:9:12: Error evaluating branch #0 0x0000ffff8a84acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8a849100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8a84b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff93783800 (linux-vdso.so.1+0x800) #4 0x0000ffff92aa3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff92aa3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff92aa3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff92aa3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff92aa3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff92aa3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff92aa3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff92aa3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff92750c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff92750c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff92750c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff92750c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff92751ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff92751ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff92751ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff92751ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff9276591c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff9276591c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff9276591c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffff92765bf0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff92765bf0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff92765bf0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffff92765190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff92765190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff92765190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff927717d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff927717d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff927717d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9277b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9277b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9277b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff926df72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff926df72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff926df72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff926df72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff92bcd3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff92bcd3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff92bcd3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff926f58c8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffff926f58c8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffff926f58c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffff926f58c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffff926f58c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffff926f58c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffff926f58c8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffff926f58c8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffff926f58c8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffff926f58c8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffff926f5e30 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffff9270d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff9270d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff9270d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff9270d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff9270d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff929d787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff929d787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff929d787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff929d787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff929d787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff929d87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff929d87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff929d87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff929dcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff929dcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff929dcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff929dcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff929dcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff90e31e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff90e31e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff90e31e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff90e31e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff924f7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff924afc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff924afc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff924afc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff9253610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaac5c659f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaac5c694b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaac5c6aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaac5c61fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff89aa098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff89aa0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaac5c620b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/inline3.c.script: line 1: 1826271 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/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 (809 of 18953) ******************** TEST 'Clang :: Analysis/inlining/InlineObjCInstanceMethod.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core.DivideZero,core.DynamicTypePropagation,osx.cocoa.IncompatibleMethodTypes -w -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/InlineObjCInstanceMethod.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core.DivideZero,core.DynamicTypePropagation,osx.cocoa.IncompatibleMethodTypes -w -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/InlineObjCInstanceMethod.m 1. parser at end of file 2. While analyzing stack: #0 Calling testCovariantReturnTypeNoErrorSinceTypesMatch 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/InlineObjCInstanceMethod.m:141:19: Error evaluating statement #0 0x0000ffff9ebcacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff9ebc9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9ebcb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa7b04800 (linux-vdso.so.1+0x800) #4 0x0000ffffa6a68e44 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffa6a68e44 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffa6a68e44 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffa6a68e44 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffa6a68e44 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffa6a68e44 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 0x0000ffffa6a68e44 get<(anonymous namespace)::DynamicTypeMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffa6a68e44 llvm::IntrusiveRefCntPtr clang::ento::removeDeadImpl<(anonymous namespace)::DynamicTypeMap>(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/DynamicType.cpp:166:15 #12 0x0000ffffa6e12928 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #13 0x0000ffffa6e12928 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #14 0x0000ffffa6e12928 clang::ento::removeDeadTypes(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/DynamicType.cpp:176:0 #15 0x0000ffffa6e12928 (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 0x0000ffffa6a5d814 void expandGraphWithCheckers<(anonymous namespace)::CheckDeadSymbolsContext>((anonymous namespace)::CheckDeadSymbolsContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #17 0x0000ffffa6a77fe8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #18 0x0000ffffa6a77fe8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #19 0x0000ffffa6a77fe8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #20 0x0000ffffa6a77fe8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #21 0x0000ffffa6a77fe8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #22 0x0000ffffa6a77fe8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #23 0x0000ffffa6a77fe8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1080:48 #24 0x0000ffffa6a8ce94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #25 0x0000ffffa6a8ce94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #26 0x0000ffffa6a8ce94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #27 0x0000ffffa6a8ce94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #28 0x0000ffffa6a8ce94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #29 0x0000ffffa6a8ce94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #30 0x0000ffffa6a8ce94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #31 0x0000ffffa6a8ce94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #32 0x0000ffffa6a8ce94 clang::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 0x0000ffffa6a8d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffa6a8d41c clang::ento::CoreEngine::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 0x0000ffffa6a8d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x0000ffffa6a8d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x0000ffffa6a8d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #38 0x0000ffffa6a8d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #39 0x0000ffffa6a8d764 clang::ento::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 0x0000ffffa6d5787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #41 0x0000ffffa6d5787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #42 0x0000ffffa6d5787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #43 0x0000ffffa6d5787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #44 0x0000ffffa6d5787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #45 0x0000ffffa6d587e8 llvm::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 0x0000ffffa6d587e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #47 0x0000ffffa6d587e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #48 0x0000ffffa6d5cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #49 0x0000ffffa6d5cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #50 0x0000ffffa6d5cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #51 0x0000ffffa6d5cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #52 0x0000ffffa6d5cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #53 0x0000ffffa51b1e58 __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 0x0000ffffa51b1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #55 0x0000ffffa51b1e58 void clang::finalize>, 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 0x0000ffffa51b1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #57 0x0000ffffa6877ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #58 0x0000ffffa682fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #59 0x0000ffffa682fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #60 0x0000ffffa682fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #61 0x0000ffffa68b610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #62 0x0000aaaad97659f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #63 0x0000aaaad97694b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #64 0x0000aaaad976aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #65 0x0000aaaad9761fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #66 0x0000ffff9de2098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #67 0x0000ffff9de20a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #68 0x0000aaaad97620b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/InlineObjCInstanceMethod.m.script: line 1: 1826305 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core.DivideZero,core.DynamicTypePropagation,osx.cocoa.IncompatibleMethodTypes -w -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/InlineObjCInstanceMethod.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/inlining/DynDispatchBifurcate.m (810 of 18953) ******************** TEST 'Clang :: Analysis/inlining/DynDispatchBifurcate.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx -analyzer-config ipa=dynamic-bifurcate -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/DynDispatchBifurcate.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx -analyzer-config ipa=dynamic-bifurcate -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/DynDispatchBifurcate.m 1. parser at end of file 2. While analyzing stack: #0 Calling testDefNotAvailableInlined at line 190 #1 Calling testDefNotAvailable 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/DynDispatchBifurcate.m:187:10: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/DynDispatchBifurcate.m:187:10: Error evaluating statement #0 0x0000ffff8081acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff80819100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8081b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff89753800 (linux-vdso.so.1+0x800) #4 0x0000ffff88a73688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff88a73688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff88a73688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff88a73688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff88a73688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff88a73688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff88a73688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff88a73688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff88720c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff88720c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff88720c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff88720c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff88721ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff88721ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff88721ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff88721ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff88734770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff88734770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff88734770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff88735cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff88735cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff88735cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff88735190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff88735190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff88735190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff887417d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff887417d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff887417d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8874b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8874b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8874b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff886af72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff886af72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff886af72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff886af72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff88b9d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff88b9d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff88b9d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff8871171c std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #43 0x0000ffff8871171c std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #44 0x0000ffff8871171c std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #45 0x0000ffff8871171c std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #46 0x0000ffff8871171c std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #47 0x0000ffff8871171c clang::ento::ExprEngine::VisitObjCMessage(clang::ObjCMessageExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineObjC.cpp:192:0 #48 0x0000ffff886dba38 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #49 0x0000ffff886dba38 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2309:0 #50 0x0000ffff886dcf08 clang::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 0x0000ffff886dd1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff886dd41c clang::ento::CoreEngine::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 0x0000ffff886dd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff886dd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff886dd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff886dd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff886dd764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff889a787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff889a787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff889a787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff889a787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff889a787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff889a87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff889a87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff889a87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff889acde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff889acde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff889acde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff889acde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff889acde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff86e01e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff86e01e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff86e01e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff86e01e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff884c7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff8847fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff8847fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff8847fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff8850610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaae8dc59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaae8dc94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaae8dcaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaae8dc1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff7fa7098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff7fa70a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaae8dc20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/DynDispatchBifurcate.m.script: line 1: 1826291 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx -analyzer-config ipa=dynamic-bifurcate -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/DynDispatchBifurcate.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/inline4.c (811 of 18953) ******************** TEST 'Clang :: Analysis/inline4.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inline4.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inline4.c 1. parser at end of file 2. While analyzing stack: #0 Calling f 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inline4.c:11:12: Error evaluating branch #0 0x0000ffffa9b3acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa9b39100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa9b3b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb2a7d800 (linux-vdso.so.1+0x800) #4 0x0000ffffb1d93688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb1d93688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb1d93688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb1d93688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb1d93688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb1d93688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb1d93688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb1d93688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb1a40c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb1a40c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb1a40c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb1a40c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb1a41ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb1a41ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb1a41ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb1a41ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb1a5591c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb1a5591c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb1a5591c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffffb1a55bf0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb1a55bf0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb1a55bf0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffffb1a55190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb1a55190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb1a55190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb1a617d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb1a617d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb1a617d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb1a6b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb1a6b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb1a6b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb19cf72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb19cf72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb19cf72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb19cf72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb1ebd3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb1ebd3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb1ebd3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffb19e58c8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffffb19e58c8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffffb19e58c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffffb19e58c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffffb19e58c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffffb19e58c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffffb19e58c8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffffb19e58c8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffffb19e58c8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffffb19e58c8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffffb19e5e30 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffffb19fd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffb19fd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffb19fd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffb19fd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffb19fd764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffb1cc787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffb1cc787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffb1cc787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffb1cc787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffb1cc787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffb1cc87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffb1cc87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffb1cc87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffb1cccde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffb1cccde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffb1cccde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffb1cccde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffb1cccde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffb0121e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffb0121e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffb0121e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffb0121e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffb17e7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffb179fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffb179fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffb179fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffb182610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaacaf559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaacaf594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaacaf5aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaacaf51fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffa8d9098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffa8d90a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaacaf520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/inline4.c.script: line 1: 1826286 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/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/InlineObjCClassMethod.m (812 of 18953) ******************** TEST 'Clang :: Analysis/inlining/InlineObjCClassMethod.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config ipa=dynamic-bifurcate -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/InlineObjCClassMethod.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config ipa=dynamic-bifurcate -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/InlineObjCClassMethod.m 1. parser at end of file #0 0x0000ffff85cdacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff85cd9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff85cdb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8ec16800 (linux-vdso.so.1+0x800) #4 0x0000ffff8df33688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8df33688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8df33688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8df33688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8df33688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8df33688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff8df33688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff8df33688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8dbe0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8dbe0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8dbe0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8dbe0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8dbe1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8dbe1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8dbe1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8dbe1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff8dbf4770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff8dbf4770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff8dbf4770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff8dbf5cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff8dbf5cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff8dbf5cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff8dbf5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8dbf5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8dbf5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff8dc017d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff8dc017d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff8dc017d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8dc0b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8dc0b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8dc0b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8db6f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8db6f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8db6f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8db6f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff8db6fbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8db6fbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8db6fbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff8db431c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff8db431c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff8db431c0 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff8db7fba8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff8db7fba8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff8db7fba8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffff8db9daa8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff8db9daa8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff8db9daa8 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff8de6787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff8de6787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff8de6787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff8de6787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff8de6787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff8de687e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffff8de687e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff8de687e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff8de6cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff8de6cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff8de6cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff8de6cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff8de6cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff8c2c1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffff8c2c1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff8c2c1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffff8c2c1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff8d987ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff8d93fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff8d93fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff8d93fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff8d9c610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaaadc559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaaadc594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaaadc5aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaaadc51fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff84f3098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff84f30a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaaadc520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/InlineObjCClassMethod.m.script: line 1: 1826299 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config ipa=dynamic-bifurcate -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/InlineObjCClassMethod.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/inlining/ObjCDynTypePopagation.m (815 of 18953) ******************** TEST 'Clang :: Analysis/inlining/ObjCDynTypePopagation.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config ipa=dynamic-bifurcate -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/ObjCDynTypePopagation.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config ipa=dynamic-bifurcate -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/ObjCDynTypePopagation.m 1. parser at end of file #0 0x0000ffffa072acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa0729100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa072b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa966e800 (linux-vdso.so.1+0x800) #4 0x0000ffffa8983688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa8983688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa8983688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa8983688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa8983688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa8983688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa8983688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa8983688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa8630c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa8630c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa8630c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa8630c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa8631ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa8631ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa8631ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa8631ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa8644770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa8644770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa8644770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa8645cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa8645cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa8645cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa8645190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa8645190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa8645190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa86517d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa86517d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa86517d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa865b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa865b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa865b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa85bf72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa85bf72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa85bf72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa85bf72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa85bfbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa85bfbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa85bfbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffa85931c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffa85931c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffa85931c0 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffa85cfba8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffa85cfba8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffa85cfba8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffffa85edaa8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffa85edaa8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffa85edaa8 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffa88b787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffa88b787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffa88b787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffa88b787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffa88b787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffa88b87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffffa88b87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffa88b87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffa88bcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffa88bcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffa88bcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffa88bcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffa88bcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffa6d11e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffffa6d11e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffa6d11e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffffa6d11e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffa83d7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffa838fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffa838fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffa838fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffa841610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaabfdf59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaabfdf94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaabfdfaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaabfdf1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff9f98098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff9f980a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaabfdf20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/ObjCDynTypePopagation.m.script: line 1: 1826323 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config ipa=dynamic-bifurcate -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/ObjCDynTypePopagation.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/inlining/ObjCImproperDynamictallyDetectableCast.m (816 of 18953) ******************** TEST 'Clang :: Analysis/inlining/ObjCImproperDynamictallyDetectableCast.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config ipa=dynamic-bifurcate -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/ObjCImproperDynamictallyDetectableCast.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config ipa=dynamic-bifurcate -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/ObjCImproperDynamictallyDetectableCast.m 1. parser at end of file #0 0x0000ffff81fbacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff81fb9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff81fbb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8aefc800 (linux-vdso.so.1+0x800) #4 0x0000ffff8a213688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8a213688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8a213688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8a213688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8a213688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8a213688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff8a213688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff8a213688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff89ec0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff89ec0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff89ec0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff89ec0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff89ec1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff89ec1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff89ec1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff89ec1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff89ed4770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff89ed4770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff89ed4770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff89ed5cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff89ed5cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff89ed5cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff89ed5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff89ed5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff89ed5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff89ee17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff89ee17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff89ee17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff89eeb074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff89eeb074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff89eeb074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff89e4f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff89e4f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff89e4f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff89e4f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff89e4fbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff89e4fbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff89e4fbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff89e231c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff89e231c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff89e231c0 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff89e5fba8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff89e5fba8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff89e5fba8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffff89e7daa8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff89e7daa8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff89e7daa8 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff8a14787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff8a14787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff8a14787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff8a14787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff8a14787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff8a1487e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffff8a1487e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff8a1487e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff8a14cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff8a14cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff8a14cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff8a14cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff8a14cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff885a1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffff885a1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff885a1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffff885a1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff89c67ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff89c1fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff89c1fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff89c1fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff89ca610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaab9df59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaab9df94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaab9dfaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaab9df1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff8121098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff81210a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaab9df20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/ObjCImproperDynamictallyDetectableCast.m.script: line 1: 1826321 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config ipa=dynamic-bifurcate -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/ObjCImproperDynamictallyDetectableCast.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/inlining/RetainCountExamples.m (817 of 18953) ******************** TEST 'Clang :: Analysis/inlining/RetainCountExamples.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount -analyzer-config ipa=dynamic-bifurcate -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/RetainCountExamples.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount -analyzer-config ipa=dynamic-bifurcate -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/RetainCountExamples.m 1. parser at end of file #0 0x0000ffffb5b6acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb5b69100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb5b6b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffbeaa2800 (linux-vdso.so.1+0x800) #4 0x0000ffffbddc3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffbddc3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffbddc3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffbddc3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffbddc3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffbddc3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffbddc3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffbddc3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffbda70c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffbda70c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffbda70c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffbda70c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffbda71ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffbda71ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffbda71ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffbda71ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffbda84770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffbda84770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffbda84770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffbda85cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffbda85cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffbda85cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffbda85190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffbda85190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffbda85190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffbda917d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffbda917d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffbda917d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffbda9b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffbda9b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffbda9b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffbd9ff72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffbd9ff72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffbd9ff72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffbd9ff72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffbd9ffbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffbd9ffbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffbd9ffbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffbd9d31c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffbd9d31c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffbd9d31c0 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffbda0fba8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffbda0fba8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffbda0fba8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffffbda2daa8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffbda2daa8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffbda2daa8 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffbdcf787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffbdcf787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffbdcf787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffbdcf787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffbdcf787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffbdcf87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffffbdcf87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffbdcf87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffbdcfcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffbdcfcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffbdcfcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffbdcfcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffbdcfcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffbc151e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffffbc151e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffbc151e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffffbc151e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffbd817ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffbd7cfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffbd7cfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffbd7cfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffbd85610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaade8859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaade8894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaade88aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaade881fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffffb4dc098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffffb4dc0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaade8820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/RetainCountExamples.m.script: line 1: 1826337 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount -analyzer-config ipa=dynamic-bifurcate -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/RetainCountExamples.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/inlining/assume-super-init-does-not-return-nil.m (818 of 18953) ******************** TEST 'Clang :: Analysis/inlining/assume-super-init-does-not-return-nil.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/assume-super-init-does-not-return-nil.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/assume-super-init-does-not-return-nil.m 1. parser at end of file #0 0x0000ffff7d52acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7d529100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7d52b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8646e800 (linux-vdso.so.1+0x800) #4 0x0000ffff85783688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff85783688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff85783688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff85783688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff85783688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff85783688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff85783688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff85783688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff85430c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff85430c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff85430c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff85430c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff85431ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff85431ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff85431ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff85431ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff85444770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff85444770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff85444770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff85445cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff85445cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff85445cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff85445190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff85445190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff85445190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff854517d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff854517d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff854517d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8545b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8545b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8545b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff853bf72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff853bf72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff853bf72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff853bf72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff853bfbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff853bfbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff853bfbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff853931c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff853931c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff853931c0 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff853cfba8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff853cfba8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff853cfba8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffff853edaa8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff853edaa8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff853edaa8 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff856b787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff856b787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff856b787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff856b787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff856b787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff856b87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffff856b87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff856b87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff856bcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff856bcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff856bcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff856bcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff856bcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff83b11e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffff83b11e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff83b11e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffff83b11e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff851d7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff8518fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff8518fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff8518fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff8521610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaab83959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaab83994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaab839aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaab8391fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff7c78098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff7c780a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaab83920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/assume-super-init-does-not-return-nil.m.script: line 1: 1826347 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/assume-super-init-does-not-return-nil.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/inlining/containers.cpp (819 of 18953) ******************** TEST 'Clang :: Analysis/inlining/containers.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-config c++-inlining=destructors -analyzer-config c++-container-inlining=false -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/containers.cpp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-config c++-inlining=destructors -analyzer-config c++-container-inlining=true -DINLINE=1 -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/containers.cpp : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-config c++-inlining=destructors -analyzer-config c++-container-inlining=false -DTEST_INLINABLE_ALLOCATORS -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/containers.cpp : 'RUN: at line 4'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-config c++-inlining=destructors -analyzer-config c++-container-inlining=true -DTEST_INLINABLE_ALLOCATORS -DINLINE=1 -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/containers.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-config c++-inlining=destructors -analyzer-config c++-container-inlining=false -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/containers.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling testWrappers(BeginOnlySet &, IteratorStructOnlySet &, IteratorTypedefOnlySet &, IteratorUsingOnlySet &) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/containers.cpp:48:3: Error evaluating statement #0 0x0000ffff83fdacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff83fd9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff83fdb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8cf1a800 (linux-vdso.so.1+0x800) #4 0x0000ffff8be87db8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff8be87db8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff8be87db8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff8be87db8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff8be87db8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff8be87db8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff8be87db8 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff8be87db8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1059:61 #12 0x0000ffff8be9ce94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffff8be9ce94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffff8be9ce94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffff8be9ce94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffff8be9ce94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffff8be9ce94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffff8be9ce94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffff8be9ce94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffff8be9ce94 clang::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 0x0000ffff8be9d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8be9d41c clang::ento::CoreEngine::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 0x0000ffff8be9d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #24 0x0000ffff8be9d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #25 0x0000ffff8be9d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #26 0x0000ffff8be9d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #27 0x0000ffff8be9d764 clang::ento::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 0x0000ffff8c16787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #29 0x0000ffff8c16787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #30 0x0000ffff8c16787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #31 0x0000ffff8c16787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #32 0x0000ffff8c16787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #33 0x0000ffff8c1687e8 llvm::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 0x0000ffff8c1687e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #35 0x0000ffff8c1687e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #36 0x0000ffff8c16cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #37 0x0000ffff8c16cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #38 0x0000ffff8c16cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #39 0x0000ffff8c16cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #40 0x0000ffff8c16cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #41 0x0000ffff8a5c1e58 __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 0x0000ffff8a5c1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #43 0x0000ffff8a5c1e58 void clang::finalize>, 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 0x0000ffff8a5c1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #45 0x0000ffff8bc87ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #46 0x0000ffff8bc3fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #47 0x0000ffff8bc3fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #48 0x0000ffff8bc3fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #49 0x0000ffff8bcc610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #50 0x0000aaaad55d59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #51 0x0000aaaad55d94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #52 0x0000aaaad55daac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #53 0x0000aaaad55d1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #54 0x0000ffff8323098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #55 0x0000ffff83230a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #56 0x0000aaaad55d20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/containers.cpp.script: line 4: 1826370 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-config c++-inlining=destructors -analyzer-config c++-container-inlining=false -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/containers.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/inlining/false-positive-suppression.cpp (820 of 18953) ******************** TEST 'Clang :: Analysis/inlining/false-positive-suppression.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-config suppress-null-return-paths=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/false-positive-suppression.cpp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify -DSUPPRESSED=1 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/false-positive-suppression.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-config suppress-null-return-paths=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/false-positive-suppression.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling Cleanups::testArgument() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/false-positive-suppression.cpp:210:24: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/false-positive-suppression.cpp:210:24: Error evaluating statement #0 0x0000ffff9fe6acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff9fe69100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9fe6b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa8da4800 (linux-vdso.so.1+0x800) #4 0x0000ffffa7d1e6a4 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffffa7d1e6a4 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffa7d1e6a4 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffa7d1e6a4 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffa7d1e6a4 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffa7d1e6a4 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffa7d1e6a4 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffa7d1e6a4 llvm::IntrusiveRefCntPtr clang::ento::ProgramStateManager::set<(anonymous namespace)::ObjectsUnderConstruction>(llvm::IntrusiveRefCntPtr, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::key_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::value_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::context_type) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:652:0 #12 0x0000ffffa7d1ea94 llvm::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 0x0000ffffa7d1ea94 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #14 0x0000ffffa7d1ea94 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #15 0x0000ffffa7d1ea94 set<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:876:0 #16 0x0000ffffa7d1ea94 clang::ento::ExprEngine::addObjectUnderConstruction(llvm::IntrusiveRefCntPtr, clang::ConstructionContextItem const&, clang::LocationContext const*, clang::ento::SVal) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:599:0 #17 0x0000ffffa7d1efac llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #18 0x0000ffffa7d1efac llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #19 0x0000ffffa7d1efac clang::ento::ExprEngine::updateObjectsUnderConstruction(clang::ento::SVal, clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:486:0 #20 0x0000ffffa7d26a00 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #21 0x0000ffffa7d26a00 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #22 0x0000ffffa7d26a00 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 0x0000ffffa7d26a00 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 0x0000ffffa7d2be5c clang::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 0x0000ffffa7d2be5c clang::ento::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 0x0000ffffa7d2cf08 clang::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 0x0000ffffa7d2d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffa7d2d41c clang::ento::CoreEngine::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 0x0000ffffa7d2d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #30 0x0000ffffa7d2d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #31 0x0000ffffa7d2d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #32 0x0000ffffa7d2d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #33 0x0000ffffa7d2d764 clang::ento::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 0x0000ffffa7ff787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #35 0x0000ffffa7ff787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #36 0x0000ffffa7ff787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #37 0x0000ffffa7ff787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #38 0x0000ffffa7ff787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #39 0x0000ffffa7ff87e8 llvm::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 0x0000ffffa7ff87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #41 0x0000ffffa7ff87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #42 0x0000ffffa7ffcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #43 0x0000ffffa7ffcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #44 0x0000ffffa7ffcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #45 0x0000ffffa7ffcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #46 0x0000ffffa7ffcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #47 0x0000ffffa6451e58 __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 0x0000ffffa6451e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #49 0x0000ffffa6451e58 void clang::finalize>, 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 0x0000ffffa6451e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #51 0x0000ffffa7b17ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #52 0x0000ffffa7acfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #53 0x0000ffffa7acfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #54 0x0000ffffa7acfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #55 0x0000ffffa7b5610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #56 0x0000aaaadfc159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #57 0x0000aaaadfc194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #58 0x0000aaaadfc1aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #59 0x0000aaaadfc11fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #60 0x0000ffff9f0c098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #61 0x0000ffff9f0c0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #62 0x0000aaaadfc120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/false-positive-suppression.cpp.script: line 2: 1826392 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-config suppress-null-return-paths=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/false-positive-suppression.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/inlining/dyn-dispatch-bifurcate.cpp (821 of 18953) ******************** TEST 'Clang :: Analysis/inlining/dyn-dispatch-bifurcate.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config ipa=dynamic-bifurcate -verify -Wno-reinterpret-base-class -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/dyn-dispatch-bifurcate.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config ipa=dynamic-bifurcate -verify -Wno-reinterpret-base-class -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/dyn-dispatch-bifurcate.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling ReinterpretDisruptsDynamicTypeInfo::test(Parent *) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/dyn-dispatch-bifurcate.cpp:35:9: Error evaluating branch #0 0x0000ffffa9baacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa9ba9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa9bab388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb2ae4800 (linux-vdso.so.1+0x800) #4 0x0000ffffb1e03688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb1e03688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb1e03688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb1e03688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb1e03688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb1e03688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb1e03688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb1e03688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb1ab0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb1ab0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb1ab0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb1ab0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb1ab1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb1ab1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb1ab1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb1ab1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb1ac4770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb1ac4770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb1ac4770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb1ac5cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb1ac5cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb1ac5cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb1ac5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb1ac5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb1ac5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb1ad17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb1ad17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb1ad17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb1adb074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb1adb074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb1adb074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb1a3f6d8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb1a3f6d8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb1a3f6d8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb1a3f6d8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffb1f2d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb1f2d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb1f2d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffb1a558c8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffffb1a558c8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffffb1a558c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffffb1a558c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffffb1a558c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffffb1a558c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffffb1a558c8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffffb1a558c8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffffb1a558c8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffffb1a558c8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffffb1a55e30 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffffb1a6d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffb1a6d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffb1a6d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffb1a6d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffb1a6d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffb1d3787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffb1d3787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffb1d3787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffb1d3787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffb1d3787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffb1d387e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffb1d387e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffb1d387e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffb1d3cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffb1d3cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffb1d3cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffb1d3cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffb1d3cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffb0191e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffb0191e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffb0191e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffb0191e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffb1857ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffb180fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffb180fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffb180fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffb189610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaab03c59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaab03c94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaab03caac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaab03c1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffa8e0098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffa8e00a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaab03c20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/dyn-dispatch-bifurcate.cpp.script: line 1: 1826367 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config ipa=dynamic-bifurcate -verify -Wno-reinterpret-base-class -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/dyn-dispatch-bifurcate.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/inlining/false-positive-suppression.c (822 of 18953) ******************** TEST 'Clang :: Analysis/inlining/false-positive-suppression.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-config suppress-null-return-paths=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/false-positive-suppression.c : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify -DSUPPRESSED=1 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/false-positive-suppression.c : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-config avoid-suppressing-null-argument-paths=true -DSUPPRESSED=1 -DNULL_ARGS=1 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/false-positive-suppression.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-config suppress-null-return-paths=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/false-positive-suppression.c 1. parser at end of file 2. While analyzing stack: #0 Calling testConditionalOperatorSuppressFloatCond 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/false-positive-suppression.c:379:10: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/false-positive-suppression.c:379:10: Error evaluating statement #0 0x0000ffffadadacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffadad9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffadadb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb6a1a800 (linux-vdso.so.1+0x800) #4 0x0000ffffb5d33688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb5d33688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb5d33688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb5d33688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb5d33688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb5d33688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb5d33688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb5d33688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb59e0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb59e0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb59e0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb59e0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb59e1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb59e1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb59e1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb59e1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb59f4770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb59f4770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb59f4770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb59f5cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb59f5cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb59f5cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb59f5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb59f5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb59f5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb5a017d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb5a017d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb5a017d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb5a0b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb5a0b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb5a0b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb596f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb596f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb596f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb596f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb5e5d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb5e5d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb5e5d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffb5a8eee0 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffb5a8eee0 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffb5a8eee0 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:61 #45 0x0000ffffb5a8eee0 void clang::ento::check::Location::_checkLocation<(anonymous namespace)::DereferenceChecker>(void*, clang::ento::SVal const&, bool, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:199:46 #46 0x0000ffffb59599b8 void expandGraphWithCheckers<(anonymous namespace)::CheckLocationContext>((anonymous namespace)::CheckLocationContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #47 0x0000ffffb5982270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:60 #48 0x0000ffffb5982270 clang::ento::ExprEngine::evalLocation(clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::Stmt const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3710:19 #49 0x0000ffffb59824ac llvm::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 0x0000ffffb59824ac llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #51 0x0000ffffb59824ac llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x0000ffffb59824ac clang::ento::ExprEngine::evalLoad(clang::ento::ExplodedNodeSet&, clang::Expr const*, clang::Expr const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, clang::ProgramPointTag const*, clang::QualType) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3653:15 #53 0x0000ffffb5992170 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #54 0x0000ffffb5992170 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #55 0x0000ffffb5992170 clang::ento::ExprEngine::VisitCast(clang::CastExpr const*, clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:292:0 #56 0x0000ffffb599b884 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #57 0x0000ffffb599b884 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #58 0x0000ffffb599b884 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2258:0 #59 0x0000ffffb599cf08 clang::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 0x0000ffffb599d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffb599d41c clang::ento::CoreEngine::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 0x0000ffffb599d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #63 0x0000ffffb599d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #64 0x0000ffffb599d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #65 0x0000ffffb599d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #66 0x0000ffffb599d764 clang::ento::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 0x0000ffffb5c6787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #68 0x0000ffffb5c6787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #69 0x0000ffffb5c6787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #70 0x0000ffffb5c6787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #71 0x0000ffffb5c6787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #72 0x0000ffffb5c687e8 llvm::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 0x0000ffffb5c687e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #74 0x0000ffffb5c687e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #75 0x0000ffffb5c6cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #76 0x0000ffffb5c6cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #77 0x0000ffffb5c6cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #78 0x0000ffffb5c6cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #79 0x0000ffffb5c6cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #80 0x0000ffffb40c1e58 __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 0x0000ffffb40c1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #82 0x0000ffffb40c1e58 void clang::finalize>, 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 0x0000ffffb40c1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #84 0x0000ffffb5787ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #85 0x0000ffffb573fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #86 0x0000ffffb573fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #87 0x0000ffffb573fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #88 0x0000ffffb57c610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #89 0x0000aaaac7ed59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #90 0x0000aaaac7ed94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #91 0x0000aaaac7edaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #92 0x0000aaaac7ed1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #93 0x0000ffffacd3098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #94 0x0000ffffacd30a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #95 0x0000aaaac7ed20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/false-positive-suppression.c.script: line 3: 1826390 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-config suppress-null-return-paths=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/false-positive-suppression.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/inlining/inline-defensive-checks.c (823 of 18953) ******************** TEST 'Clang :: Analysis/inlining/inline-defensive-checks.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-config suppress-inlined-defensive-checks=true -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/inline-defensive-checks.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-config suppress-inlined-defensive-checks=true -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/inline-defensive-checks.c 1. parser at end of file 2. While analyzing stack: #0 Calling idcPlainNullWithArray at line 238 #1 Calling idcTrackZeroValueThroughSymbolicRegionWithArray 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/inline-defensive-checks.c:231:7: Error evaluating branch #0 0x0000ffff8d1bacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8d1b9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8d1bb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff960fd800 (linux-vdso.so.1+0x800) #4 0x0000ffff95413688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff95413688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff95413688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff95413688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff95413688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff95413688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff95413688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff95413688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff950c0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff950c0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff950c0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff950c0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff950c1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff950c1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff950c1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff950c1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff950d591c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff950d591c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff950d591c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffff950d5bf0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff950d5bf0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff950d5bf0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffff950d5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff950d5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff950d5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff950e17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff950e17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff950e17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff950eb074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff950eb074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff950eb074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9504f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9504f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9504f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9504f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9553d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9553d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9553d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff950658c8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffff950658c8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffff950658c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffff950658c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffff950658c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffff950658c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffff950658c8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffff950658c8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffff950658c8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffff950658c8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffff95065e30 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffff9507d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff9507d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff9507d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff9507d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff9507d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff9534787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff9534787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff9534787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff9534787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff9534787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff953487e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff953487e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff953487e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff9534cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff9534cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff9534cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff9534cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff9534cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff937a1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff937a1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff937a1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff937a1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff94e67ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff94e1fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff94e1fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff94e1fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff94ea610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaac69b59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaac69b94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaac69baac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaac69b1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff8c41098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff8c410a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaac69b20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/inline-defensive-checks.c.script: line 1: 1826410 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-config suppress-inlined-defensive-checks=true -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/inline-defensive-checks.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/inlining/false-positive-suppression.m (824 of 18953) ******************** TEST 'Clang :: Analysis/inlining/false-positive-suppression.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-config suppress-null-return-paths=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/false-positive-suppression.m : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify -DSUPPRESSED=1 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/false-positive-suppression.m : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -fobjc-arc -verify -DSUPPRESSED=1 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/false-positive-suppression.m : 'RUN: at line 4'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-config avoid-suppressing-null-argument-paths=true -DSUPPRESSED=1 -DNULL_ARGS=1 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/false-positive-suppression.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-config suppress-null-return-paths=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/false-positive-suppression.m 1. parser at end of file 2. While analyzing stack: #0 Calling testSynthesizedPropertyReturningNull 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/false-positive-suppression.m:128:10: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/false-positive-suppression.m:128:10: Error evaluating statement #0 0x0000ffff7fe3acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7fe39100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7fe3b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff88d77800 (linux-vdso.so.1+0x800) #4 0x0000ffff88093688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff88093688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff88093688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff88093688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff88093688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff88093688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff88093688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff88093688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff87d40c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff87d40c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff87d40c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff87d40c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff87d41ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff87d41ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff87d41ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff87d41ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff87d54770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff87d54770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff87d54770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff87d55cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff87d55cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff87d55cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff87d55190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff87d55190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff87d55190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff87d617d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff87d617d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff87d617d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff87d6b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff87d6b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff87d6b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff87ccf72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff87ccf72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff87ccf72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff87ccf72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff881bd3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff881bd3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff881bd3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff87d3171c std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #43 0x0000ffff87d3171c std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #44 0x0000ffff87d3171c std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #45 0x0000ffff87d3171c std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #46 0x0000ffff87d3171c std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #47 0x0000ffff87d3171c clang::ento::ExprEngine::VisitObjCMessage(clang::ObjCMessageExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineObjC.cpp:192:0 #48 0x0000ffff87cfba38 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #49 0x0000ffff87cfba38 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2309:0 #50 0x0000ffff87cfcf08 clang::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 0x0000ffff87cfd1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff87cfd41c clang::ento::CoreEngine::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 0x0000ffff87cfd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff87cfd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff87cfd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff87cfd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff87cfd764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff87fc787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff87fc787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff87fc787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff87fc787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff87fc787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff87fc87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff87fc87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff87fc87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff87fccde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff87fccde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff87fccde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff87fccde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff87fccde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff86421e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff86421e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff86421e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff86421e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff87ae7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff87a9fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff87a9fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff87a9fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff87b2610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaad96859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaad96894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaad968aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaad9681fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff7f09098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff7f090a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaad96820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/false-positive-suppression.m.script: line 4: 1826408 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-config suppress-null-return-paths=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/false-positive-suppression.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/inlining/inline-defensive-checks.cpp (825 of 18953) ******************** TEST 'Clang :: Analysis/inlining/inline-defensive-checks.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/inline-defensive-checks.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/inline-defensive-checks.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling get_deref_expr_with_cleanups::test_conjured() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/inline-defensive-checks.cpp:101:24: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/inline-defensive-checks.cpp:101:24: Error evaluating statement #0 0x0000ffffa03facd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa03f9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa03fb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa9338800 (linux-vdso.so.1+0x800) #4 0x0000ffffa82ae6a4 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffffa82ae6a4 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffa82ae6a4 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffa82ae6a4 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffa82ae6a4 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffa82ae6a4 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffa82ae6a4 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffa82ae6a4 llvm::IntrusiveRefCntPtr clang::ento::ProgramStateManager::set<(anonymous namespace)::ObjectsUnderConstruction>(llvm::IntrusiveRefCntPtr, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::key_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::value_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::context_type) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:652:0 #12 0x0000ffffa82aea94 llvm::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 0x0000ffffa82aea94 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #14 0x0000ffffa82aea94 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #15 0x0000ffffa82aea94 set<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:876:0 #16 0x0000ffffa82aea94 clang::ento::ExprEngine::addObjectUnderConstruction(llvm::IntrusiveRefCntPtr, clang::ConstructionContextItem const&, clang::LocationContext const*, clang::ento::SVal) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:599:0 #17 0x0000ffffa82aeec8 llvm::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 0x0000ffffa82aeec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #19 0x0000ffffa82aeec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #20 0x0000ffffa82aeec8 clang::ento::ExprEngine::updateObjectsUnderConstruction(clang::ento::SVal, clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:507:0 #21 0x0000ffffa82b6a00 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #22 0x0000ffffa82b6a00 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #23 0x0000ffffa82b6a00 clang::ento::ExprEngine::handleConstructionContext(clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::ento::NodeBuilderContext const*, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions&, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:753:0 #24 0x0000ffffa82b6a00 clang::ento::ExprEngine::handleConstructor(clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:665:0 #25 0x0000ffffa82bbe5c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #26 0x0000ffffa82bbe5c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2158:0 #27 0x0000ffffa82bcf08 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #28 0x0000ffffa82bd1f0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #29 0x0000ffffa82bd41c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #30 0x0000ffffa82bd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #31 0x0000ffffa82bd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #32 0x0000ffffa82bd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #33 0x0000ffffa82bd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #34 0x0000ffffa82bd764 clang::ento::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 0x0000ffffa858787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa858787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa858787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #38 0x0000ffffa858787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #39 0x0000ffffa858787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #40 0x0000ffffa85887e8 llvm::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 0x0000ffffa85887e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #42 0x0000ffffa85887e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #43 0x0000ffffa858cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #44 0x0000ffffa858cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #45 0x0000ffffa858cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #46 0x0000ffffa858cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #47 0x0000ffffa858cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #48 0x0000ffffa69e1e58 __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 0x0000ffffa69e1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #50 0x0000ffffa69e1e58 void clang::finalize>, 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 0x0000ffffa69e1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #52 0x0000ffffa80a7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #53 0x0000ffffa805fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #54 0x0000ffffa805fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #55 0x0000ffffa805fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #56 0x0000ffffa80e610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #57 0x0000aaaad3bb59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #58 0x0000aaaad3bb94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #59 0x0000aaaad3bbaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #60 0x0000aaaad3bb1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #61 0x0000ffff9f65098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #62 0x0000ffff9f650a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #63 0x0000aaaad3bb20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/inline-defensive-checks.cpp.script: line 1: 1826424 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/inline-defensive-checks.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/inlining/inline-defensive-checks.m (826 of 18953) ******************** TEST 'Clang :: Analysis/inlining/inline-defensive-checks.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-config suppress-inlined-defensive-checks=true -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/inline-defensive-checks.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-config suppress-inlined-defensive-checks=true -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/inline-defensive-checks.m 1. parser at end of file 2. While analyzing stack: #0 Calling idc at line 121 #1 Calling dontSuppressNilReceiverIDC 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/inline-defensive-checks.m:67:7: Error evaluating branch #0 0x0000ffff8275acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff82759100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8275b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8b698800 (linux-vdso.so.1+0x800) #4 0x0000ffff8a9b3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8a9b3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8a9b3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8a9b3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8a9b3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8a9b3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff8a9b3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff8a9b3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8a660c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8a660c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8a660c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8a660c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8a661ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8a661ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8a661ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8a661ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff8a674770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff8a674770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff8a674770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff8a675cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff8a675cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff8a675cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff8a675190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8a675190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8a675190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff8a6817d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff8a6817d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff8a6817d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8a68b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8a68b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8a68b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8a5ef72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8a5ef72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8a5ef72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8a5ef72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff8aadd3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8aadd3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8aadd3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff8a6058c8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffff8a6058c8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffff8a6058c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffff8a6058c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffff8a6058c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffff8a6058c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffff8a6058c8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffff8a6058c8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffff8a6058c8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffff8a6058c8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffff8a605e30 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffff8a61d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff8a61d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff8a61d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff8a61d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff8a61d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff8a8e787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff8a8e787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff8a8e787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff8a8e787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff8a8e787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff8a8e87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff8a8e87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff8a8e87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff8a8ecde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff8a8ecde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff8a8ecde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff8a8ecde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff8a8ecde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff88d41e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff88d41e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff88d41e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff88d41e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff8a407ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff8a3bfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff8a3bfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff8a3bfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff8a44610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaab6ba59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaab6ba94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaab6baaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaab6ba1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff819b098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff819b0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaab6ba20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/inline-defensive-checks.m.script: line 1: 1826430 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-config suppress-inlined-defensive-checks=true -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/inline-defensive-checks.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/inlining/path-notes.m (828 of 18953) ******************** TEST 'Clang :: Analysis/inlining/path-notes.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.NilArg,osx.cocoa.RetainCount -analyzer-output=text -analyzer-config suppress-null-return-paths=false -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/path-notes.m : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.NilArg,osx.cocoa.RetainCount -analyzer-output=plist-multi-file -analyzer-config suppress-null-return-paths=false -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/path-notes.m -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/path-notes.m.tmp.plist : 'RUN: at line 3'; grep -Ev '^[[:space:]]*.* version .*[[:space:]]*$|^[[:space:]]*/.*[[:space:]]*$|^[[:space:]]*.:.*[[:space:]]*$' parser at end of file 2. While analyzing stack: #0 Calling testAutoreleaseTakesEffectInDispatch 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/path-notes.m:170:12: Error evaluating statement #0 0x0000ffff871facd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff871f9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff871fb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff90138800 (linux-vdso.so.1+0x800) #4 0x0000ffff8f098e44 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff8f098e44 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff8f098e44 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff8f098e44 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff8f098e44 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff8f098e44 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 0x0000ffff8f098e44 get<(anonymous namespace)::DynamicTypeMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff8f098e44 llvm::IntrusiveRefCntPtr clang::ento::removeDeadImpl<(anonymous namespace)::DynamicTypeMap>(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/DynamicType.cpp:166:15 #12 0x0000ffff8f442928 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #13 0x0000ffff8f442928 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #14 0x0000ffff8f442928 clang::ento::removeDeadTypes(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/DynamicType.cpp:176:0 #15 0x0000ffff8f442928 (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 0x0000ffff8f08d814 void expandGraphWithCheckers<(anonymous namespace)::CheckDeadSymbolsContext>((anonymous namespace)::CheckDeadSymbolsContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #17 0x0000ffff8f0a7fe8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #18 0x0000ffff8f0a7fe8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #19 0x0000ffff8f0a7fe8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #20 0x0000ffff8f0a7fe8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #21 0x0000ffff8f0a7fe8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #22 0x0000ffff8f0a7fe8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #23 0x0000ffff8f0a7fe8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1080:48 #24 0x0000ffff8f0bce94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #25 0x0000ffff8f0bce94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #26 0x0000ffff8f0bce94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #27 0x0000ffff8f0bce94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #28 0x0000ffff8f0bce94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #29 0x0000ffff8f0bce94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #30 0x0000ffff8f0bce94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #31 0x0000ffff8f0bce94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #32 0x0000ffff8f0bce94 clang::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 0x0000ffff8f0bd1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8f0bd41c clang::ento::CoreEngine::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 0x0000ffff8f0bd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x0000ffff8f0bd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x0000ffff8f0bd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #38 0x0000ffff8f0bd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #39 0x0000ffff8f0bd764 clang::ento::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 0x0000ffff8f38787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #41 0x0000ffff8f38787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #42 0x0000ffff8f38787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #43 0x0000ffff8f38787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #44 0x0000ffff8f38787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #45 0x0000ffff8f3887e8 llvm::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 0x0000ffff8f3887e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #47 0x0000ffff8f3887e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #48 0x0000ffff8f38cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #49 0x0000ffff8f38cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #50 0x0000ffff8f38cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #51 0x0000ffff8f38cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #52 0x0000ffff8f38cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #53 0x0000ffff8d7e1e58 __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 0x0000ffff8d7e1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #55 0x0000ffff8d7e1e58 void clang::finalize>, 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 0x0000ffff8d7e1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #57 0x0000ffff8eea7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #58 0x0000ffff8ee5fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #59 0x0000ffff8ee5fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #60 0x0000ffff8ee5fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #61 0x0000ffff8eee610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #62 0x0000aaaad0e159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #63 0x0000aaaad0e194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #64 0x0000aaaad0e1aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #65 0x0000aaaad0e11fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #66 0x0000ffff8645098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #67 0x0000ffff86450a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #68 0x0000aaaad0e120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/path-notes.m.script: line 3: 1826455 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.NilArg,osx.cocoa.RetainCount -analyzer-output=text -analyzer-config suppress-null-return-paths=false -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/path-notes.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/inlining/path-notes.c (829 of 18953) ******************** TEST 'Clang :: Analysis/inlining/path-notes.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=text -analyzer-config suppress-null-return-paths=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/path-notes.c : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=plist-multi-file -analyzer-config suppress-null-return-paths=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/path-notes.c -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/path-notes.c.tmp.plist : 'RUN: at line 3'; grep -Ev '^[[:space:]]*.* version .*[[:space:]]*$|^[[:space:]]*/.*[[:space:]]*$|^[[:space:]]*.:.*[[:space:]]*$' parser at end of file 2. While analyzing stack: #0 Calling test4 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/path-notes.c:137:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/path-notes.c:137:7: Error evaluating statement #0 0x0000ffffb3cbacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb3cb9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb3cbb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffbcbfe800 (linux-vdso.so.1+0x800) #4 0x0000ffffbbf13688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffbbf13688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffbbf13688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffbbf13688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffbbf13688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffbbf13688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffbbf13688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffbbf13688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffbbbc0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffbbbc0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffbbbc0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffbbbc0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffbbbc1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffbbbc1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffbbbc1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffbbbc1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffbbbd4770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffbbbd4770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffbbbd4770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffbbbd5cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffbbbd5cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffbbbd5cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffbbbd5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffbbbd5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffbbbd5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffbbbe17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffbbbe17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffbbbe17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffbbbeb074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffbbbeb074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffbbbeb074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffbbb4f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffbbb4f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffbbb4f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffbbb4f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffbc03d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffbc03d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffbc03d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffbbc6eee0 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffbbc6eee0 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffbbc6eee0 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:61 #45 0x0000ffffbbc6eee0 void clang::ento::check::Location::_checkLocation<(anonymous namespace)::DereferenceChecker>(void*, clang::ento::SVal const&, bool, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:199:46 #46 0x0000ffffbbb399b8 void expandGraphWithCheckers<(anonymous namespace)::CheckLocationContext>((anonymous namespace)::CheckLocationContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #47 0x0000ffffbbb62270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:60 #48 0x0000ffffbbb62270 clang::ento::ExprEngine::evalLocation(clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::Stmt const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3710:19 #49 0x0000ffffbbb624ac llvm::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 0x0000ffffbbb624ac llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #51 0x0000ffffbbb624ac llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x0000ffffbbb624ac clang::ento::ExprEngine::evalLoad(clang::ento::ExplodedNodeSet&, clang::Expr const*, clang::Expr const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, clang::ProgramPointTag const*, clang::QualType) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3653:15 #53 0x0000ffffbbb72170 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #54 0x0000ffffbbb72170 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #55 0x0000ffffbbb72170 clang::ento::ExprEngine::VisitCast(clang::CastExpr const*, clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:292:0 #56 0x0000ffffbbb7b884 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #57 0x0000ffffbbb7b884 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #58 0x0000ffffbbb7b884 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2258:0 #59 0x0000ffffbbb7cf08 clang::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 0x0000ffffbbb7d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffbbb7d41c clang::ento::CoreEngine::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 0x0000ffffbbb7d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #63 0x0000ffffbbb7d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #64 0x0000ffffbbb7d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #65 0x0000ffffbbb7d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #66 0x0000ffffbbb7d764 clang::ento::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 0x0000ffffbbe4787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #68 0x0000ffffbbe4787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #69 0x0000ffffbbe4787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #70 0x0000ffffbbe4787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #71 0x0000ffffbbe4787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #72 0x0000ffffbbe487e8 llvm::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 0x0000ffffbbe487e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #74 0x0000ffffbbe487e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #75 0x0000ffffbbe4cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #76 0x0000ffffbbe4cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #77 0x0000ffffbbe4cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #78 0x0000ffffbbe4cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #79 0x0000ffffbbe4cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #80 0x0000ffffba2a1e58 __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 0x0000ffffba2a1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #82 0x0000ffffba2a1e58 void clang::finalize>, 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 0x0000ffffba2a1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #84 0x0000ffffbb967ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #85 0x0000ffffbb91fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #86 0x0000ffffbb91fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #87 0x0000ffffbb91fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #88 0x0000ffffbb9a610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #89 0x0000aaaabc2f59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #90 0x0000aaaabc2f94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #91 0x0000aaaabc2faac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #92 0x0000aaaabc2f1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #93 0x0000ffffb2f1098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #94 0x0000ffffb2f10a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #95 0x0000aaaabc2f20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/path-notes.c.script: line 3: 1826440 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=text -analyzer-config suppress-null-return-paths=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/path-notes.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/inlining/path-notes.cpp (830 of 18953) ******************** TEST 'Clang :: Analysis/inlining/path-notes.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=text -analyzer-config c++-inlining=destructors -std=c++11 -verify -Wno-tautological-undefined-compare /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/path-notes.cpp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=plist-multi-file -analyzer-config c++-inlining=destructors -std=c++11 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/path-notes.cpp -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/path-notes.cpp.tmp.plist -Wno-tautological-undefined-compare : 'RUN: at line 3'; grep -Ev '^[[:space:]]*.* version .*[[:space:]]*$|^[[:space:]]*/.*[[:space:]]*$|^[[:space:]]*.:.*[[:space:]]*$' parser at end of file 2. While analyzing stack: #0 Calling PR17746::test(Outer *) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/path-notes.cpp:296:12: Error evaluating destructor #0 0x0000ffff96b0acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff96b09100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff96b0b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9fa40800 (linux-vdso.so.1+0x800) #4 0x0000ffff9ed63688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9ed63688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9ed63688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9ed63688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9ed63688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9ed63688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff9ed63688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff9ed63688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9ea10c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9ea10c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9ea10c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9ea10c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9ea11ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9ea11ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9ea11ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9ea11ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff9ea24770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff9ea24770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff9ea24770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff9ea25cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff9ea25cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff9ea25cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff9ea25190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff9ea25190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff9ea25190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff9ea317d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff9ea317d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff9ea317d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9ea3b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9ea3b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9ea3b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9e99f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9e99f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9e99f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9e99f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9ee8d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9ee8d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9ee8d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff9ea744b0 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff9ea744b0 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff9ea744b0 checkCXXMethodCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CallAndMessageChecker.cpp:460:79 #45 0x0000ffff9ea744b0 checkPreCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CallAndMessageChecker.cpp:558:31 #46 0x0000ffff9ea744b0 void clang::ento::check::PreCall::_checkCall<(anonymous namespace)::CallAndMessageChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:168:45 #47 0x0000ffff9e989524 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #48 0x0000ffff9e989524 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #49 0x0000ffff9e989524 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #50 0x0000ffff9e989524 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #51 0x0000ffff9e989524 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #52 0x0000ffff9e9c767c llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #53 0x0000ffff9e9c767c llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #54 0x0000ffff9e9c767c llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #55 0x0000ffff9e9c767c llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #56 0x0000ffff9e9c767c llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #57 0x0000ffff9e9c767c clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #58 0x0000ffff9e9c767c clang::ento::ExprEngine::VisitCXXDestructor(clang::QualType, clang::ento::MemRegion const*, clang::Stmt const*, bool, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::ento::EvalCallOptions&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:911:0 #59 0x0000ffff9e9c8534 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #60 0x0000ffff9e9c8534 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #61 0x0000ffff9e9c8534 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #62 0x0000ffff9e9c8534 clang::ento::ExprEngine::ProcessDeleteDtor(clang::CFGDeleteDtor, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1475:0 #63 0x0000ffff9e9c96f0 clang::ento::ExprEngine::ProcessImplicitDtor(clang::CFGImplicitDtor, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1300:0 #64 0x0000ffff9e9cd244 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:991:0 #65 0x0000ffff9e9cd41c clang::ento::CoreEngine::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 0x0000ffff9e9cd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff9e9cd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff9e9cd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #69 0x0000ffff9e9cd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #70 0x0000ffff9e9cd764 clang::ento::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 0x0000ffff9ec9787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #72 0x0000ffff9ec9787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #73 0x0000ffff9ec9787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #74 0x0000ffff9ec9787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #75 0x0000ffff9ec9787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #76 0x0000ffff9ec987e8 llvm::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 0x0000ffff9ec987e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #78 0x0000ffff9ec987e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #79 0x0000ffff9ec9cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #80 0x0000ffff9ec9cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #81 0x0000ffff9ec9cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #82 0x0000ffff9ec9cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #83 0x0000ffff9ec9cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #84 0x0000ffff9d0f1e58 __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 0x0000ffff9d0f1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #86 0x0000ffff9d0f1e58 void clang::finalize>, 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 0x0000ffff9d0f1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #88 0x0000ffff9e7b7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #89 0x0000ffff9e76fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #90 0x0000ffff9e76fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #91 0x0000ffff9e76fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #92 0x0000ffff9e7f610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #93 0x0000aaaac0b459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #94 0x0000aaaac0b494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #95 0x0000aaaac0b4aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #96 0x0000aaaac0b41fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #97 0x0000ffff95d6098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #98 0x0000ffff95d60a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #99 0x0000aaaac0b420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/path-notes.cpp.script: line 3: 1826447 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=text -analyzer-config c++-inlining=destructors -std=c++11 -verify -Wno-tautological-undefined-compare /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/path-notes.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/inlining/placement-new-fp-suppression.cpp (831 of 18953) ******************** TEST 'Clang :: Analysis/inlining/placement-new-fp-suppression.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core.CallAndMessage -analyzer-config suppress-null-return-paths=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/placement-new-fp-suppression.cpp : 'RUN: at line 5'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core.CallAndMessage -DSUPPRESSED -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/placement-new-fp-suppression.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core.CallAndMessage -analyzer-config suppress-null-return-paths=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/placement-new-fp-suppression.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling safe_malloc(size_t) at line 45 #1 Calling MallocAllocator::Allocate(size_t, size_t) at line 57 #2 Calling BumpPtrAllocator::Allocate(size_t, size_t) at line 82 #3 Calling ASTContext::Allocate(size_t, unsigned int) at line 103 #4 Calling operator new[](size_t, const ASTContext &, size_t) at line 130 #5 Calling g(const ASTContext &) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/placement-new-fp-suppression.cpp:34:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/placement-new-fp-suppression.cpp:34:7: Error evaluating statement #0 0x0000ffff8397acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff83979100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8397b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8c8b3800 (linux-vdso.so.1+0x800) #4 0x0000ffff8bbd3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8bbd3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8bbd3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8bbd3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8bbd3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8bbd3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff8bbd3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff8bbd3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8b880c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8b880c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8b880c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8b880c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8b881ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8b881ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8b881ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8b881ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff8b894770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff8b894770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff8b894770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff8b895cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff8b895cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff8b895cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff8b895190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8b895190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8b895190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff8b8a17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff8b8a17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff8b8a17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8b8ab074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8b8ab074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8b8ab074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8b80f6d8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8b80f6d8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8b80f6d8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8b80f6d8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff8bcfd3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8bcfd3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8bcfd3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff8b822a0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff8b822a0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff8b822a0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffff8b83ccac llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffff8b83ccac llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffff8b83ccac llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffff8b83ccac clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffff8b83ccac clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffff8b83cf08 clang::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 0x0000ffff8b83d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8b83d41c clang::ento::CoreEngine::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 0x0000ffff8b83d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff8b83d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff8b83d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff8b83d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff8b83d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff8bb0787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff8bb0787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff8bb0787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff8bb0787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff8bb0787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff8bb087e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff8bb087e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff8bb087e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff8bb0cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff8bb0cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff8bb0cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff8bb0cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff8bb0cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff89f61e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff89f61e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff89f61e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff89f61e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff8b627ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff8b5dfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff8b5dfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff8b5dfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff8b66610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaadc6f59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaadc6f94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaadc6faac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaadc6f1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff82bd098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff82bd0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaadc6f20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/placement-new-fp-suppression.cpp.script: line 2: 1826468 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core.CallAndMessage -analyzer-config suppress-null-return-paths=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/placement-new-fp-suppression.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/inlining/retain-count-self-init.m (835 of 18953) ******************** TEST 'Clang :: Analysis/inlining/retain-count-self-init.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount,osx.cocoa.SelfInit -analyzer-config ipa=dynamic-bifurcate -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/retain-count-self-init.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount,osx.cocoa.SelfInit -analyzer-config ipa=dynamic-bifurcate -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/retain-count-self-init.m 1. parser at end of file #0 0x0000ffffa441acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa4419100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa441b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffad353800 (linux-vdso.so.1+0x800) #4 0x0000ffffac673688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffac673688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffac673688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffac673688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffac673688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffac673688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffac673688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffac673688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffac320c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffac320c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffac320c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffac320c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffac321ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffac321ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffac321ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffac321ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffac334770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffac334770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffac334770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffac335cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffac335cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffac335cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffac335190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffac335190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffac335190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffac3417d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffac3417d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffac3417d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffac34b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffac34b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffac34b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffac2af72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffac2af72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffac2af72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffac2af72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffac2afbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffac2afbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffac2afbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffac2831c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffac2831c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffac2831c0 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffac2bfba8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffac2bfba8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffac2bfba8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffffac2ddaa8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffac2ddaa8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffac2ddaa8 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffac5a787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffac5a787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffac5a787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffac5a787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffac5a787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffac5a87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffffac5a87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffac5a87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffac5acde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffac5acde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffac5acde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffac5acde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffac5acde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffaaa01e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffffaaa01e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffaaa01e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffffaaa01e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffac0c7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffac07fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffac07fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffac07fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffac10610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaacc6c59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaacc6c94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaacc6caac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaacc6c1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffffa367098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffffa3670a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaacc6c20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/retain-count-self-init.m.script: line 1: 1826481 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount,osx.cocoa.SelfInit -analyzer-config ipa=dynamic-bifurcate -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/retain-count-self-init.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/inlining/stl.cpp (837 of 18953) ******************** TEST 'Clang :: Analysis/inlining/stl.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,cplusplus.NewDelete,debug.ExprInspection -analyzer-config c++-container-inlining=true -analyzer-config c++-stdlib-inlining=false -std=c++11 -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/stl.cpp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,cplusplus.NewDelete,debug.ExprInspection -analyzer-config c++-container-inlining=true -analyzer-config c++-stdlib-inlining=true -std=c++11 -DINLINE=1 -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/stl.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,cplusplus.NewDelete,debug.ExprInspection -analyzer-config c++-container-inlining=true -analyzer-config c++-stdlib-inlining=false -std=c++11 -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/stl.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling testException(std::exception) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/stl.cpp:22:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/stl.cpp:22:3: Error evaluating statement #0 0x0000ffffa71facd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa71f9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa71fb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb0133800 (linux-vdso.so.1+0x800) #4 0x0000ffffaf453688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffaf453688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffaf453688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffaf453688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffaf453688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffaf453688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffaf453688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffaf453688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffaf100c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffaf100c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffaf100c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffaf100c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffaf101ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffaf101ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffaf101ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffaf101ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffaf114770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffaf114770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffaf114770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffaf115cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffaf115cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffaf115cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffaf115190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffaf115190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffaf115190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffaf1217d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffaf1217d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffaf1217d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffaf12b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffaf12b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffaf12b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffaf08f6d8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffaf08f6d8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffaf08f6d8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffaf08f6d8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffaf581984 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffaf581984 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffaf581984 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffaf581984 getArgumentValueString(clang::CallExpr const*, clang::ento::CheckerContext&) (.part.0.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:150:20 #43 0x0000ffffaf19c980 getArgumentValueString /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:135:3 #44 0x0000ffffaf19c980 analyzerEval /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:224:12 #45 0x0000ffffaf19c980 (anonymous namespace)::ExprInspectionChecker::analyzerEval(clang::CallExpr const*, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:215:0 #46 0x0000ffffaf1d0120 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:130:0 #47 0x0000ffffaf1d0120 bool clang::ento::eval::Call::_evalCall<(anonymous namespace)::ExprInspectionChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:478:0 #48 0x0000ffffaf079f0c clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:694:0 #49 0x0000ffffaf0d981c llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #50 0x0000ffffaf0d981c llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #51 0x0000ffffaf0d981c clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #52 0x0000ffffaf0d981c clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:696:26 #53 0x0000ffffaf0da144 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #54 0x0000ffffaf0bbea0 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #55 0x0000ffffaf0bbea0 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #56 0x0000ffffaf0bcf08 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #57 0x0000ffffaf0bd1f0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #58 0x0000ffffaf0bd41c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #59 0x0000ffffaf0bd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffaf0bd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffaf0bd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #62 0x0000ffffaf0bd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #63 0x0000ffffaf0bd764 clang::ento::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 0x0000ffffaf38787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #65 0x0000ffffaf38787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #66 0x0000ffffaf38787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #67 0x0000ffffaf38787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #68 0x0000ffffaf38787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #69 0x0000ffffaf3887e8 llvm::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 0x0000ffffaf3887e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #71 0x0000ffffaf3887e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #72 0x0000ffffaf38cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #73 0x0000ffffaf38cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #74 0x0000ffffaf38cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #75 0x0000ffffaf38cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #76 0x0000ffffaf38cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #77 0x0000ffffad7e1e58 __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 0x0000ffffad7e1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #79 0x0000ffffad7e1e58 void clang::finalize>, 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 0x0000ffffad7e1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #81 0x0000ffffaeea7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #82 0x0000ffffaee5fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #83 0x0000ffffaee5fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #84 0x0000ffffaee5fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #85 0x0000ffffaeee610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #86 0x0000aaaadfad59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #87 0x0000aaaadfad94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #88 0x0000aaaadfadaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #89 0x0000aaaadfad1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #90 0x0000ffffa645098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #91 0x0000ffffa6450a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #92 0x0000aaaadfad20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/stl.cpp.script: line 2: 1826483 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,cplusplus.NewDelete,debug.ExprInspection -analyzer-config c++-container-inlining=true -analyzer-config c++-stdlib-inlining=false -std=c++11 -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/stl.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/inlining/temp-dtors-path-notes.cpp (839 of 18953) ******************** TEST 'Clang :: Analysis/inlining/temp-dtors-path-notes.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyze -analyzer-checker core -analyzer-config cfg-temporary-dtors=true,c++-temp-dtor-inlining=true -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/temp-dtors-path-notes.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyze -analyzer-checker core -analyzer-config cfg-temporary-dtors=true,c++-temp-dtor-inlining=true -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/temp-dtors-path-notes.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling test_bug_after_dtor::C::C() at line 54 #1 Calling test_bug_after_dtor::test() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/temp-dtors-path-notes.cpp:48:9: Error evaluating statement #0 0x0000ffff934dacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff934d9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff934db388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9c411800 (linux-vdso.so.1+0x800) #4 0x0000ffff9b387db8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff9b387db8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff9b387db8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff9b387db8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff9b387db8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff9b387db8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff9b387db8 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff9b387db8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1059:61 #12 0x0000ffff9b39ce94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffff9b39ce94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffff9b39ce94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffff9b39ce94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffff9b39ce94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffff9b39ce94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffff9b39ce94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffff9b39ce94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffff9b39ce94 clang::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 0x0000ffff9b39d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff9b39d310 clang::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 0x0000ffff9b39d5dc clang::ento::CoreEngine::dispatchWorkItem(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 0x0000ffff9b39d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x0000ffff9b39d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x0000ffff9b39d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #27 0x0000ffff9b39d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #28 0x0000ffff9b39d764 clang::ento::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 0x0000ffff9b66787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffff9b66787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffff9b66787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #32 0x0000ffff9b66787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #33 0x0000ffff9b66787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #34 0x0000ffff9b6687e8 llvm::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 0x0000ffff9b6687e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x0000ffff9b6687e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #37 0x0000ffff9b66cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x0000ffff9b66cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x0000ffff9b66cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x0000ffff9b66cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x0000ffff9b66cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x0000ffff99ac1e58 __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 0x0000ffff99ac1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x0000ffff99ac1e58 void clang::finalize>, 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 0x0000ffff99ac1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x0000ffff9b187ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #47 0x0000ffff9b13fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #48 0x0000ffff9b13fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #49 0x0000ffff9b13fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #50 0x0000ffff9b1c610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #51 0x0000aaaac32959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x0000aaaac32994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x0000aaaac329aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x0000aaaac3291fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x0000ffff9273098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #56 0x0000ffff92730a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #57 0x0000aaaac32920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/temp-dtors-path-notes.cpp.script: line 1: 1826495 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyze -analyzer-checker core -analyzer-config cfg-temporary-dtors=true,c++-temp-dtor-inlining=true -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/temp-dtors-path-notes.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/inlining/test_objc_inlining_option.m (840 of 18953) ******************** TEST 'Clang :: Analysis/inlining/test_objc_inlining_option.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-config ipa=dynamic-bifurcate -analyzer-config objc-inlining=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/test_objc_inlining_option.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-config ipa=dynamic-bifurcate -analyzer-config objc-inlining=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/test_objc_inlining_option.m 1. parser at end of file #0 0x0000ffff813eacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff813e9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff813eb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8a322800 (linux-vdso.so.1+0x800) #4 0x0000ffff89643688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff89643688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff89643688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff89643688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff89643688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff89643688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff89643688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff89643688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff892f0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff892f0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff892f0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff892f0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff892f1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff892f1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff892f1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff892f1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff89304770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff89304770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff89304770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff89305cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff89305cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff89305cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff89305190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff89305190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff89305190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff893117d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff893117d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff893117d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8931b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8931b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8931b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8927f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8927f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8927f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8927f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff8927fbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8927fbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8927fbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff892531c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff892531c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff892531c0 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff8928fba8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff8928fba8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff8928fba8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffff892adaa8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff892adaa8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff892adaa8 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff8957787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff8957787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff8957787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff8957787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff8957787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff895787e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffff895787e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff895787e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff8957cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff8957cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff8957cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff8957cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff8957cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff879d1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffff879d1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff879d1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffff879d1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff89097ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff8904fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff8904fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff8904fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff890d610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaad8cc59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaad8cc94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaad8ccaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaad8cc1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff8064098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff80640a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaad8cc20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/inlining/Output/test_objc_inlining_option.m.script: line 1: 1826501 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-config ipa=dynamic-bifurcate -analyzer-config objc-inlining=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inlining/test_objc_inlining_option.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/inner-pointer.cpp (841 of 18953) ******************** TEST 'Clang :: Analysis/inner-pointer.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=cplusplus.InnerPointer -Wno-dangling -Wno-dangling-field -Wno-return-stack-address /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inner-pointer.cpp -analyzer-output=text -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=cplusplus.InnerPointer -Wno-dangling -Wno-dangling-field -Wno-return-stack-address /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inner-pointer.cpp -analyzer-output=text -verify 1. parser at end of file #0 0x0000ffffaff3acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffaff39100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffaff3b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb8e7a800 (linux-vdso.so.1+0x800) #4 0x0000ffffb7decc54 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffb7decc54 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffb7decc54 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffb7decc54 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffb7decc54 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffb7decc54 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffb7decc54 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffb7decc54 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 0x0000ffffb7ded578 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 0x0000ffffb7dfd5a4 clang::ento::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 0x0000ffffb7dfd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #15 0x0000ffffb7dfd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #16 0x0000ffffb7dfd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #17 0x0000ffffb7dfd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #18 0x0000ffffb7dfd764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #19 0x0000ffffb80c787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffffb80c787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffffb80c787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #22 0x0000ffffb80c787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #23 0x0000ffffb80c787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #24 0x0000ffffb80c87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #25 0x0000ffffb80c87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #26 0x0000ffffb80c87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #27 0x0000ffffb80ccde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #28 0x0000ffffb80ccde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #29 0x0000ffffb80ccde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #30 0x0000ffffb80ccde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #31 0x0000ffffb80ccde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #32 0x0000ffffb6521e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #33 0x0000ffffb6521e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #34 0x0000ffffb6521e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #35 0x0000ffffb6521e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #36 0x0000ffffb7be7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #37 0x0000ffffb7b9fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #38 0x0000ffffb7b9fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #39 0x0000ffffb7b9fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #40 0x0000ffffb7c2610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #41 0x0000aaaab1b759f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #42 0x0000aaaab1b794b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #43 0x0000aaaab1b7aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #44 0x0000aaaab1b71fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #45 0x0000ffffaf19098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #46 0x0000ffffaf190a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #47 0x0000aaaab1b720b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/inner-pointer.cpp.script: line 1: 1826515 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=cplusplus.InnerPointer -Wno-dangling -Wno-dangling-field -Wno-return-stack-address /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/inner-pointer.cpp -analyzer-output=text -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/issue-55019.cpp (842 of 18953) ******************** TEST 'Clang :: Analysis/issue-55019.cpp' FAILED ******************** Script: -- : 'RUN: at line 5'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/issue-55019.cpp -verify -analyzer-checker=core -analyzer-checker=unix -analyzer-checker=debug.ExprInspection -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/issue-55019.cpp -verify -analyzer-checker=core -analyzer-checker=unix -analyzer-checker=debug.ExprInspection 1. parser at end of file #0 0x0000ffff7a66acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7a669100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7a66b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff835a4800 (linux-vdso.so.1+0x800) #4 0x0000ffff8251cc54 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff8251cc54 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff8251cc54 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff8251cc54 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff8251cc54 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff8251cc54 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff8251cc54 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff8251cc54 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 0x0000ffff8251d578 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 0x0000ffff8252d5a4 clang::ento::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 0x0000ffff8252d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #15 0x0000ffff8252d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #16 0x0000ffff8252d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #17 0x0000ffff8252d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #18 0x0000ffff8252d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #19 0x0000ffff827f787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffff827f787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffff827f787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #22 0x0000ffff827f787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #23 0x0000ffff827f787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #24 0x0000ffff827f87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #25 0x0000ffff827f87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #26 0x0000ffff827f87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #27 0x0000ffff827fcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #28 0x0000ffff827fcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #29 0x0000ffff827fcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #30 0x0000ffff827fcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #31 0x0000ffff827fcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #32 0x0000ffff80c51e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #33 0x0000ffff80c51e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #34 0x0000ffff80c51e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #35 0x0000ffff80c51e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #36 0x0000ffff82317ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #37 0x0000ffff822cfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #38 0x0000ffff822cfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #39 0x0000ffff822cfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #40 0x0000ffff8235610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #41 0x0000aaaaadb759f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #42 0x0000aaaaadb794b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #43 0x0000aaaaadb7aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #44 0x0000aaaaadb71fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #45 0x0000ffff798c098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #46 0x0000ffff798c0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #47 0x0000aaaaadb720b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/issue-55019.cpp.script: line 1: 1826593 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-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 (844 of 18953) ******************** TEST 'Clang :: Analysis/iterator-modeling.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus,debug.DebugIteratorModeling,debug.ExprInspection -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config c++-container-inlining=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/iterator-modeling.cpp -verify -analyzer-config display-checker-name=false : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus,debug.DebugIteratorModeling,debug.ExprInspection -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config c++-container-inlining=true -DINLINE=1 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/iterator-modeling.cpp -verify -analyzer-config display-checker-name=false : 'RUN: at line 5'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus,debug.DebugIteratorModeling,debug.ExprInspection -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config c++-container-inlining=true -DINLINE=1 -DSTD_ADVANCE_INLINE_LEVEL=0 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/iterator-modeling.cpp -verify -analyzer-config display-checker-name=false : 'RUN: at line 7'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus,debug.DebugIteratorModeling,debug.ExprInspection -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config c++-container-inlining=true -DINLINE=1 -DSTD_ADVANCE_INLINE_LEVEL=1 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/iterator-modeling.cpp -verify -analyzer-config display-checker-name=false : 'RUN: at line 9'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus,debug.DebugIteratorModeling,debug.ExprInspection -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config c++-container-inlining=true -DINLINE=1 -DSTD_ADVANCE_INLINE_LEVEL=2 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/iterator-modeling.cpp -verify -analyzer-config display-checker-name=false : 'RUN: at line 11'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus,alpha.cplusplus.IteratorModeling,debug.ExprInspection -analyzer-config aggressive-binary-operation-simplification=true /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/iterator-modeling.cpp 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/iterator-modeling.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus,debug.DebugIteratorModeling,debug.ExprInspection -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config c++-container-inlining=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/iterator-modeling.cpp -verify -analyzer-config display-checker-name=false 1. parser at end of file 2. While analyzing stack: #0 Calling print_state(std::vector &) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/iterator-modeling.cpp:2032:19: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/iterator-modeling.cpp:2032:19: Error evaluating statement #0 0x0000ffff83e3acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff83e39100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff83e3b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8cd76800 (linux-vdso.so.1+0x800) #4 0x0000ffff8bcee6a4 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffff8bcee6a4 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff8bcee6a4 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff8bcee6a4 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff8bcee6a4 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff8bcee6a4 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff8bcee6a4 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff8bcee6a4 llvm::IntrusiveRefCntPtr clang::ento::ProgramStateManager::set<(anonymous namespace)::ObjectsUnderConstruction>(llvm::IntrusiveRefCntPtr, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::key_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::value_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::context_type) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:652:0 #12 0x0000ffff8bceea94 llvm::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 0x0000ffff8bceea94 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #14 0x0000ffff8bceea94 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #15 0x0000ffff8bceea94 set<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:876:0 #16 0x0000ffff8bceea94 clang::ento::ExprEngine::addObjectUnderConstruction(llvm::IntrusiveRefCntPtr, clang::ConstructionContextItem const&, clang::LocationContext const*, clang::ento::SVal) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:599:0 #17 0x0000ffff8bcef174 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #18 0x0000ffff8bcef174 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #19 0x0000ffff8bcef174 clang::ento::ExprEngine::updateObjectsUnderConstruction(clang::ento::SVal, clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:463:0 #20 0x0000ffff8bd3048c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #21 0x0000ffff8bd3048c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #22 0x0000ffff8bd3048c 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 0x0000ffff8bd3048c clang::ento::ExprEngine::bindReturnValue(clang::ento::CallEvent const&, clang::LocationContext const*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:773:0 #24 0x0000ffff8bd30928 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #25 0x0000ffff8bd30928 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #26 0x0000ffff8bd30928 clang::ento::ExprEngine::conservativeEvalCall(clang::ento::CallEvent const&, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:834:0 #27 0x0000ffff8bd312e4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #28 0x0000ffff8bd312e4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #29 0x0000ffff8bd312e4 clang::ento::ExprEngine::defaultEvalCall(clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:1266:0 #30 0x0000ffff8bcb9fd8 clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:288:0 #31 0x0000ffff8bd1981c llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #32 0x0000ffff8bd1981c llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #33 0x0000ffff8bd1981c clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #34 0x0000ffff8bd1981c clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:696:26 #35 0x0000ffff8bd1a144 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #36 0x0000ffff8bcfbea0 clang::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 0x0000ffff8bcfbea0 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #38 0x0000ffff8bcfcf08 clang::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 0x0000ffff8bcfd1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8bcfd41c clang::ento::CoreEngine::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 0x0000ffff8bcfd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #42 0x0000ffff8bcfd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #43 0x0000ffff8bcfd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #44 0x0000ffff8bcfd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #45 0x0000ffff8bcfd764 clang::ento::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 0x0000ffff8bfc787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #47 0x0000ffff8bfc787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #48 0x0000ffff8bfc787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #49 0x0000ffff8bfc787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #50 0x0000ffff8bfc787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #51 0x0000ffff8bfc87e8 llvm::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 0x0000ffff8bfc87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #53 0x0000ffff8bfc87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #54 0x0000ffff8bfccde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #55 0x0000ffff8bfccde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #56 0x0000ffff8bfccde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #57 0x0000ffff8bfccde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #58 0x0000ffff8bfccde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #59 0x0000ffff8a421e58 __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 0x0000ffff8a421e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #61 0x0000ffff8a421e58 void clang::finalize>, 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 0x0000ffff8a421e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #63 0x0000ffff8bae7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #64 0x0000ffff8ba9fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #65 0x0000ffff8ba9fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #66 0x0000ffff8ba9fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #67 0x0000ffff8bb2610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #68 0x0000aaaaae7159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #69 0x0000aaaaae7194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #70 0x0000aaaaae71aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #71 0x0000aaaaae711fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #72 0x0000ffff8309098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #73 0x0000ffff83090a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #74 0x0000aaaaae7120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/iterator-modeling.cpp.script: line 6: 1826612 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus,debug.DebugIteratorModeling,debug.ExprInspection -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config c++-container-inlining=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/iterator-modeling.cpp -verify -analyzer-config display-checker-name=false -- ******************** Testing: 0 FAIL: Clang :: Analysis/invalidated-iterator.cpp (845 of 18953) ******************** TEST 'Clang :: Analysis/invalidated-iterator.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus,alpha.cplusplus.InvalidatedIterator -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config c++-container-inlining=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/invalidated-iterator.cpp -verify : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus,alpha.cplusplus.InvalidatedIterator -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config c++-container-inlining=true -DINLINE=1 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/invalidated-iterator.cpp -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus,alpha.cplusplus.InvalidatedIterator -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config c++-container-inlining=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/invalidated-iterator.cpp -verify 1. parser at end of file 2. While analyzing stack: #0 Calling invalidated_subscript_end_ptr_iterator(cont_with_ptr_iterator &) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/invalidated-iterator.cpp:196:12: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/invalidated-iterator.cpp:196:12: Error evaluating statement #0 0x0000ffffa5a5acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa5a59100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa5a5b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffae996800 (linux-vdso.so.1+0x800) #4 0x0000ffffad93a900 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffffad93a900 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffad93a900 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffad93a900 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffad93a900 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffad93a900 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffad93a900 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x0000ffffad93a900 getConstraint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1055:37 #12 0x0000ffffad93a900 (anonymous namespace)::getConstraint(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1060:23 #13 0x0000ffffad93a9dc (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 0x0000ffffad98e038 getConst /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1238:0 #15 0x0000ffffad98e038 (anonymous namespace)::SimpleSValBuilder::simplifySValOnce(llvm::IntrusiveRefCntPtr, clang::ento::SVal)::Simplifier::getConstOrVisit(clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1246:0 #16 0x0000ffffad98d874 VisitSymIntExpr /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1270:0 #17 0x0000ffffad98d874 clang::ento::SymExprVisitor<(anonymous namespace)::SimpleSValBuilder::simplifySValOnce(llvm::IntrusiveRefCntPtr, clang::ento::SVal)::Simplifier, clang::ento::SVal>::Visit(clang::ento::SymExpr const*) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:0 #18 0x0000ffffadd9a8a4 VisitNonLocSymbolVal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1365:0 #19 0x0000ffffadd9a8a4 Visit /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.def:67:0 #20 0x0000ffffadd9a8a4 (anonymous namespace)::SimpleSValBuilder::simplifySValOnce(llvm::IntrusiveRefCntPtr, clang::ento::SVal) (.constprop.0.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1371:0 #21 0x0000ffffad975484 simplifyUntilFixpoint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1194:40 #22 0x0000ffffad975484 (anonymous namespace)::SimpleSValBuilder::simplifySVal(llvm::IntrusiveRefCntPtr, clang::ento::SVal) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1203:31 #23 0x0000ffffad974a58 clang::ento::simplifyToSVal(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:237:26 #24 0x0000ffffad974b5c clang::ento::simplify(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:241:38 #25 0x0000ffffad975b9c clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:26:17 #26 0x0000ffffad975190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffad975190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffad975190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffad9817d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffad9817d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffad9817d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffad98b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffad98b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffad98b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffad8ef6d8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffad8ef6d8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffad8ef6d8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffad8ef6d8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffad8efbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffad8efbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffad8efbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffad8c31c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffad8c31c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffad8c31c0 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffada76504 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #46 0x0000ffffada76504 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #47 0x0000ffffada76504 clang::ento::iterator::assumeNoOverflow(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, long) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/Iterator.cpp:291:0 #48 0x0000ffffad9f2988 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #49 0x0000ffffad9f2988 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffad9f2988 createContainerBegin /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp:850:0 #51 0x0000ffffad9f2988 handleBegin /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp:258:0 #52 0x0000ffffad9f2988 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp:193:0 #53 0x0000ffffad9f2988 void clang::ento::check::PostCall::_checkCall<(anonymous namespace)::ContainerModeling>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:183:0 #54 0x0000ffffad8d9524 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #55 0x0000ffffad8d9524 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #56 0x0000ffffad8d9524 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #57 0x0000ffffad8d9524 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #58 0x0000ffffad8d9524 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #59 0x0000ffffad9398b8 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #60 0x0000ffffad9398b8 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #61 0x0000ffffad9398b8 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #62 0x0000ffffad9398b8 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #63 0x0000ffffad9398b8 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #64 0x0000ffffad9398b8 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #65 0x0000ffffad93a144 clang::ento::ExprEngine::VisitCallExpr(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 0x0000ffffad91bea0 clang::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 0x0000ffffad91bea0 clang::ento::ExprEngine::Visit(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 0x0000ffffad91cf08 clang::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 0x0000ffffad91d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffad91d41c clang::ento::CoreEngine::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 0x0000ffffad91d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #72 0x0000ffffad91d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #73 0x0000ffffad91d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #74 0x0000ffffad91d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #75 0x0000ffffad91d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #76 0x0000ffffadbe787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #77 0x0000ffffadbe787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #78 0x0000ffffadbe787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #79 0x0000ffffadbe787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #80 0x0000ffffadbe787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #81 0x0000ffffadbe87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #82 0x0000ffffadbe87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #83 0x0000ffffadbe87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #84 0x0000ffffadbecde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #85 0x0000ffffadbecde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #86 0x0000ffffadbecde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #87 0x0000ffffadbecde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #88 0x0000ffffadbecde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #89 0x0000ffffac041e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #90 0x0000ffffac041e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #91 0x0000ffffac041e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #92 0x0000ffffac041e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #93 0x0000ffffad707ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #94 0x0000ffffad6bfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #95 0x0000ffffad6bfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #96 0x0000ffffad6bfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #97 0x0000ffffad74610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #98 0x0000aaaaba4b59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #99 0x0000aaaaba4b94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #100 0x0000aaaaba4baac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #101 0x0000aaaaba4b1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #102 0x0000ffffa4cb098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #103 0x0000ffffa4cb0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #104 0x0000aaaaba4b20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/invalidated-iterator.cpp.script: line 2: 1826594 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus,alpha.cplusplus.InvalidatedIterator -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config c++-container-inlining=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/invalidated-iterator.cpp -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/keychainAPI-diagnostic-visitor.m (846 of 18953) ******************** TEST 'Clang :: Analysis/keychainAPI-diagnostic-visitor.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=osx.SecKeychainAPI -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/keychainAPI-diagnostic-visitor.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=osx.SecKeychainAPI -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/keychainAPI-diagnostic-visitor.m 1. parser at end of file 2. While analyzing stack: #0 Calling DellocWithCFStringCreate4 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/keychainAPI-diagnostic-visitor.m:28:5: Error evaluating statement #0 0x0000ffff8eaaacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8eaa9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8eaab388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff979eb800 (linux-vdso.so.1+0x800) #4 0x0000ffff96afc9c8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff96afc9c8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff96afc9c8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff96afc9c8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff96afc9c8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff96afc9c8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff96afc9c8 get<(anonymous namespace)::AllocatedData> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff96afc9c8 (anonymous namespace)::MacOSKeychainAPIChecker::checkDeadSymbols(clang::ento::SymbolReaper&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MacOSKeychainAPIChecker.cpp:545:52 #12 0x0000ffff9693d814 void expandGraphWithCheckers<(anonymous namespace)::CheckDeadSymbolsContext>((anonymous namespace)::CheckDeadSymbolsContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #13 0x0000ffff96957fe8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x0000ffff96957fe8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x0000ffff96957fe8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #16 0x0000ffff96957fe8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #17 0x0000ffff96957fe8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #18 0x0000ffff96957fe8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #19 0x0000ffff96957fe8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1080:48 #20 0x0000ffff9696ce94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #21 0x0000ffff9696ce94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #22 0x0000ffff9696ce94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #23 0x0000ffff9696ce94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #24 0x0000ffff9696ce94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #25 0x0000ffff9696ce94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #26 0x0000ffff9696ce94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #27 0x0000ffff9696ce94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #28 0x0000ffff9696ce94 clang::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 0x0000ffff9696d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff9696d41c clang::ento::CoreEngine::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 0x0000ffff9696d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #32 0x0000ffff9696d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #33 0x0000ffff9696d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #34 0x0000ffff9696d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #35 0x0000ffff9696d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #36 0x0000ffff96c3787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffff96c3787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffff96c3787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #39 0x0000ffff96c3787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #40 0x0000ffff96c3787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #41 0x0000ffff96c387e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #42 0x0000ffff96c387e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #43 0x0000ffff96c387e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #44 0x0000ffff96c3cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #45 0x0000ffff96c3cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #46 0x0000ffff96c3cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #47 0x0000ffff96c3cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #48 0x0000ffff96c3cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #49 0x0000ffff95091e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #50 0x0000ffff95091e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #51 0x0000ffff95091e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #52 0x0000ffff95091e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #53 0x0000ffff96757ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #54 0x0000ffff9670fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #55 0x0000ffff9670fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #56 0x0000ffff9670fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #57 0x0000ffff9679610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #58 0x0000aaaab15359f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #59 0x0000aaaab15394b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #60 0x0000aaaab153aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #61 0x0000aaaab1531fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #62 0x0000ffff8dd0098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #63 0x0000ffff8dd00a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #64 0x0000aaaab15320b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/keychainAPI-diagnostic-visitor.m.script: line 1: 1826646 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=osx.SecKeychainAPI -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/keychainAPI-diagnostic-visitor.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/ivars.m (847 of 18953) ******************** TEST 'Clang :: Analysis/ivars.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -fblocks -verify -Wno-objc-root-class -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ivars.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -fblocks -verify -Wno-objc-root-class -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ivars.m 1. parser at end of file 2. While analyzing stack: #0 Calling testNull 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ivars.m:136:7: Error evaluating branch #0 0x0000ffff7a75acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7a759100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7a75b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8369a800 (linux-vdso.so.1+0x800) #4 0x0000ffff829b3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff829b3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff829b3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff829b3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff829b3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff829b3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff829b3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff829b3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff82660c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff82660c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff82660c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff82660c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff82661ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff82661ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff82661ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff82661ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff82674770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff82674770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff82674770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff82675cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff82675cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff82675cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff82675190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff82675190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff82675190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff826817d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff826817d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff826817d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8268b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8268b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8268b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff825ef72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff825ef72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff825ef72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff825ef72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff82add3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff82add3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff82add3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff826058c8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffff826058c8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffff826058c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffff826058c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffff826058c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffff826058c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffff826058c8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffff826058c8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffff826058c8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffff826058c8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffff82605e30 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffff8261d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff8261d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff8261d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff8261d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff8261d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff828e787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff828e787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff828e787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff828e787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff828e787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff828e87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff828e87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff828e87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff828ecde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff828ecde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff828ecde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff828ecde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff828ecde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff80d41e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff80d41e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff80d41e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff80d41e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff82407ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff823bfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff823bfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff823bfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff8244610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaac14759f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaac14794b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaac147aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaac1471fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff799b098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff799b0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaac14720b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ivars.m.script: line 1: 1826639 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -fblocks -verify -Wno-objc-root-class -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ivars.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/iterator-range.cpp (848 of 18953) ******************** TEST 'Clang :: Analysis/iterator-range.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus,alpha.cplusplus.IteratorRange -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config c++-container-inlining=false -analyzer-output=text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/iterator-range.cpp -verify : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus,alpha.cplusplus.IteratorRange -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config c++-container-inlining=true -DINLINE=1 -analyzer-output=text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/iterator-range.cpp -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus,alpha.cplusplus.IteratorRange -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config c++-container-inlining=false -analyzer-output=text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/iterator-range.cpp -verify 1. parser at end of file 2. While analyzing stack: #0 Calling ptr_iter_diff(cont_with_ptr_iterator &) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/iterator-range.cpp:939:13: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/iterator-range.cpp:939:13: Error evaluating statement #0 0x0000ffff799eacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff799e9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff799eb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff82922800 (linux-vdso.so.1+0x800) #4 0x0000ffff818ca900 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffff818ca900 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff818ca900 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff818ca900 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff818ca900 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff818ca900 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff818ca900 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x0000ffff818ca900 getConstraint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1055:37 #12 0x0000ffff818ca900 (anonymous namespace)::getConstraint(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1060:23 #13 0x0000ffff818ca9dc (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 0x0000ffff8191e038 getConst /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1238:0 #15 0x0000ffff8191e038 (anonymous namespace)::SimpleSValBuilder::simplifySValOnce(llvm::IntrusiveRefCntPtr, clang::ento::SVal)::Simplifier::getConstOrVisit(clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1246:0 #16 0x0000ffff8191d874 VisitSymIntExpr /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1270:0 #17 0x0000ffff8191d874 clang::ento::SymExprVisitor<(anonymous namespace)::SimpleSValBuilder::simplifySValOnce(llvm::IntrusiveRefCntPtr, clang::ento::SVal)::Simplifier, clang::ento::SVal>::Visit(clang::ento::SymExpr const*) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:0 #18 0x0000ffff81d2a8a4 VisitNonLocSymbolVal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1365:0 #19 0x0000ffff81d2a8a4 Visit /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.def:67:0 #20 0x0000ffff81d2a8a4 (anonymous namespace)::SimpleSValBuilder::simplifySValOnce(llvm::IntrusiveRefCntPtr, clang::ento::SVal) (.constprop.0.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1371:0 #21 0x0000ffff81905484 simplifyUntilFixpoint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1194:40 #22 0x0000ffff81905484 (anonymous namespace)::SimpleSValBuilder::simplifySVal(llvm::IntrusiveRefCntPtr, clang::ento::SVal) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1203:31 #23 0x0000ffff81904a58 clang::ento::simplifyToSVal(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:237:26 #24 0x0000ffff81904b5c clang::ento::simplify(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:241:38 #25 0x0000ffff81905b9c clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:26:17 #26 0x0000ffff81905190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff81905190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff81905190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff819117d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff819117d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff819117d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8191b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8191b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8191b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8187f6d8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8187f6d8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8187f6d8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8187f6d8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff8187fbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8187fbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8187fbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff818531c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff818531c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff818531c0 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff81a06504 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #46 0x0000ffff81a06504 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #47 0x0000ffff81a06504 clang::ento::iterator::assumeNoOverflow(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, long) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/Iterator.cpp:291:0 #48 0x0000ffff81982988 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #49 0x0000ffff81982988 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff81982988 createContainerBegin /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp:850:0 #51 0x0000ffff81982988 handleBegin /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp:258:0 #52 0x0000ffff81982988 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp:193:0 #53 0x0000ffff81982988 void clang::ento::check::PostCall::_checkCall<(anonymous namespace)::ContainerModeling>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:183:0 #54 0x0000ffff81869524 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #55 0x0000ffff81869524 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #56 0x0000ffff81869524 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #57 0x0000ffff81869524 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #58 0x0000ffff81869524 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #59 0x0000ffff818c98b8 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #60 0x0000ffff818c98b8 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #61 0x0000ffff818c98b8 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #62 0x0000ffff818c98b8 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #63 0x0000ffff818c98b8 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #64 0x0000ffff818c98b8 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #65 0x0000ffff818ca144 clang::ento::ExprEngine::VisitCallExpr(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 0x0000ffff818abea0 clang::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 0x0000ffff818abea0 clang::ento::ExprEngine::Visit(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 0x0000ffff818acf08 clang::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 0x0000ffff818ad1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff818ad41c clang::ento::CoreEngine::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 0x0000ffff818ad764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #72 0x0000ffff818ad764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #73 0x0000ffff818ad764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #74 0x0000ffff818ad764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #75 0x0000ffff818ad764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #76 0x0000ffff81b7787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #77 0x0000ffff81b7787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #78 0x0000ffff81b7787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #79 0x0000ffff81b7787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #80 0x0000ffff81b7787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #81 0x0000ffff81b787e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #82 0x0000ffff81b787e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #83 0x0000ffff81b787e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #84 0x0000ffff81b7cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #85 0x0000ffff81b7cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #86 0x0000ffff81b7cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #87 0x0000ffff81b7cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #88 0x0000ffff81b7cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #89 0x0000ffff7ffd1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #90 0x0000ffff7ffd1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #91 0x0000ffff7ffd1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #92 0x0000ffff7ffd1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #93 0x0000ffff81697ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #94 0x0000ffff8164fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #95 0x0000ffff8164fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #96 0x0000ffff8164fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #97 0x0000ffff816d610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #98 0x0000aaaab56c59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #99 0x0000aaaab56c94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #100 0x0000aaaab56caac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #101 0x0000aaaab56c1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #102 0x0000ffff78c4098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #103 0x0000ffff78c40a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #104 0x0000aaaab56c20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/iterator-range.cpp.script: line 2: 1826624 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus,alpha.cplusplus.IteratorRange -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config c++-container-inlining=false -analyzer-output=text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/iterator-range.cpp -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/keychainAPI.m (850 of 18953) ******************** TEST 'Clang :: Analysis/keychainAPI.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=osx.SecKeychainAPI -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/keychainAPI.m -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=osx.SecKeychainAPI -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/keychainAPI.m -verify 1. parser at end of file 2. While analyzing stack: #0 Calling radar_19196494_v2 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/keychainAPI.m:460:5: Error evaluating statement #0 0x0000ffffb195acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb1959100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb195b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffba890800 (linux-vdso.so.1+0x800) #4 0x0000ffffb99ac9c8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffb99ac9c8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffb99ac9c8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffb99ac9c8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffb99ac9c8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffb99ac9c8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffb99ac9c8 get<(anonymous namespace)::AllocatedData> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffb99ac9c8 (anonymous namespace)::MacOSKeychainAPIChecker::checkDeadSymbols(clang::ento::SymbolReaper&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MacOSKeychainAPIChecker.cpp:545:52 #12 0x0000ffffb97ed814 void expandGraphWithCheckers<(anonymous namespace)::CheckDeadSymbolsContext>((anonymous namespace)::CheckDeadSymbolsContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #13 0x0000ffffb9807fe8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x0000ffffb9807fe8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x0000ffffb9807fe8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #16 0x0000ffffb9807fe8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #17 0x0000ffffb9807fe8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #18 0x0000ffffb9807fe8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #19 0x0000ffffb9807fe8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1080:48 #20 0x0000ffffb981ce94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #21 0x0000ffffb981ce94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #22 0x0000ffffb981ce94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #23 0x0000ffffb981ce94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #24 0x0000ffffb981ce94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #25 0x0000ffffb981ce94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #26 0x0000ffffb981ce94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #27 0x0000ffffb981ce94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #28 0x0000ffffb981ce94 clang::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 0x0000ffffb981d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffb981d41c clang::ento::CoreEngine::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 0x0000ffffb981d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #32 0x0000ffffb981d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #33 0x0000ffffb981d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #34 0x0000ffffb981d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #35 0x0000ffffb981d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #36 0x0000ffffb9ae787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffffb9ae787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffffb9ae787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #39 0x0000ffffb9ae787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #40 0x0000ffffb9ae787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #41 0x0000ffffb9ae87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #42 0x0000ffffb9ae87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #43 0x0000ffffb9ae87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #44 0x0000ffffb9aecde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #45 0x0000ffffb9aecde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #46 0x0000ffffb9aecde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #47 0x0000ffffb9aecde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #48 0x0000ffffb9aecde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #49 0x0000ffffb7f41e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #50 0x0000ffffb7f41e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #51 0x0000ffffb7f41e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #52 0x0000ffffb7f41e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #53 0x0000ffffb9607ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #54 0x0000ffffb95bfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #55 0x0000ffffb95bfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #56 0x0000ffffb95bfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #57 0x0000ffffb964610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #58 0x0000aaaabf4e59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #59 0x0000aaaabf4e94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #60 0x0000aaaabf4eaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #61 0x0000aaaabf4e1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #62 0x0000ffffb0bb098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #63 0x0000ffffb0bb0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #64 0x0000aaaabf4e20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/keychainAPI.m.script: line 1: 1826657 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=osx.SecKeychainAPI -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/keychainAPI.m -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/kmalloc-linux.c (851 of 18953) ******************** TEST 'Clang :: Analysis/kmalloc-linux.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-unknown-linux /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/kmalloc-linux.c -verify -Wno-incompatible-library-redeclaration -analyzer-checker=core -analyzer-checker=unix.Malloc -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-unknown-linux /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/kmalloc-linux.c -verify -Wno-incompatible-library-redeclaration -analyzer-checker=core -analyzer-checker=unix.Malloc 1. parser at end of file 2. While analyzing stack: #0 Calling test_3arg_malloc_leak 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/kmalloc-linux.c:120:10: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/kmalloc-linux.c:120:10: Error evaluating statement #0 0x0000ffff879cacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff879c9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff879cb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9090f800 (linux-vdso.so.1+0x800) #4 0x0000ffff8fc23688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8fc23688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8fc23688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8fc23688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8fc23688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8fc23688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff8fc23688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff8fc23688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8f8d0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8f8d0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8f8d0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8f8d0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8f8d1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8f8d1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8f8d1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8f8d1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff8f8e591c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff8f8e591c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff8f8e591c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffff8f8e5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff8f8e5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff8f8e5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #26 0x0000ffff8f8f17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #27 0x0000ffff8f8f17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #28 0x0000ffff8f8f17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #29 0x0000ffff8f8fb074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #30 0x0000ffff8f8fb074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x0000ffff8f8fb074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #32 0x0000ffff8f85f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #33 0x0000ffff8f85f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #34 0x0000ffff8f85f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #35 0x0000ffff8f85f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #36 0x0000ffff8fd4d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffff8fd4d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffff8fd4d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #39 0x0000ffff8fa239bc std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #40 0x0000ffff8fa239bc std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #41 0x0000ffff8fa239bc std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #42 0x0000ffff8fa239bc std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #43 0x0000ffff8fa239bc std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #44 0x0000ffff8fa239bc performKernelMalloc /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1189:0 #45 0x0000ffff8fa239bc (anonymous namespace)::MallocChecker::checkKernelMalloc(clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1225:0 #46 0x0000ffff8fa30e00 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #47 0x0000ffff8fa30e00 void clang::ento::check::PostCall::_checkCall<(anonymous namespace)::MallocChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:183:0 #48 0x0000ffff8f849524 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #49 0x0000ffff8f849524 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #50 0x0000ffff8f849524 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #51 0x0000ffff8f849524 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #52 0x0000ffff8f849524 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #53 0x0000ffff8f8a98b8 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #54 0x0000ffff8f8a98b8 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #55 0x0000ffff8f8a98b8 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #56 0x0000ffff8f8a98b8 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #57 0x0000ffff8f8a98b8 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #58 0x0000ffff8f8a98b8 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #59 0x0000ffff8f8aa144 clang::ento::ExprEngine::VisitCallExpr(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 0x0000ffff8f88bea0 clang::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 0x0000ffff8f88bea0 clang::ento::ExprEngine::Visit(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 0x0000ffff8f88cf08 clang::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 0x0000ffff8f88d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8f88d41c clang::ento::CoreEngine::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 0x0000ffff8f88d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #66 0x0000ffff8f88d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #67 0x0000ffff8f88d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #68 0x0000ffff8f88d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #69 0x0000ffff8f88d764 clang::ento::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 0x0000ffff8fb5787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #71 0x0000ffff8fb5787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #72 0x0000ffff8fb5787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #73 0x0000ffff8fb5787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #74 0x0000ffff8fb5787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #75 0x0000ffff8fb587e8 llvm::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 0x0000ffff8fb587e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #77 0x0000ffff8fb587e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #78 0x0000ffff8fb5cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #79 0x0000ffff8fb5cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #80 0x0000ffff8fb5cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #81 0x0000ffff8fb5cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #82 0x0000ffff8fb5cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #83 0x0000ffff8dfb1e58 __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 0x0000ffff8dfb1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #85 0x0000ffff8dfb1e58 void clang::finalize>, 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 0x0000ffff8dfb1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #87 0x0000ffff8f677ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #88 0x0000ffff8f62fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #89 0x0000ffff8f62fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #90 0x0000ffff8f62fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #91 0x0000ffff8f6b610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #92 0x0000aaaad84159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #93 0x0000aaaad84194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #94 0x0000aaaad841aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #95 0x0000aaaad8411fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #96 0x0000ffff86c2098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #97 0x0000ffff86c20a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #98 0x0000aaaad84120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/kmalloc-linux.c.script: line 1: 1826663 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-unknown-linux /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/kmalloc-linux.c -verify -Wno-incompatible-library-redeclaration -analyzer-checker=core -analyzer-checker=unix.Malloc -- ******************** Testing: 0 FAIL: Clang :: Analysis/lambdas-generalized-capture.cpp (852 of 18953) ******************** TEST 'Clang :: Analysis/lambdas-generalized-capture.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core,deadcode,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lambdas-generalized-capture.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core,deadcode,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lambdas-generalized-capture.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling caseSplitInGeneralizedCapture(_Bool) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lambdas-generalized-capture.cpp:44:21: Error evaluating branch #0 0x0000ffff76beacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff76be9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff76beb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff7fb29800 (linux-vdso.so.1+0x800) #4 0x0000ffff7ee43688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff7ee43688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff7ee43688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff7ee43688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff7ee43688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff7ee43688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff7ee43688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff7ee43688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff7eaf0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff7eaf0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff7eaf0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff7eaf0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff7eaf1940 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff7eaf1940 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff7eaf1940 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff7eaf1940 (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:0 #20 0x0000ffff7eb0591c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff7eb0591c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff7eb0591c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffff7eb05bf0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff7eb05bf0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff7eb05bf0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffff7eb05190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff7eb05190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff7eb05190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff7eb117d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff7eb117d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff7eb117d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff7eb1b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff7eb1b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff7eb1b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff7ea7f6d8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff7ea7f6d8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff7ea7f6d8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff7ea7f6d8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff7ef6d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff7ef6d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff7ef6d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff7ea958c8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffff7ea958c8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffff7ea958c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffff7ea958c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffff7ea958c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffff7ea958c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffff7ea958c8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffff7ea958c8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffff7ea958c8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffff7ea958c8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffff7ea95e30 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffff7eaad764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff7eaad764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff7eaad764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff7eaad764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff7eaad764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff7ed7787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff7ed7787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff7ed7787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff7ed7787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff7ed7787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff7ed787e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff7ed787e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff7ed787e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff7ed7cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff7ed7cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff7ed7cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff7ed7cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff7ed7cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff7d1d1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff7d1d1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff7d1d1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff7d1d1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff7e897ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff7e84fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff7e84fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff7e84fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff7e8d610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaaccaa59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaaccaa94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaaccaaaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaaccaa1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff75e4098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff75e40a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaaccaa20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/lambdas-generalized-capture.cpp.script: line 1: 1826690 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core,deadcode,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lambdas-generalized-capture.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/lambdas.mm (853 of 18953) ******************** TEST 'Clang :: Analysis/lambdas.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -fblocks -Wno-objc-root-class -analyzer-checker=core,deadcode,debug.ExprInspection -analyzer-config inline-lambdas=true -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lambdas.mm -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -fblocks -Wno-objc-root-class -analyzer-checker=core,deadcode,debug.ExprInspection -analyzer-config inline-lambdas=true -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lambdas.mm 1. parser at end of file 2. While analyzing stack: #0 Calling castLambdaInLocalBlock() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lambdas.mm:139:17: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lambdas.mm:139:17: Error evaluating statement #0 0x0000ffffb20eacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb20e9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb20eb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffbb025800 (linux-vdso.so.1+0x800) #4 0x0000ffffb9f98434 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb9f98434 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb9f98434 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb9f98434 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb9f98434 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb9f98434 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb9f98434 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:0 #11 0x0000ffffb9f98434 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 0x0000ffffb9fc92b0 clang::ento::ExprEngine::finishArgumentConstruction(llvm::IntrusiveRefCntPtr, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:640:59 #13 0x0000ffffb9fc9454 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #14 0x0000ffffb9fc9454 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #15 0x0000ffffb9fc9454 clang::ento::ExprEngine::finishArgumentConstruction(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:657:72 #16 0x0000ffffb9fa6164 clang::ento::ExprEngine::handleConstructor(clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:832:0 #17 0x0000ffffb9fabe5c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #18 0x0000ffffb9fabe5c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2158:0 #19 0x0000ffffb9facf08 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #20 0x0000ffffb9fad1f0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #21 0x0000ffffb9fad41c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #22 0x0000ffffb9fad764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #23 0x0000ffffb9fad764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #24 0x0000ffffb9fad764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #25 0x0000ffffb9fad764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #26 0x0000ffffb9fad764 clang::ento::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 0x0000ffffba27787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x0000ffffba27787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x0000ffffba27787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #30 0x0000ffffba27787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #31 0x0000ffffba27787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #32 0x0000ffffba2787e8 llvm::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 0x0000ffffba2787e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #34 0x0000ffffba2787e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #35 0x0000ffffba27cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x0000ffffba27cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x0000ffffba27cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #38 0x0000ffffba27cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #39 0x0000ffffba27cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #40 0x0000ffffb86d1e58 __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 0x0000ffffb86d1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #42 0x0000ffffb86d1e58 void clang::finalize>, 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 0x0000ffffb86d1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #44 0x0000ffffb9d97ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #45 0x0000ffffb9d4fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #46 0x0000ffffb9d4fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #47 0x0000ffffb9d4fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #48 0x0000ffffb9dd610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #49 0x0000aaaad14659f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #50 0x0000aaaad14694b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #51 0x0000aaaad146aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #52 0x0000aaaad1461fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #53 0x0000ffffb134098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #54 0x0000ffffb1340a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #55 0x0000aaaad14620b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/lambdas.mm.script: line 1: 1826720 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -fblocks -Wno-objc-root-class -analyzer-checker=core,deadcode,debug.ExprInspection -analyzer-config inline-lambdas=true -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lambdas.mm -- ******************** Testing: 0 FAIL: Clang :: Analysis/lambdas-modern.cpp (854 of 18953) ******************** TEST 'Clang :: Analysis/lambdas-modern.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core,debug.ExprInspection -analyzer-config inline-lambdas=true -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lambdas-modern.cpp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++17 -analyzer-checker=core,debug.ExprInspection -analyzer-config inline-lambdas=true -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lambdas-modern.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core,debug.ExprInspection -analyzer-config inline-lambdas=true -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lambdas-modern.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling MakeUniquePtr() at line 26 #1 Calling testCopyElidedUniquePtr() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lambdas-modern.cpp:23:38: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lambdas-modern.cpp:23:38: Error evaluating statement #0 0x0000ffff8582acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff85829100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8582b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8e764800 (linux-vdso.so.1+0x800) #4 0x0000ffff8d6de6a4 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffff8d6de6a4 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff8d6de6a4 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff8d6de6a4 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff8d6de6a4 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff8d6de6a4 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff8d6de6a4 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff8d6de6a4 llvm::IntrusiveRefCntPtr clang::ento::ProgramStateManager::set<(anonymous namespace)::ObjectsUnderConstruction>(llvm::IntrusiveRefCntPtr, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::key_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::value_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::context_type) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:652:0 #12 0x0000ffff8d6dea94 llvm::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 0x0000ffff8d6dea94 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #14 0x0000ffff8d6dea94 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #15 0x0000ffff8d6dea94 set<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:876:0 #16 0x0000ffff8d6dea94 clang::ento::ExprEngine::addObjectUnderConstruction(llvm::IntrusiveRefCntPtr, clang::ConstructionContextItem const&, clang::LocationContext const*, clang::ento::SVal) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:599:0 #17 0x0000ffff8d6df174 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #18 0x0000ffff8d6df174 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #19 0x0000ffff8d6df174 clang::ento::ExprEngine::updateObjectsUnderConstruction(clang::ento::SVal, clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:463:0 #20 0x0000ffff8d6df0b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #21 0x0000ffff8d6df0b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #22 0x0000ffff8d6df0b4 clang::ento::ExprEngine::updateObjectsUnderConstruction(clang::ento::SVal, clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:451:0 #23 0x0000ffff8d6df108 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #24 0x0000ffff8d6df108 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #25 0x0000ffff8d6df108 clang::ento::ExprEngine::updateObjectsUnderConstruction(clang::ento::SVal, clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:459:0 #26 0x0000ffff8d72048c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #27 0x0000ffff8d72048c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #28 0x0000ffff8d72048c clang::ento::ExprEngine::handleConstructionContext(clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::ento::NodeBuilderContext const*, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions&, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:753:0 #29 0x0000ffff8d72048c clang::ento::ExprEngine::bindReturnValue(clang::ento::CallEvent const&, clang::LocationContext const*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:773:0 #30 0x0000ffff8d720928 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #31 0x0000ffff8d720928 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #32 0x0000ffff8d720928 clang::ento::ExprEngine::conservativeEvalCall(clang::ento::CallEvent const&, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:834:0 #33 0x0000ffff8d7212e4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #34 0x0000ffff8d7212e4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #35 0x0000ffff8d7212e4 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 0x0000ffff8d6a9fd8 clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:288:0 #37 0x0000ffff8d70981c llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #38 0x0000ffff8d70981c llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #39 0x0000ffff8d70981c clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #40 0x0000ffff8d70981c clang::ento::ExprEngine::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 0x0000ffff8d70a144 clang::ento::ExprEngine::VisitCallExpr(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 0x0000ffff8d6ebea0 clang::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 0x0000ffff8d6ebea0 clang::ento::ExprEngine::Visit(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 0x0000ffff8d6ecf08 clang::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 0x0000ffff8d6ed1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8d6ed41c clang::ento::CoreEngine::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 0x0000ffff8d6ed764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #48 0x0000ffff8d6ed764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #49 0x0000ffff8d6ed764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #50 0x0000ffff8d6ed764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #51 0x0000ffff8d6ed764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #52 0x0000ffff8d9b787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #53 0x0000ffff8d9b787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #54 0x0000ffff8d9b787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #55 0x0000ffff8d9b787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #56 0x0000ffff8d9b787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #57 0x0000ffff8d9b87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #58 0x0000ffff8d9b87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #59 0x0000ffff8d9b87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #60 0x0000ffff8d9bcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #61 0x0000ffff8d9bcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #62 0x0000ffff8d9bcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #63 0x0000ffff8d9bcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #64 0x0000ffff8d9bcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #65 0x0000ffff8be11e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #66 0x0000ffff8be11e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #67 0x0000ffff8be11e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #68 0x0000ffff8be11e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #69 0x0000ffff8d4d7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #70 0x0000ffff8d48fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #71 0x0000ffff8d48fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #72 0x0000ffff8d48fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #73 0x0000ffff8d51610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #74 0x0000aaaab50d59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #75 0x0000aaaab50d94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #76 0x0000aaaab50daac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #77 0x0000aaaab50d1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #78 0x0000ffff84a8098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #79 0x0000ffff84a80a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #80 0x0000aaaab50d20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/lambdas-modern.cpp.script: line 2: 1826708 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core,debug.ExprInspection -analyzer-config inline-lambdas=true -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lambdas-modern.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/lambdas.cpp (856 of 18953) ******************** TEST 'Clang :: Analysis/lambdas.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,deadcode,debug.ExprInspection -analyzer-config inline-lambdas=true -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lambdas.cpp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core -analyzer-config inline-lambdas=false -DNO_INLINING=1 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lambdas.cpp : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,debug.DumpCFG -analyzer-config inline-lambdas=true /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lambdas.cpp > /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/lambdas.cpp.tmp 2>&1 : 'RUN: at line 4'; /usr/bin/FileCheck --input-file=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/lambdas.cpp.tmp /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lambdas.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,deadcode,debug.ExprInspection -analyzer-config inline-lambdas=true -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lambdas.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling invalidate_static_on_unknown_lambda()::(anonymous class)::operator()() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lambdas.cpp:374:5: Error evaluating statement #0 0x0000ffffa257acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa2579100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa257b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffab4b6800 (linux-vdso.so.1+0x800) #4 0x0000ffffaa47cd64 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffaa47cd64 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffaa47cd64 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffaa47cd64 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffffaa47cd64 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffffaa47cd64 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffffaa4280bc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffffaa4280bc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffffaa4280bc clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffffaa43ce94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffffaa43ce94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffffaa43ce94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffffaa43ce94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffffaa43ce94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffffaa43ce94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffffaa43ce94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffffaa43ce94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffffaa43ce94 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffffaa43d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffaa43d310 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffffaa43d5dc clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffffaa43d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffffaa43d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffffaa43d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffffaa43d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffffaa43d764 clang::ento::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 0x0000ffffaa70787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffffaa70787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffffaa70787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffffaa70787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffffaa70787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffffaa7087e8 llvm::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 0x0000ffffaa7087e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffffaa7087e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffffaa70cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffffaa70cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffffaa70cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffffaa70cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffffaa70cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffffa8b61e58 __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 0x0000ffffa8b61e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffffa8b61e58 void clang::finalize>, 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 0x0000ffffa8b61e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffffaa227ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffffaa1dfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffffaa1dfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffffaa1dfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffffaa26610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaae0e059f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaae0e094b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaae0e0aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaae0e01fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffffa17d098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffffa17d0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaae0e020b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/lambdas.cpp.script: line 4: 1826718 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,deadcode,debug.ExprInspection -analyzer-config inline-lambdas=true -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lambdas.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/left-shift-cxx2a.cpp (858 of 18953) ******************** TEST 'Clang :: Analysis/left-shift-cxx2a.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -triple x86_64-apple-darwin13 -Wno-shift-count-overflow -verify=expected,cxx17 -std=c++17 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/left-shift-cxx2a.cpp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -triple x86_64-apple-darwin13 -Wno-shift-count-overflow -verify=expected,cxx2a -std=c++2a /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/left-shift-cxx2a.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -triple x86_64-apple-darwin13 -Wno-shift-count-overflow -verify=expected,cxx17 -std=c++17 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/left-shift-cxx2a.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling testUnrepresentableLeftShift(int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/left-shift-cxx2a.cpp:19:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/left-shift-cxx2a.cpp:19:7: Error evaluating statement #0 0x0000ffff9732acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff97329100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9732b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa0262800 (linux-vdso.so.1+0x800) #4 0x0000ffff9f583688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9f583688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9f583688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9f583688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9f583688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9f583688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff9f583688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff9f583688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9f230c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9f230c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9f230c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9f230c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9f231ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9f231ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9f231ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9f231ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff9f244770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff9f244770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff9f244770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff9f245cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff9f245cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff9f245cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff9f245190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff9f245190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff9f245190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff9f2517d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff9f2517d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff9f2517d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9f25b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9f25b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9f25b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9f1bf6d8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9f1bf6d8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9f1bf6d8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9f1bf6d8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff9f6ad3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9f6ad3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9f6ad3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff9f1d2a0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff9f1d2a0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff9f1d2a0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffff9f1eccac llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffff9f1eccac llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffff9f1eccac llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffff9f1eccac clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffff9f1eccac clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffff9f1ecf08 clang::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 0x0000ffff9f1ed1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff9f1ed41c clang::ento::CoreEngine::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 0x0000ffff9f1ed764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff9f1ed764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff9f1ed764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff9f1ed764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff9f1ed764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff9f4b787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff9f4b787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff9f4b787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff9f4b787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff9f4b787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff9f4b87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff9f4b87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff9f4b87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff9f4bcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff9f4bcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff9f4bcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff9f4bcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff9f4bcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff9d911e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff9d911e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff9d911e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff9d911e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff9efd7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff9ef8fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff9ef8fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff9ef8fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff9f01610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaaba4759f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaaba4794b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaaba47aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaaba471fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff9658098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff96580a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaaba4720b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/left-shift-cxx2a.cpp.script: line 2: 1826727 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -triple x86_64-apple-darwin13 -Wno-shift-count-overflow -verify=expected,cxx17 -std=c++17 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/left-shift-cxx2a.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/lifetime-extended-regions.cpp (859 of 18953) ******************** TEST 'Clang :: Analysis/lifetime-extended-regions.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -analyzer-checker=debug.ExprInspection -Wno-dangling -Wno-c++1z-extensions -verify=expected,cpp14 -x c++ -std=c++14 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lifetime-extended-regions.cpp : 'RUN: at line 6'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -analyzer-checker=debug.ExprInspection -analyzer-config elide-constructors=false -Wno-dangling -Wno-c++1z-extensions -verify=expected,cpp14 -x c++ -std=c++14 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lifetime-extended-regions.cpp : 'RUN: at line 12'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -analyzer-checker=debug.ExprInspection -Wno-dangling -verify=expected,cpp17 -x c++ -std=c++17 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lifetime-extended-regions.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -analyzer-checker=debug.ExprInspection -Wno-dangling -Wno-c++1z-extensions -verify=expected,cpp14 -x c++ -std=c++14 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lifetime-extended-regions.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling select(_Bool, const int &, const int &) at line 161 #1 Calling propagation(_Bool) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lifetime-extended-regions.cpp:24:61: Error evaluating branch #0 0x0000ffffae65acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffae659100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffae65b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb7590800 (linux-vdso.so.1+0x800) #4 0x0000ffffb68b3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb68b3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb68b3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb68b3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb68b3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb68b3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb68b3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb68b3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb6560c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb6560c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb6560c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb6560c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb6561940 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb6561940 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb6561940 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb6561940 (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:0 #20 0x0000ffffb657591c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb657591c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb657591c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffffb6575bf0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb6575bf0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb6575bf0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffffb6575190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb6575190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb6575190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb65817d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb65817d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb65817d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb658b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb658b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb658b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb64ef6d8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb64ef6d8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb64ef6d8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb64ef6d8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffb69dd3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb69dd3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb69dd3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffb65058c8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffffb65058c8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffffb65058c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffffb65058c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffffb65058c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffffb65058c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffffb65058c8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffffb65058c8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffffb65058c8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffffb65058c8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffffb6505e30 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffffb651d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffb651d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffb651d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffb651d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffb651d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffb67e787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffb67e787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffb67e787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffb67e787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffb67e787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffb67e87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffb67e87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffb67e87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffb67ecde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffb67ecde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffb67ecde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffb67ecde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffb67ecde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffb4c41e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffb4c41e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffb4c41e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffb4c41e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffb6307ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffb62bfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffb62bfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffb62bfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffb634610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaac30559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaac30594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaac305aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaac3051fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffad8b098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffad8b0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaac30520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/lifetime-extended-regions.cpp.script: line 3: 1826736 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -analyzer-checker=debug.ExprInspection -Wno-dangling -Wno-c++1z-extensions -verify=expected,cpp14 -x c++ -std=c++14 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lifetime-extended-regions.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/lifetime-extension.cpp (860 of 18953) ******************** TEST 'Clang :: Analysis/lifetime-extension.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-unused -std=c++11 -analyzer-checker=core,debug.ExprInspection -analyzer-config cfg-temporary-dtors=false -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lifetime-extension.cpp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-unused -std=c++11 -analyzer-checker=core,debug.ExprInspection -analyzer-config cfg-temporary-dtors=true,c++-temp-dtor-inlining=true -DTEMPORARIES -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lifetime-extension.cpp : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-unused -std=c++17 -analyzer-checker=core,debug.ExprInspection -analyzer-config cfg-temporary-dtors=true,c++-temp-dtor-inlining=true -DTEMPORARIES -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lifetime-extension.cpp : 'RUN: at line 4'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-unused -std=c++11 -analyzer-checker=core,debug.ExprInspection -analyzer-config cfg-temporary-dtors=false -DMOVES -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lifetime-extension.cpp : 'RUN: at line 5'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-unused -std=c++11 -analyzer-checker=core,debug.ExprInspection -analyzer-config cfg-temporary-dtors=true,c++-temp-dtor-inlining=true -DTEMPORARIES -DMOVES -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lifetime-extension.cpp : 'RUN: at line 6'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-unused -std=c++17 -analyzer-checker=core,debug.ExprInspection -analyzer-config cfg-temporary-dtors=true,c++-temp-dtor-inlining=true -DTEMPORARIES -DMOVES -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lifetime-extension.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-unused -std=c++11 -analyzer-checker=core,debug.ExprInspection -analyzer-config cfg-temporary-dtors=false -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lifetime-extension.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling maintain_address_of_copies::AddressVector::AddressVector() at line 325 #1 Calling maintain_address_of_copies::f4() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lifetime-extension.cpp:240:25: Error evaluating statement #0 0x0000ffff7d54acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7d549100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7d54b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff86480800 (linux-vdso.so.1+0x800) #4 0x0000ffff853f7db8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff853f7db8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff853f7db8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff853f7db8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff853f7db8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff853f7db8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff853f7db8 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff853f7db8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1059:61 #12 0x0000ffff8540ce94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffff8540ce94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffff8540ce94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffff8540ce94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffff8540ce94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffff8540ce94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffff8540ce94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffff8540ce94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffff8540ce94 clang::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 0x0000ffff8540d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8540d310 clang::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 0x0000ffff8540d5dc clang::ento::CoreEngine::dispatchWorkItem(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 0x0000ffff8540d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x0000ffff8540d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x0000ffff8540d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #27 0x0000ffff8540d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #28 0x0000ffff8540d764 clang::ento::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 0x0000ffff856d787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffff856d787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffff856d787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #32 0x0000ffff856d787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #33 0x0000ffff856d787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #34 0x0000ffff856d87e8 llvm::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 0x0000ffff856d87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x0000ffff856d87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #37 0x0000ffff856dcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x0000ffff856dcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x0000ffff856dcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x0000ffff856dcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x0000ffff856dcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x0000ffff83b31e58 __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 0x0000ffff83b31e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x0000ffff83b31e58 void clang::finalize>, 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 0x0000ffff83b31e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x0000ffff851f7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #47 0x0000ffff851afc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #48 0x0000ffff851afc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #49 0x0000ffff851afc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #50 0x0000ffff8523610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #51 0x0000aaaad5fe59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x0000aaaad5fe94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x0000aaaad5feaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x0000aaaad5fe1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x0000ffff7c7a098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #56 0x0000ffff7c7a0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #57 0x0000aaaad5fe20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/lifetime-extension.cpp.script: line 6: 1826747 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-unused -std=c++11 -analyzer-checker=core,debug.ExprInspection -analyzer-config cfg-temporary-dtors=false -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lifetime-extension.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/lifetime-extension.mm (861 of 18953) ******************** TEST 'Clang :: Analysis/lifetime-extension.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-unused -std=c++11 -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lifetime-extension.mm : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-unused -std=c++17 -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lifetime-extension.mm : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-unused -std=c++11 -analyzer-checker=core,debug.ExprInspection -DMOVES -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lifetime-extension.mm : 'RUN: at line 4'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-unused -std=c++17 -analyzer-checker=core,debug.ExprInspection -DMOVES -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lifetime-extension.mm -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-unused -std=c++11 -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lifetime-extension.mm 1. parser at end of file 2. While analyzing stack: #0 Calling AddressVector::AddressVector() at line 55 #1 Calling testReturnByValueFromMessage(Foo *) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lifetime-extension.mm:13:25: Error evaluating statement #0 0x0000ffffa6f1acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa6f19100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa6f1b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffafe5c800 (linux-vdso.so.1+0x800) #4 0x0000ffffaedc7db8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffaedc7db8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffaedc7db8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffaedc7db8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffaedc7db8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffaedc7db8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffaedc7db8 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffaedc7db8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1059:61 #12 0x0000ffffaeddce94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffffaeddce94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffffaeddce94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffffaeddce94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffffaeddce94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffffaeddce94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffffaeddce94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffffaeddce94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffffaeddce94 clang::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 0x0000ffffaeddd1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffaeddd310 clang::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 0x0000ffffaeddd5dc clang::ento::CoreEngine::dispatchWorkItem(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 0x0000ffffaeddd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x0000ffffaeddd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x0000ffffaeddd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #27 0x0000ffffaeddd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #28 0x0000ffffaeddd764 clang::ento::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 0x0000ffffaf0a787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffffaf0a787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffffaf0a787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #32 0x0000ffffaf0a787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #33 0x0000ffffaf0a787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #34 0x0000ffffaf0a87e8 llvm::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 0x0000ffffaf0a87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x0000ffffaf0a87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #37 0x0000ffffaf0acde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x0000ffffaf0acde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x0000ffffaf0acde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x0000ffffaf0acde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x0000ffffaf0acde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x0000ffffad501e58 __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 0x0000ffffad501e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x0000ffffad501e58 void clang::finalize>, 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 0x0000ffffad501e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x0000ffffaebc7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #47 0x0000ffffaeb7fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #48 0x0000ffffaeb7fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #49 0x0000ffffaeb7fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #50 0x0000ffffaec0610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #51 0x0000aaaabc7b59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x0000aaaabc7b94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x0000aaaabc7baac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x0000aaaabc7b1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x0000ffffa617098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #56 0x0000ffffa6170a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #57 0x0000aaaabc7b20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/lifetime-extension.mm.script: line 4: 1826754 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-unused -std=c++11 -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/lifetime-extension.mm -- ******************** Testing: 0 FAIL: Clang :: Analysis/live-bindings-test.cpp (863 of 18953) ******************** TEST 'Clang :: Analysis/live-bindings-test.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++17 -analyzer-checker=core,deadcode -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/live-bindings-test.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++17 -analyzer-checker=core,deadcode -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/live-bindings-test.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling deconstruct_tuple_types_no_warning() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/live-bindings-test.cpp:125:3: Error evaluating statement #0 0x0000ffffa4a1acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa4a19100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa4a1b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffad958800 (linux-vdso.so.1+0x800) #4 0x0000ffffac8c7db8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffac8c7db8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffac8c7db8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffac8c7db8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffac8c7db8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffac8c7db8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffac8c7db8 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffac8c7db8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1059:61 #12 0x0000ffffac8dce94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffffac8dce94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffffac8dce94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffffac8dce94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffffac8dce94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffffac8dce94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffffac8dce94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffffac8dce94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffffac8dce94 clang::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 0x0000ffffac8dd1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffac8dd41c clang::ento::CoreEngine::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 0x0000ffffac8dd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #24 0x0000ffffac8dd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #25 0x0000ffffac8dd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #26 0x0000ffffac8dd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #27 0x0000ffffac8dd764 clang::ento::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 0x0000ffffacba787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #29 0x0000ffffacba787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #30 0x0000ffffacba787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #31 0x0000ffffacba787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #32 0x0000ffffacba787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #33 0x0000ffffacba87e8 llvm::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 0x0000ffffacba87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #35 0x0000ffffacba87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #36 0x0000ffffacbacde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #37 0x0000ffffacbacde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #38 0x0000ffffacbacde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #39 0x0000ffffacbacde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #40 0x0000ffffacbacde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #41 0x0000ffffab001e58 __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 0x0000ffffab001e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #43 0x0000ffffab001e58 void clang::finalize>, 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 0x0000ffffab001e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #45 0x0000ffffac6c7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #46 0x0000ffffac67fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #47 0x0000ffffac67fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #48 0x0000ffffac67fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #49 0x0000ffffac70610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #50 0x0000aaaac0eb59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #51 0x0000aaaac0eb94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #52 0x0000aaaac0ebaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #53 0x0000aaaac0eb1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #54 0x0000ffffa3c7098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #55 0x0000ffffa3c70a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #56 0x0000aaaac0eb20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/live-bindings-test.cpp.script: line 1: 1826768 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++17 -analyzer-checker=core,deadcode -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/live-bindings-test.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/llvm-conventions.cpp (865 of 18953) ******************** TEST 'Clang :: Analysis/llvm-conventions.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.llvm.Conventions -std=c++14 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/llvm-conventions.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.llvm.Conventions -std=c++14 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/llvm-conventions.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling getTemporaryString() at line 182 #1 Calling assigningTempStringFromFunctionToStringRefTest() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/llvm-conventions.cpp:177:10: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/llvm-conventions.cpp:177:10: Error evaluating statement #0 0x0000ffff8570acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff85709100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8570b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8e64c800 (linux-vdso.so.1+0x800) #4 0x0000ffff8d5be6a4 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffff8d5be6a4 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff8d5be6a4 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff8d5be6a4 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff8d5be6a4 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff8d5be6a4 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff8d5be6a4 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff8d5be6a4 llvm::IntrusiveRefCntPtr clang::ento::ProgramStateManager::set<(anonymous namespace)::ObjectsUnderConstruction>(llvm::IntrusiveRefCntPtr, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::key_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::value_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::context_type) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:652:0 #12 0x0000ffff8d5bea94 llvm::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 0x0000ffff8d5bea94 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #14 0x0000ffff8d5bea94 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #15 0x0000ffff8d5bea94 set<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:876:0 #16 0x0000ffff8d5bea94 clang::ento::ExprEngine::addObjectUnderConstruction(llvm::IntrusiveRefCntPtr, clang::ConstructionContextItem const&, clang::LocationContext const*, clang::ento::SVal) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:599:0 #17 0x0000ffff8d5befac llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #18 0x0000ffff8d5befac llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #19 0x0000ffff8d5befac clang::ento::ExprEngine::updateObjectsUnderConstruction(clang::ento::SVal, clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:486:0 #20 0x0000ffff8d5bf0b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #21 0x0000ffff8d5bf0b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #22 0x0000ffff8d5bf0b4 clang::ento::ExprEngine::updateObjectsUnderConstruction(clang::ento::SVal, clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:451:0 #23 0x0000ffff8d5bf108 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #24 0x0000ffff8d5bf108 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #25 0x0000ffff8d5bf108 clang::ento::ExprEngine::updateObjectsUnderConstruction(clang::ento::SVal, clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:459:0 #26 0x0000ffff8d5c6a00 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #27 0x0000ffff8d5c6a00 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #28 0x0000ffff8d5c6a00 clang::ento::ExprEngine::handleConstructionContext(clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::ento::NodeBuilderContext const*, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions&, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:753:0 #29 0x0000ffff8d5c6a00 clang::ento::ExprEngine::handleConstructor(clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:665:0 #30 0x0000ffff8d5cbe5c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #31 0x0000ffff8d5cbe5c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2158:0 #32 0x0000ffff8d5ccf08 clang::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 0x0000ffff8d5cd1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8d5cd41c clang::ento::CoreEngine::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 0x0000ffff8d5cd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x0000ffff8d5cd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x0000ffff8d5cd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #38 0x0000ffff8d5cd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #39 0x0000ffff8d5cd764 clang::ento::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 0x0000ffff8d89787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #41 0x0000ffff8d89787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #42 0x0000ffff8d89787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #43 0x0000ffff8d89787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #44 0x0000ffff8d89787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #45 0x0000ffff8d8987e8 llvm::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 0x0000ffff8d8987e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #47 0x0000ffff8d8987e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #48 0x0000ffff8d89cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #49 0x0000ffff8d89cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #50 0x0000ffff8d89cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #51 0x0000ffff8d89cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #52 0x0000ffff8d89cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #53 0x0000ffff8bcf1e58 __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 0x0000ffff8bcf1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #55 0x0000ffff8bcf1e58 void clang::finalize>, 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 0x0000ffff8bcf1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #57 0x0000ffff8d3b7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #58 0x0000ffff8d36fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #59 0x0000ffff8d36fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #60 0x0000ffff8d36fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #61 0x0000ffff8d3f610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #62 0x0000aaaae15459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #63 0x0000aaaae15494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #64 0x0000aaaae154aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #65 0x0000aaaae1541fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #66 0x0000ffff8496098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #67 0x0000ffff84960a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #68 0x0000aaaae15420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/llvm-conventions.cpp.script: line 1: 1826799 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.llvm.Conventions -std=c++14 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/llvm-conventions.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/live-variables.cpp (866 of 18953) ******************** TEST 'Clang :: Analysis/live-variables.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/live-variables.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/live-variables.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling test() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/live-variables.cpp:18:9: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/live-variables.cpp:18:9: Error evaluating statement #0 0x0000ffff858bacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff858b9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff858bb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8e7fb800 (linux-vdso.so.1+0x800) #4 0x0000ffff8db13688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8db13688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8db13688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8db13688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8db13688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8db13688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff8db13688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff8db13688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8d7c0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8d7c0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8d7c0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8d7c0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8d7c1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8d7c1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8d7c1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8d7c1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff8d7d4770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff8d7d4770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff8d7d4770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff8d7d5cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff8d7d5cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff8d7d5cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff8d7d5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8d7d5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8d7d5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff8d7e17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff8d7e17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff8d7e17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8d7eb074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8d7eb074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8d7eb074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8d74f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8d74f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8d74f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8d74f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff8dc3d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8dc3d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8dc3d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff8d762a0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff8d762a0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff8d762a0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffff8d77ccac llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffff8d77ccac llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffff8d77ccac llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffff8d77ccac clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffff8d77ccac clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffff8d77cf08 clang::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 0x0000ffff8d77d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8d77d41c clang::ento::CoreEngine::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 0x0000ffff8d77d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff8d77d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff8d77d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff8d77d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff8d77d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff8da4787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff8da4787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff8da4787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff8da4787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff8da4787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff8da487e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff8da487e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff8da487e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff8da4cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff8da4cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff8da4cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff8da4cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff8da4cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff8bea1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff8bea1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff8bea1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff8bea1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff8d567ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff8d51fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff8d51fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff8d51fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff8d5a610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaad8a359f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaad8a394b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaad8a3aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaad8a31fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff84b1098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff84b10a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaad8a320b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/live-variables.cpp.script: line 1: 1826796 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/live-variables.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/live-variables.m (867 of 18953) ******************** TEST 'Clang :: Analysis/live-variables.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -fobjc-arc -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/live-variables.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -fobjc-arc -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/live-variables.m 1. parser at end of file 2. While analyzing stack: #0 Calling foo 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/live-variables.m:19:10: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/live-variables.m:19:10: Error evaluating statement #0 0x0000ffffa969acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa9699100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa969b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb25d1800 (linux-vdso.so.1+0x800) #4 0x0000ffffb18f3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb18f3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb18f3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb18f3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb18f3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb18f3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb18f3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb18f3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb15a0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb15a0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb15a0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb15a0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb15a1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb15a1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb15a1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb15a1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb15b4770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb15b4770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb15b4770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb15b5cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb15b5cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb15b5cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb15b5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb15b5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb15b5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb15c17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb15c17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb15c17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb15cb074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb15cb074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb15cb074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb152f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb152f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb152f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb152f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb1a1d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb1a1d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb1a1d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffb1542a0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffb1542a0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffb1542a0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffffb155ccac llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffffb155ccac llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffffb155ccac llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffffb155ccac clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffffb155ccac clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffffb155cf08 clang::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 0x0000ffffb155d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffb155d41c clang::ento::CoreEngine::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 0x0000ffffb155d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffb155d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffb155d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffb155d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffb155d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffb182787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffb182787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffb182787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffb182787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffb182787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffb18287e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffb18287e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffb18287e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffb182cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffb182cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffb182cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffb182cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffb182cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffafc81e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffafc81e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffafc81e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffafc81e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffb1347ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffb12ffc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffb12ffc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffb12ffc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffb138610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaad27d59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaad27d94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaad27daac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaad27d1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffa88f098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffa88f0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaad27d20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/live-variables.m.script: line 1: 1826797 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -fobjc-arc -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/live-variables.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/localization-aggressive.m (868 of 18953) ******************** TEST 'Clang :: Analysis/localization-aggressive.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -fblocks -x objective-c-header -emit-pch -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/localization-aggressive.m.tmp.pch /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Inputs/localization-pch.h : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -analyzer-config optin.osx.cocoa.localizability.NonLocalizedStringChecker:AggressiveReport=true -analyzer-checker=optin.osx.cocoa.localizability.NonLocalizedStringChecker -analyzer-checker=optin.osx.cocoa.localizability.EmptyLocalizationContextChecker -include-pch /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/localization-aggressive.m.tmp.pch -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/localization-aggressive.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -analyzer-config optin.osx.cocoa.localizability.NonLocalizedStringChecker:AggressiveReport=true -analyzer-checker=optin.osx.cocoa.localizability.NonLocalizedStringChecker -analyzer-checker=optin.osx.cocoa.localizability.EmptyLocalizationContextChecker -include-pch /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/localization-aggressive.m.tmp.pch -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/localization-aggressive.m 1. parser at end of file #0 0x0000ffffa3bdacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa3bd9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa3bdb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffacb1a800 (linux-vdso.so.1+0x800) #4 0x0000ffffabe33688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffabe33688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffabe33688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffabe33688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffabe33688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffabe33688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffabe33688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffabe33688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffabae0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffabae0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffabae0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffabae0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffabae1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffabae1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffabae1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffabae1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffabaf4770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffabaf4770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffabaf4770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffabaf5cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffabaf5cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffabaf5cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffabaf5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffabaf5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffabaf5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffabb017d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffabb017d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffabb017d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffabb0b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffabb0b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffabb0b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffaba6f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffaba6f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffaba6f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffaba6f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffaba6fbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffaba6fbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffaba6fbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffaba431c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffaba431c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffaba431c0 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffaba7fba8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffaba7fba8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffaba7fba8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffffaba9daa8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffaba9daa8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffaba9daa8 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffabd6787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffabd6787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffabd6787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffabd6787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffabd6787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffabd687e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffffabd687e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffabd687e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffabd6cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffabd6cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffabd6cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffabd6cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffabd6cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffaa1c1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffffaa1c1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffaa1c1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffffaa1c1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffab887ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffab83fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffab83fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffab83fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffab8c610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaae79259f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaae79294b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaae792aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaae7921fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffffa2e3098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffffa2e30a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaae79220b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/localization-aggressive.m.script: line 2: 1826808 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -analyzer-config optin.osx.cocoa.localizability.NonLocalizedStringChecker:AggressiveReport=true -analyzer-checker=optin.osx.cocoa.localizability.NonLocalizedStringChecker -analyzer-checker=optin.osx.cocoa.localizability.EmptyLocalizationContextChecker -include-pch /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/localization-aggressive.m.tmp.pch -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/localization-aggressive.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/localization.m (869 of 18953) ******************** TEST 'Clang :: Analysis/localization.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -analyzer-output=text -analyzer-checker=optin.osx.cocoa.localizability.NonLocalizedStringChecker -analyzer-checker=alpha.osx.cocoa.localizability.PluralMisuseChecker -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/localization.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -analyzer-output=text -analyzer-checker=optin.osx.cocoa.localizability.NonLocalizedStringChecker -analyzer-checker=alpha.osx.cocoa.localizability.PluralMisuseChecker -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/localization.m 1. parser at end of file #0 0x0000ffff87eeacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff87ee9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff87eeb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff90e29800 (linux-vdso.so.1+0x800) #4 0x0000ffff90143688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff90143688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff90143688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff90143688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff90143688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff90143688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff90143688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff90143688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8fdf0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8fdf0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8fdf0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8fdf0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8fdf1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8fdf1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8fdf1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8fdf1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff8fe04770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff8fe04770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff8fe04770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff8fe05cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff8fe05cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff8fe05cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff8fe05190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8fe05190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8fe05190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff8fe117d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff8fe117d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff8fe117d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8fe1b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8fe1b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8fe1b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8fd7f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8fd7f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8fd7f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8fd7f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff8fd7fbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8fd7fbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8fd7fbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff8fd531c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff8fd531c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff8fd531c0 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff8fd8fba8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff8fd8fba8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff8fd8fba8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffff8fdadaa8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff8fdadaa8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff8fdadaa8 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff9007787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff9007787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff9007787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff9007787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff9007787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff900787e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffff900787e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff900787e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff9007cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff9007cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff9007cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff9007cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff9007cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff8e4d1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffff8e4d1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff8e4d1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffff8e4d1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff8fb97ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff8fb4fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff8fb4fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff8fb4fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff8fbd610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaadcb059f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaadcb094b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaadcb0aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaadcb01fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff8714098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff87140a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaadcb020b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/localization.m.script: line 1: 1826819 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -analyzer-output=text -analyzer-checker=optin.osx.cocoa.localizability.NonLocalizedStringChecker -analyzer-checker=alpha.osx.cocoa.localizability.PluralMisuseChecker -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/localization.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/logical-ops.c (871 of 18953) ******************** TEST 'Clang :: Analysis/logical-ops.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/logical-ops.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/logical-ops.c 1. parser at end of file 2. While analyzing stack: #0 Calling ambiguous_backtrack_2 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/logical-ops.c:52:27: Error evaluating statement #0 0x0000ffff77ddacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff77dd9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff77ddb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff80d1b800 (linux-vdso.so.1+0x800) #4 0x0000ffff7fcdcd64 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff7fcdcd64 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff7fcdcd64 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff7fcdcd64 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffff7fcdcd64 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffff7fcdcd64 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffff7fc880bc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffff7fc880bc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffff7fc880bc clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffff7fc9ce94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffff7fc9ce94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffff7fc9ce94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffff7fc9ce94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffff7fc9ce94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffff7fc9ce94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffff7fc9ce94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffff7fc9ce94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffff7fc9ce94 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffff7fc9d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff7fc9d310 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffff7fc9d5dc clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffff7fc9d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffff7fc9d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffff7fc9d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffff7fc9d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffff7fc9d764 clang::ento::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 0x0000ffff7ff6787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff7ff6787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff7ff6787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffff7ff6787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffff7ff6787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffff7ff687e8 llvm::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 0x0000ffff7ff687e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffff7ff687e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffff7ff6cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffff7ff6cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffff7ff6cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffff7ff6cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffff7ff6cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffff7e3c1e58 __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 0x0000ffff7e3c1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffff7e3c1e58 void clang::finalize>, 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 0x0000ffff7e3c1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffff7fa87ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffff7fa3fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffff7fa3fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffff7fa3fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffff7fac610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaac79c59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaac79c94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaac79caac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaac79c1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffff7703098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffff77030a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaac79c20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/logical-ops.c.script: line 1: 1826829 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/logical-ops.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/loop-unrolling.cpp (873 of 18953) ******************** TEST 'Clang :: Analysis/loop-unrolling.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config unroll-loops=true,cfg-loopexit=true -verify -std=c++14 -analyzer-config exploration_strategy=unexplored_first_queue /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/loop-unrolling.cpp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config unroll-loops=true,cfg-loopexit=true,exploration_strategy=dfs -verify -std=c++14 -DDFS=1 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/loop-unrolling.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config unroll-loops=true,cfg-loopexit=true -verify -std=c++14 -analyzer-config exploration_strategy=unexplored_first_queue /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/loop-unrolling.cpp 1. parser at end of file #0 0x0000ffff9583acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff95839100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9583b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9e771800 (linux-vdso.so.1+0x800) #4 0x0000ffff9da93688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9da93688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9da93688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9da93688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9da93688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9da93688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff9da93688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff9da93688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9d740c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9d740c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9d740c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9d740c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9d741ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9d741ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9d741ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9d741ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff9d754770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff9d754770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff9d754770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff9d755cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff9d755cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff9d755cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff9d755190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff9d755190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff9d755190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff9d7617d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff9d7617d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff9d7617d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9d76b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9d76b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9d76b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9d6cf72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9d6cf72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9d6cf72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9d6cf72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9d6cfbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9d6cfbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9d6cfbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff9d6a31c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff9d6a31c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff9d6a31c0 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff9d6dfb5c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff9d6dfb5c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff9d6dfb5c clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:42 #48 0x0000ffff9d6fdaa8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff9d6fdaa8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff9d6fdaa8 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff9d9c787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff9d9c787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff9d9c787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff9d9c787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff9d9c787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff9d9c87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffff9d9c87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff9d9c87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff9d9ccde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff9d9ccde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff9d9ccde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff9d9ccde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff9d9ccde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff9be21e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffff9be21e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff9be21e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffff9be21e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff9d4e7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff9d49fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff9d49fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff9d49fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff9d52610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaabc7759f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaabc7794b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaabc77aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaabc771fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff94a9098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff94a90a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaabc7720b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/loop-unrolling.cpp.script: line 2: 1826838 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config unroll-loops=true,cfg-loopexit=true -verify -std=c++14 -analyzer-config exploration_strategy=unexplored_first_queue /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/loop-unrolling.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/loop-widening-notes.cpp (874 of 18953) ******************** TEST 'Clang :: Analysis/loop-widening-notes.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -analyzer-max-loop 2 -analyzer-config widen-loops=true -analyzer-output=text -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/loop-widening-notes.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -analyzer-max-loop 2 -analyzer-config widen-loops=true -analyzer-output=text -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/loop-widening-notes.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling test_for_loop() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/loop-widening-notes.cpp:62:8: Error evaluating New Allocator Call #0 0x0000ffff91ccacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff91cc9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff91ccb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9ac04800 (linux-vdso.so.1+0x800) #4 0x0000ffff99f23688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff99f23688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff99f23688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff99f23688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff99f23688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff99f23688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff99f23688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff99f23688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff99bd0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff99bd0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff99bd0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff99bd0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff99bd1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff99bd1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff99bd1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff99bd1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff99be4770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff99be4770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff99be4770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff99be5cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff99be5cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff99be5cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff99be5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff99be5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff99be5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff99bf17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff99bf17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff99bf17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff99bfb074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff99bfb074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff99bfb074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff99b5f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff99b5f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff99b5f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff99b5f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff99b5fbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff99b5fbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff99b5fbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff99b89b98 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #43 0x0000ffff99b89b98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #44 0x0000ffff99b89b98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffff99b89b98 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #46 0x0000ffff99b89b98 clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #47 0x0000ffff99b89fac llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #48 0x0000ffff99b89fac llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #49 0x0000ffff99b89fac clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #50 0x0000ffff99b89fac clang::ento::CoreEngine::enqueue(clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:613:23 #51 0x0000ffff99b89fac clang::ento::ExprEngine::ProcessNewAllocator(clang::CXXNewExpr const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1326:0 #52 0x0000ffff99b8d22c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:984:0 #53 0x0000ffff99b8d310 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #54 0x0000ffff99b8d5dc clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #55 0x0000ffff99b8d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #56 0x0000ffff99b8d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #57 0x0000ffff99b8d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #58 0x0000ffff99b8d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #59 0x0000ffff99b8d764 clang::ento::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 0x0000ffff99e5787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #61 0x0000ffff99e5787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #62 0x0000ffff99e5787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #63 0x0000ffff99e5787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #64 0x0000ffff99e5787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #65 0x0000ffff99e587e8 llvm::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 0x0000ffff99e587e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #67 0x0000ffff99e587e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #68 0x0000ffff99e5cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #69 0x0000ffff99e5cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #70 0x0000ffff99e5cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #71 0x0000ffff99e5cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #72 0x0000ffff99e5cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #73 0x0000ffff982b1e58 __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 0x0000ffff982b1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #75 0x0000ffff982b1e58 void clang::finalize>, 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 0x0000ffff982b1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #77 0x0000ffff99977ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #78 0x0000ffff9992fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #79 0x0000ffff9992fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #80 0x0000ffff9992fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #81 0x0000ffff999b610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #82 0x0000aaaae1f459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #83 0x0000aaaae1f494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #84 0x0000aaaae1f4aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #85 0x0000aaaae1f41fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #86 0x0000ffff90f2098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #87 0x0000ffff90f20a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #88 0x0000aaaae1f420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/loop-widening-notes.cpp.script: line 1: 1826849 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -analyzer-max-loop 2 -analyzer-config widen-loops=true -analyzer-output=text -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/loop-widening-notes.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/loop-widening-preserve-reference-type.cpp (875 of 18953) ******************** TEST 'Clang :: Analysis/loop-widening-preserve-reference-type.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-max-loop 4 -analyzer-config widen-loops=true -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/loop-widening-preserve-reference-type.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-max-loop 4 -analyzer-config widen-loops=true -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/loop-widening-preserve-reference-type.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling invalid_type_alias_region_access() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/loop-widening-preserve-reference-type.cpp:18:10: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/loop-widening-preserve-reference-type.cpp:18:10: Error evaluating statement #0 0x0000ffffad91acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffad919100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffad91b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb6857800 (linux-vdso.so.1+0x800) #4 0x0000ffffb57c8434 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb57c8434 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb57c8434 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb57c8434 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb57c8434 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb57c8434 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb57c8434 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:0 #11 0x0000ffffb57c8434 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 0x0000ffffb5ca82e0 std::_Optional_base_impl>::_M_is_engaged() const /usr/include/c++/12/optional:471:0 #13 0x0000ffffb5ca82e0 std::optional::operator bool() const /usr/include/c++/12/optional:985:0 #14 0x0000ffffb5ca82e0 clang::ento::ExprEngine::VisitCXXBindTemporaryExpr(clang::CXXBindTemporaryExpr const*, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&) (.part.0.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1666:0 #15 0x0000ffffb57dc52c clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #16 0x0000ffffb57dc52c clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #17 0x0000ffffb57dc52c clang::ento::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 0x0000ffffb57dcf08 clang::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 0x0000ffffb57dd1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffb57dd41c clang::ento::CoreEngine::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 0x0000ffffb57dd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #22 0x0000ffffb57dd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #23 0x0000ffffb57dd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #24 0x0000ffffb57dd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #25 0x0000ffffb57dd764 clang::ento::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 0x0000ffffb5aa787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb5aa787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb5aa787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #29 0x0000ffffb5aa787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #30 0x0000ffffb5aa787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #31 0x0000ffffb5aa87e8 llvm::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 0x0000ffffb5aa87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #33 0x0000ffffb5aa87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #34 0x0000ffffb5aacde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #35 0x0000ffffb5aacde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #36 0x0000ffffb5aacde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #37 0x0000ffffb5aacde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #38 0x0000ffffb5aacde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #39 0x0000ffffb3f01e58 __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 0x0000ffffb3f01e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #41 0x0000ffffb3f01e58 void clang::finalize>, 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 0x0000ffffb3f01e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #43 0x0000ffffb55c7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #44 0x0000ffffb557fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #45 0x0000ffffb557fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #46 0x0000ffffb557fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #47 0x0000ffffb560610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #48 0x0000aaaadb0d59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #49 0x0000aaaadb0d94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #50 0x0000aaaadb0daac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #51 0x0000aaaadb0d1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #52 0x0000ffffacb7098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #53 0x0000ffffacb70a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #54 0x0000aaaadb0d20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/loop-widening-preserve-reference-type.cpp.script: line 1: 1826857 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-max-loop 4 -analyzer-config widen-loops=true -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/loop-widening-preserve-reference-type.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/loop-widening.cpp (876 of 18953) ******************** TEST 'Clang :: Analysis/loop-widening.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/loop-widening.cpp -analyzer-checker=core -analyzer-config widen-loops=true -analyzer-config track-conditions=false -analyzer-max-loop 2 -analyzer-output=text -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/loop-widening.cpp -analyzer-checker=core -analyzer-config widen-loops=true -analyzer-config track-conditions=false -analyzer-max-loop 2 -analyzer-output=text 1. parser at end of file #0 0x0000ffff8ad6acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8ad69100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8ad6b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff93ca4800 (linux-vdso.so.1+0x800) #4 0x0000ffff92c1cc54 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff92c1cc54 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff92c1cc54 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff92c1cc54 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff92c1cc54 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff92c1cc54 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff92c1cc54 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff92c1cc54 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 0x0000ffff92c1d578 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 0x0000ffff92c2d5a4 clang::ento::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 0x0000ffff92c2d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #15 0x0000ffff92c2d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #16 0x0000ffff92c2d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #17 0x0000ffff92c2d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #18 0x0000ffff92c2d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #19 0x0000ffff92ef787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffff92ef787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffff92ef787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #22 0x0000ffff92ef787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #23 0x0000ffff92ef787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #24 0x0000ffff92ef87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #25 0x0000ffff92ef87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #26 0x0000ffff92ef87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #27 0x0000ffff92efcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #28 0x0000ffff92efcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #29 0x0000ffff92efcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #30 0x0000ffff92efcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #31 0x0000ffff92efcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #32 0x0000ffff91351e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #33 0x0000ffff91351e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #34 0x0000ffff91351e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #35 0x0000ffff91351e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #36 0x0000ffff92a17ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #37 0x0000ffff929cfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #38 0x0000ffff929cfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #39 0x0000ffff929cfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #40 0x0000ffff92a5610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #41 0x0000aaaab31f59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #42 0x0000aaaab31f94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #43 0x0000aaaab31faac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #44 0x0000aaaab31f1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #45 0x0000ffff89fc098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #46 0x0000ffff89fc0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #47 0x0000aaaab31f20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/loop-widening.cpp.script: line 1: 1826870 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/loop-widening.cpp -analyzer-checker=core -analyzer-config widen-loops=true -analyzer-config track-conditions=false -analyzer-max-loop 2 -analyzer-output=text -- ******************** Testing: 0 FAIL: Clang :: Analysis/loop-widening.c (878 of 18953) ******************** TEST 'Clang :: Analysis/loop-widening.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-max-loop 4 -analyzer-config widen-loops=true -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/loop-widening.c : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -DTEST_NULL_TERM -analyzer-checker=core,unix.Malloc,debug.ExprInspection,alpha.cplusplus.IteratorRange -analyzer-max-loop 4 -analyzer-config widen-loops=true -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/loop-widening.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-max-loop 4 -analyzer-config widen-loops=true -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/loop-widening.c 1. parser at end of file 2. While analyzing stack: #0 Calling nested_loop_inner_widen 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/loop-widening.c:188:5: Error evaluating statement #0 0x0000ffffb114acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb1149100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb114b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffba080800 (linux-vdso.so.1+0x800) #4 0x0000ffffb904cd64 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb904cd64 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb904cd64 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb904cd64 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffffb904cd64 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffffb904cd64 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffffb8ff80bc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffffb8ff80bc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffffb8ff80bc clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffffb900ce94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffffb900ce94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffffb900ce94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffffb900ce94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffffb900ce94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffffb900ce94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffffb900ce94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffffb900ce94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffffb900ce94 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffffb900d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffb900d310 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffffb900d5dc clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffffb900d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffffb900d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffffb900d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffffb900d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffffb900d764 clang::ento::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 0x0000ffffb92d787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffffb92d787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffffb92d787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffffb92d787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffffb92d787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffffb92d87e8 llvm::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 0x0000ffffb92d87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffffb92d87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffffb92dcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffffb92dcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffffb92dcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffffb92dcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffffb92dcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffffb7731e58 __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 0x0000ffffb7731e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffffb7731e58 void clang::finalize>, 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 0x0000ffffb7731e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffffb8df7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffffb8dafc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffffb8dafc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffffb8dafc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffffb8e3610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaac12959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaac12994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaac129aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaac1291fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffffb03a098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffffb03a0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaac12920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/loop-widening.c.script: line 2: 1826865 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-max-loop 4 -analyzer-config widen-loops=true -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/loop-widening.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/main.cpp (879 of 18953) ******************** TEST 'Clang :: Analysis/main.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/main.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/main.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling main() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/main.cpp:15:23: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/main.cpp:15:23: Error evaluating statement #0 0x0000ffffb54cacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb54c9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb54cb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffbe40f800 (linux-vdso.so.1+0x800) #4 0x0000ffffbd723688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffbd723688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffbd723688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffbd723688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffbd723688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffbd723688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffbd723688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffbd723688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffbd3d0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffbd3d0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffbd3d0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffbd3d0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffbd3d1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffbd3d1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffbd3d1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffbd3d1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffbd3e4770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffbd3e4770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffbd3e4770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffbd3e5cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffbd3e5cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffbd3e5cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffbd3e5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffbd3e5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffbd3e5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffbd3f17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffbd3f17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffbd3f17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffbd3fb074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffbd3fb074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffbd3fb074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffbd35f6d8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffbd35f6d8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffbd35f6d8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffbd35f6d8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffbd84d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffbd84d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffbd84d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffbd372a0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffbd372a0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffbd372a0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffffbd38ccac llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffffbd38ccac llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffffbd38ccac llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffffbd38ccac clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffffbd38ccac clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffffbd38cf08 clang::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 0x0000ffffbd38d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffbd38d41c clang::ento::CoreEngine::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 0x0000ffffbd38d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffbd38d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffbd38d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffbd38d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffbd38d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffbd65787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffbd65787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffbd65787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffbd65787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffbd65787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffbd6587e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffbd6587e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffbd6587e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffbd65cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffbd65cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffbd65cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffbd65cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffbd65cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffbbab1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffbbab1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffbbab1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffbbab1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffbd177ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffbd12fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffbd12fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffbd12fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffbd1b610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaad36a59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaad36a94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaad36aaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaad36a1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffb472098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffb4720a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaad36a20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/main.cpp.script: line 1: 1826901 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/main.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/malloc-annotations.c (880 of 18953) ******************** TEST 'Clang :: Analysis/malloc-annotations.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify -analyzer-checker=core -analyzer-checker=alpha.deadcode.UnreachableCode -analyzer-checker=alpha.core.CastSize -analyzer-checker=unix.Malloc -analyzer-config unix.DynamicMemoryModeling:Optimistic=true /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-annotations.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify -analyzer-checker=core -analyzer-checker=alpha.deadcode.UnreachableCode -analyzer-checker=alpha.core.CastSize -analyzer-checker=unix.Malloc -analyzer-config unix.DynamicMemoryModeling:Optimistic=true /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-annotations.c 1. parser at end of file 2. While analyzing stack: #0 Calling testMultipleFreeAnnotations 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-annotations.c:271:12: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-annotations.c:271:12: Error evaluating statement #0 0x0000ffff7ee3acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7ee39100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7ee3b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff87d79800 (linux-vdso.so.1+0x800) #4 0x0000ffff87079f20 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff87079f20 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff87079f20 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff87079f20 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff87079f20 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff87079f20 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff87079f20 get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff87079f20 (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 0x0000ffff86e883d0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x0000ffff86e883d0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x0000ffff86e883d0 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 0x0000ffff86c9c2f8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #16 0x0000ffff86c9c2f8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #17 0x0000ffff86c9c2f8 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool)>::operator()(llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:0 #18 0x0000ffff86c9c2f8 clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:0 #19 0x0000ffff86d61844 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffff86d61844 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffff86d61844 clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:78 #22 0x0000ffff86d61844 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:53 #23 0x0000ffff86d6b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x0000ffff86d6b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x0000ffff86d6b074 clang::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 0x0000ffff86ccf818 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff86ccf818 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff86ccf818 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #29 0x0000ffff86ccf818 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:68:21 #30 0x0000ffff871bd3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff871bd3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff871bd3d4 clang::ento::ProgramState::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 0x0000ffff86e944b0 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x0000ffff86e944b0 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x0000ffff86e944b0 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x0000ffff86e944b0 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x0000ffff86e944b0 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x0000ffff86e944b0 (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 0x0000ffff86e94900 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #40 0x0000ffff86e94900 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #41 0x0000ffff86e94900 (anonymous namespace)::MallocChecker::checkBasicAlloc(clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1217:0 #42 0x0000ffff86ea0e00 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #43 0x0000ffff86ea0e00 void clang::ento::check::PostCall::_checkCall<(anonymous namespace)::MallocChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:183:0 #44 0x0000ffff86cb9524 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #45 0x0000ffff86cb9524 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x0000ffff86cb9524 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #47 0x0000ffff86cb9524 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #48 0x0000ffff86cb9524 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #49 0x0000ffff86d198b8 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #50 0x0000ffff86d198b8 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #51 0x0000ffff86d198b8 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #52 0x0000ffff86d198b8 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #53 0x0000ffff86d198b8 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #54 0x0000ffff86d198b8 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #55 0x0000ffff86d1a144 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #56 0x0000ffff86cfbea0 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #57 0x0000ffff86cfbea0 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #58 0x0000ffff86cfcf08 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #59 0x0000ffff86cfd1f0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #60 0x0000ffff86cfd41c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #61 0x0000ffff86cfd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #62 0x0000ffff86cfd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #63 0x0000ffff86cfd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #64 0x0000ffff86cfd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #65 0x0000ffff86cfd764 clang::ento::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 0x0000ffff86fc787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #67 0x0000ffff86fc787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #68 0x0000ffff86fc787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #69 0x0000ffff86fc787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #70 0x0000ffff86fc787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #71 0x0000ffff86fc87e8 llvm::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 0x0000ffff86fc87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #73 0x0000ffff86fc87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #74 0x0000ffff86fccde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #75 0x0000ffff86fccde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #76 0x0000ffff86fccde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #77 0x0000ffff86fccde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #78 0x0000ffff86fccde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #79 0x0000ffff85421e58 __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 0x0000ffff85421e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #81 0x0000ffff85421e58 void clang::finalize>, 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 0x0000ffff85421e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #83 0x0000ffff86ae7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #84 0x0000ffff86a9fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #85 0x0000ffff86a9fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #86 0x0000ffff86a9fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #87 0x0000ffff86b2610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #88 0x0000aaaacb6859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #89 0x0000aaaacb6894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #90 0x0000aaaacb68aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #91 0x0000aaaacb681fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #92 0x0000ffff7e09098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #93 0x0000ffff7e090a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #94 0x0000aaaacb6820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/malloc-annotations.c.script: line 1: 1826904 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify -analyzer-checker=core -analyzer-checker=alpha.deadcode.UnreachableCode -analyzer-checker=alpha.core.CastSize -analyzer-checker=unix.Malloc -analyzer-config unix.DynamicMemoryModeling:Optimistic=true /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-annotations.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/main.c (881 of 18953) ******************** TEST 'Clang :: Analysis/main.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/main.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/main.c 1. parser at end of file 2. While analyzing stack: #0 Calling foo 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/main.c:26:23: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/main.c:26:23: Error evaluating statement #0 0x0000ffff9346acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff93469100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9346b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9c3a5800 (linux-vdso.so.1+0x800) #4 0x0000ffff9b6c3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9b6c3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9b6c3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9b6c3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9b6c3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9b6c3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff9b6c3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff9b6c3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9b370c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9b370c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9b370c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9b370c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9b371ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9b371ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9b371ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9b371ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff9b384770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff9b384770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff9b384770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff9b385cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff9b385cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff9b385cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff9b385190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff9b385190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff9b385190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff9b3917d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff9b3917d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff9b3917d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9b39b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9b39b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9b39b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9b2ff6d8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9b2ff6d8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9b2ff6d8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9b2ff6d8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff9b7ed3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9b7ed3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9b7ed3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff9b312a0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff9b312a0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff9b312a0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffff9b32ccac llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffff9b32ccac llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffff9b32ccac llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffff9b32ccac clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffff9b32ccac clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffff9b32cf08 clang::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 0x0000ffff9b32d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff9b32d41c clang::ento::CoreEngine::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 0x0000ffff9b32d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff9b32d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff9b32d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff9b32d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff9b32d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff9b5f787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff9b5f787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff9b5f787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff9b5f787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff9b5f787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff9b5f87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff9b5f87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff9b5f87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff9b5fcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff9b5fcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff9b5fcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff9b5fcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff9b5fcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff99a51e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff99a51e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff99a51e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff99a51e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff9b117ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff9b0cfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff9b0cfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff9b0cfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff9b15610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaae08d59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaae08d94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaae08daac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaae08d1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff926c098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff926c0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaae08d20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/main.c.script: line 1: 1826902 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/main.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/malloc-annotations.cpp (884 of 18953) ******************** TEST 'Clang :: Analysis/malloc-annotations.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify -analyzer-checker=core -analyzer-checker=alpha.deadcode.UnreachableCode -analyzer-checker=alpha.core.CastSize -analyzer-checker=unix.Malloc -analyzer-config unix.DynamicMemoryModeling:Optimistic=true /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-annotations.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify -analyzer-checker=core -analyzer-checker=alpha.deadcode.UnreachableCode -analyzer-checker=alpha.core.CastSize -analyzer-checker=unix.Malloc -analyzer-config unix.DynamicMemoryModeling:Optimistic=true /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-annotations.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling af5(MemoryAllocator &) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-annotations.cpp:95:3: Error evaluating statement #0 0x0000ffffb223acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb2239100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb223b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffbb173800 (linux-vdso.so.1+0x800) #4 0x0000ffffba29a8c0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffba29a8c0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffba29a8c0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffba29a8c0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffba29a8c0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffba29a8c0 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffba29a8c0 get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffba29a8c0 (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 0x0000ffffba0cd814 void expandGraphWithCheckers<(anonymous namespace)::CheckDeadSymbolsContext>((anonymous namespace)::CheckDeadSymbolsContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #13 0x0000ffffba0e7fe8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x0000ffffba0e7fe8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x0000ffffba0e7fe8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #16 0x0000ffffba0e7fe8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #17 0x0000ffffba0e7fe8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #18 0x0000ffffba0e7fe8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #19 0x0000ffffba0e7fe8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1080:48 #20 0x0000ffffba0fce94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #21 0x0000ffffba0fce94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #22 0x0000ffffba0fce94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #23 0x0000ffffba0fce94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #24 0x0000ffffba0fce94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #25 0x0000ffffba0fce94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #26 0x0000ffffba0fce94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #27 0x0000ffffba0fce94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #28 0x0000ffffba0fce94 clang::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 0x0000ffffba0fd1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffba0fd41c clang::ento::CoreEngine::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 0x0000ffffba0fd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #32 0x0000ffffba0fd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #33 0x0000ffffba0fd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #34 0x0000ffffba0fd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #35 0x0000ffffba0fd764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #36 0x0000ffffba3c787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffffba3c787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffffba3c787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #39 0x0000ffffba3c787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #40 0x0000ffffba3c787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #41 0x0000ffffba3c87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #42 0x0000ffffba3c87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #43 0x0000ffffba3c87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #44 0x0000ffffba3ccde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #45 0x0000ffffba3ccde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #46 0x0000ffffba3ccde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #47 0x0000ffffba3ccde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #48 0x0000ffffba3ccde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #49 0x0000ffffb8821e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #50 0x0000ffffb8821e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #51 0x0000ffffb8821e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #52 0x0000ffffb8821e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #53 0x0000ffffb9ee7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #54 0x0000ffffb9e9fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #55 0x0000ffffb9e9fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #56 0x0000ffffb9e9fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #57 0x0000ffffb9f2610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #58 0x0000aaaadbef59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #59 0x0000aaaadbef94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #60 0x0000aaaadbefaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #61 0x0000aaaadbef1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #62 0x0000ffffb149098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #63 0x0000ffffb1490a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #64 0x0000aaaadbef20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/malloc-annotations.cpp.script: line 1: 1826916 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify -analyzer-checker=core -analyzer-checker=alpha.deadcode.UnreachableCode -analyzer-checker=alpha.core.CastSize -analyzer-checker=unix.Malloc -analyzer-config unix.DynamicMemoryModeling:Optimistic=true /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-annotations.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/malloc-bodyfarms.cpp (888 of 18953) ******************** TEST 'Clang :: Analysis/malloc-bodyfarms.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -analyzer-checker core,unix -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-bodyfarms.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -analyzer-checker core,unix -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-bodyfarms.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling test_no_state_change_in_body_farm_2() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-bodyfarms.cpp:24:13: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-bodyfarms.cpp:24:13: Error evaluating statement #0 0x0000ffff777dacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff777d9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff777db388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff80711800 (linux-vdso.so.1+0x800) #4 0x0000ffff7fa19f20 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff7fa19f20 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff7fa19f20 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff7fa19f20 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff7fa19f20 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff7fa19f20 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff7fa19f20 get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff7fa19f20 (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 0x0000ffff7f8283d0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x0000ffff7f8283d0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x0000ffff7f8283d0 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 0x0000ffff7f63c2f8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #16 0x0000ffff7f63c2f8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #17 0x0000ffff7f63c2f8 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool)>::operator()(llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:0 #18 0x0000ffff7f63c2f8 clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:0 #19 0x0000ffff7f701844 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffff7f701844 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffff7f701844 clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:78 #22 0x0000ffff7f701844 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:53 #23 0x0000ffff7f70b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x0000ffff7f70b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x0000ffff7f70b074 clang::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 0x0000ffff7f66f818 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff7f66f818 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff7f66f818 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #29 0x0000ffff7f66f818 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:68:21 #30 0x0000ffff7fb5d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff7fb5d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff7fb5d3d4 clang::ento::ProgramState::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 0x0000ffff7f8344b0 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x0000ffff7f8344b0 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x0000ffff7f8344b0 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x0000ffff7f8344b0 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x0000ffff7f8344b0 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x0000ffff7f8344b0 (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 0x0000ffff7f834900 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #40 0x0000ffff7f834900 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #41 0x0000ffff7f834900 (anonymous namespace)::MallocChecker::checkBasicAlloc(clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1217:0 #42 0x0000ffff7f840e00 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #43 0x0000ffff7f840e00 void clang::ento::check::PostCall::_checkCall<(anonymous namespace)::MallocChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:183:0 #44 0x0000ffff7f659524 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #45 0x0000ffff7f659524 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x0000ffff7f659524 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #47 0x0000ffff7f659524 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #48 0x0000ffff7f659524 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #49 0x0000ffff7f6b98b8 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #50 0x0000ffff7f6b98b8 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #51 0x0000ffff7f6b98b8 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #52 0x0000ffff7f6b98b8 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #53 0x0000ffff7f6b98b8 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #54 0x0000ffff7f6b98b8 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #55 0x0000ffff7f6ba144 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #56 0x0000ffff7f69bea0 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #57 0x0000ffff7f69bea0 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #58 0x0000ffff7f69cf08 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #59 0x0000ffff7f69d1f0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #60 0x0000ffff7f69d41c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #61 0x0000ffff7f69d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #62 0x0000ffff7f69d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #63 0x0000ffff7f69d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #64 0x0000ffff7f69d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #65 0x0000ffff7f69d764 clang::ento::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 0x0000ffff7f96787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #67 0x0000ffff7f96787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #68 0x0000ffff7f96787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #69 0x0000ffff7f96787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #70 0x0000ffff7f96787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #71 0x0000ffff7f9687e8 llvm::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 0x0000ffff7f9687e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #73 0x0000ffff7f9687e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #74 0x0000ffff7f96cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #75 0x0000ffff7f96cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #76 0x0000ffff7f96cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #77 0x0000ffff7f96cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #78 0x0000ffff7f96cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #79 0x0000ffff7ddc1e58 __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 0x0000ffff7ddc1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #81 0x0000ffff7ddc1e58 void clang::finalize>, 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 0x0000ffff7ddc1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #83 0x0000ffff7f487ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #84 0x0000ffff7f43fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #85 0x0000ffff7f43fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #86 0x0000ffff7f43fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #87 0x0000ffff7f4c610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #88 0x0000aaaac72e59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #89 0x0000aaaac72e94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #90 0x0000aaaac72eaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #91 0x0000aaaac72e1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #92 0x0000ffff76a3098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #93 0x0000ffff76a30a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #94 0x0000aaaac72e20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/malloc-bodyfarms.cpp.script: line 1: 1826937 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -analyzer-checker core,unix -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-bodyfarms.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/malloc-free-after-return.cpp (889 of 18953) ******************** TEST 'Clang :: Analysis/malloc-free-after-return.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=cplusplus.NewDelete -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-free-after-return.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=cplusplus.NewDelete -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-free-after-return.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling S::S() at line 19 #1 Calling freeAfterReturnLocal() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-free-after-return.cpp:6:14: Error evaluating New Allocator Call #0 0x0000ffffaea2acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffaea29100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffaea2b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb796c800 (linux-vdso.so.1+0x800) #4 0x0000ffffb6c83688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb6c83688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb6c83688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb6c83688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb6c83688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb6c83688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb6c83688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb6c83688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb6930c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb6930c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb6930c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb6930c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb6931ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb6931ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb6931ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb6931ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb6944770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb6944770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb6944770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb6945cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb6945cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb6945cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb6945190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb6945190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb6945190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb69517d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb69517d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb69517d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb695b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb695b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb695b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb68bf72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb68bf72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb68bf72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb68bf72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb68bfbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb68bfbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb68bfbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffb68e9b98 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #43 0x0000ffffb68e9b98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #44 0x0000ffffb68e9b98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffffb68e9b98 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #46 0x0000ffffb68e9b98 clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #47 0x0000ffffb68e9fac llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #48 0x0000ffffb68e9fac llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #49 0x0000ffffb68e9fac clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #50 0x0000ffffb68e9fac clang::ento::CoreEngine::enqueue(clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:613:23 #51 0x0000ffffb68e9fac clang::ento::ExprEngine::ProcessNewAllocator(clang::CXXNewExpr const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1326:0 #52 0x0000ffffb68ed22c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:984:0 #53 0x0000ffffb68ed310 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #54 0x0000ffffb68ed5dc clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #55 0x0000ffffb68ed764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #56 0x0000ffffb68ed764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #57 0x0000ffffb68ed764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #58 0x0000ffffb68ed764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #59 0x0000ffffb68ed764 clang::ento::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 0x0000ffffb6bb787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #61 0x0000ffffb6bb787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #62 0x0000ffffb6bb787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #63 0x0000ffffb6bb787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #64 0x0000ffffb6bb787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #65 0x0000ffffb6bb87e8 llvm::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 0x0000ffffb6bb87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #67 0x0000ffffb6bb87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #68 0x0000ffffb6bbcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #69 0x0000ffffb6bbcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #70 0x0000ffffb6bbcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #71 0x0000ffffb6bbcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #72 0x0000ffffb6bbcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #73 0x0000ffffb5011e58 __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 0x0000ffffb5011e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #75 0x0000ffffb5011e58 void clang::finalize>, 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 0x0000ffffb5011e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #77 0x0000ffffb66d7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #78 0x0000ffffb668fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #79 0x0000ffffb668fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #80 0x0000ffffb668fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #81 0x0000ffffb671610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #82 0x0000aaaabdc459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #83 0x0000aaaabdc494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #84 0x0000aaaabdc4aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #85 0x0000aaaabdc41fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #86 0x0000ffffadc8098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #87 0x0000ffffadc80a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #88 0x0000aaaabdc420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/malloc-free-after-return.cpp.script: line 1: 1826954 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=cplusplus.NewDelete -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-free-after-return.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/malloc-bodyfarms.c (890 of 18953) ******************** TEST 'Clang :: Analysis/malloc-bodyfarms.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -analyzer-checker core,unix -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-bodyfarms.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -analyzer-checker core,unix -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-bodyfarms.c 1. parser at end of file 2. While analyzing stack: #0 Calling test_no_state_change_in_body_farm_2 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-bodyfarms.c:16:13: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-bodyfarms.c:16:13: Error evaluating statement #0 0x0000ffff990eacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff990e9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff990eb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa2029800 (linux-vdso.so.1+0x800) #4 0x0000ffffa1329f20 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa1329f20 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa1329f20 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa1329f20 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa1329f20 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa1329f20 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa1329f20 get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa1329f20 (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 0x0000ffffa11383d0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x0000ffffa11383d0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x0000ffffa11383d0 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 0x0000ffffa0f4c2f8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #16 0x0000ffffa0f4c2f8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #17 0x0000ffffa0f4c2f8 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool)>::operator()(llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:0 #18 0x0000ffffa0f4c2f8 clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:0 #19 0x0000ffffa1011844 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffffa1011844 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffffa1011844 clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:78 #22 0x0000ffffa1011844 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:53 #23 0x0000ffffa101b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x0000ffffa101b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x0000ffffa101b074 clang::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 0x0000ffffa0f7f818 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa0f7f818 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa0f7f818 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #29 0x0000ffffa0f7f818 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:68:21 #30 0x0000ffffa146d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffffa146d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffffa146d3d4 clang::ento::ProgramState::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 0x0000ffffa11444b0 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x0000ffffa11444b0 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x0000ffffa11444b0 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x0000ffffa11444b0 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x0000ffffa11444b0 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x0000ffffa11444b0 (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 0x0000ffffa1145288 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #40 0x0000ffffa1145288 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #41 0x0000ffffa1145288 (anonymous namespace)::MallocChecker::checkCalloc(clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1282:0 #42 0x0000ffffa1150e00 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #43 0x0000ffffa1150e00 void clang::ento::check::PostCall::_checkCall<(anonymous namespace)::MallocChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:183:0 #44 0x0000ffffa0f69524 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #45 0x0000ffffa0f69524 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x0000ffffa0f69524 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #47 0x0000ffffa0f69524 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #48 0x0000ffffa0f69524 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #49 0x0000ffffa0fc98b8 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #50 0x0000ffffa0fc98b8 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #51 0x0000ffffa0fc98b8 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #52 0x0000ffffa0fc98b8 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #53 0x0000ffffa0fc98b8 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #54 0x0000ffffa0fc98b8 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #55 0x0000ffffa0fca144 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #56 0x0000ffffa0fabea0 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #57 0x0000ffffa0fabea0 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #58 0x0000ffffa0facf08 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #59 0x0000ffffa0fad1f0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #60 0x0000ffffa0fad41c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #61 0x0000ffffa0fad764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #62 0x0000ffffa0fad764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #63 0x0000ffffa0fad764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #64 0x0000ffffa0fad764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #65 0x0000ffffa0fad764 clang::ento::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 0x0000ffffa127787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #67 0x0000ffffa127787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #68 0x0000ffffa127787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #69 0x0000ffffa127787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #70 0x0000ffffa127787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #71 0x0000ffffa12787e8 llvm::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 0x0000ffffa12787e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #73 0x0000ffffa12787e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #74 0x0000ffffa127cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #75 0x0000ffffa127cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #76 0x0000ffffa127cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #77 0x0000ffffa127cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #78 0x0000ffffa127cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #79 0x0000ffff9f6d1e58 __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 0x0000ffff9f6d1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #81 0x0000ffff9f6d1e58 void clang::finalize>, 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 0x0000ffff9f6d1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #83 0x0000ffffa0d97ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #84 0x0000ffffa0d4fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #85 0x0000ffffa0d4fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #86 0x0000ffffa0d4fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #87 0x0000ffffa0dd610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #88 0x0000aaaabdc759f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #89 0x0000aaaabdc794b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #90 0x0000aaaabdc7aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #91 0x0000aaaabdc71fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #92 0x0000ffff9834098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #93 0x0000ffff98340a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #94 0x0000aaaabdc720b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/malloc-bodyfarms.c.script: line 1: 1826932 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -analyzer-checker core,unix -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-bodyfarms.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/malloc-fnptr-plist.c (891 of 18953) ******************** TEST 'Clang :: Analysis/malloc-fnptr-plist.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker core,unix.Malloc -analyzer-output=plist -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/malloc-fnptr-plist.c.tmp.plist -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-fnptr-plist.c : 'RUN: at line 2'; /usr/bin/FileCheck --input-file=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/malloc-fnptr-plist.c.tmp.plist /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-fnptr-plist.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker core,unix.Malloc -analyzer-output=plist -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/malloc-fnptr-plist.c.tmp.plist -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-fnptr-plist.c 1. parser at end of file 2. While analyzing stack: #0 Calling foo 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-fnptr-plist.c:7:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-fnptr-plist.c:7:3: Error evaluating statement #0 0x0000ffff79cdacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff79cd9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff79cdb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff82c16800 (linux-vdso.so.1+0x800) #4 0x0000ffff81f33688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff81f33688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff81f33688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff81f33688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff81f33688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff81f33688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff81f33688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff81f33688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff81be0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff81be0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff81be0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff81be0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff81be1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff81be1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff81be1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff81be1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff81bf4770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff81bf4770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff81bf4770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff81bf5cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff81bf5cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff81bf5cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff81bf5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff81bf5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff81bf5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff81c017d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff81c017d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff81c017d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff81c0b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff81c0b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff81c0b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff81b6f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff81b6f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff81b6f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff81b6f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff8205d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8205d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8205d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff81d38c54 (anonymous namespace)::MallocChecker::FreeMemAux(clang::ento::CheckerContext&, clang::Expr const*, clang::ento::CallEvent const&, llvm::IntrusiveRefCntPtr, bool, bool&, (anonymous namespace)::AllocationFamily, bool) const (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1909:0 #43 0x0000ffff81f14dc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x0000ffff81f14dc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffff81f14dc0 (anonymous namespace)::MallocChecker::FreeMemAux(clang::ento::CheckerContext&, clang::ento::CallEvent const&, llvm::IntrusiveRefCntPtr, unsigned int, bool, bool&, (anonymous namespace)::AllocationFamily, bool) const (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1808:0 #46 0x0000ffff81d33e2c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #47 0x0000ffff81d33e2c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #48 0x0000ffff81d33e2c (anonymous namespace)::MallocChecker::checkFree(clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1293:0 #49 0x0000ffff81d40d34 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #50 0x0000ffff81d40d34 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #51 0x0000ffff81d40d34 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1489:0 #52 0x0000ffff81d40d34 void clang::ento::check::PostCall::_checkCall<(anonymous namespace)::MallocChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:183:0 #53 0x0000ffff81b59524 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #54 0x0000ffff81b59524 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #55 0x0000ffff81b59524 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #56 0x0000ffff81b59524 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #57 0x0000ffff81b59524 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #58 0x0000ffff81bb98b8 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #59 0x0000ffff81bb98b8 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #60 0x0000ffff81bb98b8 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #61 0x0000ffff81bb98b8 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #62 0x0000ffff81bb98b8 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #63 0x0000ffff81bb98b8 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #64 0x0000ffff81bba144 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #65 0x0000ffff81b9bea0 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #66 0x0000ffff81b9bea0 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #67 0x0000ffff81b9cf08 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #68 0x0000ffff81b9d1f0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #69 0x0000ffff81b9d41c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #70 0x0000ffff81b9d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #71 0x0000ffff81b9d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #72 0x0000ffff81b9d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #73 0x0000ffff81b9d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #74 0x0000ffff81b9d764 clang::ento::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 0x0000ffff81e6787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #76 0x0000ffff81e6787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #77 0x0000ffff81e6787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #78 0x0000ffff81e6787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #79 0x0000ffff81e6787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #80 0x0000ffff81e687e8 llvm::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 0x0000ffff81e687e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #82 0x0000ffff81e687e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #83 0x0000ffff81e6cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #84 0x0000ffff81e6cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #85 0x0000ffff81e6cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #86 0x0000ffff81e6cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #87 0x0000ffff81e6cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #88 0x0000ffff802c1e58 __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 0x0000ffff802c1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #90 0x0000ffff802c1e58 void clang::finalize>, 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 0x0000ffff802c1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #92 0x0000ffff81987ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #93 0x0000ffff8193fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #94 0x0000ffff8193fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #95 0x0000ffff8193fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #96 0x0000ffff819c610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #97 0x0000aaaab54d59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #98 0x0000aaaab54d94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #99 0x0000aaaab54daac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #100 0x0000aaaab54d1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #101 0x0000ffff78f3098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #102 0x0000ffff78f30a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #103 0x0000aaaab54d20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/malloc-fnptr-plist.c.script: line 2: 1826947 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker core,unix.Malloc -analyzer-output=plist -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/malloc-fnptr-plist.c.tmp.plist -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-fnptr-plist.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/malloc-interprocedural.c (893 of 18953) ******************** TEST 'Clang :: Analysis/malloc-interprocedural.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=unix.Malloc -analyzer-inline-max-stack-depth=5 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-interprocedural.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=unix.Malloc -analyzer-inline-max-stack-depth=5 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-interprocedural.c 1. parser at end of file 2. While analyzing stack: #0 Calling useStrndup 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-interprocedural.c:125:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-interprocedural.c:125:7: Error evaluating statement #0 0x0000ffffaf55acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffaf559100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffaf55b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb849a800 (linux-vdso.so.1+0x800) #4 0x0000ffffb77b3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb77b3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb77b3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb77b3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb77b3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb77b3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb77b3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb77b3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb7460c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb7460c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb7460c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb7460c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb7461ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb7461ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb7461ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb7461ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb7474770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb7474770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb7474770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb7475cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb7475cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb7475cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb7475190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb7475190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb7475190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb74817d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb74817d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb74817d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb748b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb748b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb748b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb73ef6d8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb73ef6d8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb73ef6d8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb73ef6d8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffb78dd3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb78dd3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb78dd3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffb7402a0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffb7402a0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffb7402a0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffffb741ccac llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffffb741ccac llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffffb741ccac llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffffb741ccac clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffffb741ccac clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffffb741cf08 clang::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 0x0000ffffb741d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffb741d41c clang::ento::CoreEngine::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 0x0000ffffb741d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffb741d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffb741d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffb741d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffb741d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffb76e787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffb76e787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffb76e787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffb76e787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffb76e787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffb76e87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffb76e87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffb76e87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffb76ecde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffb76ecde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffb76ecde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffb76ecde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffb76ecde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffb5b41e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffb5b41e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffb5b41e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffb5b41e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffb7207ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffb71bfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffb71bfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffb71bfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffb724610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaaacda59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaaacda94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaaacdaaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaaacda1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffae7b098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffae7b0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaaacda20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/malloc-interprocedural.c.script: line 1: 1826969 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=unix.Malloc -analyzer-inline-max-stack-depth=5 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-interprocedural.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/malloc-overflow2.c (894 of 18953) ******************** TEST 'Clang :: Analysis/malloc-overflow2.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-unknown-unknown -analyzer-checker=alpha.security.MallocOverflow,unix -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-overflow2.c : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-unknown-unknown -analyzer-checker=alpha.security.MallocOverflow,unix,optin.portability -DPORTABILITY -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-overflow2.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-unknown-unknown -analyzer-checker=alpha.security.MallocOverflow,unix -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-overflow2.c 1. parser at end of file 2. While analyzing stack: #0 Calling f 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-overflow2.c:36:10: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-overflow2.c:36:10: Error evaluating statement #0 0x0000ffff7b36acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7b369100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7b36b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff842a2800 (linux-vdso.so.1+0x800) #4 0x0000ffff835a9f20 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff835a9f20 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff835a9f20 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff835a9f20 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff835a9f20 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff835a9f20 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff835a9f20 get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff835a9f20 (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 0x0000ffff833b83d0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x0000ffff833b83d0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x0000ffff833b83d0 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 0x0000ffff831cc2f8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #16 0x0000ffff831cc2f8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #17 0x0000ffff831cc2f8 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool)>::operator()(llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:0 #18 0x0000ffff831cc2f8 clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:0 #19 0x0000ffff83291844 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffff83291844 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffff83291844 clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:78 #22 0x0000ffff83291844 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:53 #23 0x0000ffff8329b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x0000ffff8329b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x0000ffff8329b074 clang::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 0x0000ffff831ff6d8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff831ff6d8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff831ff6d8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #29 0x0000ffff831ff6d8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #30 0x0000ffff836ed3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff836ed3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff836ed3d4 clang::ento::ProgramState::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 0x0000ffff833c44b0 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x0000ffff833c44b0 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x0000ffff833c44b0 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x0000ffff833c44b0 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x0000ffff833c44b0 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x0000ffff833c44b0 (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 0x0000ffff833c4900 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #40 0x0000ffff833c4900 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #41 0x0000ffff833c4900 (anonymous namespace)::MallocChecker::checkBasicAlloc(clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1217:0 #42 0x0000ffff833d0e00 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #43 0x0000ffff833d0e00 void clang::ento::check::PostCall::_checkCall<(anonymous namespace)::MallocChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:183:0 #44 0x0000ffff831e9524 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #45 0x0000ffff831e9524 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x0000ffff831e9524 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #47 0x0000ffff831e9524 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #48 0x0000ffff831e9524 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #49 0x0000ffff832498b8 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #50 0x0000ffff832498b8 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #51 0x0000ffff832498b8 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #52 0x0000ffff832498b8 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #53 0x0000ffff832498b8 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #54 0x0000ffff832498b8 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #55 0x0000ffff8324a144 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #56 0x0000ffff8322bea0 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #57 0x0000ffff8322bea0 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #58 0x0000ffff8322cf08 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #59 0x0000ffff8322d1f0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #60 0x0000ffff8322d41c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #61 0x0000ffff8322d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #62 0x0000ffff8322d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #63 0x0000ffff8322d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #64 0x0000ffff8322d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #65 0x0000ffff8322d764 clang::ento::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 0x0000ffff834f787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #67 0x0000ffff834f787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #68 0x0000ffff834f787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #69 0x0000ffff834f787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #70 0x0000ffff834f787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #71 0x0000ffff834f87e8 llvm::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 0x0000ffff834f87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #73 0x0000ffff834f87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #74 0x0000ffff834fcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #75 0x0000ffff834fcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #76 0x0000ffff834fcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #77 0x0000ffff834fcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #78 0x0000ffff834fcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #79 0x0000ffff81951e58 __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 0x0000ffff81951e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #81 0x0000ffff81951e58 void clang::finalize>, 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 0x0000ffff81951e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #83 0x0000ffff83017ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #84 0x0000ffff82fcfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #85 0x0000ffff82fcfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #86 0x0000ffff82fcfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #87 0x0000ffff8305610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #88 0x0000aaaab62559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #89 0x0000aaaab62594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #90 0x0000aaaab625aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #91 0x0000aaaab6251fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #92 0x0000ffff7a5c098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #93 0x0000ffff7a5c0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #94 0x0000aaaab62520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/malloc-overflow2.c.script: line 2: 1826984 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-unknown-unknown -analyzer-checker=alpha.security.MallocOverflow,unix -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-overflow2.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/malloc-plist.c (895 of 18953) ******************** TEST 'Clang :: Analysis/malloc-plist.c' FAILED ******************** Script: -- : 'RUN: at line 1'; rm -f /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/malloc-plist.c.tmp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -analyzer-checker=core,unix.Malloc -analyzer-output=plist -verify -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/malloc-plist.c.tmp -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-plist.c : 'RUN: at line 3'; tail -n +11 /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/malloc-plist.c.tmp | grep -Ev '^[[:space:]]*.* version .*[[:space:]]*$|^[[:space:]]*/.*[[:space:]]*$|^[[:space:]]*.:.*[[:space:]]*$' | diff -ub /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Inputs/expected-plists/malloc-plist.c.plist - -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -analyzer-checker=core,unix.Malloc -analyzer-output=plist -verify -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/malloc-plist.c.tmp -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-plist.c 1. parser at end of file 2. While analyzing stack: #0 Calling my_malloc_into_struct at line 208 #1 Calling testMyMalloc 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-plist.c:204:9: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-plist.c:204:9: Error evaluating statement #0 0x0000ffff91c0acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff91c09100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff91c0b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9ab45800 (linux-vdso.so.1+0x800) #4 0x0000ffff99e49f20 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff99e49f20 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff99e49f20 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff99e49f20 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff99e49f20 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff99e49f20 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff99e49f20 get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff99e49f20 (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 0x0000ffff99c583d0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x0000ffff99c583d0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x0000ffff99c583d0 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 0x0000ffff99a6c2f8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #16 0x0000ffff99a6c2f8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #17 0x0000ffff99a6c2f8 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool)>::operator()(llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:0 #18 0x0000ffff99a6c2f8 clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:0 #19 0x0000ffff99b31844 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffff99b31844 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffff99b31844 clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:78 #22 0x0000ffff99b31844 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:53 #23 0x0000ffff99b3b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x0000ffff99b3b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x0000ffff99b3b074 clang::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 0x0000ffff99a9f818 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff99a9f818 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff99a9f818 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #29 0x0000ffff99a9f818 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:68:21 #30 0x0000ffff99f8d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff99f8d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff99f8d3d4 clang::ento::ProgramState::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 0x0000ffff99c644b0 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x0000ffff99c644b0 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x0000ffff99c644b0 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x0000ffff99c644b0 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x0000ffff99c644b0 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x0000ffff99c644b0 (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 0x0000ffff99c64900 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #40 0x0000ffff99c64900 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #41 0x0000ffff99c64900 (anonymous namespace)::MallocChecker::checkBasicAlloc(clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1217:0 #42 0x0000ffff99c70e00 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #43 0x0000ffff99c70e00 void clang::ento::check::PostCall::_checkCall<(anonymous namespace)::MallocChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:183:0 #44 0x0000ffff99a89524 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #45 0x0000ffff99a89524 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x0000ffff99a89524 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #47 0x0000ffff99a89524 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #48 0x0000ffff99a89524 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #49 0x0000ffff99ae98b8 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #50 0x0000ffff99ae98b8 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #51 0x0000ffff99ae98b8 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #52 0x0000ffff99ae98b8 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #53 0x0000ffff99ae98b8 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #54 0x0000ffff99ae98b8 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #55 0x0000ffff99aea144 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #56 0x0000ffff99acbea0 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #57 0x0000ffff99acbea0 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #58 0x0000ffff99accf08 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #59 0x0000ffff99acd1f0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #60 0x0000ffff99acd41c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #61 0x0000ffff99acd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #62 0x0000ffff99acd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #63 0x0000ffff99acd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #64 0x0000ffff99acd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #65 0x0000ffff99acd764 clang::ento::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 0x0000ffff99d9787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #67 0x0000ffff99d9787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #68 0x0000ffff99d9787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #69 0x0000ffff99d9787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #70 0x0000ffff99d9787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #71 0x0000ffff99d987e8 llvm::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 0x0000ffff99d987e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #73 0x0000ffff99d987e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #74 0x0000ffff99d9cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #75 0x0000ffff99d9cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #76 0x0000ffff99d9cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #77 0x0000ffff99d9cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #78 0x0000ffff99d9cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #79 0x0000ffff981f1e58 __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 0x0000ffff981f1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #81 0x0000ffff981f1e58 void clang::finalize>, 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 0x0000ffff981f1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #83 0x0000ffff998b7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #84 0x0000ffff9986fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #85 0x0000ffff9986fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #86 0x0000ffff9986fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #87 0x0000ffff998f610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #88 0x0000aaaae42f59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #89 0x0000aaaae42f94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #90 0x0000aaaae42faac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #91 0x0000aaaae42f1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #92 0x0000ffff90e6098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #93 0x0000ffff90e60a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #94 0x0000aaaae42f20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/malloc-plist.c.script: line 3: 1826987 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -analyzer-checker=core,unix.Malloc -analyzer-output=plist -verify -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/malloc-plist.c.tmp -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-plist.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/malloc-static-storage.cpp (896 of 18953) ******************** TEST 'Clang :: Analysis/malloc-static-storage.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-static-storage.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-static-storage.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling malloc_cond(_Bool) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-static-storage.cpp:70:7: Error evaluating branch #0 0x0000ffffb078acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb0789100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb078b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb96c9800 (linux-vdso.so.1+0x800) #4 0x0000ffffb89e3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb89e3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb89e3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb89e3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb89e3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb89e3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb89e3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb89e3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb8690c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb8690c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb8690c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb8690c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb8691940 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb8691940 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb8691940 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb8691940 (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:0 #20 0x0000ffffb86a591c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb86a591c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb86a591c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffffb86a5bf0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb86a5bf0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb86a5bf0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffffb86a5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb86a5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb86a5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb86b17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb86b17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb86b17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb86bb074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb86bb074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb86bb074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb861f6d8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb861f6d8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb861f6d8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb861f6d8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffb8b0d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb8b0d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb8b0d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffb86358c8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffffb86358c8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffffb86358c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffffb86358c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffffb86358c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffffb86358c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffffb86358c8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffffb86358c8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffffb86358c8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffffb86358c8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffffb8635e30 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffffb864d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffb864d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffb864d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffb864d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffb864d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffb891787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffb891787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffb891787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffb891787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffb891787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffb89187e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffb89187e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffb89187e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffb891cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffb891cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffb891cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffb891cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffb891cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffb6d71e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffb6d71e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffb6d71e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffb6d71e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffb8437ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffb83efc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffb83efc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffb83efc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffb847610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaab07259f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaab07294b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaab072aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaab0721fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffaf9e098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffaf9e0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaab07220b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/malloc-static-storage.cpp.script: line 1: 1826998 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc-static-storage.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/malloc.cpp (897 of 18953) ******************** TEST 'Clang :: Analysis/malloc.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc.cpp -analyzer-checker=core -analyzer-checker=alpha.deadcode.UnreachableCode -analyzer-checker=alpha.core.CastSize -analyzer-checker=unix.Malloc -analyzer-checker=cplusplus.NewDelete : 'RUN: at line 8'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc.cpp -triple i386-unknown-linux-gnu -analyzer-checker=core -analyzer-checker=alpha.deadcode.UnreachableCode -analyzer-checker=alpha.core.CastSize -analyzer-checker=unix.Malloc -analyzer-checker=cplusplus.NewDelete : 'RUN: at line 16'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc.cpp -DTEST_INLINABLE_ALLOCATORS -analyzer-checker=core -analyzer-checker=alpha.deadcode.UnreachableCode -analyzer-checker=alpha.core.CastSize -analyzer-checker=unix.Malloc -analyzer-checker=cplusplus.NewDelete : 'RUN: at line 23'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc.cpp -DTEST_INLINABLE_ALLOCATORS -triple i386-unknown-linux-gnu -analyzer-checker=core -analyzer-checker=alpha.deadcode.UnreachableCode -analyzer-checker=alpha.core.CastSize -analyzer-checker=unix.Malloc -analyzer-checker=cplusplus.NewDelete -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc.cpp -analyzer-checker=core -analyzer-checker=alpha.deadcode.UnreachableCode -analyzer-checker=alpha.core.CastSize -analyzer-checker=unix.Malloc -analyzer-checker=cplusplus.NewDelete 1. parser at end of file 2. While analyzing stack: #0 Calling pr46253_class::a::realloc(int, _Bool) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc.cpp:203:38: Error evaluating statement #0 0x0000ffffa1bcacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa1bc9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa1bcb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffaab00800 (linux-vdso.so.1+0x800) #4 0x0000ffffa9accd64 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa9accd64 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa9accd64 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa9accd64 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffffa9accd64 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffffa9accd64 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffffa9a780bc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffffa9a780bc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffffa9a780bc clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffffa9a8ce94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffffa9a8ce94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffffa9a8ce94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffffa9a8ce94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffffa9a8ce94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffffa9a8ce94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffffa9a8ce94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffffa9a8ce94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffffa9a8ce94 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffffa9a8d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffa9a8d310 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffffa9a8d5dc clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffffa9a8d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffffa9a8d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffffa9a8d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffffa9a8d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffffa9a8d764 clang::ento::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 0x0000ffffa9d5787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffffa9d5787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffffa9d5787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffffa9d5787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffffa9d5787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffffa9d587e8 llvm::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 0x0000ffffa9d587e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffffa9d587e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffffa9d5cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffffa9d5cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffffa9d5cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffffa9d5cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffffa9d5cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffffa81b1e58 __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 0x0000ffffa81b1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffffa81b1e58 void clang::finalize>, 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 0x0000ffffa81b1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffffa9877ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffffa982fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffffa982fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffffa982fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffffa98b610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaad15e59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaad15e94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaad15eaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaad15e1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffffa0e2098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffffa0e20a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaad15e20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/malloc.cpp.script: line 4: 1827029 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc.cpp -analyzer-checker=core -analyzer-checker=alpha.deadcode.UnreachableCode -analyzer-checker=alpha.core.CastSize -analyzer-checker=unix.Malloc -analyzer-checker=cplusplus.NewDelete -- ******************** Testing: 0 FAIL: Clang :: Analysis/malloc.m (899 of 18953) ******************** TEST 'Clang :: Analysis/malloc.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc -verify -Wno-objc-root-class -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc -verify -Wno-objc-root-class -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc.m 1. parser at end of file 2. While analyzing stack: #0 Calling wrapInNSValue 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc.m:55:18: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc.m:55:18: Error evaluating statement #0 0x0000ffffb130acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb1309100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb130b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffba24a800 (linux-vdso.so.1+0x800) #4 0x0000ffffb9549f20 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb9549f20 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb9549f20 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb9549f20 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb9549f20 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb9549f20 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb9549f20 get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb9549f20 (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 0x0000ffffb93583d0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x0000ffffb93583d0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x0000ffffb93583d0 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 0x0000ffffb916c2f8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #16 0x0000ffffb916c2f8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #17 0x0000ffffb916c2f8 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool)>::operator()(llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:0 #18 0x0000ffffb916c2f8 clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:0 #19 0x0000ffffb9231844 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffffb9231844 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffffb9231844 clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:78 #22 0x0000ffffb9231844 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:53 #23 0x0000ffffb923b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x0000ffffb923b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x0000ffffb923b074 clang::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 0x0000ffffb919f818 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb919f818 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb919f818 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #29 0x0000ffffb919f818 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:68:21 #30 0x0000ffffb968d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffffb968d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffffb968d3d4 clang::ento::ProgramState::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 0x0000ffffb93644b0 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x0000ffffb93644b0 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x0000ffffb93644b0 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x0000ffffb93644b0 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x0000ffffb93644b0 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x0000ffffb93644b0 (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 0x0000ffffb9364900 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #40 0x0000ffffb9364900 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #41 0x0000ffffb9364900 (anonymous namespace)::MallocChecker::checkBasicAlloc(clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1217:0 #42 0x0000ffffb9370e00 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #43 0x0000ffffb9370e00 void clang::ento::check::PostCall::_checkCall<(anonymous namespace)::MallocChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:183:0 #44 0x0000ffffb9189524 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #45 0x0000ffffb9189524 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x0000ffffb9189524 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #47 0x0000ffffb9189524 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #48 0x0000ffffb9189524 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #49 0x0000ffffb91e98b8 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #50 0x0000ffffb91e98b8 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #51 0x0000ffffb91e98b8 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #52 0x0000ffffb91e98b8 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #53 0x0000ffffb91e98b8 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #54 0x0000ffffb91e98b8 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #55 0x0000ffffb91ea144 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #56 0x0000ffffb91cbea0 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #57 0x0000ffffb91cbea0 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #58 0x0000ffffb91ccf08 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #59 0x0000ffffb91cd1f0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #60 0x0000ffffb91cd41c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #61 0x0000ffffb91cd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #62 0x0000ffffb91cd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #63 0x0000ffffb91cd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #64 0x0000ffffb91cd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #65 0x0000ffffb91cd764 clang::ento::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 0x0000ffffb949787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #67 0x0000ffffb949787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #68 0x0000ffffb949787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #69 0x0000ffffb949787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #70 0x0000ffffb949787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #71 0x0000ffffb94987e8 llvm::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 0x0000ffffb94987e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #73 0x0000ffffb94987e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #74 0x0000ffffb949cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #75 0x0000ffffb949cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #76 0x0000ffffb949cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #77 0x0000ffffb949cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #78 0x0000ffffb949cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #79 0x0000ffffb78f1e58 __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 0x0000ffffb78f1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #81 0x0000ffffb78f1e58 void clang::finalize>, 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 0x0000ffffb78f1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #83 0x0000ffffb8fb7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #84 0x0000ffffb8f6fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #85 0x0000ffffb8f6fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #86 0x0000ffffb8f6fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #87 0x0000ffffb8ff610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #88 0x0000aaaade6a59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #89 0x0000aaaade6a94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #90 0x0000aaaade6aaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #91 0x0000aaaade6a1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #92 0x0000ffffb056098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #93 0x0000ffffb0560a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #94 0x0000aaaade6a20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/malloc.m.script: line 1: 1827034 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc -verify -Wno-objc-root-class -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/malloc.mm (900 of 18953) ******************** TEST 'Clang :: Analysis/malloc.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core,unix.Malloc,cplusplus.NewDelete -analyzer-checker=unix.MismatchedDeallocator -verify -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc.mm -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core,unix.Malloc,cplusplus.NewDelete -analyzer-checker=unix.MismatchedDeallocator -verify -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc.mm 1. parser at end of file 2. While analyzing stack: #0 Calling test_reinterpret_cast_to_block() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc.mm:350:38: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc.mm:350:38: Error evaluating statement #0 0x0000ffff913bacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff913b9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff913bb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9a2f0800 (linux-vdso.so.1+0x800) #4 0x0000ffff995f9f20 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff995f9f20 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff995f9f20 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff995f9f20 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff995f9f20 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff995f9f20 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff995f9f20 get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff995f9f20 (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 0x0000ffff994083d0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x0000ffff994083d0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x0000ffff994083d0 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 0x0000ffff9921c2f8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #16 0x0000ffff9921c2f8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #17 0x0000ffff9921c2f8 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool)>::operator()(llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:0 #18 0x0000ffff9921c2f8 clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:0 #19 0x0000ffff992e1844 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffff992e1844 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffff992e1844 clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:78 #22 0x0000ffff992e1844 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:53 #23 0x0000ffff992eb074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x0000ffff992eb074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x0000ffff992eb074 clang::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 0x0000ffff9924f818 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff9924f818 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff9924f818 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #29 0x0000ffff9924f818 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:68:21 #30 0x0000ffff9973d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff9973d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff9973d3d4 clang::ento::ProgramState::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 0x0000ffff994144b0 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x0000ffff994144b0 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x0000ffff994144b0 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x0000ffff994144b0 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x0000ffff994144b0 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x0000ffff994144b0 (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 0x0000ffff99414900 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #40 0x0000ffff99414900 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #41 0x0000ffff99414900 (anonymous namespace)::MallocChecker::checkBasicAlloc(clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1217:0 #42 0x0000ffff99420e00 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #43 0x0000ffff99420e00 void clang::ento::check::PostCall::_checkCall<(anonymous namespace)::MallocChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:183:0 #44 0x0000ffff99239524 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #45 0x0000ffff99239524 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x0000ffff99239524 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #47 0x0000ffff99239524 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #48 0x0000ffff99239524 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #49 0x0000ffff992998b8 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #50 0x0000ffff992998b8 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #51 0x0000ffff992998b8 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #52 0x0000ffff992998b8 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #53 0x0000ffff992998b8 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #54 0x0000ffff992998b8 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #55 0x0000ffff9929a144 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #56 0x0000ffff9927bea0 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #57 0x0000ffff9927bea0 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #58 0x0000ffff9927cf08 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #59 0x0000ffff9927d1f0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #60 0x0000ffff9927d41c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #61 0x0000ffff9927d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #62 0x0000ffff9927d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #63 0x0000ffff9927d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #64 0x0000ffff9927d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #65 0x0000ffff9927d764 clang::ento::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 0x0000ffff9954787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #67 0x0000ffff9954787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #68 0x0000ffff9954787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #69 0x0000ffff9954787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #70 0x0000ffff9954787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #71 0x0000ffff995487e8 llvm::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 0x0000ffff995487e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #73 0x0000ffff995487e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #74 0x0000ffff9954cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #75 0x0000ffff9954cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #76 0x0000ffff9954cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #77 0x0000ffff9954cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #78 0x0000ffff9954cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #79 0x0000ffff979a1e58 __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 0x0000ffff979a1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #81 0x0000ffff979a1e58 void clang::finalize>, 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 0x0000ffff979a1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #83 0x0000ffff99067ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #84 0x0000ffff9901fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #85 0x0000ffff9901fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #86 0x0000ffff9901fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #87 0x0000ffff990a610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #88 0x0000aaaacdfa59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #89 0x0000aaaacdfa94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #90 0x0000aaaacdfaaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #91 0x0000aaaacdfa1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #92 0x0000ffff9061098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #93 0x0000ffff90610a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #94 0x0000aaaacdfa20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/malloc.mm.script: line 1: 1827036 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core,unix.Malloc,cplusplus.NewDelete -analyzer-checker=unix.MismatchedDeallocator -verify -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc.mm -- ******************** Testing: 0 FAIL: Clang :: Analysis/malloc.c (901 of 18953) ******************** TEST 'Clang :: Analysis/malloc.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-strict-prototypes -Wno-error=implicit-int -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc.c -analyzer-checker=core -analyzer-checker=alpha.deadcode.UnreachableCode -analyzer-checker=alpha.core.CastSize -analyzer-checker=unix -analyzer-checker=debug.ExprInspection -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-strict-prototypes -Wno-error=implicit-int -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc.c -analyzer-checker=core -analyzer-checker=alpha.deadcode.UnreachableCode -analyzer-checker=alpha.core.CastSize -analyzer-checker=unix -analyzer-checker=debug.ExprInspection 1. parser at end of file 2. While analyzing stack: #0 Calling testExtent 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc.c:1894:19: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc.c:1894:19: Error evaluating statement #0 0x0000ffff8f3bacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8f3b9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8f3bb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff982f8800 (linux-vdso.so.1+0x800) #4 0x0000ffff97613688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff97613688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff97613688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff97613688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff97613688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff97613688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff97613688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff97613688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff972c0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff972c0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff972c0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff972c0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff972c1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff972c1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff972c1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff972c1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff972d4770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff972d4770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff972d4770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff972d5cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff972d5cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff972d5cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff972d5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff972d5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff972d5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff972e17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff972e17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff972e17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff972eb074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff972eb074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff972eb074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9724f6d8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9724f6d8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9724f6d8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9724f6d8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff9773d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9773d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9773d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff974144b0 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #43 0x0000ffff974144b0 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #44 0x0000ffff974144b0 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #45 0x0000ffff974144b0 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #46 0x0000ffff974144b0 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #47 0x0000ffff974144b0 (anonymous namespace)::MallocChecker::ProcessZeroAllocCheck(clang::ento::CallEvent const&, unsigned int, llvm::IntrusiveRefCntPtr, std::optional) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1529:0 #48 0x0000ffff97414900 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #49 0x0000ffff97414900 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff97414900 (anonymous namespace)::MallocChecker::checkBasicAlloc(clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1217:0 #51 0x0000ffff97420e00 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #52 0x0000ffff97420e00 void clang::ento::check::PostCall::_checkCall<(anonymous namespace)::MallocChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:183:0 #53 0x0000ffff97239524 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #54 0x0000ffff97239524 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #55 0x0000ffff97239524 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #56 0x0000ffff97239524 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #57 0x0000ffff97239524 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #58 0x0000ffff972998b8 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #59 0x0000ffff972998b8 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #60 0x0000ffff972998b8 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #61 0x0000ffff972998b8 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #62 0x0000ffff972998b8 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #63 0x0000ffff972998b8 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #64 0x0000ffff9729a144 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #65 0x0000ffff9727bea0 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #66 0x0000ffff9727bea0 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #67 0x0000ffff9727cf08 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #68 0x0000ffff9727d1f0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #69 0x0000ffff9727d41c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #70 0x0000ffff9727d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #71 0x0000ffff9727d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #72 0x0000ffff9727d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #73 0x0000ffff9727d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #74 0x0000ffff9727d764 clang::ento::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 0x0000ffff9754787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #76 0x0000ffff9754787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #77 0x0000ffff9754787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #78 0x0000ffff9754787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #79 0x0000ffff9754787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #80 0x0000ffff975487e8 llvm::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 0x0000ffff975487e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #82 0x0000ffff975487e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #83 0x0000ffff9754cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #84 0x0000ffff9754cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #85 0x0000ffff9754cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #86 0x0000ffff9754cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #87 0x0000ffff9754cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #88 0x0000ffff959a1e58 __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 0x0000ffff959a1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #90 0x0000ffff959a1e58 void clang::finalize>, 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 0x0000ffff959a1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #92 0x0000ffff97067ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #93 0x0000ffff9701fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #94 0x0000ffff9701fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #95 0x0000ffff9701fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #96 0x0000ffff970a610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #97 0x0000aaaacba959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #98 0x0000aaaacba994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #99 0x0000aaaacba9aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #100 0x0000aaaacba91fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #101 0x0000ffff8e61098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #102 0x0000ffff8e610a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #103 0x0000aaaacba920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/malloc.c.script: line 1: 1827021 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-strict-prototypes -Wno-error=implicit-int -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/malloc.c -analyzer-checker=core -analyzer-checker=alpha.deadcode.UnreachableCode -analyzer-checker=alpha.core.CastSize -analyzer-checker=unix -analyzer-checker=debug.ExprInspection -- ******************** Testing: 0 FAIL: Clang :: Analysis/memory-model.cpp (902 of 18953) ******************** TEST 'Clang :: Analysis/memory-model.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++20 -analyzer-checker=core,unix,cplusplus,debug.ExprInspection -triple x86_64-unknown-linux-gnu -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/memory-model.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++20 -analyzer-checker=core,unix,cplusplus,debug.ExprInspection -triple x86_64-unknown-linux-gnu -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/memory-model.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling user_defined_new() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/memory-model.cpp:150:12: Error evaluating statement #0 0x0000ffff7954acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff79549100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7954b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff82483800 (linux-vdso.so.1+0x800) #4 0x0000ffff813f7db8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff813f7db8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff813f7db8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff813f7db8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff813f7db8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff813f7db8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff813f7db8 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff813f7db8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1059:61 #12 0x0000ffff8140ce94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffff8140ce94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffff8140ce94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffff8140ce94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffff8140ce94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffff8140ce94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffff8140ce94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffff8140ce94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffff8140ce94 clang::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 0x0000ffff8140d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8140d41c clang::ento::CoreEngine::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 0x0000ffff8140d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #24 0x0000ffff8140d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #25 0x0000ffff8140d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #26 0x0000ffff8140d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #27 0x0000ffff8140d764 clang::ento::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 0x0000ffff816d787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #29 0x0000ffff816d787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #30 0x0000ffff816d787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #31 0x0000ffff816d787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #32 0x0000ffff816d787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #33 0x0000ffff816d87e8 llvm::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 0x0000ffff816d87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #35 0x0000ffff816d87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #36 0x0000ffff816dcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #37 0x0000ffff816dcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #38 0x0000ffff816dcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #39 0x0000ffff816dcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #40 0x0000ffff816dcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #41 0x0000ffff7fb31e58 __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 0x0000ffff7fb31e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #43 0x0000ffff7fb31e58 void clang::finalize>, 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 0x0000ffff7fb31e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #45 0x0000ffff811f7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #46 0x0000ffff811afc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #47 0x0000ffff811afc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #48 0x0000ffff811afc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #49 0x0000ffff8123610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #50 0x0000aaaae9bd59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #51 0x0000aaaae9bd94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #52 0x0000aaaae9bdaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #53 0x0000aaaae9bd1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #54 0x0000ffff787a098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #55 0x0000ffff787a0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #56 0x0000aaaae9bd20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/memory-model.cpp.script: line 1: 1827071 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++20 -analyzer-checker=core,unix,cplusplus,debug.ExprInspection -triple x86_64-unknown-linux-gnu -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/memory-model.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/max-nodes-suppress-on-sink.c (903 of 18953) ******************** TEST 'Clang :: Analysis/max-nodes-suppress-on-sink.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-config max-nodes=12 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/max-nodes-suppress-on-sink.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-config max-nodes=12 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/max-nodes-suppress-on-sink.c 1. parser at end of file 2. While analyzing stack: #0 Calling test_unreachable_successor_blocks 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/max-nodes-suppress-on-sink.c:76:13: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/max-nodes-suppress-on-sink.c:76:13: Error evaluating statement #0 0x0000ffff9572acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff95729100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9572b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9e66b800 (linux-vdso.so.1+0x800) #4 0x0000ffff9d969f20 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9d969f20 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9d969f20 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9d969f20 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9d969f20 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9d969f20 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff9d969f20 get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff9d969f20 (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 0x0000ffff9d7783d0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x0000ffff9d7783d0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x0000ffff9d7783d0 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 0x0000ffff9d58c2f8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #16 0x0000ffff9d58c2f8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #17 0x0000ffff9d58c2f8 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool)>::operator()(llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:0 #18 0x0000ffff9d58c2f8 clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:0 #19 0x0000ffff9d651844 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffff9d651844 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffff9d651844 clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:78 #22 0x0000ffff9d651844 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:53 #23 0x0000ffff9d65b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x0000ffff9d65b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x0000ffff9d65b074 clang::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 0x0000ffff9d5bf818 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff9d5bf818 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff9d5bf818 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #29 0x0000ffff9d5bf818 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:68:21 #30 0x0000ffff9daad3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff9daad3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff9daad3d4 clang::ento::ProgramState::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 0x0000ffff9d7844b0 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x0000ffff9d7844b0 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x0000ffff9d7844b0 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x0000ffff9d7844b0 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x0000ffff9d7844b0 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x0000ffff9d7844b0 (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 0x0000ffff9d784900 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #40 0x0000ffff9d784900 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #41 0x0000ffff9d784900 (anonymous namespace)::MallocChecker::checkBasicAlloc(clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1217:0 #42 0x0000ffff9d790e00 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #43 0x0000ffff9d790e00 void clang::ento::check::PostCall::_checkCall<(anonymous namespace)::MallocChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:183:0 #44 0x0000ffff9d5a9524 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #45 0x0000ffff9d5a9524 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x0000ffff9d5a9524 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #47 0x0000ffff9d5a9524 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #48 0x0000ffff9d5a9524 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #49 0x0000ffff9d6098b8 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #50 0x0000ffff9d6098b8 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #51 0x0000ffff9d6098b8 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #52 0x0000ffff9d6098b8 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #53 0x0000ffff9d6098b8 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #54 0x0000ffff9d6098b8 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #55 0x0000ffff9d60a144 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #56 0x0000ffff9d5ebea0 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #57 0x0000ffff9d5ebea0 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #58 0x0000ffff9d5ecf08 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #59 0x0000ffff9d5ed1f0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #60 0x0000ffff9d5ed41c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #61 0x0000ffff9d5ed764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #62 0x0000ffff9d5ed764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #63 0x0000ffff9d5ed764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #64 0x0000ffff9d5ed764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #65 0x0000ffff9d5ed764 clang::ento::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 0x0000ffff9d8b787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #67 0x0000ffff9d8b787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #68 0x0000ffff9d8b787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #69 0x0000ffff9d8b787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #70 0x0000ffff9d8b787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #71 0x0000ffff9d8b87e8 llvm::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 0x0000ffff9d8b87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #73 0x0000ffff9d8b87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #74 0x0000ffff9d8bcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #75 0x0000ffff9d8bcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #76 0x0000ffff9d8bcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #77 0x0000ffff9d8bcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #78 0x0000ffff9d8bcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #79 0x0000ffff9bd11e58 __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 0x0000ffff9bd11e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #81 0x0000ffff9bd11e58 void clang::finalize>, 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 0x0000ffff9bd11e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #83 0x0000ffff9d3d7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #84 0x0000ffff9d38fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #85 0x0000ffff9d38fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #86 0x0000ffff9d38fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #87 0x0000ffff9d41610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #88 0x0000aaaab2ac59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #89 0x0000aaaab2ac94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #90 0x0000aaaab2acaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #91 0x0000aaaab2ac1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #92 0x0000ffff9498098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #93 0x0000ffff94980a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #94 0x0000aaaab2ac20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/max-nodes-suppress-on-sink.c.script: line 1: 1827054 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-config max-nodes=12 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/max-nodes-suppress-on-sink.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/member-expr.cpp (905 of 18953) ******************** TEST 'Clang :: Analysis/member-expr.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/member-expr.cpp -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/member-expr.cpp -verify 1. parser at end of file #0 0x0000ffffa8f0acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa8f09100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa8f0b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb1e41800 (linux-vdso.so.1+0x800) #4 0x0000ffffb1163688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb1163688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb1163688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb1163688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb1163688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb1163688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb1163688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb1163688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb0e10c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb0e10c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb0e10c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb0e10c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb0e11ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb0e11ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb0e11ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb0e11ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb0e24770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb0e24770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb0e24770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb0e25cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb0e25cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb0e25cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb0e25190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb0e25190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb0e25190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb0e317d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb0e317d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb0e317d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb0e3b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb0e3b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb0e3b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb0d9f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb0d9f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb0d9f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb0d9f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb0d9fbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb0d9fbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb0d9fbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffb0d731c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffb0d731c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffb0d731c0 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffb0dafb5c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffb0dafb5c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffb0dafb5c clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:42 #48 0x0000ffffb0dcdaa8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffb0dcdaa8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffb0dcdaa8 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffb109787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffb109787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffb109787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffb109787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffb109787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffb10987e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffffb10987e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffb10987e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffb109cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffb109cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffb109cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffb109cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffb109cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffaf4f1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffffaf4f1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffaf4f1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffffaf4f1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffb0bb7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffb0b6fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffb0b6fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffb0b6fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffb0bf610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaabe6159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaabe6194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaabe61aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaabe611fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffffa816098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffffa8160a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaabe6120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/member-expr.cpp.script: line 1: 1827069 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/member-expr.cpp -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/max-nodes-suppress-on-sink.cpp (906 of 18953) ******************** TEST 'Clang :: Analysis/max-nodes-suppress-on-sink.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -x c++ -fcxx-exceptions -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-config max-nodes=12 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/max-nodes-suppress-on-sink.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -x c++ -fcxx-exceptions -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-config max-nodes=12 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/max-nodes-suppress-on-sink.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling test_handled_throw_treated_as_noreturn() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/max-nodes-suppress-on-sink.cpp:25:13: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/max-nodes-suppress-on-sink.cpp:25:13: Error evaluating statement #0 0x0000ffff9e84acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff9e849100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9e84b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa778a800 (linux-vdso.so.1+0x800) #4 0x0000ffffa6a89f20 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa6a89f20 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa6a89f20 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa6a89f20 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa6a89f20 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa6a89f20 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa6a89f20 get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa6a89f20 (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 0x0000ffffa68983d0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x0000ffffa68983d0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x0000ffffa68983d0 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 0x0000ffffa66ac2f8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #16 0x0000ffffa66ac2f8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #17 0x0000ffffa66ac2f8 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool)>::operator()(llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:0 #18 0x0000ffffa66ac2f8 clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:0 #19 0x0000ffffa6771844 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffffa6771844 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffffa6771844 clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:78 #22 0x0000ffffa6771844 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:53 #23 0x0000ffffa677b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x0000ffffa677b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x0000ffffa677b074 clang::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 0x0000ffffa66df818 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa66df818 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa66df818 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #29 0x0000ffffa66df818 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:68:21 #30 0x0000ffffa6bcd3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffffa6bcd3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffffa6bcd3d4 clang::ento::ProgramState::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 0x0000ffffa68a44b0 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x0000ffffa68a44b0 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x0000ffffa68a44b0 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x0000ffffa68a44b0 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x0000ffffa68a44b0 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x0000ffffa68a44b0 (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 0x0000ffffa68a4900 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #40 0x0000ffffa68a4900 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #41 0x0000ffffa68a4900 (anonymous namespace)::MallocChecker::checkBasicAlloc(clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1217:0 #42 0x0000ffffa68b0e00 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #43 0x0000ffffa68b0e00 void clang::ento::check::PostCall::_checkCall<(anonymous namespace)::MallocChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:183:0 #44 0x0000ffffa66c9524 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #45 0x0000ffffa66c9524 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x0000ffffa66c9524 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #47 0x0000ffffa66c9524 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #48 0x0000ffffa66c9524 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #49 0x0000ffffa67298b8 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #50 0x0000ffffa67298b8 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #51 0x0000ffffa67298b8 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #52 0x0000ffffa67298b8 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #53 0x0000ffffa67298b8 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #54 0x0000ffffa67298b8 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #55 0x0000ffffa672a144 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #56 0x0000ffffa670bea0 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #57 0x0000ffffa670bea0 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #58 0x0000ffffa670cf08 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #59 0x0000ffffa670d1f0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #60 0x0000ffffa670d41c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #61 0x0000ffffa670d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #62 0x0000ffffa670d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #63 0x0000ffffa670d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #64 0x0000ffffa670d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #65 0x0000ffffa670d764 clang::ento::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 0x0000ffffa69d787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #67 0x0000ffffa69d787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #68 0x0000ffffa69d787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #69 0x0000ffffa69d787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #70 0x0000ffffa69d787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #71 0x0000ffffa69d87e8 llvm::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 0x0000ffffa69d87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #73 0x0000ffffa69d87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #74 0x0000ffffa69dcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #75 0x0000ffffa69dcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #76 0x0000ffffa69dcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #77 0x0000ffffa69dcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #78 0x0000ffffa69dcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #79 0x0000ffffa4e31e58 __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 0x0000ffffa4e31e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #81 0x0000ffffa4e31e58 void clang::finalize>, 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 0x0000ffffa4e31e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #83 0x0000ffffa64f7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #84 0x0000ffffa64afc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #85 0x0000ffffa64afc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #86 0x0000ffffa64afc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #87 0x0000ffffa653610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #88 0x0000aaaab19859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #89 0x0000aaaab19894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #90 0x0000aaaab198aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #91 0x0000aaaab1981fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #92 0x0000ffff9daa098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #93 0x0000ffff9daa0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #94 0x0000aaaab19820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/max-nodes-suppress-on-sink.cpp.script: line 1: 1827061 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -x c++ -fcxx-exceptions -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-config max-nodes=12 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/max-nodes-suppress-on-sink.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/method-call.cpp (907 of 18953) ******************** TEST 'Clang :: Analysis/method-call.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config c++-inlining=constructors -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/method-call.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config c++-inlining=constructors -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/method-call.cpp 1. parser at end of file #0 0x0000ffffaeabacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffaeab9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffaeabb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb79f4800 (linux-vdso.so.1+0x800) #4 0x0000ffffb696cc54 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffb696cc54 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffb696cc54 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffb696cc54 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffb696cc54 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffb696cc54 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffb696cc54 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffb696cc54 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 0x0000ffffb696d578 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 0x0000ffffb697d5a4 clang::ento::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 0x0000ffffb697d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #15 0x0000ffffb697d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #16 0x0000ffffb697d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #17 0x0000ffffb697d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #18 0x0000ffffb697d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #19 0x0000ffffb6c4787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffffb6c4787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffffb6c4787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #22 0x0000ffffb6c4787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #23 0x0000ffffb6c4787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #24 0x0000ffffb6c487e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #25 0x0000ffffb6c487e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #26 0x0000ffffb6c487e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #27 0x0000ffffb6c4cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #28 0x0000ffffb6c4cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #29 0x0000ffffb6c4cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #30 0x0000ffffb6c4cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #31 0x0000ffffb6c4cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #32 0x0000ffffb50a1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #33 0x0000ffffb50a1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #34 0x0000ffffb50a1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #35 0x0000ffffb50a1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #36 0x0000ffffb6767ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #37 0x0000ffffb671fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #38 0x0000ffffb671fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #39 0x0000ffffb671fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #40 0x0000ffffb67a610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #41 0x0000aaaac32859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #42 0x0000aaaac32894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #43 0x0000aaaac328aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #44 0x0000aaaac3281fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #45 0x0000ffffadd1098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #46 0x0000ffffadd10a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #47 0x0000aaaac32820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/method-call.cpp.script: line 1: 1827099 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config c++-inlining=constructors -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/method-call.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/method-call-intra-p.cpp (908 of 18953) ******************** TEST 'Clang :: Analysis/method-call-intra-p.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/method-call-intra-p.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/method-call-intra-p.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling ChildOfInvalidateArgs::ChildOfInvalidateArgs() at line 25 #1 Calling virtualFun(int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/method-call-intra-p.cpp:12:8: Error evaluating statement #0 0x0000ffff8ed7acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8ed79100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8ed7b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff97cb2800 (linux-vdso.so.1+0x800) #4 0x0000ffff96c27db8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff96c27db8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff96c27db8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff96c27db8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff96c27db8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff96c27db8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff96c27db8 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff96c27db8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1059:61 #12 0x0000ffff96c3ce94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffff96c3ce94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffff96c3ce94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffff96c3ce94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffff96c3ce94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffff96c3ce94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffff96c3ce94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffff96c3ce94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffff96c3ce94 clang::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 0x0000ffff96c3d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff96c3d310 clang::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 0x0000ffff96c3d5dc clang::ento::CoreEngine::dispatchWorkItem(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 0x0000ffff96c3d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x0000ffff96c3d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x0000ffff96c3d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #27 0x0000ffff96c3d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #28 0x0000ffff96c3d764 clang::ento::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 0x0000ffff96f0787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffff96f0787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffff96f0787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #32 0x0000ffff96f0787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #33 0x0000ffff96f0787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #34 0x0000ffff96f087e8 llvm::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 0x0000ffff96f087e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x0000ffff96f087e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #37 0x0000ffff96f0cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x0000ffff96f0cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x0000ffff96f0cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x0000ffff96f0cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x0000ffff96f0cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x0000ffff95361e58 __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 0x0000ffff95361e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x0000ffff95361e58 void clang::finalize>, 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 0x0000ffff95361e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x0000ffff96a27ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #47 0x0000ffff969dfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #48 0x0000ffff969dfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #49 0x0000ffff969dfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #50 0x0000ffff96a6610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #51 0x0000aaaada7759f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x0000aaaada7794b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x0000aaaada77aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x0000aaaada771fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x0000ffff8dfd098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #56 0x0000ffff8dfd0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #57 0x0000aaaada7720b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/method-call-intra-p.cpp.script: line 1: 1827092 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/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/mig.mm (911 of 18953) ******************** TEST 'Clang :: Analysis/mig.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core,osx.MIG -std=c++14 -analyzer-output=text -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/mig.mm -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core,osx.MIG -std=c++14 -analyzer-output=text -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/mig.mm 1. parser at end of file 2. While analyzing stack: #0 Calling test_os_ref_retain(thread_t) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/mig.mm:257:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/mig.mm:257:3: Error evaluating statement #0 0x0000ffffb4e6acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb4e69100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb4e6b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffbddaa800 (linux-vdso.so.1+0x800) #4 0x0000ffffbced8220 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffbced8220 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffbced8220 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffbced8220 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffbced8220 llvm::ImmutableSet>::ImmutableSet(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:971:0 #9 0x0000ffffbced8220 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 0x0000ffffbced8220 contains<(anonymous namespace)::RefCountedParameters> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:470:0 #11 0x0000ffffbced8220 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MIGChecker.cpp:212:0 #12 0x0000ffffbced8220 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 0x0000ffffbcce9524 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #14 0x0000ffffbcce9524 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #15 0x0000ffffbcce9524 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #16 0x0000ffffbcce9524 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #17 0x0000ffffbcce9524 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #18 0x0000ffffbcd498b8 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #19 0x0000ffffbcd498b8 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #20 0x0000ffffbcd498b8 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #21 0x0000ffffbcd498b8 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #22 0x0000ffffbcd498b8 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #23 0x0000ffffbcd498b8 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #24 0x0000ffffbcd4a144 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #25 0x0000ffffbcd2bea0 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #26 0x0000ffffbcd2bea0 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #27 0x0000ffffbcd2cf08 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #28 0x0000ffffbcd2d1f0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #29 0x0000ffffbcd2d41c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #30 0x0000ffffbcd2d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #31 0x0000ffffbcd2d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #32 0x0000ffffbcd2d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #33 0x0000ffffbcd2d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #34 0x0000ffffbcd2d764 clang::ento::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 0x0000ffffbcff787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffbcff787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffbcff787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #38 0x0000ffffbcff787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #39 0x0000ffffbcff787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #40 0x0000ffffbcff87e8 llvm::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 0x0000ffffbcff87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #42 0x0000ffffbcff87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #43 0x0000ffffbcffcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #44 0x0000ffffbcffcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #45 0x0000ffffbcffcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #46 0x0000ffffbcffcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #47 0x0000ffffbcffcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #48 0x0000ffffbb451e58 __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 0x0000ffffbb451e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #50 0x0000ffffbb451e58 void clang::finalize>, 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 0x0000ffffbb451e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #52 0x0000ffffbcb17ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #53 0x0000ffffbcacfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #54 0x0000ffffbcacfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #55 0x0000ffffbcacfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #56 0x0000ffffbcb5610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #57 0x0000aaaad76559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #58 0x0000aaaad76594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #59 0x0000aaaad765aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #60 0x0000aaaad7651fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #61 0x0000ffffb40c098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #62 0x0000ffffb40c0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #63 0x0000aaaad76520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/mig.mm.script: line 1: 1827106 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core,osx.MIG -std=c++14 -analyzer-output=text -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/mig.mm -- ******************** Testing: 0 FAIL: Clang :: Analysis/method-call-path-notes.cpp (912 of 18953) ******************** TEST 'Clang :: Analysis/method-call-path-notes.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/method-call-path-notes.cpp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=plist-multi-file /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/method-call-path-notes.cpp -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/method-call-path-notes.cpp.tmp.plist : 'RUN: at line 3'; grep -Ev '^[[:space:]]*.* version .*[[:space:]]*$|^[[:space:]]*/.*[[:space:]]*$|^[[:space:]]*.:.*[[:space:]]*$' parser at end of file 2. While analyzing stack: #0 Calling test_cast(const TestInstanceCall *) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/method-call-path-notes.cpp:41:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/method-call-path-notes.cpp:41:7: Error evaluating statement #0 0x0000ffffac2aacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffac2a9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffac2ab388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb51e5800 (linux-vdso.so.1+0x800) #4 0x0000ffffb4503688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb4503688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb4503688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb4503688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb4503688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb4503688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb4503688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb4503688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb41b0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb41b0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb41b0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb41b0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb41b1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb41b1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb41b1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb41b1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb41c4770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb41c4770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb41c4770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb41c5cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb41c5cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb41c5cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb41c5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb41c5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb41c5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb41d17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb41d17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb41d17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb41db074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb41db074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb41db074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb413f6d8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb413f6d8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb413f6d8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb413f6d8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffb462d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb462d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb462d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffb4152a0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffb4152a0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffb4152a0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffffb416ccac llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffffb416ccac llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffffb416ccac llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffffb416ccac clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffffb416ccac clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffffb416cf08 clang::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 0x0000ffffb416d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffb416d41c clang::ento::CoreEngine::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 0x0000ffffb416d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffb416d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffb416d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffb416d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffb416d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffb443787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffb443787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffb443787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffb443787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffb443787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffb44387e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffb44387e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffb44387e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffb443cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffb443cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffb443cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffb443cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffb443cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffb2891e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffb2891e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffb2891e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffb2891e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffb3f57ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffb3f0fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffb3f0fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffb3f0fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffb3f9610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaabc5d59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaabc5d94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaabc5daac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaabc5d1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffab50098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffab500a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaabc5d20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/method-call-path-notes.cpp.script: line 3: 1827097 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/method-call-path-notes.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/misc-ps-ranges.m (913 of 18953) ******************** TEST 'Clang :: Analysis/misc-ps-ranges.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -verify -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps-ranges.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -verify -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps-ranges.m 1. parser at end of file 2. While analyzing stack: #0 Calling pr5969_positive 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps-ranges.m:50:22: Error evaluating statement #0 0x0000ffff7ebaacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7eba9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7ebab388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff87ae9800 (linux-vdso.so.1+0x800) #4 0x0000ffff86aacd64 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff86aacd64 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff86aacd64 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff86aacd64 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffff86aacd64 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffff86aacd64 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffff86a580bc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffff86a580bc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffff86a580bc clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffff86a6ce94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffff86a6ce94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffff86a6ce94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffff86a6ce94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffff86a6ce94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffff86a6ce94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffff86a6ce94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffff86a6ce94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffff86a6ce94 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffff86a6d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff86a6d310 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffff86a6d5dc clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffff86a6d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffff86a6d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffff86a6d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffff86a6d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffff86a6d764 clang::ento::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 0x0000ffff86d3787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff86d3787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff86d3787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffff86d3787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffff86d3787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffff86d387e8 llvm::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 0x0000ffff86d387e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffff86d387e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffff86d3cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffff86d3cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffff86d3cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffff86d3cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffff86d3cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffff85191e58 __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 0x0000ffff85191e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffff85191e58 void clang::finalize>, 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 0x0000ffff85191e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffff86857ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffff8680fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffff8680fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffff8680fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffff8689610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaabbed59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaabbed94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaabbedaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaabbed1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffff7de0098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffff7de00a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaabbed20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/misc-ps-ranges.m.script: line 1: 1827151 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -verify -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps-ranges.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/misc-ps-eager-assume.m (914 of 18953) ******************** TEST 'Clang :: Analysis/misc-ps-eager-assume.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -verify -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps-eager-assume.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -verify -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps-eager-assume.m 1. parser at end of file 2. While analyzing stack: #0 Calling pr5627_g 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps-eager-assume.m:144:16: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps-eager-assume.m:144:16: Error evaluating statement #0 0x0000ffffb641acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb6419100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb641b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffbf35a800 (linux-vdso.so.1+0x800) #4 0x0000ffffbe673688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffbe673688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffbe673688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffbe673688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffbe673688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffbe673688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffbe673688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffbe673688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffbe320c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffbe320c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffbe320c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffbe320c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffbe321ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffbe321ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffbe321ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffbe321ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffbe334770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffbe334770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffbe334770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffbe335cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffbe335cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffbe335cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffbe335190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffbe335190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffbe335190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffbe3417d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffbe3417d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffbe3417d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffbe34b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffbe34b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffbe34b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffbe2af6d8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffbe2af6d8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffbe2af6d8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffbe2af6d8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffbe79d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffbe79d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffbe79d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffbe2c2a0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffbe2c2a0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffbe2c2a0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffffbe2dccac llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffffbe2dccac llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffffbe2dccac llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffffbe2dccac clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffffbe2dccac clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffffbe2dcf08 clang::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 0x0000ffffbe2dd1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffbe2dd41c clang::ento::CoreEngine::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 0x0000ffffbe2dd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffbe2dd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffbe2dd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffbe2dd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffbe2dd764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffbe5a787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffbe5a787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffbe5a787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffbe5a787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffbe5a787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffbe5a87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffbe5a87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffbe5a87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffbe5acde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffbe5acde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffbe5acde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffbe5acde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffbe5acde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffbca01e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffbca01e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffbca01e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffbca01e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffbe0c7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffbe07fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffbe07fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffbe07fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffbe10610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaac73a59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaac73a94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaac73aaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaac73a1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffb567098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffb5670a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaac73a20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/misc-ps-eager-assume.m.script: line 1: 1827143 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -verify -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps-eager-assume.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/misc-ps-64.m (915 of 18953) ******************** TEST 'Clang :: Analysis/misc-ps-64.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin9 -analyzer-checker=core,alpha.core -verify -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps-64.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin9 -analyzer-checker=core,alpha.core -verify -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps-64.m 1. parser at end of file 2. While analyzing stack: #0 Calling rdar_6845148_b 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps-64.m:42:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps-64.m:42:7: Error evaluating statement #0 0x0000ffff82b0acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff82b09100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff82b0b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8ba46800 (linux-vdso.so.1+0x800) #4 0x0000ffff8ad63688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8ad63688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8ad63688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8ad63688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8ad63688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8ad63688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff8ad63688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff8ad63688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8aa10c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8aa10c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8aa10c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8aa10c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8aa11ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8aa11ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8aa11ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8aa11ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff8aa24770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff8aa24770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff8aa24770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff8aa25cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff8aa25cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff8aa25cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff8aa25190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8aa25190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8aa25190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff8aa317d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff8aa317d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff8aa317d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8aa3b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8aa3b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8aa3b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8a99f6d8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8a99f6d8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8a99f6d8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8a99f6d8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff8ae8d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8ae8d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8ae8d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff8a9b2a0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff8a9b2a0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff8a9b2a0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffff8a9cccac llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffff8a9cccac llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffff8a9cccac llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffff8a9cccac clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffff8a9cccac clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffff8a9ccf08 clang::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 0x0000ffff8a9cd1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8a9cd41c clang::ento::CoreEngine::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 0x0000ffff8a9cd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff8a9cd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff8a9cd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff8a9cd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff8a9cd764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff8ac9787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff8ac9787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff8ac9787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff8ac9787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff8ac9787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff8ac987e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff8ac987e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff8ac987e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff8ac9cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff8ac9cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff8ac9cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff8ac9cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff8ac9cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff890f1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff890f1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff890f1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff890f1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff8a7b7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff8a76fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff8a76fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff8a76fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff8a7f610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaad11959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaad11994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaad119aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaad1191fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff81d6098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff81d60a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaad11920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/misc-ps-64.m.script: line 1: 1827129 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin9 -analyzer-checker=core,alpha.core -verify -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps-64.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/misc-ps-cxx0x.cpp (916 of 18953) ******************** TEST 'Clang :: Analysis/misc-ps-cxx0x.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core.NullDereference,core.uninitialized.UndefReturn -std=c++11 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps-cxx0x.cpp -verify -o /dev/null -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core.NullDereference,core.uninitialized.UndefReturn -std=c++11 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps-cxx0x.cpp -verify -o /dev/null 1. parser at end of file #0 0x0000ffff8016acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff80169100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8016b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff890af800 (linux-vdso.so.1+0x800) #4 0x0000ffff883c3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff883c3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff883c3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff883c3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff883c3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff883c3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff883c3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff883c3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff88070c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff88070c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff88070c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff88070c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff88071ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff88071ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff88071ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff88071ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff88084770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff88084770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff88084770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff88085cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff88085cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff88085cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff88085190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff88085190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff88085190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff880917d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff880917d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff880917d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8809b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8809b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8809b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff87fff72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff87fff72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff87fff72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff87fff72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff87fffbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff87fffbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff87fffbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff87fd31c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff87fd31c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff87fd31c0 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff8800fb5c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff8800fb5c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff8800fb5c clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:42 #48 0x0000ffff8802daa8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff8802daa8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff8802daa8 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff882f787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff882f787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff882f787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff882f787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff882f787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff882f87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffff882f87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff882f87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff882fcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff882fcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff882fcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff882fcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff882fcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff86751e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffff86751e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff86751e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffff86751e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff87e17ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff87dcfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff87dcfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff87dcfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff87e5610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaad6a259f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaad6a294b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaad6a2aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaad6a21fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff7f3c098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff7f3c0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaad6a220b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/misc-ps-cxx0x.cpp.script: line 1: 1827138 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core.NullDereference,core.uninitialized.UndefReturn -std=c++11 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps-cxx0x.cpp -verify -o /dev/null -- ******************** Testing: 0 FAIL: Clang :: Analysis/misc-ps-region-store.mm (919 of 18953) ******************** TEST 'Clang :: Analysis/misc-ps-region-store.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin9 -analyzer-checker=core,alpha.core -verify -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps-region-store.mm : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin9 -analyzer-checker=core,alpha.core -verify -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps-region-store.mm -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin9 -analyzer-checker=core,alpha.core -verify -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps-region-store.mm 1. parser at end of file 2. While analyzing stack: #0 Calling rdar10569024(id, id) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps-region-store.mm:43:3: Error evaluating branch #0 0x0000ffffa109acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa1099100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa109b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa9fd8800 (linux-vdso.so.1+0x800) #4 0x0000ffffa8f455d8 llvm::ImutAVLTree, bool>>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffffa8f455d8 llvm::IntrusiveRefCntPtrInfo, bool>>>::retain(llvm::ImutAVLTree, bool>>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffa8f455d8 llvm::IntrusiveRefCntPtr, bool>>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffa8f455d8 llvm::IntrusiveRefCntPtr, bool>>>::IntrusiveRefCntPtr(llvm::ImutAVLTree, bool>>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffa8f455d8 llvm::ImmutableMap, bool, llvm::ImutKeyValueInfo, bool>>::ImmutableMap(llvm::ImutAVLTree, bool>> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffa8f455d8 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 0x0000ffffa8f455d8 get<(anonymous namespace)::ObjCForHasMoreIterations> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x0000ffffa8f455d8 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 0x0000ffffa8f455d8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2691:37 #13 0x0000ffffa8f455d8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #14 0x0000ffffa8f45e30 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #15 0x0000ffffa8f5d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #16 0x0000ffffa8f5d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #17 0x0000ffffa8f5d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #18 0x0000ffffa8f5d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #19 0x0000ffffa8f5d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #20 0x0000ffffa922787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa922787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa922787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #23 0x0000ffffa922787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #24 0x0000ffffa922787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #25 0x0000ffffa92287e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #26 0x0000ffffa92287e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #27 0x0000ffffa92287e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #28 0x0000ffffa922cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #29 0x0000ffffa922cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #30 0x0000ffffa922cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #31 0x0000ffffa922cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #32 0x0000ffffa922cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #33 0x0000ffffa7681e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #34 0x0000ffffa7681e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #35 0x0000ffffa7681e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #36 0x0000ffffa7681e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #37 0x0000ffffa8d47ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #38 0x0000ffffa8cffc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #39 0x0000ffffa8cffc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #40 0x0000ffffa8cffc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #41 0x0000ffffa8d8610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #42 0x0000aaaad9e159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #43 0x0000aaaad9e194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #44 0x0000aaaad9e1aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #45 0x0000aaaad9e11fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #46 0x0000ffffa02f098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #47 0x0000ffffa02f0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #48 0x0000aaaad9e120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/misc-ps-region-store.mm.script: line 2: 1827182 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin9 -analyzer-checker=core,alpha.core -verify -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps-region-store.mm -- ******************** Testing: 0 FAIL: Clang :: Analysis/misc-ps-region-store.cpp (920 of 18953) ******************** TEST 'Clang :: Analysis/misc-ps-region-store.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin9 -analyzer-checker=core,alpha.core,debug.ExprInspection -verify -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps-region-store.cpp -fexceptions -fcxx-exceptions -Wno-tautological-undefined-compare : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin9 -analyzer-checker=core,alpha.core,debug.ExprInspection -verify -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps-region-store.cpp -fexceptions -fcxx-exceptions -Wno-tautological-undefined-compare -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin9 -analyzer-checker=core,alpha.core,debug.ExprInspection -verify -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps-region-store.cpp -fexceptions -fcxx-exceptions -Wno-tautological-undefined-compare 1. parser at end of file 2. While analyzing stack: #0 Calling pr12921(int, char **) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps-region-store.cpp:718:9: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps-region-store.cpp:718:9: Error evaluating statement #0 0x0000ffffaecdacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffaecd9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffaecdb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb7c10800 (linux-vdso.so.1+0x800) #4 0x0000ffffb6f33688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb6f33688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb6f33688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb6f33688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb6f33688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb6f33688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb6f33688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb6f33688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb6be0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb6be0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb6be0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb6be0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb6be1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb6be1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb6be1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb6be1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb6bf4770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb6bf4770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb6bf4770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb6bf5cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb6bf5cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb6bf5cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb6bf5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb6bf5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb6bf5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb6c017d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb6c017d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb6c017d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb6c0b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb6c0b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb6c0b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb6b6f6d8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb6b6f6d8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb6b6f6d8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb6b6f6d8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffb705d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb705d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb705d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffb6b82a0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffb6b82a0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffb6b82a0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffffb6b9ccac llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffffb6b9ccac llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffffb6b9ccac llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffffb6b9ccac clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffffb6b9ccac clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffffb6b9cf08 clang::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 0x0000ffffb6b9d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffb6b9d41c clang::ento::CoreEngine::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 0x0000ffffb6b9d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffb6b9d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffb6b9d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffb6b9d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffb6b9d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffb6e6787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffb6e6787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffb6e6787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffb6e6787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffb6e6787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffb6e687e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffb6e687e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffb6e687e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffb6e6cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffb6e6cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffb6e6cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffb6e6cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffb6e6cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffb52c1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffb52c1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffb52c1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffb52c1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffb6987ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffb693fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffb693fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffb693fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffb69c610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaab7c859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaab7c894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaab7c8aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaab7c81fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffadf3098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffadf30a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaab7c820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/misc-ps-region-store.cpp.script: line 2: 1827175 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin9 -analyzer-checker=core,alpha.core,debug.ExprInspection -verify -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps-region-store.cpp -fexceptions -fcxx-exceptions -Wno-tautological-undefined-compare -- ******************** Testing: 0 FAIL: Clang :: Analysis/misc-ps-region-store.m (921 of 18953) ******************** TEST 'Clang :: Analysis/misc-ps-region-store.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin9 -analyzer-checker=core,alpha.core.CastToStruct,alpha.security.ReturnPtrRange,alpha.security.ArrayBound -verify -fblocks -Wno-objc-root-class -Wno-strict-prototypes -Wno-error=implicit-function-declaration /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps-region-store.m : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin9 -DTEST_64 -analyzer-checker=core,alpha.core.CastToStruct,alpha.security.ReturnPtrRange,alpha.security.ArrayBound -verify -fblocks -Wno-objc-root-class -Wno-strict-prototypes -Wno-error=implicit-function-declaration /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps-region-store.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin9 -analyzer-checker=core,alpha.core.CastToStruct,alpha.security.ReturnPtrRange,alpha.security.ArrayBound -verify -fblocks -Wno-objc-root-class -Wno-strict-prototypes -Wno-error=implicit-function-declaration /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps-region-store.m 1. parser at end of file 2. While analyzing stack: #0 Calling rdar11125868 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps-region-store.m:1360:10: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps-region-store.m:1360:10: Error evaluating statement #0 0x0000ffff9269acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff92699100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9269b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9b5d0800 (linux-vdso.so.1+0x800) #4 0x0000ffff9a8f3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9a8f3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9a8f3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9a8f3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9a8f3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9a8f3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff9a8f3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff9a8f3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9a5a0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9a5a0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9a5a0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9a5a0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9a5a1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9a5a1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9a5a1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9a5a1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff9a5b4770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff9a5b4770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff9a5b4770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff9a5b5cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff9a5b5cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff9a5b5cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff9a5b5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff9a5b5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff9a5b5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff9a5c17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff9a5c17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff9a5c17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9a5cb074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9a5cb074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9a5cb074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9a52f6d8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9a52f6d8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9a52f6d8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9a52f6d8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff9aa1d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9aa1d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9aa1d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff9a542a0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff9a542a0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff9a542a0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffff9a55ccac llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffff9a55ccac llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffff9a55ccac llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffff9a55ccac clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffff9a55ccac clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffff9a55cf08 clang::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 0x0000ffff9a55d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff9a55d41c clang::ento::CoreEngine::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 0x0000ffff9a55d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff9a55d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff9a55d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff9a55d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff9a55d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff9a82787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff9a82787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff9a82787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff9a82787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff9a82787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff9a8287e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff9a8287e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff9a8287e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff9a82cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff9a82cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff9a82cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff9a82cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff9a82cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff98c81e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff98c81e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff98c81e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff98c81e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff9a347ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff9a2ffc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff9a2ffc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff9a2ffc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff9a38610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaabace59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaabace94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaabaceaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaabace1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff918f098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff918f0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaabace20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/misc-ps-region-store.m.script: line 2: 1827177 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin9 -analyzer-checker=core,alpha.core.CastToStruct,alpha.security.ReturnPtrRange,alpha.security.ArrayBound -verify -fblocks -Wno-objc-root-class -Wno-strict-prototypes -Wno-error=implicit-function-declaration /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps-region-store.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/misc-ps.c (923 of 18953) ******************** TEST 'Clang :: Analysis/misc-ps.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -disable-free -analyzer-checker=core,deadcode,debug.ExprInspection -Wno-pointer-to-int-cast -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -disable-free -analyzer-checker=core,deadcode,debug.ExprInspection -Wno-pointer-to-int-cast -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps.c 1. parser at end of file 2. While analyzing stack: #0 Calling PR15623 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps.c:200:8: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps.c:200:8: Error evaluating statement #0 0x0000ffffa9eeacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa9ee9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa9eeb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb2e21800 (linux-vdso.so.1+0x800) #4 0x0000ffffb2143688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb2143688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb2143688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb2143688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb2143688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb2143688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb2143688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb2143688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb1df0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb1df0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb1df0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb1df0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb1df1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb1df1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb1df1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb1df1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb1e04770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb1e04770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb1e04770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb1e05cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb1e05cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb1e05cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb1e05190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb1e05190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb1e05190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb1e117d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb1e117d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb1e117d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb1e1b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb1e1b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb1e1b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb1d7f6d8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb1d7f6d8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb1d7f6d8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb1d7f6d8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffb226d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb226d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb226d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffb1d92a0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffb1d92a0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffb1d92a0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffffb1daccac llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffffb1daccac llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffffb1daccac llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffffb1daccac clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffffb1daccac clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffffb1dacf08 clang::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 0x0000ffffb1dad1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffb1dad41c clang::ento::CoreEngine::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 0x0000ffffb1dad764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffb1dad764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffb1dad764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffb1dad764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffb1dad764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffb207787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffb207787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffb207787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffb207787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffb207787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffb20787e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffb20787e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffb20787e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffb207cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffb207cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffb207cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffb207cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffb207cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffb04d1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffb04d1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffb04d1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffb04d1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffb1b97ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffb1b4fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffb1b4fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffb1b4fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffb1bd610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaae0c859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaae0c894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaae0c8aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaae0c81fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffa914098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffa9140a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaae0c820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/misc-ps.c.script: line 1: 1827186 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -disable-free -analyzer-checker=core,deadcode,debug.ExprInspection -Wno-pointer-to-int-cast -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/missing-bind-temporary.cpp (925 of 18953) ******************** TEST 'Clang :: Analysis/missing-bind-temporary.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-unknown-linux -analyzer-checker=debug.DumpCFG -std=c++14 -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/missing-bind-temporary.cpp > /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/missing-bind-temporary.cpp.tmp 2>&1 : 'RUN: at line 2'; /usr/bin/FileCheck --input-file=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/missing-bind-temporary.cpp.tmp /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/missing-bind-temporary.cpp : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-unknown-linux -analyzer-checker=core,debug.ExprInspection -std=c++14 -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/missing-bind-temporary.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-unknown-linux -analyzer-checker=core,debug.ExprInspection -std=c++14 -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/missing-bind-temporary.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling variant_2::B::B() at line 113 #1 Calling variant_2::foo(int) at line 119 #2 Calling variant_2::bar() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/missing-bind-temporary.cpp:93:7: Error evaluating statement #0 0x0000ffffa6d1acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa6d19100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa6d1b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffafc59800 (linux-vdso.so.1+0x800) #4 0x0000ffffaebc7db8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffaebc7db8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffaebc7db8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffaebc7db8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffaebc7db8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffaebc7db8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffaebc7db8 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffaebc7db8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1059:61 #12 0x0000ffffaebdce94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffffaebdce94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffffaebdce94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffffaebdce94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffffaebdce94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffffaebdce94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffffaebdce94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffffaebdce94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffffaebdce94 clang::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 0x0000ffffaebdd1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffaebdd310 clang::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 0x0000ffffaebdd5dc clang::ento::CoreEngine::dispatchWorkItem(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 0x0000ffffaebdd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x0000ffffaebdd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x0000ffffaebdd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #27 0x0000ffffaebdd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #28 0x0000ffffaebdd764 clang::ento::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 0x0000ffffaeea787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffffaeea787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffffaeea787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #32 0x0000ffffaeea787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #33 0x0000ffffaeea787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #34 0x0000ffffaeea87e8 llvm::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 0x0000ffffaeea87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x0000ffffaeea87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #37 0x0000ffffaeeacde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x0000ffffaeeacde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x0000ffffaeeacde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x0000ffffaeeacde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x0000ffffaeeacde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x0000ffffad301e58 __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 0x0000ffffad301e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x0000ffffad301e58 void clang::finalize>, 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 0x0000ffffad301e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x0000ffffae9c7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #47 0x0000ffffae97fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #48 0x0000ffffae97fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #49 0x0000ffffae97fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #50 0x0000ffffaea0610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #51 0x0000aaaac29a59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x0000aaaac29a94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x0000aaaac29aaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x0000aaaac29a1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x0000ffffa5f7098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #56 0x0000ffffa5f70a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #57 0x0000aaaac29a20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/missing-bind-temporary.cpp.script: line 3: 1827231 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-unknown-linux -analyzer-checker=core,debug.ExprInspection -std=c++14 -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/missing-bind-temporary.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/misc-ps.m (926 of 18953) ******************** TEST 'Clang :: Analysis/misc-ps.m' FAILED ******************** Script: -- : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin10 -analyzer-checker=core,alpha.core,osx.cocoa.AtSync -Wno-strict-prototypes -Wno-pointer-to-int-cast -verify -fblocks -Wno-unreachable-code -Wno-null-dereference -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps.m : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,alpha.core,osx.cocoa.AtSync -Wno-strict-prototypes -Wno-pointer-to-int-cast -verify -fblocks -Wno-unreachable-code -Wno-null-dereference -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin10 -analyzer-checker=core,alpha.core,osx.cocoa.AtSync -Wno-strict-prototypes -Wno-pointer-to-int-cast -verify -fblocks -Wno-unreachable-code -Wno-null-dereference -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps.m 1. parser at end of file 2. While analyzing stack: #0 Calling rdar1196620_call_assert at line 1357 #1 Calling rdar1196620 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps.m:1353:3: Error evaluating branch #0 0x0000ffff9b67acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff9b679100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9b67b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa45b6800 (linux-vdso.so.1+0x800) #4 0x0000ffffa38d3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa38d3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa38d3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa38d3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa38d3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa38d3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa38d3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa38d3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa3580c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa3580c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa3580c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa3580c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa3581ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa3581ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa3581ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa3581ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa3594770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa3594770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa3594770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa3595cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa3595cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa3595cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa3595190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa3595190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa3595190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa35a17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa35a17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa35a17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa35ab074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa35ab074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa35ab074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa350f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa350f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa350f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa350f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa39fd3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa39fd3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa39fd3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffa35258c8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffffa35258c8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffffa35258c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffffa35258c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffffa35258c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffffa35258c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffffa35258c8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffffa35258c8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffffa35258c8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffffa35258c8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffffa3525e30 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffffa353d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffa353d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffa353d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffa353d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffa353d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffa380787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffa380787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffa380787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffa380787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffa380787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffa38087e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffa38087e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffa38087e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffa380cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffa380cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffa380cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffa380cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffa380cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffa1c61e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffa1c61e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffa1c61e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffa1c61e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffa3327ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffa32dfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffa32dfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffa32dfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffa336610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaae5b659f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaae5b694b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaae5b6aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaae5b61fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff9a8d098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff9a8d0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaae5b620b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/misc-ps.m.script: line 2: 1827207 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin10 -analyzer-checker=core,alpha.core,osx.cocoa.AtSync -Wno-strict-prototypes -Wno-pointer-to-int-cast -verify -fblocks -Wno-unreachable-code -Wno-null-dereference -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/misc-ps.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/mismatched-iterator.cpp (927 of 18953) ******************** TEST 'Clang :: Analysis/mismatched-iterator.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus,alpha.cplusplus.MismatchedIterator -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config c++-container-inlining=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/mismatched-iterator.cpp -verify : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus,alpha.cplusplus.MismatchedIterator -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config c++-container-inlining=true -DINLINE=1 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/mismatched-iterator.cpp -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus,alpha.cplusplus.MismatchedIterator -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config c++-container-inlining=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/mismatched-iterator.cpp -verify 1. parser at end of file 2. While analyzing stack: #0 Calling comparison_ptr_iterator(cont_with_ptr_iterator &, cont_with_ptr_iterator &) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/mismatched-iterator.cpp:130:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/mismatched-iterator.cpp:130:7: Error evaluating statement #0 0x0000ffff8710acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff87109100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8710b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9004b800 (linux-vdso.so.1+0x800) #4 0x0000ffff8efea900 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffff8efea900 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff8efea900 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff8efea900 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff8efea900 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff8efea900 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff8efea900 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x0000ffff8efea900 getConstraint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1055:37 #12 0x0000ffff8efea900 (anonymous namespace)::getConstraint(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1060:23 #13 0x0000ffff8efea9dc (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 0x0000ffff8f03e038 getConst /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1238:0 #15 0x0000ffff8f03e038 (anonymous namespace)::SimpleSValBuilder::simplifySValOnce(llvm::IntrusiveRefCntPtr, clang::ento::SVal)::Simplifier::getConstOrVisit(clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1246:0 #16 0x0000ffff8f03d874 VisitSymIntExpr /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1270:0 #17 0x0000ffff8f03d874 clang::ento::SymExprVisitor<(anonymous namespace)::SimpleSValBuilder::simplifySValOnce(llvm::IntrusiveRefCntPtr, clang::ento::SVal)::Simplifier, clang::ento::SVal>::Visit(clang::ento::SymExpr const*) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:0 #18 0x0000ffff8f44a8a4 VisitNonLocSymbolVal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1365:0 #19 0x0000ffff8f44a8a4 Visit /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.def:67:0 #20 0x0000ffff8f44a8a4 (anonymous namespace)::SimpleSValBuilder::simplifySValOnce(llvm::IntrusiveRefCntPtr, clang::ento::SVal) (.constprop.0.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1371:0 #21 0x0000ffff8f025484 simplifyUntilFixpoint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1194:40 #22 0x0000ffff8f025484 (anonymous namespace)::SimpleSValBuilder::simplifySVal(llvm::IntrusiveRefCntPtr, clang::ento::SVal) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1203:31 #23 0x0000ffff8f024a58 clang::ento::simplifyToSVal(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:237:26 #24 0x0000ffff8f024b5c clang::ento::simplify(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:241:38 #25 0x0000ffff8f025b9c clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:26:17 #26 0x0000ffff8f025190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8f025190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8f025190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff8f0317d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff8f0317d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff8f0317d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8f03b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8f03b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8f03b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8ef9f6d8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8ef9f6d8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8ef9f6d8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8ef9f6d8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff8ef9fbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8ef9fbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8ef9fbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff8ef731c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff8ef731c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff8ef731c0 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff8f126504 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #46 0x0000ffff8f126504 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #47 0x0000ffff8f126504 clang::ento::iterator::assumeNoOverflow(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, long) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/Iterator.cpp:291:0 #48 0x0000ffff8f0a2988 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #49 0x0000ffff8f0a2988 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff8f0a2988 createContainerBegin /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp:850:0 #51 0x0000ffff8f0a2988 handleBegin /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp:258:0 #52 0x0000ffff8f0a2988 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp:193:0 #53 0x0000ffff8f0a2988 void clang::ento::check::PostCall::_checkCall<(anonymous namespace)::ContainerModeling>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:183:0 #54 0x0000ffff8ef89524 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #55 0x0000ffff8ef89524 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #56 0x0000ffff8ef89524 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #57 0x0000ffff8ef89524 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #58 0x0000ffff8ef89524 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #59 0x0000ffff8efe98b8 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #60 0x0000ffff8efe98b8 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #61 0x0000ffff8efe98b8 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #62 0x0000ffff8efe98b8 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #63 0x0000ffff8efe98b8 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #64 0x0000ffff8efe98b8 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #65 0x0000ffff8efea144 clang::ento::ExprEngine::VisitCallExpr(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 0x0000ffff8efcbea0 clang::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 0x0000ffff8efcbea0 clang::ento::ExprEngine::Visit(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 0x0000ffff8efccf08 clang::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 0x0000ffff8efcd1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8efcd41c clang::ento::CoreEngine::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 0x0000ffff8efcd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #72 0x0000ffff8efcd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #73 0x0000ffff8efcd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #74 0x0000ffff8efcd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #75 0x0000ffff8efcd764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #76 0x0000ffff8f29787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #77 0x0000ffff8f29787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #78 0x0000ffff8f29787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #79 0x0000ffff8f29787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #80 0x0000ffff8f29787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #81 0x0000ffff8f2987e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #82 0x0000ffff8f2987e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #83 0x0000ffff8f2987e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #84 0x0000ffff8f29cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #85 0x0000ffff8f29cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #86 0x0000ffff8f29cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #87 0x0000ffff8f29cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #88 0x0000ffff8f29cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #89 0x0000ffff8d6f1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #90 0x0000ffff8d6f1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #91 0x0000ffff8d6f1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #92 0x0000ffff8d6f1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #93 0x0000ffff8edb7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #94 0x0000ffff8ed6fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #95 0x0000ffff8ed6fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #96 0x0000ffff8ed6fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #97 0x0000ffff8edf610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #98 0x0000aaaad2de59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #99 0x0000aaaad2de94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #100 0x0000aaaad2deaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #101 0x0000aaaad2de1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #102 0x0000ffff8636098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #103 0x0000ffff86360a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #104 0x0000aaaad2de20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/mismatched-iterator.cpp.script: line 2: 1827215 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus,alpha.cplusplus.MismatchedIterator -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config c++-container-inlining=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/mismatched-iterator.cpp -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/model-file.cpp (928 of 18953) ******************** TEST 'Clang :: Analysis/model-file.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-config faux-bodies=true,model-path=/builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Inputs/Models -analyzer-output=plist-multi-file -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/model-file.cpp -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/model-file.cpp.tmp : 'RUN: at line 2'; grep -Ev '^[[:space:]]*.* version .*[[:space:]]*$|^[[:space:]]*/.*[[:space:]]*$|^[[:space:]]*.:.*[[:space:]]*$' parser at end of file 2. While analyzing stack: #0 Calling main() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/model-file.cpp:31:7: Error evaluating branch #0 0x0000ffffa5efacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa5ef9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa5efb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffaee34800 (linux-vdso.so.1+0x800) #4 0x0000ffffae153688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffae153688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffae153688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffae153688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffae153688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffae153688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffae153688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffae153688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffade00c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffade00c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffade00c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffade00c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffade01940 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffade01940 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffade01940 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffade01940 (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:0 #20 0x0000ffffade1591c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffade1591c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffade1591c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffffade15bf0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffade15bf0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffade15bf0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffffade15190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffade15190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffade15190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffade217d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffade217d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffade217d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffade2b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffade2b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffade2b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffadd8f6d8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffadd8f6d8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffadd8f6d8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffadd8f6d8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffae27d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffae27d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffae27d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffadda58c8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffffadda58c8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffffadda58c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffffadda58c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffffadda58c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffffadda58c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffffadda58c8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffffadda58c8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffffadda58c8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffffadda58c8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffffadda5e30 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffffaddbd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffaddbd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffaddbd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffaddbd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffaddbd764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffae08787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffae08787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffae08787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffae08787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffae08787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffae0887e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffae0887e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffae0887e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffae08cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffae08cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffae08cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffae08cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffae08cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffac4e1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffac4e1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffac4e1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffac4e1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffadba7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffadb5fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffadb5fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffadb5fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffadbe610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaac9ae59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaac9ae94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaac9aeaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaac9ae1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffa515098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffa5150a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaac9ae20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/model-file.cpp.script: line 2: 1827237 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-config faux-bodies=true,model-path=/builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Inputs/Models -analyzer-output=plist-multi-file -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/model-file.cpp -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/model-file.cpp.tmp -- ******************** Testing: 0 FAIL: Clang :: Analysis/mpicheckernotes.cpp (929 of 18953) ******************** TEST 'Clang :: Analysis/mpicheckernotes.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=optin.mpi.MPI-Checker -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/mpicheckernotes.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=optin.mpi.MPI-Checker -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/mpicheckernotes.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling tripleNonblocking() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/mpicheckernotes.cpp:29:3: Error evaluating statement #0 0x0000ffff880bacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff880b9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff880bb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff90ff0800 (linux-vdso.so.1+0x800) #4 0x0000ffff9012c98c llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9012c98c llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9012c98c llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9012c98c llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9012c98c llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9012c98c 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 0x0000ffff9012c98c 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 0x0000ffff9012c98c 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 0x0000ffff8ff4d814 void expandGraphWithCheckers<(anonymous namespace)::CheckDeadSymbolsContext>((anonymous namespace)::CheckDeadSymbolsContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #13 0x0000ffff8ff67fe8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x0000ffff8ff67fe8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x0000ffff8ff67fe8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #16 0x0000ffff8ff67fe8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #17 0x0000ffff8ff67fe8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #18 0x0000ffff8ff67fe8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #19 0x0000ffff8ff67fe8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1080:48 #20 0x0000ffff8ff7ce94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #21 0x0000ffff8ff7ce94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #22 0x0000ffff8ff7ce94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #23 0x0000ffff8ff7ce94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #24 0x0000ffff8ff7ce94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #25 0x0000ffff8ff7ce94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #26 0x0000ffff8ff7ce94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #27 0x0000ffff8ff7ce94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #28 0x0000ffff8ff7ce94 clang::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 0x0000ffff8ff7d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8ff7d41c clang::ento::CoreEngine::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 0x0000ffff8ff7d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #32 0x0000ffff8ff7d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #33 0x0000ffff8ff7d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #34 0x0000ffff8ff7d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #35 0x0000ffff8ff7d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #36 0x0000ffff9024787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffff9024787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffff9024787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #39 0x0000ffff9024787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #40 0x0000ffff9024787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #41 0x0000ffff902487e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #42 0x0000ffff902487e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #43 0x0000ffff902487e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #44 0x0000ffff9024cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #45 0x0000ffff9024cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #46 0x0000ffff9024cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #47 0x0000ffff9024cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #48 0x0000ffff9024cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #49 0x0000ffff8e6a1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #50 0x0000ffff8e6a1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #51 0x0000ffff8e6a1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #52 0x0000ffff8e6a1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #53 0x0000ffff8fd67ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #54 0x0000ffff8fd1fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #55 0x0000ffff8fd1fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #56 0x0000ffff8fd1fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #57 0x0000ffff8fda610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #58 0x0000aaaac8c259f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #59 0x0000aaaac8c294b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #60 0x0000aaaac8c2aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #61 0x0000aaaac8c21fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #62 0x0000ffff8731098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #63 0x0000ffff87310a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #64 0x0000aaaac8c220b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/mpicheckernotes.cpp.script: line 1: 1827271 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=optin.mpi.MPI-Checker -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/mpicheckernotes.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/mpichecker.cpp (930 of 18953) ******************** TEST 'Clang :: Analysis/mpichecker.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=optin.mpi.MPI-Checker -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/mpichecker.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=optin.mpi.MPI-Checker -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/mpichecker.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling externFunctions1() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/mpichecker.cpp:335:3: Error evaluating statement #0 0x0000ffff7ea5acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7ea59100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7ea5b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff87990800 (linux-vdso.so.1+0x800) #4 0x0000ffff86acc98c llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff86acc98c llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff86acc98c llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff86acc98c llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff86acc98c llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff86acc98c 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 0x0000ffff86acc98c 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 0x0000ffff86acc98c 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 0x0000ffff868ed814 void expandGraphWithCheckers<(anonymous namespace)::CheckDeadSymbolsContext>((anonymous namespace)::CheckDeadSymbolsContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #13 0x0000ffff86907fe8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x0000ffff86907fe8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x0000ffff86907fe8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #16 0x0000ffff86907fe8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #17 0x0000ffff86907fe8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #18 0x0000ffff86907fe8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #19 0x0000ffff86907fe8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1080:48 #20 0x0000ffff8691ce94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #21 0x0000ffff8691ce94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #22 0x0000ffff8691ce94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #23 0x0000ffff8691ce94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #24 0x0000ffff8691ce94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #25 0x0000ffff8691ce94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #26 0x0000ffff8691ce94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #27 0x0000ffff8691ce94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #28 0x0000ffff8691ce94 clang::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 0x0000ffff8691d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8691d41c clang::ento::CoreEngine::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 0x0000ffff8691d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #32 0x0000ffff8691d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #33 0x0000ffff8691d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #34 0x0000ffff8691d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #35 0x0000ffff8691d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #36 0x0000ffff86be787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffff86be787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffff86be787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #39 0x0000ffff86be787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #40 0x0000ffff86be787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #41 0x0000ffff86be87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #42 0x0000ffff86be87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #43 0x0000ffff86be87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #44 0x0000ffff86becde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #45 0x0000ffff86becde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #46 0x0000ffff86becde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #47 0x0000ffff86becde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #48 0x0000ffff86becde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #49 0x0000ffff85041e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #50 0x0000ffff85041e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #51 0x0000ffff85041e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #52 0x0000ffff85041e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #53 0x0000ffff86707ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #54 0x0000ffff866bfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #55 0x0000ffff866bfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #56 0x0000ffff866bfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #57 0x0000ffff8674610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #58 0x0000aaaad23a59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #59 0x0000aaaad23a94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #60 0x0000aaaad23aaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #61 0x0000aaaad23a1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #62 0x0000ffff7dcb098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #63 0x0000ffff7dcb0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #64 0x0000aaaad23a20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/mpichecker.cpp.script: line 1: 1827262 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=optin.mpi.MPI-Checker -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/mpichecker.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/mutually_exclusive_null_fp.cpp (931 of 18953) ******************** TEST 'Clang :: Analysis/mutually_exclusive_null_fp.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/mutually_exclusive_null_fp.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/mutually_exclusive_null_fp.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling compare(Data &, Data &) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/mutually_exclusive_null_fp.cpp:16:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/mutually_exclusive_null_fp.cpp:16:7: Error evaluating statement #0 0x0000ffffb3d9acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb3d99100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb3d9b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffbccde800 (linux-vdso.so.1+0x800) #4 0x0000ffffbbc9a80c retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffbbc9a80c retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffbbc9a80c retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffbbc9a80c IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffbbc9a80c ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffbbc9a80c MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffbbc9a80c get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffbbc9a80c (anonymous namespace)::EquivalenceClass::mergeImpl(clang::ento::RangeSet::Factory&, llvm::IntrusiveRefCntPtr, llvm::ImmutableSet>, (anonymous namespace)::EquivalenceClass, llvm::ImmutableSet>) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2361:0 #12 0x0000ffffbbc9c73c llvm::IntrusiveRefCntPtrInfo>>::release(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:351:0 #13 0x0000ffffbbc9c73c llvm::IntrusiveRefCntPtr>>::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #14 0x0000ffffbbc9c73c llvm::IntrusiveRefCntPtr>>::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #15 0x0000ffffbbc9c73c llvm::ImmutableSet>::~ImmutableSet() /usr/include/llvm/ADT/ImmutableSet.h:957:0 #16 0x0000ffffbbc9c73c (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 0x0000ffffbbca12b0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #18 0x0000ffffbbca12b0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffbbca12b0 merge /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2309:0 #20 0x0000ffffbbca12b0 trackEquality /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2160:0 #21 0x0000ffffbbca12b0 assignSymSymExprToRangeSet /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2238:0 #22 0x0000ffffbbca12b0 assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:0 #23 0x0000ffffbbca12b0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:0 #24 0x0000ffffbbca12b0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:0 #25 0x0000ffffbbca12b0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:0 #26 0x0000ffffbbca12b0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #27 0x0000ffffbbca12b0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #28 0x0000ffffbbca1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #29 0x0000ffffbbca1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #30 0x0000ffffbbca1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x0000ffffbbca1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #32 0x0000ffffbbcb4770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #33 0x0000ffffbbcb4770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #34 0x0000ffffbbcb4770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, 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 0x0000ffffbbcb5ddc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffbbcb5ddc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffbbcb5ddc 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 0x0000ffffbbcb5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #39 0x0000ffffbbcb5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #40 0x0000ffffbbcb5190 clang::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 0x0000ffffbbcc17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #42 0x0000ffffbbcc17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #43 0x0000ffffbbcc17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #44 0x0000ffffbbccb074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #45 0x0000ffffbbccb074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x0000ffffbbccb074 clang::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 0x0000ffffbbc2f6d8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #48 0x0000ffffbbc2f6d8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #49 0x0000ffffbbc2f6d8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #50 0x0000ffffbbc2f6d8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #51 0x0000ffffbc11d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffbc11d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffbc11d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #54 0x0000ffffbbc42a0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #55 0x0000ffffbbc42a0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #56 0x0000ffffbbc42a0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #57 0x0000ffffbbc5ccac llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #58 0x0000ffffbbc5ccac llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #59 0x0000ffffbbc5ccac llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #60 0x0000ffffbbc5ccac clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #61 0x0000ffffbbc5ccac clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #62 0x0000ffffbbc5cf08 clang::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 0x0000ffffbbc5d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffbbc5d41c clang::ento::CoreEngine::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 0x0000ffffbbc5d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #66 0x0000ffffbbc5d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #67 0x0000ffffbbc5d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #68 0x0000ffffbbc5d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #69 0x0000ffffbbc5d764 clang::ento::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 0x0000ffffbbf2787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #71 0x0000ffffbbf2787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #72 0x0000ffffbbf2787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #73 0x0000ffffbbf2787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #74 0x0000ffffbbf2787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #75 0x0000ffffbbf287e8 llvm::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 0x0000ffffbbf287e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #77 0x0000ffffbbf287e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #78 0x0000ffffbbf2cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #79 0x0000ffffbbf2cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #80 0x0000ffffbbf2cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #81 0x0000ffffbbf2cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #82 0x0000ffffbbf2cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #83 0x0000ffffba381e58 __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 0x0000ffffba381e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #85 0x0000ffffba381e58 void clang::finalize>, 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 0x0000ffffba381e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #87 0x0000ffffbba47ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #88 0x0000ffffbb9ffc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #89 0x0000ffffbb9ffc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #90 0x0000ffffbb9ffc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #91 0x0000ffffbba8610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #92 0x0000aaaad08a59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #93 0x0000aaaad08a94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #94 0x0000aaaad08aaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #95 0x0000aaaad08a1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #96 0x0000ffffb2ff098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #97 0x0000ffffb2ff0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #98 0x0000aaaad08a20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/mutually_exclusive_null_fp.cpp.script: line 1: 1827279 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/mutually_exclusive_null_fp.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/new-aligned.cpp (932 of 18953) ******************** TEST 'Clang :: Analysis/new-aligned.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++17 -analyze -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-aligned.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++17 -analyze -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-aligned.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling foo() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-aligned.cpp:12:10: Error evaluating New Allocator Call #0 0x0000ffffb66aacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb66a9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb66ab388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffbf5e0800 (linux-vdso.so.1+0x800) #4 0x0000ffffbe903688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffbe903688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffbe903688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffbe903688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffbe903688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffbe903688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffbe903688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffbe903688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffbe5b0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffbe5b0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffbe5b0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffbe5b0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffbe5b1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffbe5b1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffbe5b1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffbe5b1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffbe5c4770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffbe5c4770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffbe5c4770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffbe5c5cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffbe5c5cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffbe5c5cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffbe5c5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffbe5c5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffbe5c5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffbe5d17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffbe5d17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffbe5d17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffbe5db074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffbe5db074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffbe5db074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffbe53f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffbe53f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffbe53f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffbe53f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffbe53fbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffbe53fbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffbe53fbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffbe569b98 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #43 0x0000ffffbe569b98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #44 0x0000ffffbe569b98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffffbe569b98 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #46 0x0000ffffbe569b98 clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #47 0x0000ffffbe569fac llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #48 0x0000ffffbe569fac llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #49 0x0000ffffbe569fac clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #50 0x0000ffffbe569fac clang::ento::CoreEngine::enqueue(clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:613:23 #51 0x0000ffffbe569fac clang::ento::ExprEngine::ProcessNewAllocator(clang::CXXNewExpr const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1326:0 #52 0x0000ffffbe56d22c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:984:0 #53 0x0000ffffbe56d310 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #54 0x0000ffffbe56d5dc clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #55 0x0000ffffbe56d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #56 0x0000ffffbe56d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #57 0x0000ffffbe56d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #58 0x0000ffffbe56d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #59 0x0000ffffbe56d764 clang::ento::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 0x0000ffffbe83787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #61 0x0000ffffbe83787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #62 0x0000ffffbe83787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #63 0x0000ffffbe83787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #64 0x0000ffffbe83787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #65 0x0000ffffbe8387e8 llvm::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 0x0000ffffbe8387e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #67 0x0000ffffbe8387e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #68 0x0000ffffbe83cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #69 0x0000ffffbe83cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #70 0x0000ffffbe83cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #71 0x0000ffffbe83cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #72 0x0000ffffbe83cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #73 0x0000ffffbcc91e58 __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 0x0000ffffbcc91e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #75 0x0000ffffbcc91e58 void clang::finalize>, 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 0x0000ffffbcc91e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #77 0x0000ffffbe357ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #78 0x0000ffffbe30fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #79 0x0000ffffbe30fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #80 0x0000ffffbe30fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #81 0x0000ffffbe39610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #82 0x0000aaaacc8a59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #83 0x0000aaaacc8a94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #84 0x0000aaaacc8aaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #85 0x0000aaaacc8a1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #86 0x0000ffffb590098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #87 0x0000ffffb5900a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #88 0x0000aaaacc8a20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/new-aligned.cpp.script: line 1: 1827281 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++17 -analyze -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-aligned.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/new-ctor-inlined.cpp (933 of 18953) ******************** TEST 'Clang :: Analysis/new-ctor-inlined.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config c++-allocator-inlining=true -std=c++11 -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-ctor-inlined.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config c++-allocator-inlining=true -std=c++11 -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-ctor-inlined.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling S::S() at line 52 #1 Calling checkTrivialCopy() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-ctor-inlined.cpp:19:11: Error evaluating statement #0 0x0000ffff922facd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff922f9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff922fb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9b239800 (linux-vdso.so.1+0x800) #4 0x0000ffff9a1a7db8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff9a1a7db8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff9a1a7db8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff9a1a7db8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff9a1a7db8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff9a1a7db8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff9a1a7db8 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff9a1a7db8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1059:61 #12 0x0000ffff9a1bce94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffff9a1bce94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffff9a1bce94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffff9a1bce94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffff9a1bce94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffff9a1bce94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffff9a1bce94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffff9a1bce94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffff9a1bce94 clang::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 0x0000ffff9a1bd1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff9a1bd310 clang::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 0x0000ffff9a1bd5dc clang::ento::CoreEngine::dispatchWorkItem(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 0x0000ffff9a1bd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x0000ffff9a1bd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x0000ffff9a1bd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #27 0x0000ffff9a1bd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #28 0x0000ffff9a1bd764 clang::ento::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 0x0000ffff9a48787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffff9a48787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffff9a48787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #32 0x0000ffff9a48787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #33 0x0000ffff9a48787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #34 0x0000ffff9a4887e8 llvm::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 0x0000ffff9a4887e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x0000ffff9a4887e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #37 0x0000ffff9a48cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x0000ffff9a48cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x0000ffff9a48cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x0000ffff9a48cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x0000ffff9a48cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x0000ffff988e1e58 __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 0x0000ffff988e1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x0000ffff988e1e58 void clang::finalize>, 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 0x0000ffff988e1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x0000ffff99fa7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #47 0x0000ffff99f5fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #48 0x0000ffff99f5fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #49 0x0000ffff99f5fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #50 0x0000ffff99fe610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #51 0x0000aaaac8bf59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x0000aaaac8bf94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x0000aaaac8bfaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x0000aaaac8bf1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x0000ffff9155098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #56 0x0000ffff91550a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #57 0x0000aaaac8bf20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/new-ctor-inlined.cpp.script: line 1: 1827307 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config c++-allocator-inlining=true -std=c++11 -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-ctor-inlined.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/new-ctor-conservative.cpp (934 of 18953) ******************** TEST 'Clang :: Analysis/new-ctor-conservative.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core,debug.ExprInspection -analyzer-config c++-allocator-inlining=true -std=c++11 -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-ctor-conservative.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core,debug.ExprInspection -analyzer-config c++-allocator-inlining=true -std=c++11 -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-ctor-conservative.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling checkNullThis() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-ctor-conservative.cpp:53:18: Error evaluating New Allocator Call #0 0x0000ffff8588acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff85889100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8588b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8e7cb800 (linux-vdso.so.1+0x800) #4 0x0000ffff8dae3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8dae3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8dae3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8dae3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8dae3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8dae3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff8dae3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff8dae3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8d790c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8d790c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8d790c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8d790c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8d791ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8d791ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8d791ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8d791ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff8d7a4770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff8d7a4770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff8d7a4770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff8d7a5cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff8d7a5cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff8d7a5cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff8d7a5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8d7a5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8d7a5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff8d7b17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff8d7b17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff8d7b17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8d7bb074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8d7bb074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8d7bb074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8d71f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8d71f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8d71f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8d71f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff8d71fbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8d71fbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8d71fbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff8d749b98 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #43 0x0000ffff8d749b98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #44 0x0000ffff8d749b98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffff8d749b98 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #46 0x0000ffff8d749b98 clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #47 0x0000ffff8d749fac llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #48 0x0000ffff8d749fac llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #49 0x0000ffff8d749fac clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #50 0x0000ffff8d749fac clang::ento::CoreEngine::enqueue(clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:613:23 #51 0x0000ffff8d749fac clang::ento::ExprEngine::ProcessNewAllocator(clang::CXXNewExpr const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1326:0 #52 0x0000ffff8d74d22c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:984:0 #53 0x0000ffff8d74d310 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #54 0x0000ffff8d74d5dc clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #55 0x0000ffff8d74d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #56 0x0000ffff8d74d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #57 0x0000ffff8d74d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #58 0x0000ffff8d74d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #59 0x0000ffff8d74d764 clang::ento::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 0x0000ffff8da1787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #61 0x0000ffff8da1787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #62 0x0000ffff8da1787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #63 0x0000ffff8da1787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #64 0x0000ffff8da1787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #65 0x0000ffff8da187e8 llvm::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 0x0000ffff8da187e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #67 0x0000ffff8da187e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #68 0x0000ffff8da1cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #69 0x0000ffff8da1cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #70 0x0000ffff8da1cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #71 0x0000ffff8da1cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #72 0x0000ffff8da1cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #73 0x0000ffff8be71e58 __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 0x0000ffff8be71e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #75 0x0000ffff8be71e58 void clang::finalize>, 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 0x0000ffff8be71e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #77 0x0000ffff8d537ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #78 0x0000ffff8d4efc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #79 0x0000ffff8d4efc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #80 0x0000ffff8d4efc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #81 0x0000ffff8d57610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #82 0x0000aaaad1ef59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #83 0x0000aaaad1ef94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #84 0x0000aaaad1efaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #85 0x0000aaaad1ef1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #86 0x0000ffff84ae098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #87 0x0000ffff84ae0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #88 0x0000aaaad1ef20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/new-ctor-conservative.cpp.script: line 1: 1827296 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core,debug.ExprInspection -analyzer-config c++-allocator-inlining=true -std=c++11 -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-ctor-conservative.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/new-ctor-null-throw.cpp (935 of 18953) ******************** TEST 'Clang :: Analysis/new-ctor-null-throw.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core -analyzer-config suppress-null-return-paths=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-ctor-null-throw.cpp : 'RUN: at line 4'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core -DSUPPRESSED -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-ctor-null-throw.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core -analyzer-config suppress-null-return-paths=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-ctor-null-throw.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling operator new(size_t) at line 50 #1 Calling testMethod() #0 0x0000ffffa02cacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa02c9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa02cb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa9209800 (linux-vdso.so.1+0x800) #4 0x0000ffffa8177db8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffa8177db8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffa8177db8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffa8177db8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffa8177db8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffa8177db8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffa8177db8 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffa8177db8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1059:61 #12 0x0000ffffa81bfdfc clang::ento::ExprEngine::processCallExit(clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:372:0 #13 0x0000ffffa818d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #14 0x0000ffffa818d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #15 0x0000ffffa818d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #16 0x0000ffffa818d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #17 0x0000ffffa818d764 clang::ento::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 0x0000ffffa845787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #19 0x0000ffffa845787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #20 0x0000ffffa845787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #21 0x0000ffffa845787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #22 0x0000ffffa845787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #23 0x0000ffffa84587e8 llvm::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 0x0000ffffa84587e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #25 0x0000ffffa84587e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #26 0x0000ffffa845cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #27 0x0000ffffa845cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #28 0x0000ffffa845cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #29 0x0000ffffa845cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #30 0x0000ffffa845cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #31 0x0000ffffa68b1e58 __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 0x0000ffffa68b1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #33 0x0000ffffa68b1e58 void clang::finalize>, 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 0x0000ffffa68b1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #35 0x0000ffffa7f77ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #36 0x0000ffffa7f2fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #37 0x0000ffffa7f2fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #38 0x0000ffffa7f2fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #39 0x0000ffffa7fb610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #40 0x0000aaaadfb059f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #41 0x0000aaaadfb094b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #42 0x0000aaaadfb0aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #43 0x0000aaaadfb01fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #44 0x0000ffff9f52098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #45 0x0000ffff9f520a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #46 0x0000aaaadfb020b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/new-ctor-null-throw.cpp.script: line 2: 1827320 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core -analyzer-config suppress-null-return-paths=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-ctor-null-throw.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/new-ctor-malloc.cpp (936 of 18953) ******************** TEST 'Clang :: Analysis/new-ctor-malloc.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection,unix.Malloc -analyzer-config c++-allocator-inlining=true -analyzer-output=text -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-ctor-malloc.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection,unix.Malloc -analyzer-config c++-allocator-inlining=true -analyzer-output=text -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-ctor-malloc.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling operator new(size_t) at line 19 #1 Calling checkNewAndConstructorInlining() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-ctor-malloc.cpp:10:13: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-ctor-malloc.cpp:10:13: Error evaluating statement #0 0x0000ffff86dfacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff86df9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff86dfb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8fd36800 (linux-vdso.so.1+0x800) #4 0x0000ffff8f053688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8f053688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8f053688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8f053688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8f053688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8f053688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff8f053688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff8f053688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8ed00c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8ed00c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8ed00c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8ed00c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8ed01ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8ed01ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8ed01ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8ed01ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff8ed14770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff8ed14770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff8ed14770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff8ed15cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff8ed15cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff8ed15cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff8ed15190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8ed15190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8ed15190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff8ed217d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff8ed217d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff8ed217d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8ed2b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8ed2b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8ed2b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8ec8f6d8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8ec8f6d8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8ec8f6d8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8ec8f6d8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff8f17d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8f17d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8f17d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff8ee544b0 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #43 0x0000ffff8ee544b0 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #44 0x0000ffff8ee544b0 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #45 0x0000ffff8ee544b0 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #46 0x0000ffff8ee544b0 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #47 0x0000ffff8ee544b0 (anonymous namespace)::MallocChecker::ProcessZeroAllocCheck(clang::ento::CallEvent const&, unsigned int, llvm::IntrusiveRefCntPtr, std::optional) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1529:0 #48 0x0000ffff8ee54900 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #49 0x0000ffff8ee54900 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff8ee54900 (anonymous namespace)::MallocChecker::checkBasicAlloc(clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1217:0 #51 0x0000ffff8ee60e00 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #52 0x0000ffff8ee60e00 void clang::ento::check::PostCall::_checkCall<(anonymous namespace)::MallocChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:183:0 #53 0x0000ffff8ec79524 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #54 0x0000ffff8ec79524 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #55 0x0000ffff8ec79524 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #56 0x0000ffff8ec79524 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #57 0x0000ffff8ec79524 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #58 0x0000ffff8ecd98b8 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #59 0x0000ffff8ecd98b8 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #60 0x0000ffff8ecd98b8 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #61 0x0000ffff8ecd98b8 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #62 0x0000ffff8ecd98b8 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #63 0x0000ffff8ecd98b8 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #64 0x0000ffff8ecda144 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #65 0x0000ffff8ecbbea0 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #66 0x0000ffff8ecbbea0 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #67 0x0000ffff8ecbcf08 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #68 0x0000ffff8ecbd1f0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #69 0x0000ffff8ecbd41c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #70 0x0000ffff8ecbd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #71 0x0000ffff8ecbd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #72 0x0000ffff8ecbd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #73 0x0000ffff8ecbd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #74 0x0000ffff8ecbd764 clang::ento::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 0x0000ffff8ef8787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #76 0x0000ffff8ef8787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #77 0x0000ffff8ef8787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #78 0x0000ffff8ef8787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #79 0x0000ffff8ef8787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #80 0x0000ffff8ef887e8 llvm::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 0x0000ffff8ef887e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #82 0x0000ffff8ef887e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #83 0x0000ffff8ef8cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #84 0x0000ffff8ef8cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #85 0x0000ffff8ef8cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #86 0x0000ffff8ef8cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #87 0x0000ffff8ef8cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #88 0x0000ffff8d3e1e58 __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 0x0000ffff8d3e1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #90 0x0000ffff8d3e1e58 void clang::finalize>, 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 0x0000ffff8d3e1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #92 0x0000ffff8eaa7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #93 0x0000ffff8ea5fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #94 0x0000ffff8ea5fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #95 0x0000ffff8ea5fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #96 0x0000ffff8eae610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #97 0x0000aaaadd3759f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #98 0x0000aaaadd3794b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #99 0x0000aaaadd37aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #100 0x0000aaaadd371fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #101 0x0000ffff8605098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #102 0x0000ffff86050a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #103 0x0000aaaadd3720b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/new-ctor-malloc.cpp.script: line 1: 1827315 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection,unix.Malloc -analyzer-config c++-allocator-inlining=true -analyzer-output=text -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-ctor-malloc.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/new-ctor-null.cpp (937 of 18953) ******************** TEST 'Clang :: Analysis/new-ctor-null.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-ctor-null.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-ctor-null.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling operator new(size_t) at line 38 #1 Calling testInvalidationOnConstructionIntoNull() #0 0x0000ffffb569acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb5699100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb569b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffbe5d7800 (linux-vdso.so.1+0x800) #4 0x0000ffffbd547db8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffbd547db8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffbd547db8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffbd547db8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffbd547db8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffbd547db8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffbd547db8 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffbd547db8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1059:61 #12 0x0000ffffbd58fdfc clang::ento::ExprEngine::processCallExit(clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:372:0 #13 0x0000ffffbd55d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #14 0x0000ffffbd55d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #15 0x0000ffffbd55d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #16 0x0000ffffbd55d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #17 0x0000ffffbd55d764 clang::ento::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 0x0000ffffbd82787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #19 0x0000ffffbd82787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #20 0x0000ffffbd82787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #21 0x0000ffffbd82787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #22 0x0000ffffbd82787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #23 0x0000ffffbd8287e8 llvm::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 0x0000ffffbd8287e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #25 0x0000ffffbd8287e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #26 0x0000ffffbd82cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #27 0x0000ffffbd82cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #28 0x0000ffffbd82cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #29 0x0000ffffbd82cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #30 0x0000ffffbd82cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #31 0x0000ffffbbc81e58 __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 0x0000ffffbbc81e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #33 0x0000ffffbbc81e58 void clang::finalize>, 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 0x0000ffffbbc81e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #35 0x0000ffffbd347ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #36 0x0000ffffbd2ffc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #37 0x0000ffffbd2ffc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #38 0x0000ffffbd2ffc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #39 0x0000ffffbd38610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #40 0x0000aaaae8bd59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #41 0x0000aaaae8bd94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #42 0x0000aaaae8bdaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #43 0x0000aaaae8bd1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #44 0x0000ffffb48f098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #45 0x0000ffffb48f0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #46 0x0000aaaae8bd20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/new-ctor-null.cpp.script: line 1: 1827340 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-ctor-null.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/new-ctor-recursive.cpp (939 of 18953) ******************** TEST 'Clang :: Analysis/new-ctor-recursive.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus.NewDelete,cplusplus.NewDeleteLeaks,debug.ExprInspection -analyzer-config c++-allocator-inlining=true -std=c++11 -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-ctor-recursive.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus.NewDelete,cplusplus.NewDeleteLeaks,debug.ExprInspection -analyzer-config c++-allocator-inlining=true -std=c++11 -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-ctor-recursive.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling testChainedOperatorNew() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-ctor-recursive.cpp:69:12: Error evaluating New Allocator Call #0 0x0000ffff8dd1acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8dd19100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8dd1b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff96c5c800 (linux-vdso.so.1+0x800) #4 0x0000ffff95f73688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff95f73688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff95f73688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff95f73688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff95f73688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff95f73688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff95f73688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff95f73688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff95c20c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff95c20c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff95c20c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff95c20c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff95c21ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff95c21ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff95c21ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff95c21ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff95c34770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff95c34770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff95c34770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff95c35cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff95c35cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff95c35cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff95c35190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff95c35190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff95c35190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff95c417d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff95c417d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff95c417d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff95c4b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff95c4b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff95c4b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff95baf72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff95baf72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff95baf72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff95baf72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff95bafbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff95bafbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff95bafbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff95bd9b98 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #43 0x0000ffff95bd9b98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #44 0x0000ffff95bd9b98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffff95bd9b98 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #46 0x0000ffff95bd9b98 clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #47 0x0000ffff95bd9fac llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #48 0x0000ffff95bd9fac llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #49 0x0000ffff95bd9fac clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #50 0x0000ffff95bd9fac clang::ento::CoreEngine::enqueue(clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:613:23 #51 0x0000ffff95bd9fac clang::ento::ExprEngine::ProcessNewAllocator(clang::CXXNewExpr const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1326:0 #52 0x0000ffff95bdd22c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:984:0 #53 0x0000ffff95bdd41c clang::ento::CoreEngine::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 0x0000ffff95bdd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #55 0x0000ffff95bdd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #56 0x0000ffff95bdd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #57 0x0000ffff95bdd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #58 0x0000ffff95bdd764 clang::ento::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 0x0000ffff95ea787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #60 0x0000ffff95ea787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #61 0x0000ffff95ea787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #62 0x0000ffff95ea787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #63 0x0000ffff95ea787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #64 0x0000ffff95ea87e8 llvm::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 0x0000ffff95ea87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x0000ffff95ea87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #67 0x0000ffff95eacde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x0000ffff95eacde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x0000ffff95eacde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x0000ffff95eacde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x0000ffff95eacde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x0000ffff94301e58 __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 0x0000ffff94301e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x0000ffff94301e58 void clang::finalize>, 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 0x0000ffff94301e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x0000ffff959c7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #77 0x0000ffff9597fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #78 0x0000ffff9597fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #79 0x0000ffff9597fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #80 0x0000ffff95a0610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #81 0x0000aaaabed259f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x0000aaaabed294b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x0000aaaabed2aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x0000aaaabed21fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x0000ffff8cf7098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #86 0x0000ffff8cf70a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #87 0x0000aaaabed220b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/new-ctor-recursive.cpp.script: line 1: 1827342 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,cplusplus.NewDelete,cplusplus.NewDeleteLeaks,debug.ExprInspection -analyzer-config c++-allocator-inlining=true -std=c++11 -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-ctor-recursive.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/new-dynamic-types.cpp (940 of 18953) ******************** TEST 'Clang :: Analysis/new-dynamic-types.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-dynamic-types.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-dynamic-types.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling test_non_ub() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-dynamic-types.cpp:26:3: Error evaluating New Allocator Call #0 0x0000ffffac37acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffac379100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffac37b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb52b6800 (linux-vdso.so.1+0x800) #4 0x0000ffffb45d3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb45d3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb45d3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb45d3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb45d3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb45d3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb45d3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb45d3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb4280c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb4280c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb4280c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb4280c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb4281ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb4281ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb4281ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb4281ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb4294770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb4294770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb4294770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb4295cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb4295cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb4295cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb4295190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb4295190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb4295190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb42a17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb42a17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb42a17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb42ab074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb42ab074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb42ab074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb420f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb420f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb420f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb420f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb420fbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb420fbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb420fbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffb4239b98 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #43 0x0000ffffb4239b98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #44 0x0000ffffb4239b98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffffb4239b98 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #46 0x0000ffffb4239b98 clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #47 0x0000ffffb4239fac llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #48 0x0000ffffb4239fac llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #49 0x0000ffffb4239fac clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #50 0x0000ffffb4239fac clang::ento::CoreEngine::enqueue(clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:613:23 #51 0x0000ffffb4239fac clang::ento::ExprEngine::ProcessNewAllocator(clang::CXXNewExpr const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1326:0 #52 0x0000ffffb423d22c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:984:0 #53 0x0000ffffb423d41c clang::ento::CoreEngine::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 0x0000ffffb423d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #55 0x0000ffffb423d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #56 0x0000ffffb423d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #57 0x0000ffffb423d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #58 0x0000ffffb423d764 clang::ento::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 0x0000ffffb450787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #60 0x0000ffffb450787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #61 0x0000ffffb450787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #62 0x0000ffffb450787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #63 0x0000ffffb450787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #64 0x0000ffffb45087e8 llvm::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 0x0000ffffb45087e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x0000ffffb45087e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #67 0x0000ffffb450cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x0000ffffb450cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x0000ffffb450cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x0000ffffb450cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x0000ffffb450cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x0000ffffb2961e58 __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 0x0000ffffb2961e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x0000ffffb2961e58 void clang::finalize>, 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 0x0000ffffb2961e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x0000ffffb4027ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #77 0x0000ffffb3fdfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #78 0x0000ffffb3fdfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #79 0x0000ffffb3fdfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #80 0x0000ffffb406610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #81 0x0000aaaad7b659f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x0000aaaad7b694b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x0000aaaad7b6aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x0000aaaad7b61fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x0000ffffab5d098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #86 0x0000ffffab5d0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #87 0x0000aaaad7b620b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/new-dynamic-types.cpp.script: line 1: 1827355 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-dynamic-types.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/new-ctor-symbolic.cpp (941 of 18953) ******************** TEST 'Clang :: Analysis/new-ctor-symbolic.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config c++-allocator-inlining=true -std=c++11 -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-ctor-symbolic.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config c++-allocator-inlining=true -std=c++11 -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-ctor-symbolic.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling S::operator new(size_t) at line 31 #1 Calling testIndexLiveness() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-ctor-symbolic.cpp:21:9: Error evaluating branch #0 0x0000ffffb051acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb0519100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb051b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb945c800 (linux-vdso.so.1+0x800) #4 0x0000ffffb8773688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb8773688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb8773688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb8773688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb8773688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb8773688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb8773688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb8773688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb8420c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb8420c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb8420c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb8420c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb8421ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb8421ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb8421ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb8421ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb8434770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb8434770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb8434770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb8435cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb8435cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb8435cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb8435190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb8435190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb8435190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb84417d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb84417d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb84417d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb844b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb844b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb844b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb83af6d8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb83af6d8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb83af6d8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb83af6d8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffb889d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb889d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb889d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffb83c58c8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffffb83c58c8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffffb83c58c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffffb83c58c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffffb83c58c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffffb83c58c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffffb83c58c8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffffb83c58c8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffffb83c58c8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffffb83c58c8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffffb83c5e30 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffffb83dd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffb83dd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffb83dd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffb83dd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffb83dd764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffb86a787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffb86a787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffb86a787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffb86a787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffb86a787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffb86a87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffb86a87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffb86a87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffb86acde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffb86acde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffb86acde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffb86acde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffb86acde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffb6b01e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffb6b01e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffb6b01e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffb6b01e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffb81c7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffb817fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffb817fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffb817fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffb820610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaae25859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaae25894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaae258aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaae2581fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffaf77098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffaf770a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaae25820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/new-ctor-symbolic.cpp.script: line 1: 1827356 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config c++-allocator-inlining=true -std=c++11 -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-ctor-symbolic.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/new-with-exceptions.cpp (942 of 18953) ******************** TEST 'Clang :: Analysis/new-with-exceptions.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -std=c++11 -fexceptions -fcxx-exceptions -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-with-exceptions.cpp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-with-exceptions.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -std=c++11 -fexceptions -fcxx-exceptions -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-with-exceptions.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling testNewArrayNoThrow() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-with-exceptions.cpp:49:31: Error evaluating statement #0 0x0000ffff9578acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff95789100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9578b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9e6c0800 (linux-vdso.so.1+0x800) #4 0x0000ffff9d637db8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff9d637db8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff9d637db8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff9d637db8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff9d637db8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff9d637db8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff9d637db8 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff9d637db8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1059:61 #12 0x0000ffff9d64ce94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffff9d64ce94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffff9d64ce94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffff9d64ce94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffff9d64ce94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffff9d64ce94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffff9d64ce94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffff9d64ce94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffff9d64ce94 clang::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 0x0000ffff9d64d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff9d64d41c clang::ento::CoreEngine::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 0x0000ffff9d64d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #24 0x0000ffff9d64d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #25 0x0000ffff9d64d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #26 0x0000ffff9d64d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #27 0x0000ffff9d64d764 clang::ento::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 0x0000ffff9d91787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #29 0x0000ffff9d91787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #30 0x0000ffff9d91787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #31 0x0000ffff9d91787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #32 0x0000ffff9d91787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #33 0x0000ffff9d9187e8 llvm::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 0x0000ffff9d9187e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #35 0x0000ffff9d9187e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #36 0x0000ffff9d91cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #37 0x0000ffff9d91cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #38 0x0000ffff9d91cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #39 0x0000ffff9d91cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #40 0x0000ffff9d91cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #41 0x0000ffff9bd71e58 __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 0x0000ffff9bd71e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #43 0x0000ffff9bd71e58 void clang::finalize>, 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 0x0000ffff9bd71e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #45 0x0000ffff9d437ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #46 0x0000ffff9d3efc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #47 0x0000ffff9d3efc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #48 0x0000ffff9d3efc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #49 0x0000ffff9d47610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #50 0x0000aaaac2b559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #51 0x0000aaaac2b594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #52 0x0000aaaac2b5aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #53 0x0000aaaac2b51fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #54 0x0000ffff949e098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #55 0x0000ffff949e0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #56 0x0000aaaac2b520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/new-with-exceptions.cpp.script: line 2: 1827371 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -std=c++11 -fexceptions -fcxx-exceptions -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new-with-exceptions.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/new.cpp (943 of 18953) ******************** TEST 'Clang :: Analysis/new.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,debug.ExprInspection -std=c++11 -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new.cpp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,debug.ExprInspection -std=c++11 -DTEST_INLINABLE_ALLOCATORS -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,debug.ExprInspection -std=c++11 -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling test_member_invalidation() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new.cpp:341:30: Error evaluating New Allocator Call #0 0x0000ffffadb2acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffadb29100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffadb2b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb6a62800 (linux-vdso.so.1+0x800) #4 0x0000ffffb5d83688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb5d83688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb5d83688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb5d83688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb5d83688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb5d83688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb5d83688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb5d83688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb5a30c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb5a30c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb5a30c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb5a30c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb5a31ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb5a31ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb5a31ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb5a31ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb5a44770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb5a44770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb5a44770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb5a45cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb5a45cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb5a45cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb5a45190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb5a45190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb5a45190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb5a517d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb5a517d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb5a517d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb5a5b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb5a5b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb5a5b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb59bf72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb59bf72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb59bf72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb59bf72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb59bfbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb59bfbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb59bfbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffb59e9b98 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #43 0x0000ffffb59e9b98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #44 0x0000ffffb59e9b98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffffb59e9b98 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #46 0x0000ffffb59e9b98 clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #47 0x0000ffffb59e9fac llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #48 0x0000ffffb59e9fac llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #49 0x0000ffffb59e9fac clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #50 0x0000ffffb59e9fac clang::ento::CoreEngine::enqueue(clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:613:23 #51 0x0000ffffb59e9fac clang::ento::ExprEngine::ProcessNewAllocator(clang::CXXNewExpr const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1326:0 #52 0x0000ffffb59ed22c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:984:0 #53 0x0000ffffb59ed310 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #54 0x0000ffffb59ed5dc clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #55 0x0000ffffb59ed764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #56 0x0000ffffb59ed764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #57 0x0000ffffb59ed764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #58 0x0000ffffb59ed764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #59 0x0000ffffb59ed764 clang::ento::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 0x0000ffffb5cb787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #61 0x0000ffffb5cb787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #62 0x0000ffffb5cb787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #63 0x0000ffffb5cb787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #64 0x0000ffffb5cb787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #65 0x0000ffffb5cb87e8 llvm::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 0x0000ffffb5cb87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #67 0x0000ffffb5cb87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #68 0x0000ffffb5cbcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #69 0x0000ffffb5cbcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #70 0x0000ffffb5cbcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #71 0x0000ffffb5cbcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #72 0x0000ffffb5cbcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #73 0x0000ffffb4111e58 __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 0x0000ffffb4111e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #75 0x0000ffffb4111e58 void clang::finalize>, 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 0x0000ffffb4111e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #77 0x0000ffffb57d7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #78 0x0000ffffb578fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #79 0x0000ffffb578fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #80 0x0000ffffb578fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #81 0x0000ffffb581610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #82 0x0000aaaae74959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #83 0x0000aaaae74994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #84 0x0000aaaae749aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #85 0x0000aaaae7491fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #86 0x0000ffffacd8098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #87 0x0000ffffacd80a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #88 0x0000aaaae74920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/new.cpp.script: line 2: 1827376 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,debug.ExprInspection -std=c++11 -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/new.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/nil-receiver-undefined-larger-than-voidptr-ret-region.m (944 of 18953) ******************** TEST 'Clang :: Analysis/nil-receiver-undefined-larger-than-voidptr-ret-region.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin8 -analyzer-checker=core,alpha.core -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nil-receiver-undefined-larger-than-voidptr-ret-region.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin8 -analyzer-checker=core,alpha.core -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nil-receiver-undefined-larger-than-voidptr-ret-region.m 1. parser at end of file #0 0x0000ffffb206acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb2069100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb206b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffbafac800 (linux-vdso.so.1+0x800) #4 0x0000ffffba2c3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffba2c3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffba2c3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffba2c3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffba2c3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffba2c3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffba2c3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffba2c3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb9f70c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb9f70c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb9f70c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb9f70c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb9f71ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb9f71ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb9f71ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb9f71ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb9f84770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb9f84770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb9f84770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb9f85cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb9f85cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb9f85cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb9f85190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb9f85190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb9f85190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb9f917d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb9f917d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb9f917d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb9f9b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb9f9b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb9f9b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb9eff72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb9eff72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb9eff72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb9eff72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb9effbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb9effbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb9effbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffb9ed31c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffb9ed31c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffb9ed31c0 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffb9f0fba8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffb9f0fba8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffb9f0fba8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffffb9f2daa8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffb9f2daa8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffb9f2daa8 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffba1f787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffba1f787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffba1f787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffba1f787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffba1f787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffba1f87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffffba1f87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffba1f87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffba1fcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffba1fcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffba1fcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffba1fcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffba1fcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffb8651e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffffb8651e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffb8651e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffffb8651e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffb9d17ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffb9ccfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffb9ccfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffb9ccfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffb9d5610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaab03159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaab03194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaab031aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaab0311fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffffb12c098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffffb12c0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaab03120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/nil-receiver-undefined-larger-than-voidptr-ret-region.m.script: line 1: 1827381 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin8 -analyzer-checker=core,alpha.core -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nil-receiver-undefined-larger-than-voidptr-ret-region.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/nil-receiver-undefined-larger-than-voidptr-ret.m (945 of 18953) ******************** TEST 'Clang :: Analysis/nil-receiver-undefined-larger-than-voidptr-ret.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin8 -analyzer-checker=core,alpha.core -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nil-receiver-undefined-larger-than-voidptr-ret.m > /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/nil-receiver-undefined-larger-than-voidptr-ret.m.tmp.1 2>&1 : 'RUN: at line 2'; /usr/bin/FileCheck -input-file=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/nil-receiver-undefined-larger-than-voidptr-ret.m.tmp.1 -check-prefix=CHECK-darwin8 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nil-receiver-undefined-larger-than-voidptr-ret.m : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin9 -analyzer-checker=core,alpha.core -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nil-receiver-undefined-larger-than-voidptr-ret.m > /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/nil-receiver-undefined-larger-than-voidptr-ret.m.tmp.2 2>&1 : 'RUN: at line 4'; /usr/bin/FileCheck -input-file=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/nil-receiver-undefined-larger-than-voidptr-ret.m.tmp.2 -check-prefix=CHECK-darwin9 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nil-receiver-undefined-larger-than-voidptr-ret.m : 'RUN: at line 5'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple thumbv6-apple-ios4.0 -analyzer-checker=core,alpha.core -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nil-receiver-undefined-larger-than-voidptr-ret.m > /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/nil-receiver-undefined-larger-than-voidptr-ret.m.tmp.3 2>&1 : 'RUN: at line 6'; /usr/bin/FileCheck -input-file=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/nil-receiver-undefined-larger-than-voidptr-ret.m.tmp.3 -check-prefix=CHECK-darwin9 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nil-receiver-undefined-larger-than-voidptr-ret.m -- Exit Code: 139 Command Output (stderr): -- /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/nil-receiver-undefined-larger-than-voidptr-ret.m.script: line 6: 1827393 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin8 -analyzer-checker=core,alpha.core -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nil-receiver-undefined-larger-than-voidptr-ret.m > /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/nil-receiver-undefined-larger-than-voidptr-ret.m.tmp.1 2>&1 -- ******************** Testing: 0 FAIL: Clang :: Analysis/no-exit-cfg.c (946 of 18953) ******************** TEST 'Clang :: Analysis/no-exit-cfg.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/no-exit-cfg.c : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -analyzer-config cfg-scopes=true -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/no-exit-cfg.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/no-exit-cfg.c 1. parser at end of file 2. While analyzing stack: #0 Calling f 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/no-exit-cfg.c:16:7: Error evaluating branch #0 0x0000ffff92bcacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff92bc9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff92bcb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9bb01800 (linux-vdso.so.1+0x800) #4 0x0000ffff9ae23688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9ae23688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9ae23688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9ae23688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9ae23688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9ae23688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff9ae23688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff9ae23688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9aad0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9aad0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9aad0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9aad0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9aad1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9aad1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9aad1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9aad1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff9aae591c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff9aae591c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff9aae591c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffff9aae5bf0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff9aae5bf0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff9aae5bf0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffff9aae5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff9aae5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff9aae5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff9aaf17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff9aaf17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff9aaf17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9aafb074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9aafb074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9aafb074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9aa5f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9aa5f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9aa5f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9aa5f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9af4d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9af4d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9af4d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff9aa758c8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffff9aa758c8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffff9aa758c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffff9aa758c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffff9aa758c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffff9aa758c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffff9aa758c8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffff9aa758c8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffff9aa758c8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffff9aa758c8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffff9aa75e30 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffff9aa8d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff9aa8d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff9aa8d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff9aa8d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff9aa8d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff9ad5787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff9ad5787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff9ad5787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff9ad5787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff9ad5787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff9ad587e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff9ad587e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff9ad587e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff9ad5cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff9ad5cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff9ad5cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff9ad5cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff9ad5cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff991b1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff991b1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff991b1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff991b1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff9a877ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff9a82fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff9a82fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff9a82fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff9a8b610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaae9c059f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaae9c094b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaae9c0aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaae9c01fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff91e2098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff91e20a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaae9c020b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/no-exit-cfg.c.script: line 2: 1827411 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/no-exit-cfg.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/no-outofbounds.c (947 of 18953) ******************** TEST 'Clang :: Analysis/no-outofbounds.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core,alpha.unix,alpha.security.ArrayBound -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/no-outofbounds.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core,alpha.unix,alpha.security.ArrayBound -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/no-outofbounds.c 1. parser at end of file 2. While analyzing stack: #0 Calling field 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/no-outofbounds.c:28:19: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/no-outofbounds.c:28:19: Error evaluating statement #0 0x0000ffff9c0facd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff9c0f9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9c0fb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa503e800 (linux-vdso.so.1+0x800) #4 0x0000ffffa41a1168 isEqual /usr/include/llvm/ADT/ImmutableMap.h:45:41 #5 0x0000ffffa41a1168 add_internal /usr/include/llvm/ADT/ImmutableSet.h:538:26 #6 0x0000ffffa41a1168 add /usr/include/llvm/ADT/ImmutableSet.h:396:0 #7 0x0000ffffa41a1168 add /usr/include/llvm/ADT/ImmutableMap.h:100:0 #8 0x0000ffffa41a1168 Set /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:171:0 #9 0x0000ffffa41a1168 llvm::IntrusiveRefCntPtr clang::ento::ProgramStateManager::set<(anonymous namespace)::RegionState>(llvm::IntrusiveRefCntPtr, clang::ento::ProgramStateTrait<(anonymous namespace)::RegionState>::key_type, clang::ento::ProgramStateTrait<(anonymous namespace)::RegionState>::value_type, clang::ento::ProgramStateTrait<(anonymous namespace)::RegionState>::context_type) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:652:0 #10 0x0000ffffa41a1fcc llvm::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 0x0000ffffa41a1fcc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #12 0x0000ffffa41a1fcc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #13 0x0000ffffa41a1fcc set<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:876:0 #14 0x0000ffffa41a1fcc checkPostStmt /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/PointerArithChecker.cpp:270:0 #15 0x0000ffffa41a1fcc void clang::ento::check::PostStmt::_checkStmt<(anonymous namespace)::PointerArithChecker>(void*, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:104:0 #16 0x0000ffffa3f78078 expandGraphWithCheckers<(anonymous namespace)::CheckStmtContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #17 0x0000ffffa3f78078 clang::ento::CheckerManager::runCheckersForStmt(bool, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::Stmt const*, clang::ento::ExprEngine&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:190:0 #18 0x0000ffffa3fbb8a8 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #19 0x0000ffffa3fbb8a8 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2259:0 #20 0x0000ffffa3fbcf08 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #21 0x0000ffffa3fbd1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffa3fbd41c clang::ento::CoreEngine::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 0x0000ffffa3fbd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #24 0x0000ffffa3fbd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #25 0x0000ffffa3fbd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #26 0x0000ffffa3fbd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #27 0x0000ffffa3fbd764 clang::ento::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 0x0000ffffa428787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #29 0x0000ffffa428787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #30 0x0000ffffa428787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #31 0x0000ffffa428787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #32 0x0000ffffa428787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #33 0x0000ffffa42887e8 llvm::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 0x0000ffffa42887e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #35 0x0000ffffa42887e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #36 0x0000ffffa428cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #37 0x0000ffffa428cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #38 0x0000ffffa428cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #39 0x0000ffffa428cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #40 0x0000ffffa428cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #41 0x0000ffffa26e1e58 __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 0x0000ffffa26e1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #43 0x0000ffffa26e1e58 void clang::finalize>, 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 0x0000ffffa26e1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #45 0x0000ffffa3da7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #46 0x0000ffffa3d5fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #47 0x0000ffffa3d5fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #48 0x0000ffffa3d5fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #49 0x0000ffffa3de610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #50 0x0000aaaae18c59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #51 0x0000aaaae18c94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #52 0x0000aaaae18caac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #53 0x0000aaaae18c1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #54 0x0000ffff9b35098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #55 0x0000ffff9b350a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #56 0x0000aaaae18c20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/no-outofbounds.c.script: line 1: 1827416 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core,alpha.unix,alpha.security.ArrayBound -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/no-outofbounds.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/no-store-suppression.cpp (948 of 18953) ******************** TEST 'Clang :: Analysis/no-store-suppression.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/no-store-suppression.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/no-store-suppression.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling std::operator>>(istream &, char &) at line 19 #1 Calling value_uninitialized_after_stream_shift::foo() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Inputs/no-store-suppression.h:11:7: Error evaluating branch #0 0x0000ffffa283acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa2839100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa283b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffab77e800 (linux-vdso.so.1+0x800) #4 0x0000ffffaaa93688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffaaa93688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffaaa93688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffaaa93688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffaaa93688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffaaa93688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffaaa93688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffaaa93688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffaa740c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffaa740c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffaa740c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffaa740c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffaa741940 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffaa741940 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffaa741940 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffaa741940 (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:0 #20 0x0000ffffaa75591c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffaa75591c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffaa75591c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffffaa755bf0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffaa755bf0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffaa755bf0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffffaa755190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffaa755190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffaa755190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffaa7617d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffaa7617d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffaa7617d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffaa76b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffaa76b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffaa76b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffaa6cf6d8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffaa6cf6d8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffaa6cf6d8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffaa6cf6d8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffaabbd3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffaabbd3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffaabbd3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffaa6e58c8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffffaa6e58c8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffffaa6e58c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffffaa6e58c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffffaa6e58c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffffaa6e58c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffffaa6e58c8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffffaa6e58c8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffffaa6e58c8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffffaa6e58c8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffffaa6e5e30 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffffaa6fd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffaa6fd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffaa6fd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffaa6fd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffaa6fd764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffaa9c787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffaa9c787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffaa9c787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffaa9c787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffaa9c787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffaa9c87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffaa9c87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffaa9c87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffaa9ccde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffaa9ccde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffaa9ccde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffaa9ccde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffaa9ccde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffa8e21e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffa8e21e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffa8e21e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffa8e21e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffaa4e7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffaa49fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffaa49fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffaa49fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffaa52610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaac02259f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaac02294b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaac022aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaac0221fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffa1a9098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffa1a90a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaac02220b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/no-store-suppression.cpp.script: line 1: 1827424 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/no-store-suppression.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/no-return.c (949 of 18953) ******************** TEST 'Clang :: Analysis/no-return.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/no-return.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/no-return.c 1. parser at end of file 2. While analyzing stack: #0 Calling return_zero_or_abort_by_fnptr at line 29 #1 Calling caller 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/no-return.c:13:7: Error evaluating branch #0 0x0000ffffa565acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa5659100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa565b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffae59a800 (linux-vdso.so.1+0x800) #4 0x0000ffffad8b3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffad8b3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffad8b3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffad8b3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffad8b3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffad8b3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffad8b3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffad8b3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffad560c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffad560c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffad560c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffad560c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffad561ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffad561ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffad561ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffad561ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffad57591c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffad57591c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffad57591c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffffad575bf0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffad575bf0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffad575bf0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffffad575190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffad575190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffad575190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffad5817d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffad5817d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffad5817d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffad58b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffad58b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffad58b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffad4ef72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffad4ef72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffad4ef72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffad4ef72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffad9dd3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffad9dd3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffad9dd3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffad5058c8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffffad5058c8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffffad5058c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffffad5058c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffffad5058c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffffad5058c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffffad5058c8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffffad5058c8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffffad5058c8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffffad5058c8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffffad505e30 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffffad51d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffad51d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffad51d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffad51d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffad51d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffad7e787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffad7e787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffad7e787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffad7e787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffad7e787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffad7e87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffad7e87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffad7e87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffad7ecde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffad7ecde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffad7ecde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffad7ecde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffad7ecde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffabc41e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffabc41e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffabc41e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffabc41e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffad307ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffad2bfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffad2bfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffad2bfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffad34610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaac07159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaac07194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaac071aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaac0711fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffa48b098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffa48b0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaac07120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/no-return.c.script: line 1: 1827421 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/no-return.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/no-unreachable-dtors.cpp (951 of 18953) ******************** TEST 'Clang :: Analysis/no-unreachable-dtors.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.Stats -verify -Wno-unreachable-code /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/no-unreachable-dtors.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.Stats -verify -Wno-unreachable-code /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/no-unreachable-dtors.cpp 1. parser at end of file #0 0x0000ffff8dffacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8dff9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8dffb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff96f38800 (linux-vdso.so.1+0x800) #4 0x0000ffff95eacc54 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff95eacc54 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff95eacc54 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff95eacc54 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff95eacc54 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff95eacc54 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff95eacc54 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff95eacc54 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 0x0000ffff95ead578 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 0x0000ffff95ebd5a4 clang::ento::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 0x0000ffff95ebd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #15 0x0000ffff95ebd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #16 0x0000ffff95ebd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #17 0x0000ffff95ebd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #18 0x0000ffff95ebd764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #19 0x0000ffff9618787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffff9618787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffff9618787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #22 0x0000ffff9618787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #23 0x0000ffff9618787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #24 0x0000ffff961887e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #25 0x0000ffff961887e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #26 0x0000ffff961887e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #27 0x0000ffff9618cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #28 0x0000ffff9618cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #29 0x0000ffff9618cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #30 0x0000ffff9618cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #31 0x0000ffff9618cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #32 0x0000ffff945e1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #33 0x0000ffff945e1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #34 0x0000ffff945e1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #35 0x0000ffff945e1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #36 0x0000ffff95ca7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #37 0x0000ffff95c5fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #38 0x0000ffff95c5fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #39 0x0000ffff95c5fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #40 0x0000ffff95ce610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #41 0x0000aaaab63859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #42 0x0000aaaab63894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #43 0x0000aaaab638aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #44 0x0000aaaab6381fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #45 0x0000ffff8d25098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #46 0x0000ffff8d250a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #47 0x0000aaaab63820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/no-unreachable-dtors.cpp.script: line 1: 1827442 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.Stats -verify -Wno-unreachable-code /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/no-unreachable-dtors.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/non-diagnosable-assumptions.c (953 of 18953) ******************** TEST 'Clang :: Analysis/non-diagnosable-assumptions.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core.DivideZero -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/non-diagnosable-assumptions.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core.DivideZero -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/non-diagnosable-assumptions.c 1. parser at end of file 2. While analyzing stack: #0 Calling test_exclamation_mark 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/non-diagnosable-assumptions.c:40:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/non-diagnosable-assumptions.c:40:7: Error evaluating statement #0 0x0000ffffabd1acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffabd19100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffabd1b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb4c5d800 (linux-vdso.so.1+0x800) #4 0x0000ffffb3f73688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb3f73688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb3f73688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb3f73688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb3f73688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb3f73688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb3f73688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb3f73688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb3c20c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb3c20c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb3c20c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb3c20c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb3c21ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb3c21ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb3c21ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb3c21ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb3c34770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb3c34770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb3c34770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb3c35cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb3c35cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb3c35cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb3c35190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb3c35190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb3c35190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb3c417d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb3c417d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb3c417d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb3c4b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb3c4b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb3c4b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb3baf6d8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb3baf6d8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb3baf6d8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb3baf6d8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffb409d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb409d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb409d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffb3bc2a0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffb3bc2a0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffb3bc2a0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffffb3bdccac llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffffb3bdccac llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffffb3bdccac llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffffb3bdccac clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffffb3bdccac clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffffb3bdcf08 clang::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 0x0000ffffb3bdd1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffb3bdd41c clang::ento::CoreEngine::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 0x0000ffffb3bdd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffb3bdd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffb3bdd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffb3bdd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffb3bdd764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffb3ea787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffb3ea787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffb3ea787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffb3ea787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffb3ea787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffb3ea87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffb3ea87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffb3ea87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffb3eacde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffb3eacde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffb3eacde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffb3eacde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffb3eacde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffb2301e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffb2301e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffb2301e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffb2301e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffb39c7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffb397fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffb397fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffb397fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffb3a0610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaac36059f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaac36094b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaac360aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaac3601fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffaaf7098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffaaf70a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaac36020b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/non-diagnosable-assumptions.c.script: line 1: 1827448 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core.DivideZero -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/non-diagnosable-assumptions.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/nonnull-global-constants.mm (954 of 18953) ******************** TEST 'Clang :: Analysis/nonnull-global-constants.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nonnull-global-constants.mm -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nonnull-global-constants.mm 1. parser at end of file 2. While analyzing stack: #0 Calling test_kCFNull() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nonnull-global-constants.mm:122:23: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nonnull-global-constants.mm:122:23: Error evaluating statement #0 0x0000ffff9588acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff95889100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9588b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9e7c7800 (linux-vdso.so.1+0x800) #4 0x0000ffff9dae3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9dae3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9dae3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9dae3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9dae3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9dae3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff9dae3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff9dae3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9d790c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9d790c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9d790c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9d790c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9d791ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9d791ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9d791ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9d791ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff9d7a4770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff9d7a4770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff9d7a4770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff9d7a5cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff9d7a5cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff9d7a5cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff9d7a5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff9d7a5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff9d7a5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff9d7b17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff9d7b17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff9d7b17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9d7bb074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9d7bb074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9d7bb074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9d71f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9d71f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9d71f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9d71f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9d71fbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9d71fbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9d71fbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff9d6f31c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff9d6f31c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff9d6f31c0 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff9d901e20 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #46 0x0000ffff9d901e20 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/NonnullGlobalConstantsChecker.cpp:88:0 #47 0x0000ffff9d901e20 void clang::ento::check::Location::_checkLocation<(anonymous namespace)::NonnullGlobalConstantsChecker>(void*, clang::ento::SVal const&, bool, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:199:0 #48 0x0000ffff9d7099b8 void expandGraphWithCheckers<(anonymous namespace)::CheckLocationContext>((anonymous namespace)::CheckLocationContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #49 0x0000ffff9d732270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:60 #50 0x0000ffff9d732270 clang::ento::ExprEngine::evalLocation(clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::Stmt const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3710:19 #51 0x0000ffff9d7324ac llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #52 0x0000ffff9d7324ac llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #53 0x0000ffff9d7324ac llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #54 0x0000ffff9d7324ac clang::ento::ExprEngine::evalLoad(clang::ento::ExplodedNodeSet&, clang::Expr const*, clang::Expr const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, clang::ProgramPointTag const*, clang::QualType) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3653:15 #55 0x0000ffff9d742170 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #56 0x0000ffff9d742170 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #57 0x0000ffff9d742170 clang::ento::ExprEngine::VisitCast(clang::CastExpr const*, clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:292:0 #58 0x0000ffff9d74b884 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #59 0x0000ffff9d74b884 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #60 0x0000ffff9d74b884 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2258:0 #61 0x0000ffff9d74cf08 clang::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 0x0000ffff9d74d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff9d74d41c clang::ento::CoreEngine::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 0x0000ffff9d74d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #65 0x0000ffff9d74d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #66 0x0000ffff9d74d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #67 0x0000ffff9d74d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #68 0x0000ffff9d74d764 clang::ento::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 0x0000ffff9da1787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #70 0x0000ffff9da1787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #71 0x0000ffff9da1787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #72 0x0000ffff9da1787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #73 0x0000ffff9da1787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #74 0x0000ffff9da187e8 llvm::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 0x0000ffff9da187e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #76 0x0000ffff9da187e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #77 0x0000ffff9da1cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #78 0x0000ffff9da1cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #79 0x0000ffff9da1cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #80 0x0000ffff9da1cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #81 0x0000ffff9da1cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #82 0x0000ffff9be71e58 __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 0x0000ffff9be71e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #84 0x0000ffff9be71e58 void clang::finalize>, 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 0x0000ffff9be71e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #86 0x0000ffff9d537ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #87 0x0000ffff9d4efc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #88 0x0000ffff9d4efc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #89 0x0000ffff9d4efc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #90 0x0000ffff9d57610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #91 0x0000aaaad99559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #92 0x0000aaaad99594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #93 0x0000aaaad995aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #94 0x0000aaaad9951fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #95 0x0000ffff94ae098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #96 0x0000ffff94ae0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #97 0x0000aaaad99520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/nonnull-global-constants.mm.script: line 1: 1827462 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nonnull-global-constants.mm -- ******************** Testing: 0 FAIL: Clang :: Analysis/nonnull.cpp (955 of 18953) ******************** TEST 'Clang :: Analysis/nonnull.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nonnull.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nonnull.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling f4(int, int *) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nonnull.cpp:31:7: Error evaluating branch #0 0x0000ffff9adcacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff9adc9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9adcb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa3d07800 (linux-vdso.so.1+0x800) #4 0x0000ffffa3023688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa3023688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa3023688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa3023688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa3023688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa3023688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa3023688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa3023688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa2cd0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa2cd0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa2cd0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa2cd0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa2cd1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa2cd1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa2cd1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa2cd1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa2ce4770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa2ce4770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa2ce4770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa2ce5cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa2ce5cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa2ce5cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa2ce5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa2ce5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa2ce5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa2cf17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa2cf17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa2cf17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa2cfb074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa2cfb074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa2cfb074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa2c5f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa2c5f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa2c5f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa2c5f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa314d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa314d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa314d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffa2c758c8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffffa2c758c8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffffa2c758c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffffa2c758c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffffa2c758c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffffa2c758c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffffa2c758c8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffffa2c758c8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffffa2c758c8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffffa2c758c8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffffa2c75e30 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffffa2c8d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffa2c8d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffa2c8d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffa2c8d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffa2c8d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffa2f5787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffa2f5787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffa2f5787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffa2f5787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffa2f5787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffa2f587e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffa2f587e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffa2f587e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffa2f5cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffa2f5cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffa2f5cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffa2f5cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffa2f5cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffa13b1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffa13b1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffa13b1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffa13b1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffa2a77ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffa2a2fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffa2a2fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffa2a2fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffa2ab610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaae88c59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaae88c94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaae88caac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaae88c1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff9a02098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff9a020a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaae88c20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/nonnull.cpp.script: line 1: 1827477 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nonnull.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/nonnullparamchecker-crash.cpp (956 of 18953) ******************** TEST 'Clang :: Analysis/nonnullparamchecker-crash.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nonnullparamchecker-crash.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nonnullparamchecker-crash.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling f(C) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nonnullparamchecker-crash.cpp:6:17: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nonnullparamchecker-crash.cpp:6:17: Error evaluating statement #0 0x0000ffff926eacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff926e9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff926eb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9b625800 (linux-vdso.so.1+0x800) #4 0x0000ffff9a598434 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9a598434 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9a598434 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9a598434 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9a598434 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9a598434 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff9a598434 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:0 #11 0x0000ffff9a598434 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 0x0000ffff9a5c92b0 clang::ento::ExprEngine::finishArgumentConstruction(llvm::IntrusiveRefCntPtr, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:640:59 #13 0x0000ffff9a5c9454 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #14 0x0000ffff9a5c9454 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #15 0x0000ffff9a5c9454 clang::ento::ExprEngine::finishArgumentConstruction(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:657:72 #16 0x0000ffff9a5a6164 clang::ento::ExprEngine::handleConstructor(clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:832:0 #17 0x0000ffff9a5abe5c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #18 0x0000ffff9a5abe5c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2158:0 #19 0x0000ffff9a5acf08 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #20 0x0000ffff9a5ad1f0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #21 0x0000ffff9a5ad41c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #22 0x0000ffff9a5ad764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #23 0x0000ffff9a5ad764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #24 0x0000ffff9a5ad764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #25 0x0000ffff9a5ad764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #26 0x0000ffff9a5ad764 clang::ento::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 0x0000ffff9a87787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x0000ffff9a87787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x0000ffff9a87787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #30 0x0000ffff9a87787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #31 0x0000ffff9a87787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #32 0x0000ffff9a8787e8 llvm::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 0x0000ffff9a8787e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #34 0x0000ffff9a8787e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #35 0x0000ffff9a87cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x0000ffff9a87cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x0000ffff9a87cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #38 0x0000ffff9a87cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #39 0x0000ffff9a87cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #40 0x0000ffff98cd1e58 __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 0x0000ffff98cd1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #42 0x0000ffff98cd1e58 void clang::finalize>, 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 0x0000ffff98cd1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #44 0x0000ffff9a397ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #45 0x0000ffff9a34fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #46 0x0000ffff9a34fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #47 0x0000ffff9a34fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #48 0x0000ffff9a3d610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #49 0x0000aaaaba1f59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #50 0x0000aaaaba1f94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #51 0x0000aaaaba1faac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #52 0x0000aaaaba1f1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #53 0x0000ffff9194098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #54 0x0000ffff91940a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #55 0x0000aaaaba1f20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/nonnullparamchecker-crash.cpp.script: line 1: 1827498 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nonnullparamchecker-crash.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/null-deref-offsets.c (957 of 18953) ******************** TEST 'Clang :: Analysis/null-deref-offsets.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -triple i386-apple-darwin10 -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/null-deref-offsets.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -triple i386-apple-darwin10 -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/null-deref-offsets.c 1. parser at end of file 2. While analyzing stack: #0 Calling testOffsets 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/null-deref-offsets.c:11:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/null-deref-offsets.c:11:7: Error evaluating statement #0 0x0000ffffb4baacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb4ba9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb4bab388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffbdaec800 (linux-vdso.so.1+0x800) #4 0x0000ffffbce03688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffbce03688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffbce03688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffbce03688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffbce03688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffbce03688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffbce03688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffbce03688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffbcab0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffbcab0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffbcab0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffbcab0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffbcab1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffbcab1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffbcab1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffbcab1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffbcac4770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffbcac4770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffbcac4770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffbcac5cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffbcac5cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffbcac5cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffbcac5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffbcac5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffbcac5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffbcad17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffbcad17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffbcad17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffbcadb074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffbcadb074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffbcadb074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffbca3f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffbca3f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffbca3f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffbca3f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffbcf2d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffbcf2d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffbcf2d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffbca52a0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffbca52a0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffbca52a0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffffbca6ccac llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffffbca6ccac llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffffbca6ccac llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffffbca6ccac clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffffbca6ccac clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffffbca6cf08 clang::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 0x0000ffffbca6d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffbca6d41c clang::ento::CoreEngine::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 0x0000ffffbca6d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffbca6d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffbca6d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffbca6d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffbca6d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffbcd3787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffbcd3787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffbcd3787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffbcd3787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffbcd3787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffbcd387e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffbcd387e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffbcd387e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffbcd3cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffbcd3cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffbcd3cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffbcd3cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffbcd3cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffbb191e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffbb191e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffbb191e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffbb191e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffbc857ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffbc80fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffbc80fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffbc80fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffbc89610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaac7ac59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaac7ac94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaac7acaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaac7ac1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffb3e0098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffb3e00a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaac7ac20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/null-deref-offsets.c.script: line 1: 1827516 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -triple i386-apple-darwin10 -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/null-deref-offsets.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/nonnull.m (958 of 18953) ******************** TEST 'Clang :: Analysis/nonnull.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -w -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nonnull.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -w -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nonnull.m 1. parser at end of file 2. While analyzing stack: #0 Calling testVararg 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nonnull.m:181:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nonnull.m:181:3: Error evaluating statement #0 0x0000ffff9bc9acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff9bc99100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9bc9b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa4bdc800 (linux-vdso.so.1+0x800) #4 0x0000ffffa3ef3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa3ef3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa3ef3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa3ef3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa3ef3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa3ef3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa3ef3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa3ef3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa3ba0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa3ba0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa3ba0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa3ba0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa3ba1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa3ba1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa3ba1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa3ba1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa3bb4770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa3bb4770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa3bb4770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa3bb5cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa3bb5cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa3bb5cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa3bb5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa3bb5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa3bb5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa3bc17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa3bc17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa3bc17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa3bcb074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa3bcb074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa3bcb074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa3b2f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa3b2f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa3b2f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa3b2f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa3d1090c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:0 #40 0x0000ffffa3d1090c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1324:0 #41 0x0000ffffa3d1090c checkPreCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/NonNullParamChecker.cpp:175:0 #42 0x0000ffffa3d1090c void clang::ento::check::PreCall::_checkCall<(anonymous namespace)::NonNullParamChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:168:0 #43 0x0000ffffa3b19524 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x0000ffffa3b19524 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffffa3b19524 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #46 0x0000ffffa3b19524 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #47 0x0000ffffa3b19524 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #48 0x0000ffffa3b797a0 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #49 0x0000ffffa3b797a0 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #50 0x0000ffffa3b797a0 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #51 0x0000ffffa3b797a0 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #52 0x0000ffffa3b797a0 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #53 0x0000ffffa3b797a0 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #54 0x0000ffffa3b797a0 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:683:44 #55 0x0000ffffa3b7a144 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #56 0x0000ffffa3b5bea0 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #57 0x0000ffffa3b5bea0 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #58 0x0000ffffa3b5cf08 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #59 0x0000ffffa3b5d1f0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #60 0x0000ffffa3b5d41c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #61 0x0000ffffa3b5d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #62 0x0000ffffa3b5d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #63 0x0000ffffa3b5d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #64 0x0000ffffa3b5d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #65 0x0000ffffa3b5d764 clang::ento::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 0x0000ffffa3e2787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #67 0x0000ffffa3e2787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #68 0x0000ffffa3e2787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #69 0x0000ffffa3e2787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #70 0x0000ffffa3e2787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #71 0x0000ffffa3e287e8 llvm::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 0x0000ffffa3e287e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #73 0x0000ffffa3e287e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #74 0x0000ffffa3e2cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #75 0x0000ffffa3e2cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #76 0x0000ffffa3e2cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #77 0x0000ffffa3e2cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #78 0x0000ffffa3e2cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #79 0x0000ffffa2281e58 __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 0x0000ffffa2281e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #81 0x0000ffffa2281e58 void clang::finalize>, 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 0x0000ffffa2281e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #83 0x0000ffffa3947ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #84 0x0000ffffa38ffc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #85 0x0000ffffa38ffc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #86 0x0000ffffa38ffc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #87 0x0000ffffa398610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #88 0x0000aaaacce959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #89 0x0000aaaacce994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #90 0x0000aaaacce9aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #91 0x0000aaaacce91fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #92 0x0000ffff9aef098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #93 0x0000ffff9aef0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #94 0x0000aaaacce920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/nonnull.m.script: line 1: 1827493 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -w -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nonnull.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/novoidtypecrash.c (959 of 18953) ******************** TEST 'Clang :: Analysis/novoidtypecrash.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c89 -Wno-int-conversion -analyzer-checker=core /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/novoidtypecrash.c -- Exit Code: 139 Command Output (stderr): -- /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/novoidtypecrash.c:6:5: warning: incompatible pointer types passing 'int **' to parameter of type 'void **' [-Wincompatible-pointer-types] 6 | y(&w); | ^~ /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/novoidtypecrash.c:3:10: note: passing argument to parameter 'z' here 3 | y(void **z) { // no-crash | ^ /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/novoidtypecrash.c:7:3: warning: expression result unused [-Wunused-value] 7 | *w; | ^~ /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/novoidtypecrash.c:8:1: warning: non-void function does not return a value [-Wreturn-type] 8 | } | ^ /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/novoidtypecrash.c:11:8: warning: non-void function does not return a value [-Wreturn-type] 11 | b(*c) {} | ^ /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/novoidtypecrash.c:16:1: warning: non-void function does not return a value [-Wreturn-type] 16 | } | ^ /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/novoidtypecrash.c:27:1: warning: non-void function does not return a value [-Wreturn-type] 27 | } | ^ PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c89 -Wno-int-conversion -analyzer-checker=core /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/novoidtypecrash.c 1. parser at end of file 2. While analyzing stack: #0 Calling j 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/novoidtypecrash.c:24:7: Error evaluating branch #0 0x0000ffff7cdbacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7cdb9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7cdbb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff85cfb800 (linux-vdso.so.1+0x800) #4 0x0000ffff85013688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff85013688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff85013688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff85013688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff85013688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff85013688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff85013688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff85013688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff84cc0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff84cc0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff84cc0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff84cc0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff84cc1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff84cc1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff84cc1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff84cc1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff84cd4770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff84cd4770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff84cd4770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff84cd5cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff84cd5cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff84cd5cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff84cd5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff84cd5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff84cd5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff84ce17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff84ce17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff84ce17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff84ceb074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff84ceb074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff84ceb074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff84cd5108 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff84cd5108 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff84cd5108 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:91:37 #38 0x0000ffff84ce17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #39 0x0000ffff84ce17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #40 0x0000ffff84ce17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #41 0x0000ffff84ceb074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #42 0x0000ffff84ceb074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #43 0x0000ffff84ceb074 clang::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 0x0000ffff84c4f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #45 0x0000ffff84c4f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #46 0x0000ffff84c4f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #47 0x0000ffff84c4f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #48 0x0000ffff8513d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #49 0x0000ffff8513d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #50 0x0000ffff8513d3d4 clang::ento::ProgramState::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 0x0000ffff84c658c8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #52 0x0000ffff84c658c8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #53 0x0000ffff84c658c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #54 0x0000ffff84c658c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #55 0x0000ffff84c658c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #56 0x0000ffff84c658c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #57 0x0000ffff84c658c8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #58 0x0000ffff84c658c8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #59 0x0000ffff84c658c8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #60 0x0000ffff84c658c8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #61 0x0000ffff84c65e30 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #62 0x0000ffff84c7d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #63 0x0000ffff84c7d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #64 0x0000ffff84c7d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #65 0x0000ffff84c7d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #66 0x0000ffff84c7d764 clang::ento::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 0x0000ffff84f4787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #68 0x0000ffff84f4787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #69 0x0000ffff84f4787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #70 0x0000ffff84f4787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #71 0x0000ffff84f4787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #72 0x0000ffff84f487e8 llvm::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 0x0000ffff84f487e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #74 0x0000ffff84f487e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #75 0x0000ffff84f4cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #76 0x0000ffff84f4cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #77 0x0000ffff84f4cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #78 0x0000ffff84f4cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #79 0x0000ffff84f4cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #80 0x0000ffff833a1e58 __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 0x0000ffff833a1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #82 0x0000ffff833a1e58 void clang::finalize>, 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 0x0000ffff833a1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #84 0x0000ffff84a67ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #85 0x0000ffff84a1fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #86 0x0000ffff84a1fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #87 0x0000ffff84a1fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #88 0x0000ffff84aa610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #89 0x0000aaaae2db59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #90 0x0000aaaae2db94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #91 0x0000aaaae2dbaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #92 0x0000aaaae2db1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #93 0x0000ffff7c01098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #94 0x0000ffff7c010a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #95 0x0000aaaae2db20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/novoidtypecrash.c.script: line 1: 1827512 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c89 -Wno-int-conversion -analyzer-checker=core /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/novoidtypecrash.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/null-deref-path-notes.cpp (960 of 18953) ******************** TEST 'Clang :: Analysis/null-deref-path-notes.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -x c++ -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/null-deref-path-notes.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -x c++ -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/null-deref-path-notes.cpp 1. parser at end of file #0 0x0000ffff946cacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff946c9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff946cb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9d60a800 (linux-vdso.so.1+0x800) #4 0x0000ffff9c923688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9c923688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9c923688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9c923688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9c923688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9c923688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff9c923688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff9c923688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9c5d0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9c5d0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9c5d0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9c5d0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9c5d1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9c5d1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9c5d1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9c5d1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff9c5e4770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff9c5e4770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff9c5e4770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff9c5e5cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff9c5e5cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff9c5e5cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff9c5e5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff9c5e5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff9c5e5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff9c5f17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff9c5f17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff9c5f17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9c5fb074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9c5fb074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9c5fb074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9c55f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9c55f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9c55f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9c55f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9c55fbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9c55fbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9c55fbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff9c5331c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff9c5331c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff9c5331c0 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff9c56fb5c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff9c56fb5c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff9c56fb5c clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:42 #48 0x0000ffff9c58daa8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff9c58daa8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff9c58daa8 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff9c85787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff9c85787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff9c85787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff9c85787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff9c85787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff9c8587e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffff9c8587e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff9c8587e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff9c85cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff9c85cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff9c85cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff9c85cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff9c85cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff9acb1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffff9acb1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff9acb1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffff9acb1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff9c377ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff9c32fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff9c32fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff9c32fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff9c3b610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaadcdc59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaadcdc94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaadcdcaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaadcdc1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff9392098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff93920a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaadcdc20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/null-deref-path-notes.cpp.script: line 1: 1827527 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -x c++ -analyzer-checker=core -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/null-deref-path-notes.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/null-deref-path-notes.m (963 of 18953) ******************** TEST 'Clang :: Analysis/null-deref-path-notes.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=text -fblocks -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/null-deref-path-notes.m : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=plist-multi-file -fblocks -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/null-deref-path-notes.m -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/null-deref-path-notes.m.tmp : 'RUN: at line 3'; grep -Ev '^[[:space:]]*.* version .*[[:space:]]*$|^[[:space:]]*/.*[[:space:]]*$|^[[:space:]]*.:.*[[:space:]]*$' parser at end of file 2. While analyzing stack: #0 Calling testWithArrayPtr 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/null-deref-path-notes.m:67:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/null-deref-path-notes.m:67:3: Error evaluating statement #0 0x0000ffffa9e7acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa9e79100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa9e7b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb2dbc800 (linux-vdso.so.1+0x800) #4 0x0000ffffb20d3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb20d3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb20d3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb20d3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb20d3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb20d3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb20d3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb20d3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb1d80c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb1d80c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb1d80c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb1d80c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb1d81ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb1d81ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb1d81ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb1d81ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb1d94770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb1d94770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb1d94770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb1d95cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb1d95cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb1d95cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb1d95190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb1d95190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb1d95190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb1da17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb1da17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb1da17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb1dab074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb1dab074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb1dab074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb1d0f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb1d0f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb1d0f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb1d0f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb21fd3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb21fd3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb21fd3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffb1e2eee0 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffb1e2eee0 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffb1e2eee0 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:61 #45 0x0000ffffb1e2eee0 void clang::ento::check::Location::_checkLocation<(anonymous namespace)::DereferenceChecker>(void*, clang::ento::SVal const&, bool, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:199:46 #46 0x0000ffffb1cf99b8 void expandGraphWithCheckers<(anonymous namespace)::CheckLocationContext>((anonymous namespace)::CheckLocationContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #47 0x0000ffffb1d22270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:60 #48 0x0000ffffb1d22270 clang::ento::ExprEngine::evalLocation(clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::Stmt const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3710:19 #49 0x0000ffffb1d27868 llvm::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 0x0000ffffb1d27868 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #51 0x0000ffffb1d27868 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x0000ffffb1d27868 clang::ento::ExprEngine::evalStore(clang::ento::ExplodedNodeSet&, clang::Expr const*, clang::Expr const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, clang::ento::SVal, clang::ProgramPointTag const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3628:15 #53 0x0000ffffb1d30834 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #54 0x0000ffffb1d30834 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #55 0x0000ffffb1d30834 clang::ento::ExprEngine::VisitBinaryOperator(clang::BinaryOperator const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:74:0 #56 0x0000ffffb1d3cbd8 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2103:0 #57 0x0000ffffb1d3cf08 clang::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 0x0000ffffb1d3d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffb1d3d41c clang::ento::CoreEngine::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 0x0000ffffb1d3d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #61 0x0000ffffb1d3d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #62 0x0000ffffb1d3d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #63 0x0000ffffb1d3d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #64 0x0000ffffb1d3d764 clang::ento::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 0x0000ffffb200787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #66 0x0000ffffb200787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #67 0x0000ffffb200787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #68 0x0000ffffb200787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #69 0x0000ffffb200787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #70 0x0000ffffb20087e8 llvm::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 0x0000ffffb20087e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #72 0x0000ffffb20087e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #73 0x0000ffffb200cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #74 0x0000ffffb200cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #75 0x0000ffffb200cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #76 0x0000ffffb200cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #77 0x0000ffffb200cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #78 0x0000ffffb0461e58 __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 0x0000ffffb0461e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #80 0x0000ffffb0461e58 void clang::finalize>, 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 0x0000ffffb0461e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #82 0x0000ffffb1b27ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #83 0x0000ffffb1adfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #84 0x0000ffffb1adfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #85 0x0000ffffb1adfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #86 0x0000ffffb1b6610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #87 0x0000aaaae97259f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #88 0x0000aaaae97294b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #89 0x0000aaaae972aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #90 0x0000aaaae9721fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #91 0x0000ffffa90d098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #92 0x0000ffffa90d0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #93 0x0000aaaae97220b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/null-deref-path-notes.m.script: line 3: 1827538 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-output=text -fblocks -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/null-deref-path-notes.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/null-deref-ps-region.c (964 of 18953) ******************** TEST 'Clang :: Analysis/null-deref-ps-region.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/null-deref-ps-region.c -std=gnu99 -analyzer-checker=core -analyzer-checker=alpha.core -analyzer-checker=unix -analyzer-checker=alpha.unix -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/null-deref-ps-region.c -std=gnu99 -analyzer-checker=core -analyzer-checker=alpha.core -analyzer-checker=unix -analyzer-checker=alpha.unix 1. parser at end of file 2. While analyzing stack: #0 Calling testHeapSymbolSameSize 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/null-deref-ps-region.c:76:23: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/null-deref-ps-region.c:76:23: Error evaluating statement #0 0x0000ffff9073acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff90739100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9073b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9967e800 (linux-vdso.so.1+0x800) #4 0x0000ffff98979f20 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff98979f20 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff98979f20 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff98979f20 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff98979f20 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff98979f20 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff98979f20 get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff98979f20 (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 0x0000ffff987883d0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x0000ffff987883d0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x0000ffff987883d0 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 0x0000ffff9859c2f8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #16 0x0000ffff9859c2f8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #17 0x0000ffff9859c2f8 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool)>::operator()(llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:0 #18 0x0000ffff9859c2f8 clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:0 #19 0x0000ffff98661844 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffff98661844 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffff98661844 clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:78 #22 0x0000ffff98661844 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:53 #23 0x0000ffff9866b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x0000ffff9866b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x0000ffff9866b074 clang::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 0x0000ffff985cf818 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff985cf818 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff985cf818 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #29 0x0000ffff985cf818 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:68:21 #30 0x0000ffff98abd3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff98abd3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff98abd3d4 clang::ento::ProgramState::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 0x0000ffff987944b0 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x0000ffff987944b0 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x0000ffff987944b0 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x0000ffff987944b0 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x0000ffff987944b0 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x0000ffff987944b0 (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 0x0000ffff98794900 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #40 0x0000ffff98794900 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #41 0x0000ffff98794900 (anonymous namespace)::MallocChecker::checkBasicAlloc(clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1217:0 #42 0x0000ffff987a0e00 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #43 0x0000ffff987a0e00 void clang::ento::check::PostCall::_checkCall<(anonymous namespace)::MallocChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:183:0 #44 0x0000ffff985b9524 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #45 0x0000ffff985b9524 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x0000ffff985b9524 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #47 0x0000ffff985b9524 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #48 0x0000ffff985b9524 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #49 0x0000ffff986198b8 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #50 0x0000ffff986198b8 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #51 0x0000ffff986198b8 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #52 0x0000ffff986198b8 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #53 0x0000ffff986198b8 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #54 0x0000ffff986198b8 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #55 0x0000ffff9861a144 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #56 0x0000ffff985fbea0 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #57 0x0000ffff985fbea0 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #58 0x0000ffff985fcf08 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #59 0x0000ffff985fd1f0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #60 0x0000ffff985fd41c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #61 0x0000ffff985fd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #62 0x0000ffff985fd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #63 0x0000ffff985fd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #64 0x0000ffff985fd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #65 0x0000ffff985fd764 clang::ento::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 0x0000ffff988c787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #67 0x0000ffff988c787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #68 0x0000ffff988c787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #69 0x0000ffff988c787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #70 0x0000ffff988c787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #71 0x0000ffff988c87e8 llvm::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 0x0000ffff988c87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #73 0x0000ffff988c87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #74 0x0000ffff988ccde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #75 0x0000ffff988ccde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #76 0x0000ffff988ccde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #77 0x0000ffff988ccde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #78 0x0000ffff988ccde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #79 0x0000ffff96d21e58 __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 0x0000ffff96d21e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #81 0x0000ffff96d21e58 void clang::finalize>, 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 0x0000ffff96d21e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #83 0x0000ffff983e7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #84 0x0000ffff9839fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #85 0x0000ffff9839fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #86 0x0000ffff9839fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #87 0x0000ffff9842610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #88 0x0000aaaabea359f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #89 0x0000aaaabea394b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #90 0x0000aaaabea3aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #91 0x0000aaaabea31fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #92 0x0000ffff8f99098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #93 0x0000ffff8f990a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #94 0x0000aaaabea320b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/null-deref-ps-region.c.script: line 1: 1827545 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/null-deref-ps-region.c -std=gnu99 -analyzer-checker=core -analyzer-checker=alpha.core -analyzer-checker=unix -analyzer-checker=alpha.unix -- ******************** Testing: 0 FAIL: Clang :: Analysis/null-deref-ps.c (965 of 18953) ******************** TEST 'Clang :: Analysis/null-deref-ps.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin10 -Wno-int-conversion -Wno-strict-prototypes -Wno-tautological-constant-compare -Wtautological-unsigned-zero-compare -analyzer-checker=core,deadcode,alpha.core -std=gnu99 -analyzer-purge=none -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/null-deref-ps.c -Wno-error=return-type : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin10 -Wno-int-conversion -Wno-strict-prototypes -Wno-tautological-constant-compare -Wtautological-unsigned-zero-compare -analyzer-checker=core,deadcode,alpha.core -std=gnu99 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/null-deref-ps.c -Wno-error=return-type -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin10 -Wno-int-conversion -Wno-strict-prototypes -Wno-tautological-constant-compare -Wtautological-unsigned-zero-compare -analyzer-checker=core,deadcode,alpha.core -std=gnu99 -analyzer-purge=none -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/null-deref-ps.c -Wno-error=return-type 1. parser at end of file 2. While analyzing stack: #0 Calling test_address_space_condition 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/null-deref-ps.c:321:8: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/null-deref-ps.c:321:8: Error evaluating statement #0 0x0000ffff7c25acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7c259100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7c25b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8519e800 (linux-vdso.so.1+0x800) #4 0x0000ffff844b3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff844b3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff844b3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff844b3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff844b3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff844b3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff844b3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff844b3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff84160c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff84160c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff84160c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff84160c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff84161ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff84161ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff84161ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff84161ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff84174770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff84174770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff84174770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff84175cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff84175cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff84175cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff84175190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff84175190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff84175190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff841817d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff841817d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff841817d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8418b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8418b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8418b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff840ef6d8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff840ef6d8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff840ef6d8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff840ef6d8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff845dd3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff845dd3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff845dd3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff84102a0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff84102a0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff84102a0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffff8411ccac llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffff8411ccac llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffff8411ccac llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffff8411ccac clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffff8411ccac clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffff8411cf08 clang::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 0x0000ffff8411d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8411d41c clang::ento::CoreEngine::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 0x0000ffff8411d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff8411d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff8411d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff8411d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff8411d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff843e787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff843e787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff843e787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff843e787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff843e787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff843e87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff843e87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff843e87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff843ecde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff843ecde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff843ecde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff843ecde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff843ecde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff82841e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff82841e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff82841e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff82841e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff83f07ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff83ebfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff83ebfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff83ebfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff83f4610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaaaefd59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaaaefd94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaaaefdaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaaaefd1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff7b4b098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff7b4b0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaaaefd20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/null-deref-ps.c.script: line 2: 1827554 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin10 -Wno-int-conversion -Wno-strict-prototypes -Wno-tautological-constant-compare -Wtautological-unsigned-zero-compare -analyzer-checker=core,deadcode,alpha.core -std=gnu99 -analyzer-purge=none -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/null-deref-ps.c -Wno-error=return-type -- ******************** Testing: 0 FAIL: Clang :: Analysis/null-deref-static.m (969 of 18953) ******************** TEST 'Clang :: Analysis/null-deref-static.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -w -fblocks -analyze -analyzer-checker=core,deadcode,alpha.core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/null-deref-static.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -w -fblocks -analyze -analyzer-checker=core,deadcode,alpha.core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/null-deref-static.m 1. parser at end of file 2. While analyzing stack: #0 Calling test_static_control_flow 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/null-deref-static.m:26:7: Error evaluating branch #0 0x0000ffff81a5acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff81a59100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff81a5b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8a994800 (linux-vdso.so.1+0x800) #4 0x0000ffff89cb3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff89cb3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff89cb3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff89cb3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff89cb3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff89cb3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff89cb3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff89cb3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff89960c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff89960c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff89960c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff89960c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff89961ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff89961ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff89961ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff89961ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff8997591c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff8997591c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff8997591c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffff89975bf0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff89975bf0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff89975bf0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffff89975190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff89975190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff89975190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff899817d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff899817d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff899817d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8998b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8998b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8998b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff898ef72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff898ef72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff898ef72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff898ef72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff89ddd3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff89ddd3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff89ddd3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff899058c8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffff899058c8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffff899058c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffff899058c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffff899058c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffff899058c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffff899058c8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffff899058c8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffff899058c8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffff899058c8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffff89905e30 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffff8991d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff8991d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff8991d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff8991d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff8991d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff89be787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff89be787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff89be787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff89be787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff89be787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff89be87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff89be87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff89be87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff89becde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff89becde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff89becde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff89becde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff89becde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff88041e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff88041e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff88041e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff88041e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff89707ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff896bfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff896bfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff896bfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff8974610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaac1ed59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaac1ed94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaac1edaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaac1ed1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff80cb098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff80cb0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaac1ed20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/null-deref-static.m.script: line 1: 1827569 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -w -fblocks -analyze -analyzer-checker=core,deadcode,alpha.core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/null-deref-static.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/nullability-notes.m (972 of 18953) ******************** TEST 'Clang :: Analysis/nullability-notes.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -analyzer-checker=core -analyzer-checker=nullability.NullPassedToNonnull -analyzer-checker=nullability.NullReturnedFromNonnull -analyzer-checker=nullability.NullablePassedToNonnull -analyzer-checker=nullability.NullableReturnedFromNonnull -analyzer-checker=nullability.NullableDereferenced -analyzer-checker=debug.ExprInspection -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nullability-notes.m : 'RUN: at line 9'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -analyzer-checker=core -analyzer-checker=nullability.NullPassedToNonnull -analyzer-checker=nullability.NullReturnedFromNonnull -analyzer-checker=nullability.NullablePassedToNonnull -analyzer-checker=nullability.NullableReturnedFromNonnull -analyzer-checker=nullability.NullableDereferenced -analyzer-output=plist -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/nullability-notes.m.tmp.plist /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nullability-notes.m : 'RUN: at line 16'; grep -Ev '^[[:space:]]*.* version .*[[:space:]]*$|^[[:space:]]*/.*[[:space:]]*$|^[[:space:]]*.:.*[[:space:]]*$' parser at end of file #0 0x0000ffff77ecacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff77ec9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff77ecb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff80e0c800 (linux-vdso.so.1+0x800) #4 0x0000ffff80123688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff80123688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff80123688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff80123688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff80123688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff80123688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff80123688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff80123688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff7fdd0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff7fdd0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff7fdd0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff7fdd0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff7fdd1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff7fdd1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff7fdd1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff7fdd1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff7fde4770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff7fde4770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff7fde4770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff7fde5cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff7fde5cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff7fde5cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff7fde5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff7fde5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff7fde5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff7fdf17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff7fdf17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff7fdf17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff7fdfb074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff7fdfb074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff7fdfb074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff7fd5f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff7fd5f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff7fd5f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff7fd5f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff7fd5fbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff7fd5fbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff7fd5fbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff7fd331c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff7fd331c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff7fd331c0 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff7fd6fba8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff7fd6fba8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff7fd6fba8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffff7fd8daa8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff7fd8daa8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff7fd8daa8 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff8005787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff8005787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff8005787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff8005787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff8005787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff800587e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffff800587e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff800587e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff8005cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff8005cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff8005cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff8005cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff8005cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff7e4b1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffff7e4b1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff7e4b1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffff7e4b1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff7fb77ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff7fb2fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff7fb2fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff7fb2fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff7fbb610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaac6cf59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaac6cf94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaac6cfaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaac6cf1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff7712098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff77120a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaac6cf20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/nullability-notes.m.script: line 3: 1827579 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -analyzer-checker=core -analyzer-checker=nullability.NullPassedToNonnull -analyzer-checker=nullability.NullReturnedFromNonnull -analyzer-checker=nullability.NullablePassedToNonnull -analyzer-checker=nullability.NullableReturnedFromNonnull -analyzer-checker=nullability.NullableDereferenced -analyzer-checker=debug.ExprInspection -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nullability-notes.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/nullability-arc.mm (973 of 18953) ******************** TEST 'Clang :: Analysis/nullability-arc.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core,nullability -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nullability-arc.mm : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core,nullability -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nullability-arc.mm -fobjc-arc -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core,nullability -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nullability-arc.mm 1. parser at end of file #0 0x0000ffff8a9eacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8a9e9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8a9eb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9392a800 (linux-vdso.so.1+0x800) #4 0x0000ffff92c43688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff92c43688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff92c43688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff92c43688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff92c43688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff92c43688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff92c43688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff92c43688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff928f0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff928f0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff928f0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff928f0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff928f1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff928f1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff928f1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff928f1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff92904770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff92904770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff92904770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff92905cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff92905cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff92905cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff92905190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff92905190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff92905190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff929117d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff929117d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff929117d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9291b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9291b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9291b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9287f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9287f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9287f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9287f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9287fbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9287fbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9287fbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff928531c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff928531c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff928531c0 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff9288fba8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff9288fba8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff9288fba8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffff928adaa8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff928adaa8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff928adaa8 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff92b7787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff92b7787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff92b7787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff92b7787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff92b7787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff92b787e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffff92b787e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff92b787e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff92b7cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff92b7cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff92b7cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff92b7cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff92b7cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff90fd1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffff90fd1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff90fd1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffff90fd1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff92697ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff9264fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff9264fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff9264fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff926d610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaac2e459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaac2e494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaac2e4aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaac2e41fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff89c4098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff89c40a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaac2e420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/nullability-arc.mm.script: line 2: 1827575 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core,nullability -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nullability-arc.mm -- ******************** Testing: 0 FAIL: Clang :: Analysis/nullability-no-arc.mm (974 of 18953) ******************** TEST 'Clang :: Analysis/nullability-no-arc.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,nullability -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nullability-no-arc.mm -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,nullability -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nullability-no-arc.mm 1. parser at end of file #0 0x0000ffffb638acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb6389100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb638b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffbf2ca800 (linux-vdso.so.1+0x800) #4 0x0000ffffbe5e3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffbe5e3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffbe5e3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffbe5e3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffbe5e3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffbe5e3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffbe5e3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffbe5e3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffbe290c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffbe290c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffbe290c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffbe290c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffbe291ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffbe291ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffbe291ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffbe291ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffbe2a4770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffbe2a4770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffbe2a4770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffbe2a5cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffbe2a5cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffbe2a5cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffbe2a5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffbe2a5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffbe2a5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffbe2b17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffbe2b17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffbe2b17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffbe2bb074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffbe2bb074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffbe2bb074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffbe21f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffbe21f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffbe21f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffbe21f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffbe21fbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffbe21fbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffbe21fbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffbe1f31c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffbe1f31c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffbe1f31c0 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffbe22fba8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffbe22fba8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffbe22fba8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffffbe24daa8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffbe24daa8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffbe24daa8 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffbe51787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffbe51787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffbe51787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffbe51787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffbe51787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffbe5187e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffffbe5187e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffbe5187e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffbe51cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffbe51cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffbe51cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffbe51cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffbe51cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffbc971e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffffbc971e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffbc971e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffffbc971e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffbe037ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffbdfefc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffbdfefc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffbdfefc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffbe07610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaabde559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaabde594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaabde5aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaabde51fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffffb55e098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffffb55e0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaabde520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/nullability-no-arc.mm.script: line 1: 1827577 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,nullability -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nullability-no-arc.mm -- ******************** Testing: 0 FAIL: Clang :: Analysis/nullability.mm (976 of 18953) ******************** TEST 'Clang :: Analysis/nullability.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nullability.mm -analyzer-checker=core -analyzer-checker=nullability.NullPassedToNonnull -analyzer-checker=nullability.NullReturnedFromNonnull -analyzer-checker=nullability.NullablePassedToNonnull -analyzer-checker=nullability.NullableReturnedFromNonnull -analyzer-checker=nullability.NullableDereferenced -DNOSYSTEMHEADERS=0 : 'RUN: at line 9'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nullability.mm -analyzer-checker=core -analyzer-checker=nullability.NullPassedToNonnull -analyzer-checker=nullability.NullReturnedFromNonnull -analyzer-checker=nullability.NullablePassedToNonnull -analyzer-checker=nullability.NullableReturnedFromNonnull -analyzer-checker=nullability.NullableDereferenced -DNOSYSTEMHEADERS=1 -analyzer-config nullability:NoDiagnoseCallsToSystemHeaders=true : 'RUN: at line 18'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nullability.mm -analyzer-checker=core -analyzer-checker=nullability.NullPassedToNonnull -analyzer-checker=nullability.NullReturnedFromNonnull -analyzer-checker=nullability.NullablePassedToNonnull -analyzer-checker=nullability.NullableReturnedFromNonnull -analyzer-checker=nullability.NullableDereferenced -DNOSYSTEMHEADERS=0 -fobjc-arc : 'RUN: at line 26'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nullability.mm -analyzer-checker=core -analyzer-checker=nullability.NullPassedToNonnull -analyzer-checker=nullability.NullReturnedFromNonnull -analyzer-checker=nullability.NullablePassedToNonnull -analyzer-checker=nullability.NullableReturnedFromNonnull -analyzer-checker=nullability.NullableDereferenced -DNOSYSTEMHEADERS=1 -fobjc-arc -analyzer-config nullability:NoDiagnoseCallsToSystemHeaders=true -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nullability.mm -analyzer-checker=core -analyzer-checker=nullability.NullPassedToNonnull -analyzer-checker=nullability.NullReturnedFromNonnull -analyzer-checker=nullability.NullablePassedToNonnull -analyzer-checker=nullability.NullableReturnedFromNonnull -analyzer-checker=nullability.NullableDereferenced -DNOSYSTEMHEADERS=0 1. parser at end of file #0 0x0000ffff82a6acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff82a69100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff82a6b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8b9a0800 (linux-vdso.so.1+0x800) #4 0x0000ffff8acc3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8acc3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8acc3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8acc3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8acc3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8acc3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff8acc3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff8acc3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8a970c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8a970c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8a970c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8a970c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8a971ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8a971ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8a971ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8a971ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff8a984770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff8a984770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff8a984770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff8a985cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff8a985cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff8a985cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff8a985190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8a985190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8a985190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff8a9917d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff8a9917d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff8a9917d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8a99b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8a99b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8a99b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8a8ff72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8a8ff72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8a8ff72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8a8ff72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff8a8ffbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8a8ffbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8a8ffbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff8a8d31c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff8a8d31c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff8a8d31c0 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff8a90fba8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff8a90fba8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff8a90fba8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffff8a92daa8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff8a92daa8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff8a92daa8 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff8abf787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff8abf787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff8abf787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff8abf787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff8abf787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff8abf87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffff8abf87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff8abf87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff8abfcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff8abfcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff8abfcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff8abfcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff8abfcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff89051e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffff89051e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff89051e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffff89051e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff8a717ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff8a6cfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff8a6cfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff8a6cfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff8a75610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaad53459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaad53494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaad534aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaad5341fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff81cc098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff81cc0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaad53420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/nullability.mm.script: line 4: 1827603 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nullability.mm -analyzer-checker=core -analyzer-checker=nullability.NullPassedToNonnull -analyzer-checker=nullability.NullReturnedFromNonnull -analyzer-checker=nullability.NullablePassedToNonnull -analyzer-checker=nullability.NullableReturnedFromNonnull -analyzer-checker=nullability.NullableDereferenced -DNOSYSTEMHEADERS=0 -- ******************** Testing: 0 FAIL: Clang :: Analysis/nullability_nullonly.mm (977 of 18953) ******************** TEST 'Clang :: Analysis/nullability_nullonly.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fobjc-arc -analyzer-checker=core,nullability.NullPassedToNonnull,nullability.NullReturnedFromNonnull -DNOSYSTEMHEADERS=0 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nullability_nullonly.mm : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fobjc-arc -analyzer-checker=core,nullability.NullPassedToNonnull,nullability.NullReturnedFromNonnull -analyzer-config nullability:NoDiagnoseCallsToSystemHeaders=true -DNOSYSTEMHEADERS=1 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nullability_nullonly.mm -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fobjc-arc -analyzer-checker=core,nullability.NullPassedToNonnull,nullability.NullReturnedFromNonnull -DNOSYSTEMHEADERS=0 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nullability_nullonly.mm 1. parser at end of file 2. While analyzing stack: #0 Calling callMethodInSystemHeader() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nullability_nullonly.mm:165:23: Error evaluating statement #0 0x0000ffff8f82acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8f829100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8f82b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff98766800 (linux-vdso.so.1+0x800) #4 0x0000ffff976c8e44 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff976c8e44 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff976c8e44 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff976c8e44 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff976c8e44 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff976c8e44 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 0x0000ffff976c8e44 get<(anonymous namespace)::DynamicTypeMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff976c8e44 llvm::IntrusiveRefCntPtr clang::ento::removeDeadImpl<(anonymous namespace)::DynamicTypeMap>(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/DynamicType.cpp:166:15 #12 0x0000ffff97a72928 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #13 0x0000ffff97a72928 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #14 0x0000ffff97a72928 clang::ento::removeDeadTypes(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/DynamicType.cpp:176:0 #15 0x0000ffff97a72928 (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 0x0000ffff976bd814 void expandGraphWithCheckers<(anonymous namespace)::CheckDeadSymbolsContext>((anonymous namespace)::CheckDeadSymbolsContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #17 0x0000ffff976d7fe8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #18 0x0000ffff976d7fe8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #19 0x0000ffff976d7fe8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #20 0x0000ffff976d7fe8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #21 0x0000ffff976d7fe8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #22 0x0000ffff976d7fe8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #23 0x0000ffff976d7fe8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1080:48 #24 0x0000ffff976ece94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #25 0x0000ffff976ece94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #26 0x0000ffff976ece94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #27 0x0000ffff976ece94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #28 0x0000ffff976ece94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #29 0x0000ffff976ece94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #30 0x0000ffff976ece94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #31 0x0000ffff976ece94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #32 0x0000ffff976ece94 clang::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 0x0000ffff976ed1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff976ed41c clang::ento::CoreEngine::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 0x0000ffff976ed764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x0000ffff976ed764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x0000ffff976ed764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #38 0x0000ffff976ed764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #39 0x0000ffff976ed764 clang::ento::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 0x0000ffff979b787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #41 0x0000ffff979b787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #42 0x0000ffff979b787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #43 0x0000ffff979b787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #44 0x0000ffff979b787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #45 0x0000ffff979b87e8 llvm::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 0x0000ffff979b87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #47 0x0000ffff979b87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #48 0x0000ffff979bcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #49 0x0000ffff979bcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #50 0x0000ffff979bcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #51 0x0000ffff979bcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #52 0x0000ffff979bcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #53 0x0000ffff95e11e58 __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 0x0000ffff95e11e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #55 0x0000ffff95e11e58 void clang::finalize>, 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 0x0000ffff95e11e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #57 0x0000ffff974d7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #58 0x0000ffff9748fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #59 0x0000ffff9748fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #60 0x0000ffff9748fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #61 0x0000ffff9751610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #62 0x0000aaaae24159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #63 0x0000aaaae24194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #64 0x0000aaaae241aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #65 0x0000aaaae2411fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #66 0x0000ffff8ea8098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #67 0x0000ffff8ea80a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #68 0x0000aaaae24120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/nullability_nullonly.mm.script: line 2: 1827617 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fobjc-arc -analyzer-checker=core,nullability.NullPassedToNonnull,nullability.NullReturnedFromNonnull -DNOSYSTEMHEADERS=0 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nullability_nullonly.mm -- ******************** Testing: 0 FAIL: Clang :: Analysis/nullptr.cpp (980 of 18953) ******************** TEST 'Clang :: Analysis/nullptr.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -Wno-conversion-null -analyzer-checker=core,debug.ExprInspection -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nullptr.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -Wno-conversion-null -analyzer-checker=core,debug.ExprInspection -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nullptr.cpp 1. parser at end of file #0 0x0000ffffaf03acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffaf039100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffaf03b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb7f79800 (linux-vdso.so.1+0x800) #4 0x0000ffffb7293688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb7293688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb7293688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb7293688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb7293688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb7293688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb7293688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb7293688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb6f40c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb6f40c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb6f40c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb6f40c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb6f41ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb6f41ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb6f41ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb6f41ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb6f54770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb6f54770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb6f54770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb6f55cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb6f55cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb6f55cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb6f55190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb6f55190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb6f55190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb6f617d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb6f617d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb6f617d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb6f6b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb6f6b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb6f6b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb6ecf72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb6ecf72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb6ecf72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb6ecf72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb6ecfbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb6ecfbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb6ecfbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffb6ea31c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffb6ea31c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffb6ea31c0 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffb6edfb5c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffb6edfb5c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffb6edfb5c clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:42 #48 0x0000ffffb6efdaa8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffb6efdaa8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffb6efdaa8 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffb71c787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffb71c787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffb71c787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffb71c787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffb71c787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffb71c87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffffb71c87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffb71c87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffb71ccde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffb71ccde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffb71ccde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffb71ccde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffb71ccde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffb5621e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffffb5621e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffb5621e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffffb5621e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffb6ce7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffb6c9fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffb6c9fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffb6c9fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffb6d2610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaacfbd59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaacfbd94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaacfbdaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaacfbd1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffffae29098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffffae290a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaacfbd20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/nullptr.cpp.script: line 1: 1827619 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -Wno-conversion-null -analyzer-checker=core,debug.ExprInspection -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/nullptr.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/objc-indirect-copy-restore.m (982 of 18953) ******************** TEST 'Clang :: Analysis/objc-indirect-copy-restore.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fobjc-arc -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-indirect-copy-restore.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fobjc-arc -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-indirect-copy-restore.m 1. parser at end of file 2. While analyzing stack: #0 Calling +[SomeClass doSomethingWithError:] at line 57 #1 Calling testAutoreleasingOutParam 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-indirect-copy-restore.m:35:22: Error evaluating statement #0 0x0000ffffa3b7acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa3b79100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa3b7b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffacab5800 (linux-vdso.so.1+0x800) #4 0x0000ffffaba18e44 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffaba18e44 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffaba18e44 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffaba18e44 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffaba18e44 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffaba18e44 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 0x0000ffffaba18e44 get<(anonymous namespace)::DynamicTypeMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffaba18e44 llvm::IntrusiveRefCntPtr clang::ento::removeDeadImpl<(anonymous namespace)::DynamicTypeMap>(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/DynamicType.cpp:166:15 #12 0x0000ffffabdc2928 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #13 0x0000ffffabdc2928 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #14 0x0000ffffabdc2928 clang::ento::removeDeadTypes(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/DynamicType.cpp:176:0 #15 0x0000ffffabdc2928 (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 0x0000ffffaba0d814 void expandGraphWithCheckers<(anonymous namespace)::CheckDeadSymbolsContext>((anonymous namespace)::CheckDeadSymbolsContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #17 0x0000ffffaba27fe8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #18 0x0000ffffaba27fe8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #19 0x0000ffffaba27fe8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #20 0x0000ffffaba27fe8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #21 0x0000ffffaba27fe8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #22 0x0000ffffaba27fe8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #23 0x0000ffffaba27fe8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1080:48 #24 0x0000ffffaba3ce94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #25 0x0000ffffaba3ce94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #26 0x0000ffffaba3ce94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #27 0x0000ffffaba3ce94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #28 0x0000ffffaba3ce94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #29 0x0000ffffaba3ce94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #30 0x0000ffffaba3ce94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #31 0x0000ffffaba3ce94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #32 0x0000ffffaba3ce94 clang::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 0x0000ffffaba3d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffaba3d41c clang::ento::CoreEngine::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 0x0000ffffaba3d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x0000ffffaba3d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x0000ffffaba3d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #38 0x0000ffffaba3d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #39 0x0000ffffaba3d764 clang::ento::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 0x0000ffffabd0787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #41 0x0000ffffabd0787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #42 0x0000ffffabd0787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #43 0x0000ffffabd0787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #44 0x0000ffffabd0787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #45 0x0000ffffabd087e8 llvm::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 0x0000ffffabd087e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #47 0x0000ffffabd087e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #48 0x0000ffffabd0cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #49 0x0000ffffabd0cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #50 0x0000ffffabd0cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #51 0x0000ffffabd0cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #52 0x0000ffffabd0cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #53 0x0000ffffaa161e58 __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 0x0000ffffaa161e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #55 0x0000ffffaa161e58 void clang::finalize>, 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 0x0000ffffaa161e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #57 0x0000ffffab827ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #58 0x0000ffffab7dfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #59 0x0000ffffab7dfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #60 0x0000ffffab7dfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #61 0x0000ffffab86610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #62 0x0000aaaabe7159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #63 0x0000aaaabe7194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #64 0x0000aaaabe71aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #65 0x0000aaaabe711fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #66 0x0000ffffa2dd098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #67 0x0000ffffa2dd0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #68 0x0000aaaabe7120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/objc-indirect-copy-restore.m.script: line 1: 1827672 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fobjc-arc -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-indirect-copy-restore.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/objc-arc.m (983 of 18953) ******************** TEST 'Clang :: Analysis/objc-arc.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,osx.cocoa.RetainCount,deadcode -verify -fblocks -fobjc-arc -analyzer-output=plist-multi-file -analyzer-config deadcode.DeadStores:ShowFixIts=true -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/objc-arc.m.tmp.plist /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-arc.m : 'RUN: at line 2'; grep -Ev '^[[:space:]]*.* version .*[[:space:]]*$|^[[:space:]]*/.*[[:space:]]*$|^[[:space:]]*.:.*[[:space:]]*$' parser at end of file 2. While analyzing stack: #0 Calling check_bridge_to_non_cf 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-arc.m:259:17: Error evaluating statement #0 0x0000ffffa293acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa2939100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa293b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffab87c800 (linux-vdso.so.1+0x800) #4 0x0000ffffaa7d8e44 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffaa7d8e44 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffaa7d8e44 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffaa7d8e44 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffaa7d8e44 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffaa7d8e44 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 0x0000ffffaa7d8e44 get<(anonymous namespace)::DynamicTypeMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffaa7d8e44 llvm::IntrusiveRefCntPtr clang::ento::removeDeadImpl<(anonymous namespace)::DynamicTypeMap>(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/DynamicType.cpp:166:15 #12 0x0000ffffaab82928 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #13 0x0000ffffaab82928 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #14 0x0000ffffaab82928 clang::ento::removeDeadTypes(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/DynamicType.cpp:176:0 #15 0x0000ffffaab82928 (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 0x0000ffffaa7cd814 void expandGraphWithCheckers<(anonymous namespace)::CheckDeadSymbolsContext>((anonymous namespace)::CheckDeadSymbolsContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #17 0x0000ffffaa7e7fe8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #18 0x0000ffffaa7e7fe8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #19 0x0000ffffaa7e7fe8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #20 0x0000ffffaa7e7fe8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #21 0x0000ffffaa7e7fe8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #22 0x0000ffffaa7e7fe8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #23 0x0000ffffaa7e7fe8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1080:48 #24 0x0000ffffaa7fce94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #25 0x0000ffffaa7fce94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #26 0x0000ffffaa7fce94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #27 0x0000ffffaa7fce94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #28 0x0000ffffaa7fce94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #29 0x0000ffffaa7fce94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #30 0x0000ffffaa7fce94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #31 0x0000ffffaa7fce94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #32 0x0000ffffaa7fce94 clang::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 0x0000ffffaa7fd1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffaa7fd41c clang::ento::CoreEngine::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 0x0000ffffaa7fd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x0000ffffaa7fd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x0000ffffaa7fd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #38 0x0000ffffaa7fd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #39 0x0000ffffaa7fd764 clang::ento::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 0x0000ffffaaac787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #41 0x0000ffffaaac787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #42 0x0000ffffaaac787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #43 0x0000ffffaaac787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #44 0x0000ffffaaac787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #45 0x0000ffffaaac87e8 llvm::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 0x0000ffffaaac87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #47 0x0000ffffaaac87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #48 0x0000ffffaaaccde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #49 0x0000ffffaaaccde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #50 0x0000ffffaaaccde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #51 0x0000ffffaaaccde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #52 0x0000ffffaaaccde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #53 0x0000ffffa8f21e58 __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 0x0000ffffa8f21e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #55 0x0000ffffa8f21e58 void clang::finalize>, 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 0x0000ffffa8f21e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #57 0x0000ffffaa5e7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #58 0x0000ffffaa59fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #59 0x0000ffffaa59fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #60 0x0000ffffaa59fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #61 0x0000ffffaa62610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #62 0x0000aaaabc8f59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #63 0x0000aaaabc8f94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #64 0x0000aaaabc8faac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #65 0x0000aaaabc8f1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #66 0x0000ffffa1b9098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #67 0x0000ffffa1b90a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #68 0x0000aaaabc8f20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/objc-arc.m.script: line 2: 1827650 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,osx.cocoa.RetainCount,deadcode -verify -fblocks -fobjc-arc -analyzer-output=plist-multi-file -analyzer-config deadcode.DeadStores:ShowFixIts=true -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/objc-arc.m.tmp.plist /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-arc.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/objc-live-crash.mm (984 of 18953) ******************** TEST 'Clang :: Analysis/objc-live-crash.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang --analyze /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-live-crash.mm -fblocks -- Exit Code: 1 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang --analyze /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-live-crash.mm -fblocks 1. parser at end of file 2. While analyzing stack: #0 Calling foo(Collection *) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-live-crash.mm:24:8: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-live-crash.mm:24:8: Error evaluating statement #0 0x0000ffff7d91acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7d919100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7d87c8cc (/usr/lib64/libLLVM-17.so+0x91c8cc) #3 0x0000ffff86851800 (linux-vdso.so.1+0x800) #4 0x0000ffff857c8434 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff857c8434 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff857c8434 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff857c8434 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff857c8434 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff857c8434 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff857c8434 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:0 #11 0x0000ffff857c8434 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 0x0000ffff85790f7c std::_Optional_base_impl>::_M_is_engaged() const /usr/include/c++/12/optional:471:0 #13 0x0000ffff85790f7c std::optional::has_value() const /usr/include/c++/12/optional:988:0 #14 0x0000ffff85790f7c clang::ento::CallEvent::isArgumentConstructedDirectly(unsigned int) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:431:0 #15 0x0000ffff85790f7c addParameterValuesToBindings(clang::StackFrameContext const*, llvm::SmallVectorImpl>&, clang::ento::SValBuilder&, clang::ento::CallEvent const&, llvm::ArrayRef) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:478:0 #16 0x0000ffff85791f7c clang::ento::AnyCXXConstructorCall::getCXXThisVal() const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:896:0 #17 0x0000ffff85791f7c clang::ento::AnyCXXConstructorCall::getInitialStackFrameContents(clang::StackFrameContext const*, llvm::SmallVectorImpl>&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:915:0 #18 0x0000ffff85852cb0 llvm::SmallVectorTemplateCommon, void>::end() /usr/include/llvm/ADT/SmallVector.h:272:0 #19 0x0000ffff85852cb0 clang::ento::StoreManager::enterStackFrame(void const*, clang::ento::CallEvent const&, clang::StackFrameContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/Store.cpp:54:0 #20 0x0000ffff8580def8 clang::ento::ProgramState::makeWithStore(clang::ento::StoreRef const&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:434:27 #21 0x0000ffff8580def8 clang::ento::ProgramState::enterStackFrame(clang::ento::CallEvent const&, clang::StackFrameContext const*) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:234:0 #22 0x0000ffff8580e0a8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #23 0x0000ffff8580e0a8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #24 0x0000ffff8580e0a8 clang::ento::ExprEngine::inlineCall(clang::ento::WorkList*, clang::ento::CallEvent const&, clang::Decl const*, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:561:0 #25 0x0000ffff85810b40 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #26 0x0000ffff85810b40 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #27 0x0000ffff85810b40 clang::ento::ExprEngine::ctuBifurcate(clang::ento::CallEvent const&, clang::Decl const*, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:527:0 #28 0x0000ffff8581156c llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #29 0x0000ffff8581156c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #30 0x0000ffff8581156c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x0000ffff8581156c clang::ento::ExprEngine::defaultEvalCall(clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:1255:0 #32 0x0000ffff85799fd8 clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:288:0 #33 0x0000ffff857d6028 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #34 0x0000ffff857d6028 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #35 0x0000ffff857d6028 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #36 0x0000ffff857d6028 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #37 0x0000ffff857d6028 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #38 0x0000ffff857d6028 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #39 0x0000ffff857d6028 clang::ento::ExprEngine::handleConstructor(clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:789:0 #40 0x0000ffff857dbe5c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #41 0x0000ffff857dbe5c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2158:0 #42 0x0000ffff857dcf08 clang::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 0x0000ffff857dd1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff857dd41c clang::ento::CoreEngine::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 0x0000ffff857dd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #46 0x0000ffff857dd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #47 0x0000ffff857dd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #48 0x0000ffff857dd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #49 0x0000ffff857dd764 clang::ento::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 0x0000ffff85aa787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #51 0x0000ffff85aa787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x0000ffff85aa787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #53 0x0000ffff85aa787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #54 0x0000ffff85aa787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #55 0x0000ffff85aa87e8 llvm::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 0x0000ffff85aa87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #57 0x0000ffff85aa87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #58 0x0000ffff85aacde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #59 0x0000ffff85aacde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #60 0x0000ffff85aacde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #61 0x0000ffff85aacde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #62 0x0000ffff85aacde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #63 0x0000ffff83f01e58 __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 0x0000ffff83f01e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #65 0x0000ffff83f01e58 void clang::finalize>, 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 0x0000ffff83f01e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #67 0x0000ffff855c7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #68 0x0000ffff8557fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #69 0x0000ffff8557fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #70 0x0000ffff8557fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #71 0x0000ffff8560610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #72 0x0000aaaab67859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #73 0x0000aaaab67894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #74 0x0000ffff853107f4 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/Job.cpp:440:32 #75 0x0000ffff853107f4 void llvm::function_ref::callback_fn>, std::__cxx11::basic_string, std::allocator>*, bool*) const::'lambda'()>(long) /usr/include/llvm/ADT/STLFunctionalExtras.h:45:52 #76 0x0000ffff7d87c67c llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/usr/lib64/libLLVM-17.so+0x91c67c) #77 0x0000ffff85319088 clang::driver::CC1Command::Execute(llvm::ArrayRef>, std::__cxx11::basic_string, std::allocator>*, bool*) const (.part.0) /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/Job.cpp:440:3 #78 0x0000ffff85323608 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/Compilation.cpp:199:22 #79 0x0000ffff853238d0 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl>&, bool) const /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/Compilation.cpp:253:5 #80 0x0000ffff8532dfc8 llvm::SmallVectorBase::empty() const /usr/include/llvm/ADT/SmallVector.h:94:0 #81 0x0000ffff8532dfc8 clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl>&) /builddir/build/BUILD/clang-17.0.6.src/lib/Driver/Driver.cpp:1906:0 #82 0x0000aaaab678b3e4 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:542:39 #83 0x0000aaaab6781fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff7cb7098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff7cb70a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaab67820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) clang: error: clang frontend command failed with exit code 139 (use -v to see invocation) clang version 17.0.6 (OpenCloudOS 17.0.6-2.ocs23) Target: aarch64-opencloudos-linux-gnu Thread model: posix InstalledDir: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin clang: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang: note: diagnostic msg: /tmp/lit-tmp-ztlkhw73/objc-live-crash-bbde0b.mm clang: note: diagnostic msg: /tmp/lit-tmp-ztlkhw73/objc-live-crash-bbde0b.sh clang: note: diagnostic msg: ******************** -- ******************** Testing: 0 FAIL: Clang :: Analysis/objc-for.m (985 of 18953) ******************** TEST 'Clang :: Analysis/objc-for.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.Loops,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-for.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.Loops,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-for.m 1. parser at end of file 2. While analyzing stack: #0 Calling not_reachable_on_iteration_through_nil 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-for.m:350:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-for.m:350:3: Error evaluating statement #0 0x0000ffff7f38acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7f389100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7f38b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff882cc800 (linux-vdso.so.1+0x800) #4 0x0000ffff872d3834 llvm::ImutAVLTree, bool>>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff872d3834 llvm::IntrusiveRefCntPtrInfo, bool>>>::retain(llvm::ImutAVLTree, bool>>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff872d3834 llvm::IntrusiveRefCntPtr, bool>>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff872d3834 llvm::IntrusiveRefCntPtr, bool>>>::IntrusiveRefCntPtr(llvm::ImutAVLTree, bool>>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff872d3834 llvm::ImmutableMap, bool, llvm::ImutKeyValueInfo, bool>>::ImmutableMap(llvm::ImutAVLTree, bool>> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff872d3834 clang::ento::ProgramStatePartialTrait, bool, llvm::ImutKeyValueInfo, bool>>, void>::MakeData(void* const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff872d3834 get<(anonymous namespace)::ObjCForHasMoreIterations> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:0 #11 0x0000ffff872d3834 clang::ento::ExprEngine::hasMoreIteration(llvm::IntrusiveRefCntPtr, clang::ObjCForCollectionStmt const*, clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2680:0 #12 0x0000ffff872d3834 checkPostStmt /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/BasicObjCFoundationChecks.cpp:990:0 #13 0x0000ffff872d3834 void clang::ento::check::PostStmt::_checkStmt<(anonymous namespace)::ObjCLoopChecker>(void*, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:104:0 #14 0x0000ffff87208078 expandGraphWithCheckers<(anonymous namespace)::CheckStmtContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #15 0x0000ffff87208078 clang::ento::CheckerManager::runCheckersForStmt(bool, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::Stmt const*, clang::ento::ExprEngine&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:190:0 #16 0x0000ffff8727eac0 clang::ento::ExprEngine::VisitObjCForCollectionStmt(clang::ObjCForCollectionStmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineObjC.cpp:145:0 #17 0x0000ffff8724c768 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #18 0x0000ffff8724c768 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2303:0 #19 0x0000ffff8724cf08 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #20 0x0000ffff8724d1f0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #21 0x0000ffff8724d41c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #22 0x0000ffff8724d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #23 0x0000ffff8724d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #24 0x0000ffff8724d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #25 0x0000ffff8724d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #26 0x0000ffff8724d764 clang::ento::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 0x0000ffff8751787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x0000ffff8751787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x0000ffff8751787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #30 0x0000ffff8751787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #31 0x0000ffff8751787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #32 0x0000ffff875187e8 llvm::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 0x0000ffff875187e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #34 0x0000ffff875187e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #35 0x0000ffff8751cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x0000ffff8751cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x0000ffff8751cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #38 0x0000ffff8751cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #39 0x0000ffff8751cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #40 0x0000ffff85971e58 __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 0x0000ffff85971e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #42 0x0000ffff85971e58 void clang::finalize>, 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 0x0000ffff85971e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #44 0x0000ffff87037ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #45 0x0000ffff86fefc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #46 0x0000ffff86fefc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #47 0x0000ffff86fefc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #48 0x0000ffff8707610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #49 0x0000aaaaacb759f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #50 0x0000aaaaacb794b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #51 0x0000aaaaacb7aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #52 0x0000aaaaacb71fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #53 0x0000ffff7e5e098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #54 0x0000ffff7e5e0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #55 0x0000aaaaacb720b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/objc-for.m.script: line 1: 1827669 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.Loops,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-for.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/objc-boxing.m (987 of 18953) ******************** TEST 'Clang :: Analysis/objc-boxing.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-objc-literal-conversion -analyzer-checker=core,unix.Malloc,osx.cocoa.NonNilReturnValue,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-boxing.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-objc-literal-conversion -analyzer-checker=core,unix.Malloc,osx.cocoa.NonNilReturnValue,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-boxing.m 1. parser at end of file 2. While analyzing stack: #0 Calling checkNonNil 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-boxing.m:84:25: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-boxing.m:84:25: Error evaluating statement #0 0x0000ffff8b73acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8b739100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8b73b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff94671800 (linux-vdso.so.1+0x800) #4 0x0000ffff93993688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff93993688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff93993688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff93993688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff93993688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff93993688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff93993688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff93993688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff93640c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff93640c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff93640c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff93640c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff93641ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff93641ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff93641ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff93641ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff93654770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff93654770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff93654770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff93655cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff93655cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff93655cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff93655190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff93655190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff93655190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff936617d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff936617d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff936617d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9366b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9366b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9366b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff935cf72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff935cf72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff935cf72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff935cf72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff935cfbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff935cfbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff935cfbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff93a7a9c4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff93a7a9c4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff93a7a9c4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff93a7a9c4 (anonymous namespace)::ObjCNonNilReturnValueChecker::assumeExprIsNonNull(clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::ento::CheckerContext&) const (.constprop.0.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/BasicObjCFoundationChecks.cpp:1184:0 #46 0x0000ffff9367d99c llvm::IntrusiveRefCntPtr::operator bool() const /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:201:0 #47 0x0000ffff9367d99c clang::ento::CheckerContext::addTransition(llvm::IntrusiveRefCntPtr, clang::ProgramPointTag const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h:171:0 #48 0x0000ffff9367d99c assumeExprIsNonNull /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/BasicObjCFoundationChecks.cpp:1160:0 #49 0x0000ffff9367d99c checkPostStmt /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/BasicObjCFoundationChecks.cpp:1170:0 #50 0x0000ffff9367d99c void clang::ento::check::PostStmt::_checkStmt<(anonymous namespace)::ObjCNonNilReturnValueChecker>(void*, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:104:0 #51 0x0000ffff935b8078 expandGraphWithCheckers<(anonymous namespace)::CheckStmtContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #52 0x0000ffff935b8078 clang::ento::CheckerManager::runCheckersForStmt(bool, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::Stmt const*, clang::ento::ExprEngine&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:190:0 #53 0x0000ffff935fcacc clang::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 0x0000ffff935fcacc clang::ento::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 0x0000ffff935fcf08 clang::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 0x0000ffff935fd1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff935fd41c clang::ento::CoreEngine::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 0x0000ffff935fd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #59 0x0000ffff935fd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #60 0x0000ffff935fd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #61 0x0000ffff935fd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #62 0x0000ffff935fd764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #63 0x0000ffff938c787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #64 0x0000ffff938c787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #65 0x0000ffff938c787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #66 0x0000ffff938c787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #67 0x0000ffff938c787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #68 0x0000ffff938c87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #69 0x0000ffff938c87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #70 0x0000ffff938c87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #71 0x0000ffff938ccde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #72 0x0000ffff938ccde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #73 0x0000ffff938ccde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #74 0x0000ffff938ccde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #75 0x0000ffff938ccde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #76 0x0000ffff91d21e58 __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 0x0000ffff91d21e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #78 0x0000ffff91d21e58 void clang::finalize>, 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 0x0000ffff91d21e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #80 0x0000ffff933e7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #81 0x0000ffff9339fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #82 0x0000ffff9339fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #83 0x0000ffff9339fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #84 0x0000ffff9342610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #85 0x0000aaaab92c59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #86 0x0000aaaab92c94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #87 0x0000aaaab92caac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #88 0x0000aaaab92c1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #89 0x0000ffff8a99098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #90 0x0000ffff8a990a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #91 0x0000aaaab92c20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/objc-boxing.m.script: line 1: 1827661 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-objc-literal-conversion -analyzer-checker=core,unix.Malloc,osx.cocoa.NonNilReturnValue,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-boxing.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/objc-message.m (989 of 18953) ******************** TEST 'Clang :: Analysis/objc-message.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-message.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-message.m 1. parser at end of file 2. While analyzing stack: #0 Calling nilReceiverIsStillNilAfterMessage 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-message.m:32:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-message.m:32:7: Error evaluating statement #0 0x0000ffff8a64acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8a649100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8a64b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9358f800 (linux-vdso.so.1+0x800) #4 0x0000ffff928a3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff928a3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff928a3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff928a3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff928a3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff928a3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff928a3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff928a3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff92550c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff92550c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff92550c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff92550c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff92551ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff92551ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff92551ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff92551ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff92564770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff92564770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff92564770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff92565cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff92565cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff92565cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff92565190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff92565190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff92565190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff925717d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff925717d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff925717d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9257b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9257b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9257b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff924df6d8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff924df6d8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff924df6d8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff924df6d8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff929cd3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff929cd3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff929cd3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff924f2a0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff924f2a0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff924f2a0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffff9250ccac llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffff9250ccac llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffff9250ccac llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffff9250ccac clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffff9250ccac clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffff9250cf08 clang::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 0x0000ffff9250d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff9250d41c clang::ento::CoreEngine::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 0x0000ffff9250d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff9250d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff9250d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff9250d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff9250d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff927d787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff927d787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff927d787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff927d787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff927d787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff927d87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff927d87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff927d87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff927dcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff927dcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff927dcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff927dcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff927dcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff90c31e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff90c31e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff90c31e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff90c31e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff922f7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff922afc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff922afc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff922afc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff9233610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaabfce59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaabfce94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaabfceaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaabfce1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff898a098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff898a0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaabfce20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/objc-message.m.script: line 1: 1827692 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-message.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/objc-radar17039661.m (991 of 18953) ******************** TEST 'Clang :: Analysis/objc-radar17039661.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-radar17039661.m : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount -fblocks -analyzer-output=plist-multi-file /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-radar17039661.m -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/objc-radar17039661.m.tmp : 'RUN: at line 3'; grep -Ev '^[[:space:]]*.* version .*[[:space:]]*$|^[[:space:]]*/.*[[:space:]]*$|^[[:space:]]*.:.*[[:space:]]*$' parser at end of file 2. While analyzing stack: #0 Calling anonymous code at line 24 Invoking block defined at line 30 #1 Calling reallyPerformAction at line 30 #2 Calling performAction at line 50 #3 Calling runTest 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-radar17039661.m:32:9: Error evaluating branch #0 0x0000ffff85c6acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff85c69100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff85c6b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8ebaf800 (linux-vdso.so.1+0x800) #4 0x0000ffff8dec3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8dec3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8dec3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8dec3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8dec3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8dec3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff8dec3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff8dec3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8db70c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8db70c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8db70c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8db70c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8db71ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8db71ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8db71ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8db71ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff8db8591c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff8db8591c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff8db8591c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffff8db85bf0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff8db85bf0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff8db85bf0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffff8db85190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8db85190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8db85190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff8db917d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff8db917d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff8db917d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8db9b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8db9b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8db9b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8daff72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8daff72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8daff72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8daff72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff8dfed3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8dfed3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8dfed3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff8db158c8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffff8db158c8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffff8db158c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffff8db158c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffff8db158c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffff8db158c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffff8db158c8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffff8db158c8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffff8db158c8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffff8db158c8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffff8db15e30 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffff8db2d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff8db2d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff8db2d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff8db2d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff8db2d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff8ddf787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff8ddf787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff8ddf787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff8ddf787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff8ddf787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff8ddf87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff8ddf87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff8ddf87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff8ddfcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff8ddfcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff8ddfcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff8ddfcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff8ddfcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff8c251e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff8c251e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff8c251e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff8c251e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff8d917ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff8d8cfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff8d8cfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff8d8cfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff8d95610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaac01359f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaac01394b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaac013aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaac0131fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff84ec098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff84ec0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaac01320b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/objc-radar17039661.m.script: line 3: 1827705 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-radar17039661.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/objc-subscript.m (992 of 18953) ******************** TEST 'Clang :: Analysis/objc-subscript.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-subscript.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-subscript.m 1. parser at end of file #0 0x0000ffffb642acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb6429100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb642b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffbf36b800 (linux-vdso.so.1+0x800) #4 0x0000ffffbe683688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffbe683688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffbe683688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffbe683688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffbe683688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffbe683688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffbe683688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffbe683688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffbe330c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffbe330c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffbe330c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffbe330c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffbe331ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffbe331ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffbe331ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffbe331ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffbe344770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffbe344770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffbe344770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffbe345cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffbe345cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffbe345cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffbe345190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffbe345190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffbe345190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffbe3517d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffbe3517d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffbe3517d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffbe35b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffbe35b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffbe35b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffbe2bf72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffbe2bf72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffbe2bf72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffbe2bf72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffbe2bfbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffbe2bfbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffbe2bfbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffbe2931c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffbe2931c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffbe2931c0 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffbe2cfba8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffbe2cfba8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffbe2cfba8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffffbe2edaa8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffbe2edaa8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffbe2edaa8 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffbe5b787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffbe5b787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffbe5b787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffbe5b787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffbe5b787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffbe5b87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffffbe5b87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffbe5b87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffbe5bcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffbe5bcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffbe5bcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffbe5bcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffbe5bcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffbca11e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffffbca11e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffbca11e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffffbca11e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffbe0d7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffbe08fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffbe08fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffbe08fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffbe11610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaad41459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaad41494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaad414aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaad4141fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffffb568098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffffb5680a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaad41420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/objc-subscript.m.script: line 1: 1827711 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc-subscript.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/objcpp-uninitialized-object.mm (993 of 18953) ******************** TEST 'Clang :: Analysis/objcpp-uninitialized-object.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,optin.cplusplus.UninitializedObject -std=c++11 -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objcpp-uninitialized-object.mm -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,optin.cplusplus.UninitializedObject -std=c++11 -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objcpp-uninitialized-object.mm 1. parser at end of file 2. While analyzing stack: #0 Calling StructWithId::StructWithId() at line 31 #1 Calling warnOnUninitializedId() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objcpp-uninitialized-object.mm:27:22: Error evaluating statement #0 0x0000ffffa756acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa7569100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa756b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb04a1800 (linux-vdso.so.1+0x800) #4 0x0000ffffaf417db8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffaf417db8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffaf417db8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffaf417db8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffaf417db8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffaf417db8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffaf417db8 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffaf417db8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1059:61 #12 0x0000ffffaf42ce94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffffaf42ce94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffffaf42ce94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffffaf42ce94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffffaf42ce94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffffaf42ce94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffffaf42ce94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffffaf42ce94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffffaf42ce94 clang::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 0x0000ffffaf42d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffaf42d310 clang::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 0x0000ffffaf42d5dc clang::ento::CoreEngine::dispatchWorkItem(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 0x0000ffffaf42d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x0000ffffaf42d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x0000ffffaf42d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #27 0x0000ffffaf42d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #28 0x0000ffffaf42d764 clang::ento::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 0x0000ffffaf6f787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffffaf6f787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffffaf6f787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #32 0x0000ffffaf6f787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #33 0x0000ffffaf6f787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #34 0x0000ffffaf6f87e8 llvm::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 0x0000ffffaf6f87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x0000ffffaf6f87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #37 0x0000ffffaf6fcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x0000ffffaf6fcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x0000ffffaf6fcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x0000ffffaf6fcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x0000ffffaf6fcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x0000ffffadb51e58 __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 0x0000ffffadb51e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x0000ffffadb51e58 void clang::finalize>, 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 0x0000ffffadb51e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x0000ffffaf217ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #47 0x0000ffffaf1cfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #48 0x0000ffffaf1cfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #49 0x0000ffffaf1cfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #50 0x0000ffffaf25610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #51 0x0000aaaad8eb59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x0000aaaad8eb94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x0000aaaad8ebaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x0000aaaad8eb1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x0000ffffa67c098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #56 0x0000ffffa67c0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #57 0x0000aaaad8eb20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/objcpp-uninitialized-object.mm.script: line 1: 1827744 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,optin.cplusplus.UninitializedObject -std=c++11 -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objcpp-uninitialized-object.mm -- ******************** Testing: 0 FAIL: Clang :: Analysis/operator-calls.cpp (994 of 18953) ******************** TEST 'Clang :: Analysis/operator-calls.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,alpha.core,debug.ExprInspection -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/operator-calls.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,alpha.core,debug.ExprInspection -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/operator-calls.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling SynthesizedAssignment::B::B() at line 152 #1 Calling SynthesizedAssignment::testConsistencyMove() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/operator-calls.cpp:107:10: Error evaluating statement #0 0x0000ffff9f38acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff9f389100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9f38b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa82c5800 (linux-vdso.so.1+0x800) #4 0x0000ffffa7237db8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffa7237db8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffa7237db8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffa7237db8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffa7237db8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffa7237db8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffa7237db8 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffa7237db8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1059:61 #12 0x0000ffffa724ce94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffffa724ce94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffffa724ce94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffffa724ce94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffffa724ce94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffffa724ce94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffffa724ce94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffffa724ce94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffffa724ce94 clang::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 0x0000ffffa724d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffa724d310 clang::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 0x0000ffffa724d5dc clang::ento::CoreEngine::dispatchWorkItem(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 0x0000ffffa724d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x0000ffffa724d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x0000ffffa724d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #27 0x0000ffffa724d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #28 0x0000ffffa724d764 clang::ento::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 0x0000ffffa751787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffffa751787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffffa751787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #32 0x0000ffffa751787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #33 0x0000ffffa751787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #34 0x0000ffffa75187e8 llvm::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 0x0000ffffa75187e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x0000ffffa75187e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #37 0x0000ffffa751cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x0000ffffa751cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x0000ffffa751cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x0000ffffa751cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x0000ffffa751cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x0000ffffa5971e58 __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 0x0000ffffa5971e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x0000ffffa5971e58 void clang::finalize>, 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 0x0000ffffa5971e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x0000ffffa7037ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #47 0x0000ffffa6fefc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #48 0x0000ffffa6fefc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #49 0x0000ffffa6fefc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #50 0x0000ffffa707610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #51 0x0000aaaaaceb59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x0000aaaaaceb94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x0000aaaaacebaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x0000aaaaaceb1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x0000ffff9e5e098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #56 0x0000ffff9e5e0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #57 0x0000aaaaaceb20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/operator-calls.cpp.script: line 1: 1827755 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,alpha.core,debug.ExprInspection -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/operator-calls.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/objc/direct-ivar-assignment-in-annotated-functions.m (995 of 18953) ******************** TEST 'Clang :: Analysis/objc/direct-ivar-assignment-in-annotated-functions.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc/direct-ivar-assignment-in-annotated-functions.m -analyzer-checker=core -analyzer-checker=alpha.osx.cocoa.DirectIvarAssignment -analyzer-config alpha.osx.cocoa.DirectIvarAssignment:AnnotatedFunctions=true -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc/direct-ivar-assignment-in-annotated-functions.m -analyzer-checker=core -analyzer-checker=alpha.osx.cocoa.DirectIvarAssignment -analyzer-config alpha.osx.cocoa.DirectIvarAssignment:AnnotatedFunctions=true 1. parser at end of file #0 0x0000ffff7f84acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7f849100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7f84b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff88781800 (linux-vdso.so.1+0x800) #4 0x0000ffff87aa3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff87aa3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff87aa3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff87aa3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff87aa3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff87aa3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff87aa3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff87aa3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff87750c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff87750c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff87750c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff87750c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff87751ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff87751ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff87751ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff87751ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff87764770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff87764770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff87764770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff87765cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff87765cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff87765cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff87765190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff87765190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff87765190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff877717d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff877717d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff877717d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8777b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8777b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8777b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff876df72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff876df72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff876df72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff876df72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff876dfbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff876dfbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff876dfbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff876b31c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff876b31c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff876b31c0 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff876efba8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff876efba8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff876efba8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffff8770daa8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff8770daa8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff8770daa8 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff879d787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff879d787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff879d787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff879d787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff879d787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff879d87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffff879d87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff879d87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff879dcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff879dcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff879dcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff879dcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff879dcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff85e31e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffff85e31e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff85e31e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffff85e31e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff874f7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff874afc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff874afc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff874afc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff8753610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaacbad59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaacbad94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaacbadaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaacbad1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff7eaa098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff7eaa0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaacbad20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/objc/Output/direct-ivar-assignment-in-annotated-functions.m.script: line 1: 1827734 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify -fblocks /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc/direct-ivar-assignment-in-annotated-functions.m -analyzer-checker=core -analyzer-checker=alpha.osx.cocoa.DirectIvarAssignment -analyzer-config alpha.osx.cocoa.DirectIvarAssignment:AnnotatedFunctions=true -- ******************** Testing: 0 FAIL: Clang :: Analysis/objc_invalidation.m (996 of 18953) ******************** TEST 'Clang :: Analysis/objc_invalidation.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.osx.cocoa.InstanceVariableInvalidation -DRUN_IVAR_INVALIDATION -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc_invalidation.m : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.osx.cocoa.MissingInvalidationMethod -DRUN_MISSING_INVALIDATION_METHOD -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc_invalidation.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.osx.cocoa.InstanceVariableInvalidation -DRUN_IVAR_INVALIDATION -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc_invalidation.m 1. parser at end of file #0 0x0000ffff775bacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff775b9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff775bb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff804f5800 (linux-vdso.so.1+0x800) #4 0x0000ffff7f813688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff7f813688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff7f813688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff7f813688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff7f813688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff7f813688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff7f813688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff7f813688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff7f4c0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff7f4c0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff7f4c0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff7f4c0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff7f4c1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff7f4c1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff7f4c1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff7f4c1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff7f4d4770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff7f4d4770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff7f4d4770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff7f4d5cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff7f4d5cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff7f4d5cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff7f4d5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff7f4d5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff7f4d5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff7f4e17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff7f4e17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff7f4e17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff7f4eb074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff7f4eb074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff7f4eb074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff7f44f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff7f44f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff7f44f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff7f44f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff7f44fbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff7f44fbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff7f44fbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff7f4231c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff7f4231c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff7f4231c0 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff7f45fba8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff7f45fba8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff7f45fba8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffff7f47daa8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff7f47daa8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff7f47daa8 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff7f74787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff7f74787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff7f74787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff7f74787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff7f74787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff7f7487e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffff7f7487e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff7f7487e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff7f74cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff7f74cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff7f74cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff7f74cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff7f74cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff7dba1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffff7dba1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff7dba1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffff7dba1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff7f267ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff7f21fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff7f21fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff7f21fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff7f2a610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaacb5859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaacb5894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaacb58aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaacb581fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff7681098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff76810a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaacb5820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/objc_invalidation.m.script: line 2: 1827735 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.osx.cocoa.InstanceVariableInvalidation -DRUN_IVAR_INVALIDATION -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/objc_invalidation.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/osobject-retain-release.cpp (1000 of 18953) ******************** TEST 'Clang :: Analysis/osobject-retain-release.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -fblocks -analyze -analyzer-output=text -analyzer-checker=core,osx,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/osobject-retain-release.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -fblocks -analyze -analyzer-output=text -analyzer-checker=core,osx,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/osobject-retain-release.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling weird_result::testOutParamWithWeirdResult() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/osobject-retain-release.cpp:804:10: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/osobject-retain-release.cpp:804:10: Error evaluating statement #0 0x0000ffff8e23acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8e239100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8e23b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9717f800 (linux-vdso.so.1+0x800) #4 0x0000ffff960ee6a4 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffff960ee6a4 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff960ee6a4 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff960ee6a4 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff960ee6a4 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff960ee6a4 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff960ee6a4 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff960ee6a4 llvm::IntrusiveRefCntPtr clang::ento::ProgramStateManager::set<(anonymous namespace)::ObjectsUnderConstruction>(llvm::IntrusiveRefCntPtr, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::key_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::value_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::context_type) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:652:0 #12 0x0000ffff960eea94 llvm::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 0x0000ffff960eea94 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #14 0x0000ffff960eea94 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #15 0x0000ffff960eea94 set<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:876:0 #16 0x0000ffff960eea94 clang::ento::ExprEngine::addObjectUnderConstruction(llvm::IntrusiveRefCntPtr, clang::ConstructionContextItem const&, clang::LocationContext const*, clang::ento::SVal) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:599:0 #17 0x0000ffff960ef22c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #18 0x0000ffff960ef22c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #19 0x0000ffff960ef22c clang::ento::ExprEngine::updateObjectsUnderConstruction(clang::ento::SVal, clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:472:0 #20 0x0000ffff9613048c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #21 0x0000ffff9613048c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #22 0x0000ffff9613048c 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 0x0000ffff9613048c clang::ento::ExprEngine::bindReturnValue(clang::ento::CallEvent const&, clang::LocationContext const*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:773:0 #24 0x0000ffff96130928 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #25 0x0000ffff96130928 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #26 0x0000ffff96130928 clang::ento::ExprEngine::conservativeEvalCall(clang::ento::CallEvent const&, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:834:0 #27 0x0000ffff961312e4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #28 0x0000ffff961312e4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #29 0x0000ffff961312e4 clang::ento::ExprEngine::defaultEvalCall(clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:1266:0 #30 0x0000ffff960b9fd8 clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:288:0 #31 0x0000ffff9611981c llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #32 0x0000ffff9611981c llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #33 0x0000ffff9611981c clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #34 0x0000ffff9611981c clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:696:26 #35 0x0000ffff9611a144 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #36 0x0000ffff960fbea0 clang::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 0x0000ffff960fbea0 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #38 0x0000ffff960fcf08 clang::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 0x0000ffff960fd1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff960fd41c clang::ento::CoreEngine::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 0x0000ffff960fd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #42 0x0000ffff960fd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #43 0x0000ffff960fd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #44 0x0000ffff960fd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #45 0x0000ffff960fd764 clang::ento::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 0x0000ffff963c787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #47 0x0000ffff963c787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #48 0x0000ffff963c787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #49 0x0000ffff963c787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #50 0x0000ffff963c787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #51 0x0000ffff963c87e8 llvm::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 0x0000ffff963c87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #53 0x0000ffff963c87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #54 0x0000ffff963ccde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #55 0x0000ffff963ccde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #56 0x0000ffff963ccde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #57 0x0000ffff963ccde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #58 0x0000ffff963ccde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #59 0x0000ffff94821e58 __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 0x0000ffff94821e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #61 0x0000ffff94821e58 void clang::finalize>, 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 0x0000ffff94821e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #63 0x0000ffff95ee7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #64 0x0000ffff95e9fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #65 0x0000ffff95e9fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #66 0x0000ffff95e9fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #67 0x0000ffff95f2610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #68 0x0000aaaacdae59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #69 0x0000aaaacdae94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #70 0x0000aaaacdaeaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #71 0x0000aaaacdae1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #72 0x0000ffff8d49098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #73 0x0000ffff8d490a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #74 0x0000aaaacdae20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/osobject-retain-release.cpp.script: line 1: 1827759 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -fblocks -analyze -analyzer-output=text -analyzer-checker=core,osx,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/osobject-retain-release.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/out-of-bounds-new.cpp (1004 of 18953) ******************** TEST 'Clang :: Analysis/out-of-bounds-new.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -Wno-array-bounds -analyzer-checker=unix,core,alpha.security.ArrayBoundV2 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/out-of-bounds-new.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -Wno-array-bounds -analyzer-checker=unix,core,alpha.security.ArrayBoundV2 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/out-of-bounds-new.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling test_dynamic_size2(unsigned int, unsigned int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/out-of-bounds-new.cpp:155:7: Error evaluating New Allocator Call #0 0x0000ffff8a56acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8a569100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8a56b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff934ac800 (linux-vdso.so.1+0x800) #4 0x0000ffff927c3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff927c3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff927c3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff927c3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff927c3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff927c3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff927c3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff927c3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff92470c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff92470c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff92470c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff92470c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff92471ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff92471ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff92471ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff92471ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff92484770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff92484770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff92484770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff92485cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff92485cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff92485cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff92485190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff92485190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff92485190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff924917d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff924917d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff924917d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9249b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9249b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9249b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff923ff72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff923ff72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff923ff72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff923ff72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff923ffbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff923ffbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff923ffbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff92429b98 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #43 0x0000ffff92429b98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #44 0x0000ffff92429b98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffff92429b98 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #46 0x0000ffff92429b98 clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #47 0x0000ffff92429fac llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #48 0x0000ffff92429fac llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #49 0x0000ffff92429fac clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #50 0x0000ffff92429fac clang::ento::CoreEngine::enqueue(clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:613:23 #51 0x0000ffff92429fac clang::ento::ExprEngine::ProcessNewAllocator(clang::CXXNewExpr const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1326:0 #52 0x0000ffff9242d22c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:984:0 #53 0x0000ffff9242d41c clang::ento::CoreEngine::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 0x0000ffff9242d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #55 0x0000ffff9242d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #56 0x0000ffff9242d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #57 0x0000ffff9242d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #58 0x0000ffff9242d764 clang::ento::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 0x0000ffff926f787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #60 0x0000ffff926f787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #61 0x0000ffff926f787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #62 0x0000ffff926f787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #63 0x0000ffff926f787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #64 0x0000ffff926f87e8 llvm::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 0x0000ffff926f87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x0000ffff926f87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #67 0x0000ffff926fcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x0000ffff926fcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x0000ffff926fcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x0000ffff926fcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x0000ffff926fcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x0000ffff90b51e58 __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 0x0000ffff90b51e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x0000ffff90b51e58 void clang::finalize>, 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 0x0000ffff90b51e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x0000ffff92217ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #77 0x0000ffff921cfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #78 0x0000ffff921cfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #79 0x0000ffff921cfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #80 0x0000ffff9225610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #81 0x0000aaaabf0759f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x0000aaaabf0794b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x0000aaaabf07aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x0000aaaabf071fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x0000ffff897c098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #86 0x0000ffff897c0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #87 0x0000aaaabf0720b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/out-of-bounds-new.cpp.script: line 1: 1827772 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -Wno-array-bounds -analyzer-checker=unix,core,alpha.security.ArrayBoundV2 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/out-of-bounds-new.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/out-of-bounds.c (1005 of 18953) ******************** TEST 'Clang :: Analysis/out-of-bounds.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-array-bounds -analyzer-checker=core,alpha.security.ArrayBoundV2,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/out-of-bounds.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-array-bounds -analyzer-checker=core,alpha.security.ArrayBoundV2,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/out-of-bounds.c 1. parser at end of file 2. While analyzing stack: #0 Calling test_assume_after_access2 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/out-of-bounds.c:173:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/out-of-bounds.c:173:3: Error evaluating statement #0 0x0000ffff82edacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff82ed9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff82edb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8be13800 (linux-vdso.so.1+0x800) #4 0x0000ffff8adba900 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffff8adba900 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff8adba900 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff8adba900 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff8adba900 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff8adba900 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff8adba900 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x0000ffff8adba900 getConstraint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1055:37 #12 0x0000ffff8adba900 (anonymous namespace)::getConstraint(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1060:23 #13 0x0000ffff8adba9dc (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 0x0000ffff8ae01ba8 (anonymous namespace)::SimpleSValBuilder::simplifySValOnce(llvm::IntrusiveRefCntPtr, clang::ento::SVal)::Simplifier::VisitSymbolData(clang::ento::SymbolData const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1259:54 #15 0x0000ffff8b21a8a4 VisitNonLocSymbolVal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1365:0 #16 0x0000ffff8b21a8a4 Visit /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.def:67:0 #17 0x0000ffff8b21a8a4 (anonymous namespace)::SimpleSValBuilder::simplifySValOnce(llvm::IntrusiveRefCntPtr, clang::ento::SVal) (.constprop.0.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1371:0 #18 0x0000ffff8adf5484 simplifyUntilFixpoint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1194:40 #19 0x0000ffff8adf5484 (anonymous namespace)::SimpleSValBuilder::simplifySVal(llvm::IntrusiveRefCntPtr, clang::ento::SVal) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1203:31 #20 0x0000ffff8ae0c308 (anonymous namespace)::SimpleSValBuilder::evalBinOpNN(llvm::IntrusiveRefCntPtr, clang::BinaryOperatorKind, clang::ento::NonLoc, clang::ento::NonLoc, clang::QualType) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:416:0 #21 0x0000ffff8ae09940 compareValueToThreshold(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, clang::ento::NonLoc, clang::ento::SValBuilder&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ArrayBoundCheckerV2.cpp:135:0 #22 0x0000ffff8b131040 llvm::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 0x0000ffff8b131040 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #24 0x0000ffff8b131040 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x0000ffff8b131040 (anonymous namespace)::ArrayBoundCheckerV2::checkLocation(clang::ento::SVal, bool, clang::Stmt const*, clang::ento::CheckerContext&) const (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ArrayBoundCheckerV2.cpp:201:0 #26 0x0000ffff8ad599b8 void expandGraphWithCheckers<(anonymous namespace)::CheckLocationContext>((anonymous namespace)::CheckLocationContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #27 0x0000ffff8ad82270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:60 #28 0x0000ffff8ad82270 clang::ento::ExprEngine::evalLocation(clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::Stmt const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3710:19 #29 0x0000ffff8ad87868 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #30 0x0000ffff8ad87868 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #31 0x0000ffff8ad87868 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff8ad87868 clang::ento::ExprEngine::evalStore(clang::ento::ExplodedNodeSet&, clang::Expr const*, clang::Expr const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, clang::ento::SVal, clang::ProgramPointTag const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3628:15 #33 0x0000ffff8ad90834 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #34 0x0000ffff8ad90834 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #35 0x0000ffff8ad90834 clang::ento::ExprEngine::VisitBinaryOperator(clang::BinaryOperator const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:74:0 #36 0x0000ffff8ad9cbd8 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2103:0 #37 0x0000ffff8ad9cf08 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #38 0x0000ffff8ad9d1f0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #39 0x0000ffff8ad9d41c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #40 0x0000ffff8ad9d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #41 0x0000ffff8ad9d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #42 0x0000ffff8ad9d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #43 0x0000ffff8ad9d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #44 0x0000ffff8ad9d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #45 0x0000ffff8b06787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #46 0x0000ffff8b06787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #47 0x0000ffff8b06787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #48 0x0000ffff8b06787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #49 0x0000ffff8b06787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #50 0x0000ffff8b0687e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #51 0x0000ffff8b0687e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #52 0x0000ffff8b0687e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #53 0x0000ffff8b06cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff8b06cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff8b06cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #56 0x0000ffff8b06cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #57 0x0000ffff8b06cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #58 0x0000ffff894c1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #59 0x0000ffff894c1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #60 0x0000ffff894c1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #61 0x0000ffff894c1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #62 0x0000ffff8ab87ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #63 0x0000ffff8ab3fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #64 0x0000ffff8ab3fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #65 0x0000ffff8ab3fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #66 0x0000ffff8abc610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #67 0x0000aaaac2b959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #68 0x0000aaaac2b994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #69 0x0000aaaac2b9aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #70 0x0000aaaac2b91fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #71 0x0000ffff8213098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #72 0x0000ffff82130a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #73 0x0000aaaac2b920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/out-of-bounds.c.script: line 1: 1827781 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-array-bounds -analyzer-checker=core,alpha.security.ArrayBoundV2,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/out-of-bounds.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/outofbound.c (1007 of 18953) ******************** TEST 'Clang :: Analysis/outofbound.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-array-bounds -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/outofbound.c -analyzer-checker=core -analyzer-checker=unix -analyzer-checker=alpha.security.ArrayBound -analyzer-config unix.DynamicMemoryModeling:Optimistic=true -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-array-bounds -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/outofbound.c -analyzer-checker=core -analyzer-checker=unix -analyzer-checker=alpha.security.ArrayBound -analyzer-config unix.DynamicMemoryModeling:Optimistic=true 1. parser at end of file 2. While analyzing stack: #0 Calling symbolic_index2 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/outofbound.c:91:10: Error evaluating statement #0 0x0000ffff8448acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff84489100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8448b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8d3c9800 (linux-vdso.so.1+0x800) #4 0x0000ffff8c38cd64 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8c38cd64 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8c38cd64 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8c38cd64 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffff8c38cd64 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffff8c38cd64 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffff8c3380bc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffff8c3380bc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffff8c3380bc clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffff8c34ce94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffff8c34ce94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffff8c34ce94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffff8c34ce94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffff8c34ce94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffff8c34ce94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffff8c34ce94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffff8c34ce94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffff8c34ce94 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffff8c34d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8c34d310 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffff8c34d5dc clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffff8c34d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffff8c34d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffff8c34d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffff8c34d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffff8c34d764 clang::ento::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 0x0000ffff8c61787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff8c61787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff8c61787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffff8c61787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffff8c61787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffff8c6187e8 llvm::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 0x0000ffff8c6187e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffff8c6187e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffff8c61cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffff8c61cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffff8c61cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffff8c61cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffff8c61cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffff8aa71e58 __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 0x0000ffff8aa71e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffff8aa71e58 void clang::finalize>, 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 0x0000ffff8aa71e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffff8c137ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffff8c0efc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffff8c0efc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffff8c0efc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffff8c17610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaabb3459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaabb3494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaabb34aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaabb341fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffff836e098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffff836e0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaabb3420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/outofbound.c.script: line 1: 1827811 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-array-bounds -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/outofbound.c -analyzer-checker=core -analyzer-checker=unix -analyzer-checker=alpha.security.ArrayBound -analyzer-config unix.DynamicMemoryModeling:Optimistic=true -- ******************** Testing: 0 FAIL: Clang :: Analysis/override-werror.c (1008 of 18953) ******************** TEST 'Clang :: Analysis/override-werror.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -Werror /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/override-werror.c -verify : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -Werror /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/override-werror.c -analyzer-werror -verify=werror -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -Werror /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/override-werror.c -verify 1. parser at end of file 2. While analyzing stack: #0 Calling g 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/override-werror.c:14:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/override-werror.c:14:7: Error evaluating statement #0 0x0000ffff82f8acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff82f89100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff82f8b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8beca800 (linux-vdso.so.1+0x800) #4 0x0000ffff8b1e3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8b1e3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8b1e3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8b1e3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8b1e3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8b1e3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff8b1e3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff8b1e3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8ae90c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8ae90c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8ae90c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8ae90c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8ae91ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8ae91ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8ae91ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8ae91ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff8aea4770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff8aea4770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff8aea4770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff8aea5cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff8aea5cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff8aea5cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff8aea5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8aea5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8aea5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff8aeb17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff8aeb17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff8aeb17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8aebb074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8aebb074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8aebb074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8ae1f6d8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8ae1f6d8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8ae1f6d8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8ae1f6d8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff8b30d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8b30d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8b30d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff8ae32a0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff8ae32a0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff8ae32a0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffff8ae4ccac llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffff8ae4ccac llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffff8ae4ccac llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffff8ae4ccac clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffff8ae4ccac clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffff8ae4cf08 clang::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 0x0000ffff8ae4d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8ae4d41c clang::ento::CoreEngine::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 0x0000ffff8ae4d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff8ae4d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff8ae4d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff8ae4d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff8ae4d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff8b11787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff8b11787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff8b11787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff8b11787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff8b11787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff8b1187e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff8b1187e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff8b1187e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff8b11cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff8b11cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff8b11cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff8b11cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff8b11cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff89571e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff89571e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff89571e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff89571e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff8ac37ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff8abefc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff8abefc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff8abefc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff8ac7610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaaac4259f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaaac4294b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaaac42aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaaac421fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff821e098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff821e0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaaac4220b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/override-werror.c.script: line 2: 1827812 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -Werror /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/override-werror.c -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/path-notes-impl-param.m (1010 of 18953) ******************** TEST 'Clang :: Analysis/path-notes-impl-param.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/path-notes-impl-param.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/path-notes-impl-param.m 1. parser at end of file 2. While analyzing stack: #0 Calling baz 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/path-notes-impl-param.m:23:3: Error evaluating statement #0 0x0000ffffab73acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffab739100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffab73b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb4671800 (linux-vdso.so.1+0x800) #4 0x0000ffffb35d8e44 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffb35d8e44 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffb35d8e44 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffb35d8e44 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffb35d8e44 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffb35d8e44 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 0x0000ffffb35d8e44 get<(anonymous namespace)::DynamicTypeMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffb35d8e44 llvm::IntrusiveRefCntPtr clang::ento::removeDeadImpl<(anonymous namespace)::DynamicTypeMap>(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/DynamicType.cpp:166:15 #12 0x0000ffffb3982928 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #13 0x0000ffffb3982928 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #14 0x0000ffffb3982928 clang::ento::removeDeadTypes(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/DynamicType.cpp:176:0 #15 0x0000ffffb3982928 (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 0x0000ffffb35cd814 void expandGraphWithCheckers<(anonymous namespace)::CheckDeadSymbolsContext>((anonymous namespace)::CheckDeadSymbolsContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #17 0x0000ffffb35e7fe8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #18 0x0000ffffb35e7fe8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #19 0x0000ffffb35e7fe8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #20 0x0000ffffb35e7fe8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #21 0x0000ffffb35e7fe8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #22 0x0000ffffb35e7fe8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #23 0x0000ffffb35e7fe8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1080:48 #24 0x0000ffffb35fce94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #25 0x0000ffffb35fce94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #26 0x0000ffffb35fce94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #27 0x0000ffffb35fce94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #28 0x0000ffffb35fce94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #29 0x0000ffffb35fce94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #30 0x0000ffffb35fce94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #31 0x0000ffffb35fce94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #32 0x0000ffffb35fce94 clang::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 0x0000ffffb35fd1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffb35fd41c clang::ento::CoreEngine::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 0x0000ffffb35fd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x0000ffffb35fd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x0000ffffb35fd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #38 0x0000ffffb35fd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #39 0x0000ffffb35fd764 clang::ento::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 0x0000ffffb38c787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #41 0x0000ffffb38c787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #42 0x0000ffffb38c787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #43 0x0000ffffb38c787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #44 0x0000ffffb38c787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #45 0x0000ffffb38c87e8 llvm::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 0x0000ffffb38c87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #47 0x0000ffffb38c87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #48 0x0000ffffb38ccde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #49 0x0000ffffb38ccde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #50 0x0000ffffb38ccde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #51 0x0000ffffb38ccde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #52 0x0000ffffb38ccde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #53 0x0000ffffb1d21e58 __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 0x0000ffffb1d21e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #55 0x0000ffffb1d21e58 void clang::finalize>, 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 0x0000ffffb1d21e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #57 0x0000ffffb33e7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #58 0x0000ffffb339fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #59 0x0000ffffb339fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #60 0x0000ffffb339fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #61 0x0000ffffb342610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #62 0x0000aaaac53f59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #63 0x0000aaaac53f94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #64 0x0000aaaac53faac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #65 0x0000aaaac53f1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #66 0x0000ffffaa99098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #67 0x0000ffffaa990a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #68 0x0000aaaac53f20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/path-notes-impl-param.m.script: line 1: 1827841 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/path-notes-impl-param.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/placement-new-user-defined.cpp (1011 of 18953) ******************** TEST 'Clang :: Analysis/placement-new-user-defined.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/placement-new-user-defined.cpp -analyzer-checker=core -analyzer-checker=cplusplus.NewDelete -analyzer-checker=cplusplus.PlacementNew -analyzer-output=text -verify -triple x86_64-unknown-linux-gnu -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/placement-new-user-defined.cpp -analyzer-checker=core -analyzer-checker=cplusplus.NewDelete -analyzer-checker=cplusplus.PlacementNew -analyzer-output=text -verify -triple x86_64-unknown-linux-gnu 1. parser at end of file 2. While analyzing stack: #0 Calling X::operator new(std::size_t, void *) at line 20 #1 Calling f() #0 0x0000ffff78fdacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff78fd9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff78fdb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff81f1f800 (linux-vdso.so.1+0x800) #4 0x0000ffff80e87db8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff80e87db8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff80e87db8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff80e87db8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff80e87db8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff80e87db8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff80e87db8 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff80e87db8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1059:61 #12 0x0000ffff80ecfdfc clang::ento::ExprEngine::processCallExit(clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:372:0 #13 0x0000ffff80e9d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #14 0x0000ffff80e9d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #15 0x0000ffff80e9d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #16 0x0000ffff80e9d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #17 0x0000ffff80e9d764 clang::ento::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 0x0000ffff8116787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #19 0x0000ffff8116787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #20 0x0000ffff8116787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #21 0x0000ffff8116787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #22 0x0000ffff8116787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #23 0x0000ffff811687e8 llvm::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 0x0000ffff811687e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #25 0x0000ffff811687e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #26 0x0000ffff8116cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #27 0x0000ffff8116cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #28 0x0000ffff8116cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #29 0x0000ffff8116cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #30 0x0000ffff8116cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #31 0x0000ffff7f5c1e58 __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 0x0000ffff7f5c1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #33 0x0000ffff7f5c1e58 void clang::finalize>, 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 0x0000ffff7f5c1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #35 0x0000ffff80c87ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #36 0x0000ffff80c3fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #37 0x0000ffff80c3fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #38 0x0000ffff80c3fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #39 0x0000ffff80cc610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #40 0x0000aaaae88959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #41 0x0000aaaae88994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #42 0x0000aaaae889aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #43 0x0000aaaae8891fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #44 0x0000ffff7823098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #45 0x0000ffff78230a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #46 0x0000aaaae88920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/placement-new-user-defined.cpp.script: line 1: 1827845 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/placement-new-user-defined.cpp -analyzer-checker=core -analyzer-checker=cplusplus.NewDelete -analyzer-checker=cplusplus.PlacementNew -analyzer-output=text -verify -triple x86_64-unknown-linux-gnu -- ******************** Testing: 0 FAIL: Clang :: Analysis/placement-new.cpp (1013 of 18953) ******************** TEST 'Clang :: Analysis/placement-new.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/placement-new.cpp -analyzer-checker=core -analyzer-checker=cplusplus.NewDelete -analyzer-checker=cplusplus.PlacementNew -analyzer-output=text -verify -triple x86_64-unknown-linux-gnu -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/placement-new.cpp -analyzer-checker=core -analyzer-checker=cplusplus.NewDelete -analyzer-checker=cplusplus.PlacementNew -analyzer-output=text -verify -triple x86_64-unknown-linux-gnu 1. parser at end of file 2. While analyzing stack: #0 Calling testStructAlign::test22()::X::X() at line 455 #1 Calling testStructAlign::test22() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/placement-new.cpp:453:10: Error evaluating statement #0 0x0000ffff7a76acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7a769100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7a76b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff836a6800 (linux-vdso.so.1+0x800) #4 0x0000ffff82617db8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff82617db8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff82617db8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff82617db8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff82617db8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff82617db8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff82617db8 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff82617db8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1059:61 #12 0x0000ffff8262ce94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffff8262ce94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffff8262ce94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffff8262ce94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffff8262ce94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffff8262ce94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffff8262ce94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffff8262ce94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffff8262ce94 clang::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 0x0000ffff8262d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8262d310 clang::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 0x0000ffff8262d5dc clang::ento::CoreEngine::dispatchWorkItem(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 0x0000ffff8262d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x0000ffff8262d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x0000ffff8262d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #27 0x0000ffff8262d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #28 0x0000ffff8262d764 clang::ento::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 0x0000ffff828f787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffff828f787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffff828f787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #32 0x0000ffff828f787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #33 0x0000ffff828f787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #34 0x0000ffff828f87e8 llvm::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 0x0000ffff828f87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x0000ffff828f87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #37 0x0000ffff828fcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x0000ffff828fcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x0000ffff828fcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x0000ffff828fcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x0000ffff828fcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x0000ffff80d51e58 __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 0x0000ffff80d51e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x0000ffff80d51e58 void clang::finalize>, 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 0x0000ffff80d51e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x0000ffff82417ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #47 0x0000ffff823cfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #48 0x0000ffff823cfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #49 0x0000ffff823cfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #50 0x0000ffff8245610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #51 0x0000aaaad97459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x0000aaaad97494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x0000aaaad974aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x0000aaaad9741fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x0000ffff799c098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #56 0x0000ffff799c0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #57 0x0000aaaad97420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/placement-new.cpp.script: line 1: 1827852 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/placement-new.cpp -analyzer-checker=core -analyzer-checker=cplusplus.NewDelete -analyzer-checker=cplusplus.PlacementNew -analyzer-output=text -verify -triple x86_64-unknown-linux-gnu -- ******************** Testing: 0 FAIL: Clang :: Analysis/plist-diagnostics-template-record.cpp (1017 of 18953) ******************** TEST 'Clang :: Analysis/plist-diagnostics-template-record.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-output=plist -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/plist-diagnostics-template-record.cpp.tmp.plist -std=c++11 -analyzer-checker=core /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/plist-diagnostics-template-record.cpp : 'RUN: at line 2'; /usr/bin/FileCheck --input-file=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/plist-diagnostics-template-record.cpp.tmp.plist /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/plist-diagnostics-template-record.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-output=plist -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/plist-diagnostics-template-record.cpp.tmp.plist -std=c++11 -analyzer-checker=core /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/plist-diagnostics-template-record.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling main() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/plist-diagnostics-template-record.cpp:34:36: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/plist-diagnostics-template-record.cpp:34:36: Error evaluating statement #0 0x0000ffffb3efacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb3ef9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb3efb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffbce36800 (linux-vdso.so.1+0x800) #4 0x0000ffffbbda8434 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffbbda8434 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffbbda8434 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffbbda8434 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffbbda8434 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffbbda8434 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffbbda8434 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:0 #11 0x0000ffffbbda8434 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 0x0000ffffbbd70f7c std::_Optional_base_impl>::_M_is_engaged() const /usr/include/c++/12/optional:471:0 #13 0x0000ffffbbd70f7c std::optional::has_value() const /usr/include/c++/12/optional:988:0 #14 0x0000ffffbbd70f7c clang::ento::CallEvent::isArgumentConstructedDirectly(unsigned int) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:431:0 #15 0x0000ffffbbd70f7c addParameterValuesToBindings(clang::StackFrameContext const*, llvm::SmallVectorImpl>&, clang::ento::SValBuilder&, clang::ento::CallEvent const&, llvm::ArrayRef) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:478:0 #16 0x0000ffffbbd71f7c clang::ento::AnyCXXConstructorCall::getCXXThisVal() const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:896:0 #17 0x0000ffffbbd71f7c clang::ento::AnyCXXConstructorCall::getInitialStackFrameContents(clang::StackFrameContext const*, llvm::SmallVectorImpl>&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:915:0 #18 0x0000ffffbbe32cb0 llvm::SmallVectorTemplateCommon, void>::end() /usr/include/llvm/ADT/SmallVector.h:272:0 #19 0x0000ffffbbe32cb0 clang::ento::StoreManager::enterStackFrame(void const*, clang::ento::CallEvent const&, clang::StackFrameContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/Store.cpp:54:0 #20 0x0000ffffbbdedef8 clang::ento::ProgramState::makeWithStore(clang::ento::StoreRef const&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:434:27 #21 0x0000ffffbbdedef8 clang::ento::ProgramState::enterStackFrame(clang::ento::CallEvent const&, clang::StackFrameContext const*) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:234:0 #22 0x0000ffffbbdee0a8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #23 0x0000ffffbbdee0a8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #24 0x0000ffffbbdee0a8 clang::ento::ExprEngine::inlineCall(clang::ento::WorkList*, clang::ento::CallEvent const&, clang::Decl const*, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:561:0 #25 0x0000ffffbbdf0b40 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #26 0x0000ffffbbdf0b40 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #27 0x0000ffffbbdf0b40 clang::ento::ExprEngine::ctuBifurcate(clang::ento::CallEvent const&, clang::Decl const*, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:527:0 #28 0x0000ffffbbdf156c llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #29 0x0000ffffbbdf156c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #30 0x0000ffffbbdf156c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x0000ffffbbdf156c clang::ento::ExprEngine::defaultEvalCall(clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:1255:0 #32 0x0000ffffbbd79fd8 clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:288:0 #33 0x0000ffffbbdb6028 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #34 0x0000ffffbbdb6028 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #35 0x0000ffffbbdb6028 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #36 0x0000ffffbbdb6028 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #37 0x0000ffffbbdb6028 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #38 0x0000ffffbbdb6028 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #39 0x0000ffffbbdb6028 clang::ento::ExprEngine::handleConstructor(clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:789:0 #40 0x0000ffffbbdbbe5c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #41 0x0000ffffbbdbbe5c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2158:0 #42 0x0000ffffbbdbcf08 clang::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 0x0000ffffbbdbd1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffbbdbd41c clang::ento::CoreEngine::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 0x0000ffffbbdbd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #46 0x0000ffffbbdbd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #47 0x0000ffffbbdbd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #48 0x0000ffffbbdbd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #49 0x0000ffffbbdbd764 clang::ento::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 0x0000ffffbc08787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #51 0x0000ffffbc08787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x0000ffffbc08787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #53 0x0000ffffbc08787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #54 0x0000ffffbc08787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #55 0x0000ffffbc0887e8 llvm::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 0x0000ffffbc0887e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #57 0x0000ffffbc0887e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #58 0x0000ffffbc08cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #59 0x0000ffffbc08cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #60 0x0000ffffbc08cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #61 0x0000ffffbc08cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #62 0x0000ffffbc08cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #63 0x0000ffffba4e1e58 __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 0x0000ffffba4e1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #65 0x0000ffffba4e1e58 void clang::finalize>, 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 0x0000ffffba4e1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #67 0x0000ffffbbba7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #68 0x0000ffffbbb5fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #69 0x0000ffffbbb5fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #70 0x0000ffffbbb5fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #71 0x0000ffffbbbe610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #72 0x0000aaaaae3459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #73 0x0000aaaaae3494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #74 0x0000aaaaae34aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #75 0x0000aaaaae341fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #76 0x0000ffffb315098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #77 0x0000ffffb3150a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #78 0x0000aaaaae3420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/plist-diagnostics-template-record.cpp.script: line 2: 1827873 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-output=plist -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/plist-diagnostics-template-record.cpp.tmp.plist -std=c++11 -analyzer-checker=core /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/plist-diagnostics-template-record.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/plist-diagnostics-template-function.cpp (1018 of 18953) ******************** TEST 'Clang :: Analysis/plist-diagnostics-template-function.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-output=plist -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/plist-diagnostics-template-function.cpp.tmp.plist -std=c++11 -analyzer-checker=core /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/plist-diagnostics-template-function.cpp : 'RUN: at line 2'; /usr/bin/FileCheck --input-file=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/plist-diagnostics-template-function.cpp.tmp.plist /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/plist-diagnostics-template-function.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-output=plist -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/plist-diagnostics-template-function.cpp.tmp.plist -std=c++11 -analyzer-checker=core /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/plist-diagnostics-template-function.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling f(int) at line 31 #1 Calling main() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/plist-diagnostics-template-function.cpp:14:7: Error evaluating branch #0 0x0000ffff9044acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff90449100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9044b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff99386800 (linux-vdso.so.1+0x800) #4 0x0000ffff986a3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff986a3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff986a3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff986a3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff986a3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff986a3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff986a3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff986a3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff98350c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff98350c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff98350c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff98350c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff98351940 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff98351940 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff98351940 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff98351940 (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:0 #20 0x0000ffff9836591c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff9836591c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff9836591c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffff98365bf0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff98365bf0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff98365bf0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffff98365190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff98365190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff98365190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff983717d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff983717d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff983717d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9837b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9837b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9837b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff982df6d8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff982df6d8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff982df6d8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff982df6d8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff987cd3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff987cd3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff987cd3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff982f58c8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffff982f58c8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffff982f58c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffff982f58c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffff982f58c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffff982f58c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffff982f58c8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffff982f58c8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffff982f58c8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffff982f58c8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffff982f5e30 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffff9830d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff9830d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff9830d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff9830d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff9830d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff985d787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff985d787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff985d787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff985d787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff985d787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff985d87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff985d87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff985d87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff985dcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff985dcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff985dcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff985dcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff985dcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff96a31e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff96a31e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff96a31e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff96a31e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff980f7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff980afc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff980afc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff980afc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff9813610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaae66359f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaae66394b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaae663aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaae6631fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff8f6a098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff8f6a0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaae66320b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/plist-diagnostics-template-function.cpp.script: line 2: 1827866 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-output=plist -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/plist-diagnostics-template-function.cpp.tmp.plist -std=c++11 -analyzer-checker=core /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/plist-diagnostics-template-function.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/plist-html-macros.c (1019 of 18953) ******************** TEST 'Clang :: Analysis/plist-html-macros.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/plist-html-macros.c : 'RUN: at line 4'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/plist-html-macros.c.tmp.dir : 'RUN: at line 5'; mkdir -p /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/plist-html-macros.c.tmp.dir : 'RUN: at line 7'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/plist-html-macros.c.tmp.dir/index.plist /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/plist-html-macros.c -analyzer-checker=core -analyzer-output=plist-html : 'RUN: at line 10'; ls /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/plist-html-macros.c.tmp.dir | grep '\.html' | /usr/bin/count 1 : 'RUN: at line 11'; grep '\.html' /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/plist-html-macros.c.tmp.dir/index.plist | /usr/bin/count 1 -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/plist-html-macros.c 1. parser at end of file 2. While analyzing stack: #0 Calling null_deref at line /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/plist-html-macros.c:32:3 #1 Calling test2 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/plist-html-macros.c:22:7: Error evaluating branch #0 0x0000ffffacbfacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffacbf9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffacbfb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb5b3f800 (linux-vdso.so.1+0x800) #4 0x0000ffffb4e53688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb4e53688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb4e53688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb4e53688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb4e53688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb4e53688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb4e53688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb4e53688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb4b00c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb4b00c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb4b00c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb4b00c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb4b01ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb4b01ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb4b01ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb4b01ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb4b14770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb4b14770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb4b14770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb4b15cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb4b15cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb4b15cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb4b15190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb4b15190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb4b15190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb4b217d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb4b217d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb4b217d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb4b2b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb4b2b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb4b2b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb4a8f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb4a8f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb4a8f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb4a8f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb4f7d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb4f7d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb4f7d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffb4aa58c8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffffb4aa58c8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffffb4aa58c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffffb4aa58c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffffb4aa58c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffffb4aa58c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffffb4aa58c8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffffb4aa58c8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffffb4aa58c8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffffb4aa58c8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffffb4aa5e30 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffffb4abd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffb4abd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffb4abd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffb4abd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffb4abd764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffb4d8787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffb4d8787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffb4d8787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffb4d8787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffb4d8787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffb4d887e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffb4d887e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffb4d887e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffb4d8cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffb4d8cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffb4d8cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffb4d8cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffb4d8cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffb31e1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffb31e1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffb31e1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffb31e1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffb48a7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffb485fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffb485fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffb485fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffb48e610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaabafc59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaabafc94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaabafcaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaabafc1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffabe5098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffabe50a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaabafc20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/plist-html-macros.c.script: line 6: 1827877 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/plist-html-macros.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/plist-output-alternate.m (1020 of 18953) ******************** TEST 'Clang :: Analysis/plist-output-alternate.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount,alpha.core -fblocks -analyzer-output=plist -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/plist-output-alternate.m.tmp /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/plist-output-alternate.m : 'RUN: at line 2'; grep -Ev '^[[:space:]]*.* version .*[[:space:]]*$|^[[:space:]]*/.*[[:space:]]*$|^[[:space:]]*.:.*[[:space:]]*$' parser at end of file 2. While analyzing stack: #0 Calling rdar8331641 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/plist-output-alternate.m:54:3: Error evaluating statement #0 0x0000ffff7e5facd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7e5f9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7e5fb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8753e800 (linux-vdso.so.1+0x800) #4 0x0000ffff866da9a8 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff866da9a8 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff866da9a8 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff866da9a8 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff866da9a8 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff866da9a8 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 0x0000ffff866da9a8 get<(anonymous namespace)::RefBindings> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff866da9a8 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 0x0000ffff8648d814 void expandGraphWithCheckers<(anonymous namespace)::CheckDeadSymbolsContext>((anonymous namespace)::CheckDeadSymbolsContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #13 0x0000ffff864a7fe8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x0000ffff864a7fe8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x0000ffff864a7fe8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #16 0x0000ffff864a7fe8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #17 0x0000ffff864a7fe8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #18 0x0000ffff864a7fe8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #19 0x0000ffff864a7fe8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1080:48 #20 0x0000ffff864bce94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #21 0x0000ffff864bce94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #22 0x0000ffff864bce94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #23 0x0000ffff864bce94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #24 0x0000ffff864bce94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #25 0x0000ffff864bce94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #26 0x0000ffff864bce94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #27 0x0000ffff864bce94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #28 0x0000ffff864bce94 clang::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 0x0000ffff864bd1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff864bd41c clang::ento::CoreEngine::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 0x0000ffff864bd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #32 0x0000ffff864bd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #33 0x0000ffff864bd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #34 0x0000ffff864bd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #35 0x0000ffff864bd764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #36 0x0000ffff8678787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffff8678787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffff8678787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #39 0x0000ffff8678787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #40 0x0000ffff8678787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #41 0x0000ffff867887e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #42 0x0000ffff867887e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #43 0x0000ffff867887e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #44 0x0000ffff8678cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #45 0x0000ffff8678cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #46 0x0000ffff8678cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #47 0x0000ffff8678cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #48 0x0000ffff8678cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #49 0x0000ffff84be1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #50 0x0000ffff84be1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #51 0x0000ffff84be1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #52 0x0000ffff84be1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #53 0x0000ffff862a7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #54 0x0000ffff8625fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #55 0x0000ffff8625fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #56 0x0000ffff8625fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #57 0x0000ffff862e610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #58 0x0000aaaacb2159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #59 0x0000aaaacb2194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #60 0x0000aaaacb21aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #61 0x0000aaaacb211fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #62 0x0000ffff7d85098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #63 0x0000ffff7d850a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #64 0x0000aaaacb2120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/plist-output-alternate.m.script: line 2: 1827918 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount,alpha.core -fblocks -analyzer-output=plist -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/plist-output-alternate.m.tmp /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/plist-output-alternate.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/plist-output.m (1021 of 18953) ******************** TEST 'Clang :: Analysis/plist-output.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/plist-output.m -analyzer-checker=osx.cocoa.RetainCount,deadcode.DeadStores,core -analyzer-output=plist -analyzer-config deadcode.DeadStores:ShowFixIts=true -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/plist-output.m.tmp.plist : 'RUN: at line 2'; grep -Ev '^[[:space:]]*.* version .*[[:space:]]*$|^[[:space:]]*/.*[[:space:]]*$|^[[:space:]]*.:.*[[:space:]]*$' parser at end of file 2. While analyzing stack: #0 Calling testFoo 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/plist-output.m:193:12: Error evaluating statement #0 0x0000ffff9d75acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff9d759100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9d75b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa6694800 (linux-vdso.so.1+0x800) #4 0x0000ffffa565cd64 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa565cd64 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa565cd64 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa565cd64 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffffa565cd64 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffffa565cd64 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffffa56080bc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffffa56080bc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffffa56080bc clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffffa561ce94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffffa561ce94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffffa561ce94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffffa561ce94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffffa561ce94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffffa561ce94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffffa561ce94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffffa561ce94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffffa561ce94 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffffa561d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffa561d310 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffffa561d5dc clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffffa561d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffffa561d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffffa561d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffffa561d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffffa561d764 clang::ento::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 0x0000ffffa58e787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffffa58e787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffffa58e787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffffa58e787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffffa58e787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffffa58e87e8 llvm::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 0x0000ffffa58e87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffffa58e87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffffa58ecde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffffa58ecde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffffa58ecde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffffa58ecde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffffa58ecde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffffa3d41e58 __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 0x0000ffffa3d41e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffffa3d41e58 void clang::finalize>, 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 0x0000ffffa3d41e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffffa5407ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffffa53bfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffffa53bfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffffa53bfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffffa544610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaac1fe59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaac1fe94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaac1feaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaac1fe1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffff9c9b098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffff9c9b0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaac1fe20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/plist-output.m.script: line 2: 1827920 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/plist-output.m -analyzer-checker=osx.cocoa.RetainCount,deadcode.DeadStores,core -analyzer-output=plist -analyzer-config deadcode.DeadStores:ShowFixIts=true -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/plist-output.m.tmp.plist -- ******************** Testing: 0 FAIL: Clang :: Analysis/plist-macros.cpp (1022 of 18953) ******************** TEST 'Clang :: Analysis/plist-macros.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/plist-macros.cpp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix -analyzer-output=plist-multi-file /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/plist-macros.cpp -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/plist-macros.cpp.tmp.plist : 'RUN: at line 3'; grep -Ev '^[[:space:]]*.* version .*[[:space:]]*$|^[[:space:]]*/.*[[:space:]]*$|^[[:space:]]*.:.*[[:space:]]*$' parser at end of file 2. While analyzing stack: #0 Calling null_deref(int *) at line /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/plist-macros.cpp:87:3 #1 Calling test2(int *) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/plist-macros.cpp:77:7: Error evaluating branch #0 0x0000ffffb3f5acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb3f59100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb3f5b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffbce94800 (linux-vdso.so.1+0x800) #4 0x0000ffffbc1b3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffbc1b3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffbc1b3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffbc1b3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffbc1b3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffbc1b3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffbc1b3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffbc1b3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffbbe60c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffbbe60c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffbbe60c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffbbe60c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffbbe61ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffbbe61ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffbbe61ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffbbe61ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffbbe74770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffbbe74770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffbbe74770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffbbe75cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffbbe75cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffbbe75cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffbbe75190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffbbe75190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffbbe75190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffbbe817d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffbbe817d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffbbe817d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffbbe8b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffbbe8b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffbbe8b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffbbdef72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffbbdef72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffbbdef72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffbbdef72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffbc2dd3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffbc2dd3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffbc2dd3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffbbe058c8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffffbbe058c8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffffbbe058c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffffbbe058c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffffbbe058c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffffbbe058c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffffbbe058c8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffffbbe058c8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffffbbe058c8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffffbbe058c8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffffbbe05e30 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffffbbe1d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffbbe1d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffbbe1d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffbbe1d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffbbe1d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffbc0e787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffbc0e787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffbc0e787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffbc0e787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffbc0e787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffbc0e87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffbc0e87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffbc0e87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffbc0ecde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffbc0ecde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffbc0ecde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffbc0ecde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffbc0ecde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffba541e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffba541e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffba541e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffba541e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffbbc07ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffbbbbfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffbbbbfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffbbbbfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffbbc4610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaac71b59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaac71b94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaac71baac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaac71b1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffb31b098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffb31b0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaac71b20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/plist-macros.cpp.script: line 3: 1827914 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/plist-macros.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/plist-macros-with-expansion.cpp (1023 of 18953) ******************** TEST 'Clang :: Analysis/plist-macros-with-expansion.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/plist-macros-with-expansion.cpp -analyzer-output=plist -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/plist-macros-with-expansion.cpp.tmp.plist -analyzer-config expand-macros=true -verify : 'RUN: at line 5'; /usr/bin/FileCheck --input-file=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/plist-macros-with-expansion.cpp.tmp.plist /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/plist-macros-with-expansion.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/plist-macros-with-expansion.cpp -analyzer-output=plist -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/plist-macros-with-expansion.cpp.tmp.plist -analyzer-config expand-macros=true -verify 1. parser at end of file 2. While analyzing stack: #0 Calling recursiveMacroUser() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/plist-macros-with-expansion.cpp:754:7 :4:1>: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/plist-macros-with-expansion.cpp:754:7 :4:1>: Error evaluating statement #0 0x0000ffff9c9eacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff9c9e9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9c9eb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa592c800 (linux-vdso.so.1+0x800) #4 0x0000ffffa4c43688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa4c43688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa4c43688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa4c43688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa4c43688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa4c43688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa4c43688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa4c43688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa48f0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa48f0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa48f0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa48f0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa48f1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa48f1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa48f1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa48f1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa4904770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa4904770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa4904770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa4905cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa4905cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa4905cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa4905190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa4905190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa4905190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa49117d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa49117d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa49117d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa491b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa491b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa491b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa487f6d8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa487f6d8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa487f6d8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa487f6d8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffa4d6d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa4d6d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa4d6d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffa4892a0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffa4892a0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffa4892a0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffffa48accac llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffffa48accac llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffffa48accac llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffffa48accac clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffffa48accac clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffffa48acf08 clang::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 0x0000ffffa48ad1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffa48ad41c clang::ento::CoreEngine::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 0x0000ffffa48ad764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffa48ad764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffa48ad764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffa48ad764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffa48ad764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffa4b7787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffa4b7787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffa4b7787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffa4b7787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffa4b7787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffa4b787e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffa4b787e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffa4b787e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffa4b7cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffa4b7cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffa4b7cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffa4b7cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffa4b7cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffa2fd1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffa2fd1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffa2fd1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffa2fd1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffa4697ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffa464fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffa464fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffa464fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffa46d610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaadf0659f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaadf0694b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaadf06aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaadf061fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff9bc4098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff9bc40a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaadf0620b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/plist-macros-with-expansion.cpp.script: line 2: 1827917 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/plist-macros-with-expansion.cpp -analyzer-output=plist -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/plist-macros-with-expansion.cpp.tmp.plist -analyzer-config expand-macros=true -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/pointer-to-member.cpp (1024 of 18953) ******************** TEST 'Clang :: Analysis/pointer-to-member.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pointer-to-member.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pointer-to-member.cpp 1. parser at end of file #0 0x0000ffff940bacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff940b9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff940bb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9cff6800 (linux-vdso.so.1+0x800) #4 0x0000ffff9bf6cc54 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff9bf6cc54 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff9bf6cc54 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff9bf6cc54 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff9bf6cc54 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff9bf6cc54 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff9bf6cc54 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff9bf6cc54 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 0x0000ffff9bf6d578 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 0x0000ffff9bf7d5a4 clang::ento::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 0x0000ffff9bf7d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #15 0x0000ffff9bf7d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #16 0x0000ffff9bf7d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #17 0x0000ffff9bf7d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #18 0x0000ffff9bf7d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #19 0x0000ffff9c24787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffff9c24787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffff9c24787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #22 0x0000ffff9c24787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #23 0x0000ffff9c24787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #24 0x0000ffff9c2487e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #25 0x0000ffff9c2487e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #26 0x0000ffff9c2487e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #27 0x0000ffff9c24cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #28 0x0000ffff9c24cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #29 0x0000ffff9c24cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #30 0x0000ffff9c24cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #31 0x0000ffff9c24cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #32 0x0000ffff9a6a1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #33 0x0000ffff9a6a1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #34 0x0000ffff9a6a1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #35 0x0000ffff9a6a1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #36 0x0000ffff9bd67ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #37 0x0000ffff9bd1fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #38 0x0000ffff9bd1fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #39 0x0000ffff9bd1fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #40 0x0000ffff9bda610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #41 0x0000aaaaaaef59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #42 0x0000aaaaaaef94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #43 0x0000aaaaaaefaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #44 0x0000aaaaaaef1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #45 0x0000ffff9331098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #46 0x0000ffff93310a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #47 0x0000aaaaaaef20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/pointer-to-member.cpp.script: line 1: 1827935 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pointer-to-member.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/pr37802.cpp (1028 of 18953) ******************** TEST 'Clang :: Analysis/pr37802.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pr37802.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pr37802.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling pr37802_v2::g() at line 102 #1 Calling pr37802_v2::g() at line 102 #2 Calling pr37802_v2::g() at line 102 #3 Calling pr37802_v2::g() at line 102 #4 Calling pr37802_v2::g() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pr37802.cpp:102:3: Error evaluating statement #0 0x0000ffff850facd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff850f9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff850fb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8e03e800 (linux-vdso.so.1+0x800) #4 0x0000ffff8cfa7db8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff8cfa7db8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff8cfa7db8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff8cfa7db8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff8cfa7db8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff8cfa7db8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff8cfa7db8 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff8cfa7db8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1059:61 #12 0x0000ffff8cfbce94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffff8cfbce94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffff8cfbce94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffff8cfbce94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffff8cfbce94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffff8cfbce94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffff8cfbce94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffff8cfbce94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffff8cfbce94 clang::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 0x0000ffff8cfbd1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8cfbd41c clang::ento::CoreEngine::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 0x0000ffff8cfbd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #24 0x0000ffff8cfbd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #25 0x0000ffff8cfbd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #26 0x0000ffff8cfbd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #27 0x0000ffff8cfbd764 clang::ento::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 0x0000ffff8d28787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #29 0x0000ffff8d28787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #30 0x0000ffff8d28787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #31 0x0000ffff8d28787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #32 0x0000ffff8d28787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #33 0x0000ffff8d2887e8 llvm::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 0x0000ffff8d2887e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #35 0x0000ffff8d2887e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #36 0x0000ffff8d28cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #37 0x0000ffff8d28cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #38 0x0000ffff8d28cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #39 0x0000ffff8d28cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #40 0x0000ffff8d28cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #41 0x0000ffff8b6e1e58 __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 0x0000ffff8b6e1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #43 0x0000ffff8b6e1e58 void clang::finalize>, 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 0x0000ffff8b6e1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #45 0x0000ffff8cda7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #46 0x0000ffff8cd5fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #47 0x0000ffff8cd5fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #48 0x0000ffff8cd5fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #49 0x0000ffff8cde610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #50 0x0000aaaac03059f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #51 0x0000aaaac03094b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #52 0x0000aaaac030aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #53 0x0000aaaac0301fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #54 0x0000ffff8435098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #55 0x0000ffff84350a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #56 0x0000aaaac03020b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/pr37802.cpp.script: line 1: 1827955 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pr37802.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/pr4209.m (1029 of 18953) ******************** TEST 'Clang :: Analysis/pr4209.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin9 -analyzer-checker=core,alpha.core -Wno-incomplete-implementation -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pr4209.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin9 -analyzer-checker=core,alpha.core -Wno-incomplete-implementation -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pr4209.m 1. parser at end of file #0 0x0000ffff87daacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff87da9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff87dab388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff90cea800 (linux-vdso.so.1+0x800) #4 0x0000ffff90003688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff90003688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff90003688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff90003688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff90003688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff90003688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff90003688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff90003688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8fcb0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8fcb0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8fcb0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8fcb0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8fcb1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8fcb1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8fcb1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8fcb1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff8fcc4770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff8fcc4770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff8fcc4770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff8fcc5cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff8fcc5cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff8fcc5cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff8fcc5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8fcc5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8fcc5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff8fcd17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff8fcd17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff8fcd17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8fcdb074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8fcdb074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8fcdb074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8fc3f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8fc3f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8fc3f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8fc3f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff8fc3fbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8fc3fbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8fc3fbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff8fc131c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff8fc131c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff8fc131c0 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff8fc4fba8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff8fc4fba8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff8fc4fba8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffff8fc6daa8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff8fc6daa8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff8fc6daa8 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff8ff3787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff8ff3787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff8ff3787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff8ff3787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff8ff3787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff8ff387e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffff8ff387e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff8ff387e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff8ff3cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff8ff3cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff8ff3cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff8ff3cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff8ff3cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff8e391e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffff8e391e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff8e391e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffff8e391e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff8fa57ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff8fa0fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff8fa0fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff8fa0fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff8fa9610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaacf8159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaacf8194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaacf81aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaacf811fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff8700098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff87000a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaacf8120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/pr4209.m.script: line 1: 1827968 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i386-apple-darwin9 -analyzer-checker=core,alpha.core -Wno-incomplete-implementation -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pr4209.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/pr22954.c (1030 of 18953) ******************** TEST 'Clang :: Analysis/pr22954.c' FAILED ******************** Script: -- : 'RUN: at line 6'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-pc-linux-gnu -analyzer-checker=core,unix.Malloc,debug.ExprInspection -Wno-error=int-conversion -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pr22954.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-pc-linux-gnu -analyzer-checker=core,unix.Malloc,debug.ExprInspection -Wno-error=int-conversion -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pr22954.c 1. parser at end of file 2. While analyzing stack: #0 Calling f39 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pr22954.c:885:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pr22954.c:885:3: Error evaluating statement #0 0x0000ffff8a96acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8a969100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8a96b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff938a9800 (linux-vdso.so.1+0x800) #4 0x0000ffff92bc3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff92bc3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff92bc3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff92bc3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff92bc3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff92bc3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff92bc3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff92bc3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff92870c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff92870c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff92870c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff92870c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff92871ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff92871ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff92871ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff92871ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff92884770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff92884770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff92884770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff92885cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff92885cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff92885cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff92885190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff92885190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff92885190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff928917d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff928917d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff928917d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9289b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9289b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9289b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff927ff72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff927ff72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff927ff72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff927ff72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff92ced3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff92ced3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff92ced3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff9291eee0 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff9291eee0 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff9291eee0 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:61 #45 0x0000ffff9291eee0 void clang::ento::check::Location::_checkLocation<(anonymous namespace)::DereferenceChecker>(void*, clang::ento::SVal const&, bool, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:199:46 #46 0x0000ffff927e99b8 void expandGraphWithCheckers<(anonymous namespace)::CheckLocationContext>((anonymous namespace)::CheckLocationContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #47 0x0000ffff92812270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:60 #48 0x0000ffff92812270 clang::ento::ExprEngine::evalLocation(clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::Stmt const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3710:19 #49 0x0000ffff92817868 llvm::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 0x0000ffff92817868 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #51 0x0000ffff92817868 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x0000ffff92817868 clang::ento::ExprEngine::evalStore(clang::ento::ExplodedNodeSet&, clang::Expr const*, clang::Expr const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, clang::ento::SVal, clang::ProgramPointTag const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3628:15 #53 0x0000ffff92820834 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #54 0x0000ffff92820834 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #55 0x0000ffff92820834 clang::ento::ExprEngine::VisitBinaryOperator(clang::BinaryOperator const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:74:0 #56 0x0000ffff9282cbd8 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2103:0 #57 0x0000ffff9282cf08 clang::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 0x0000ffff9282d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff9282d41c clang::ento::CoreEngine::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 0x0000ffff9282d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #61 0x0000ffff9282d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #62 0x0000ffff9282d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #63 0x0000ffff9282d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #64 0x0000ffff9282d764 clang::ento::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 0x0000ffff92af787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #66 0x0000ffff92af787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #67 0x0000ffff92af787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #68 0x0000ffff92af787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #69 0x0000ffff92af787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #70 0x0000ffff92af87e8 llvm::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 0x0000ffff92af87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #72 0x0000ffff92af87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #73 0x0000ffff92afcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #74 0x0000ffff92afcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #75 0x0000ffff92afcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #76 0x0000ffff92afcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #77 0x0000ffff92afcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #78 0x0000ffff90f51e58 __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 0x0000ffff90f51e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #80 0x0000ffff90f51e58 void clang::finalize>, 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 0x0000ffff90f51e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #82 0x0000ffff92617ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #83 0x0000ffff925cfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #84 0x0000ffff925cfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #85 0x0000ffff925cfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #86 0x0000ffff9265610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #87 0x0000aaaab7a559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #88 0x0000aaaab7a594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #89 0x0000aaaab7a5aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #90 0x0000aaaab7a51fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #91 0x0000ffff89bc098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #92 0x0000ffff89bc0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #93 0x0000aaaab7a520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/pr22954.c.script: line 1: 1827954 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-pc-linux-gnu -analyzer-checker=core,unix.Malloc,debug.ExprInspection -Wno-error=int-conversion -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pr22954.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/pr_4164.c (1031 of 18953) ******************** TEST 'Clang :: Analysis/pr_4164.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin9 -analyzer-checker=core,alpha.core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pr_4164.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin9 -analyzer-checker=core,alpha.core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pr_4164.c 1. parser at end of file 2. While analyzing stack: #0 Calling test2 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pr_4164.c:37:7: Error evaluating branch #0 0x0000ffff9363acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff93639100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9363b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9c577800 (linux-vdso.so.1+0x800) #4 0x0000ffff9b893688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9b893688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9b893688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9b893688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9b893688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9b893688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff9b893688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff9b893688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9b540c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9b540c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9b540c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9b540c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9b541ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9b541ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9b541ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9b541ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff9b55591c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff9b55591c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff9b55591c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffff9b555bf0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff9b555bf0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff9b555bf0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffff9b555190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff9b555190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff9b555190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff9b5617d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff9b5617d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff9b5617d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9b56b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9b56b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9b56b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9b4cf72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9b4cf72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9b4cf72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9b4cf72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9b9bd3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9b9bd3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9b9bd3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff9b4e58c8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffff9b4e58c8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffff9b4e58c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffff9b4e58c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffff9b4e58c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffff9b4e58c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffff9b4e58c8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffff9b4e58c8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffff9b4e58c8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffff9b4e58c8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffff9b4e5e30 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffff9b4fd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff9b4fd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff9b4fd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff9b4fd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff9b4fd764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff9b7c787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff9b7c787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff9b7c787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff9b7c787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff9b7c787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff9b7c87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff9b7c87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff9b7c87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff9b7ccde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff9b7ccde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff9b7ccde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff9b7ccde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff9b7ccde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff99c21e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff99c21e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff99c21e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff99c21e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff9b2e7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff9b29fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff9b29fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff9b29fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff9b32610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaadab959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaadab994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaadab9aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaadab91fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff9289098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff92890a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaadab920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/pr_4164.c.script: line 1: 1827992 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin9 -analyzer-checker=core,alpha.core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pr_4164.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/pr_2542_rdar_6793404.m (1032 of 18953) ******************** TEST 'Clang :: Analysis/pr_2542_rdar_6793404.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount,alpha.core -pedantic -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pr_2542_rdar_6793404.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount,alpha.core -pedantic -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pr_2542_rdar_6793404.m 1. parser at end of file #0 0x0000ffff903cacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff903c9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff903cb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff99300800 (linux-vdso.so.1+0x800) #4 0x0000ffff98623688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff98623688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff98623688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff98623688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff98623688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff98623688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff98623688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff98623688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff982d0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff982d0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff982d0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff982d0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff982d1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff982d1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff982d1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff982d1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff982e4770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff982e4770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff982e4770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff982e5cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff982e5cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff982e5cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff982e5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff982e5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff982e5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff982f17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff982f17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff982f17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff982fb074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff982fb074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff982fb074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9825f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9825f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9825f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9825f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9825fbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9825fbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9825fbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff982331c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff982331c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff982331c0 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff9826fba8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff9826fba8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff9826fba8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffff9828daa8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff9828daa8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff9828daa8 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff9855787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff9855787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff9855787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff9855787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff9855787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff985587e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffff985587e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff985587e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff9855cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff9855cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff9855cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff9855cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff9855cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff969b1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffff969b1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff969b1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffff969b1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff98077ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff9802fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff9802fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff9802fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff980b610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaad42759f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaad42794b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaad427aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaad4271fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff8f62098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff8f620a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaad42720b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/pr_2542_rdar_6793404.m.script: line 1: 1827987 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount,alpha.core -pedantic -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pr_2542_rdar_6793404.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/print-ranges.cpp (1033 of 18953) ******************** TEST 'Clang :: Analysis/print-ranges.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/print-ranges.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/print-ranges.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling test6(int, int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/print-ranges.cpp:44:7: Error evaluating branch #0 0x0000ffff84c8acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff84c89100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff84c8b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8dbc1800 (linux-vdso.so.1+0x800) #4 0x0000ffff8cee3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8cee3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8cee3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8cee3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8cee3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8cee3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff8cee3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff8cee3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8cb90c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8cb90c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8cb90c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8cb90c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8cb91ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8cb91ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8cb91ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8cb91ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff8cba4770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff8cba4770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff8cba4770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff8cba5cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff8cba5cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff8cba5cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff8cba5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8cba5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8cba5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff8cbb17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff8cbb17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff8cbb17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8cbbb074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8cbbb074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8cbbb074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8cb1f6d8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8cb1f6d8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8cb1f6d8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8cb1f6d8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff8d00d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8d00d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8d00d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff8cb358c8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffff8cb358c8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffff8cb358c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffff8cb358c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffff8cb358c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffff8cb358c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffff8cb358c8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffff8cb358c8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffff8cb358c8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffff8cb358c8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffff8cb35e30 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffff8cb4d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff8cb4d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff8cb4d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff8cb4d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff8cb4d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff8ce1787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff8ce1787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff8ce1787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff8ce1787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff8ce1787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff8ce187e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff8ce187e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff8ce187e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff8ce1cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff8ce1cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff8ce1cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff8ce1cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff8ce1cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff8b271e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff8b271e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff8b271e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff8b271e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff8c937ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff8c8efc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff8c8efc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff8c8efc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff8c97610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaab5c859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaab5c894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaab5c8aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaab5c81fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff83ee098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff83ee0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaab5c820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/print-ranges.cpp.script: line 1: 1828006 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/print-ranges.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/properties.mm (1034 of 18953) ******************** TEST 'Clang :: Analysis/properties.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount,debug.ExprInspection -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/properties.mm : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount,debug.ExprInspection -verify -Wno-objc-root-class -fobjc-arc /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/properties.mm -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount,debug.ExprInspection -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/properties.mm 1. parser at end of file 2. While analyzing stack: #0 Calling testNoDirectPropertyDecl(NoDirectPropertyDecl *) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/properties.mm:92:25: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/properties.mm:92:25: Error evaluating statement #0 0x0000ffff96b4acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff96b49100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff96b4b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9fa81800 (linux-vdso.so.1+0x800) #4 0x0000ffff9eda3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9eda3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9eda3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9eda3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9eda3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9eda3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff9eda3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff9eda3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9ea50c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9ea50c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9ea50c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9ea50c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9ea51ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9ea51ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9ea51ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9ea51ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff9ea64770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff9ea64770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff9ea64770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff9ea65cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff9ea65cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff9ea65cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff9ea65190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff9ea65190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff9ea65190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff9ea717d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff9ea717d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff9ea717d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9ea7b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9ea7b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9ea7b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9e9df72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9e9df72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9e9df72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9e9df72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9eecd3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9eecd3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9eecd3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff9ea4171c std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #43 0x0000ffff9ea4171c std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #44 0x0000ffff9ea4171c std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #45 0x0000ffff9ea4171c std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #46 0x0000ffff9ea4171c std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #47 0x0000ffff9ea4171c clang::ento::ExprEngine::VisitObjCMessage(clang::ObjCMessageExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineObjC.cpp:192:0 #48 0x0000ffff9ea0ba38 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #49 0x0000ffff9ea0ba38 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2309:0 #50 0x0000ffff9ea0cf08 clang::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 0x0000ffff9ea0d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff9ea0d41c clang::ento::CoreEngine::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 0x0000ffff9ea0d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff9ea0d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff9ea0d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff9ea0d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff9ea0d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff9ecd787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff9ecd787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff9ecd787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff9ecd787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff9ecd787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff9ecd87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff9ecd87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff9ecd87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff9ecdcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff9ecdcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff9ecdcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff9ecdcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff9ecdcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff9d131e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff9d131e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff9d131e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff9d131e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff9e7f7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff9e7afc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff9e7afc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff9e7afc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff9e83610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaad60a59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaad60a94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaad60aaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaad60a1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff95da098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff95da0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaad60a20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/properties.mm.script: line 2: 1828020 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount,debug.ExprInspection -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/properties.mm -- ******************** Testing: 0 FAIL: Clang :: Analysis/properties.m (1035 of 18953) ******************** TEST 'Clang :: Analysis/properties.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount,osx.cocoa.Dealloc,debug.ExprInspection -verify -Wno-objc-root-class -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/properties.m : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount,osx.cocoa.Dealloc,debug.ExprInspection -verify -Wno-objc-root-class -fobjc-arc -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/properties.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount,osx.cocoa.Dealloc,debug.ExprInspection -verify -Wno-objc-root-class -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/properties.m 1. parser at end of file #0 0x0000ffffa7eeacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa7ee9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa7eeb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb0e26800 (linux-vdso.so.1+0x800) #4 0x0000ffffb0143688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb0143688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb0143688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb0143688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb0143688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb0143688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb0143688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb0143688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffafdf0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffafdf0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffafdf0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffafdf0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffafdf1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffafdf1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffafdf1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffafdf1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffafe04770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffafe04770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffafe04770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffafe05cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffafe05cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffafe05cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffafe05190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffafe05190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffafe05190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffafe117d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffafe117d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffafe117d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffafe1b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffafe1b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffafe1b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffafd7f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffafd7f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffafd7f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffafd7f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffafd7fbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffafd7fbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffafd7fbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffafd531c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffafd531c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffafd531c0 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffafd8fba8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffafd8fba8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffafd8fba8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffffafdadaa8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffafdadaa8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffafdadaa8 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffb007787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffb007787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffb007787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffb007787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffb007787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffb00787e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffffb00787e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffb00787e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffb007cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffb007cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffb007cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffb007cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffb007cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffae4d1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffffae4d1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffae4d1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffffae4d1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffafb97ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffafb4fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffafb4fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffafb4fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffafbd610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaae38759f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaae38794b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaae387aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaae3871fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffffa714098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffffa7140a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaae38720b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/properties.m.script: line 2: 1828018 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount,osx.cocoa.Dealloc,debug.ExprInspection -verify -Wno-objc-root-class -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/properties.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/pthreadlock.c (1036 of 18953) ******************** TEST 'Clang :: Analysis/pthreadlock.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.unix.PthreadLock -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pthreadlock.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.unix.PthreadLock -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pthreadlock.c 1. parser at end of file 2. While analyzing stack: #0 Calling nocrash1 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pthreadlock.c:518:3: Error evaluating statement #0 0x0000ffffa86eacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa86e9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa86eb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb1628800 (linux-vdso.so.1+0x800) #4 0x0000ffffb0a6efbc llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffb0a6efbc llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffb0a6efbc llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffb0a6efbc llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffb0a6efbc llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffb0a6efbc 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 0x0000ffffb0a6efbc get<(anonymous namespace)::DestroyRetVal> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffb0a6efbc (anonymous namespace)::PthreadLockChecker::checkDeadSymbols(clang::ento::SymbolReaper&, clang::ento::CheckerContext&) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/PthreadLockChecker.cpp:642:43 #12 0x0000ffffb057d814 void expandGraphWithCheckers<(anonymous namespace)::CheckDeadSymbolsContext>((anonymous namespace)::CheckDeadSymbolsContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #13 0x0000ffffb0597fe8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x0000ffffb0597fe8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x0000ffffb0597fe8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #16 0x0000ffffb0597fe8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #17 0x0000ffffb0597fe8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #18 0x0000ffffb0597fe8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #19 0x0000ffffb0597fe8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1080:48 #20 0x0000ffffb05ace94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #21 0x0000ffffb05ace94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #22 0x0000ffffb05ace94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #23 0x0000ffffb05ace94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #24 0x0000ffffb05ace94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #25 0x0000ffffb05ace94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #26 0x0000ffffb05ace94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #27 0x0000ffffb05ace94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #28 0x0000ffffb05ace94 clang::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 0x0000ffffb05ad1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffb05ad41c clang::ento::CoreEngine::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 0x0000ffffb05ad764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #32 0x0000ffffb05ad764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #33 0x0000ffffb05ad764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #34 0x0000ffffb05ad764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #35 0x0000ffffb05ad764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #36 0x0000ffffb087787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffffb087787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffffb087787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #39 0x0000ffffb087787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #40 0x0000ffffb087787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #41 0x0000ffffb08787e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #42 0x0000ffffb08787e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #43 0x0000ffffb08787e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #44 0x0000ffffb087cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #45 0x0000ffffb087cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #46 0x0000ffffb087cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #47 0x0000ffffb087cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #48 0x0000ffffb087cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #49 0x0000ffffaecd1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #50 0x0000ffffaecd1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #51 0x0000ffffaecd1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #52 0x0000ffffaecd1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #53 0x0000ffffb0397ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #54 0x0000ffffb034fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #55 0x0000ffffb034fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #56 0x0000ffffb034fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #57 0x0000ffffb03d610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #58 0x0000aaaae14059f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #59 0x0000aaaae14094b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #60 0x0000aaaae140aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #61 0x0000aaaae1401fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #62 0x0000ffffa794098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #63 0x0000ffffa7940a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #64 0x0000aaaae14020b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/pthreadlock.c.script: line 1: 1828031 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.unix.PthreadLock -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pthreadlock.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/pthreadlock_state.c (1037 of 18953) ******************** TEST 'Clang :: Analysis/pthreadlock_state.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.PthreadLock,debug.ExprInspection 2>&1 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pthreadlock_state.c | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pthreadlock_state.c -- Exit Code: 1 Command Output (stderr): -- /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pthreadlock_state.c:17:12: error: CHECK: expected string not found in input // CHECK: { "checker": "alpha.core.PthreadLockBase", "messages": [ ^ :13:26: note: scanning from here "checker_messages": null ^ :16:300: note: possible intended match here 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.PthreadLock,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pthreadlock_state.c ^ Input file: Check file: /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pthreadlock_state.c -dump-input=help explains the following input dump. Input was: <<<<<< . . . 8: "constraints": null, 9: "equivalence_classes": null, 10: "disequality_info": null, 11: "dynamic_types": null, 12: "dynamic_casts": null, 13: "checker_messages": null check:17'0 X error: no match found 14: }PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. check:17'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 15: Stack dump: check:17'0 ~~~~~~~~~~~~ 16: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.PthreadLock,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pthreadlock_state.c check:17'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ check:17'1 ? possible intended match 17: 1. parser at end of file check:17'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 18: 2. While analyzing stack: check:17'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 19: #0 Calling test check:17'0 ~~~~~~~~~~~~~~~~~ 20: 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pthreadlock_state.c:16:3: Error evaluating statement check:17'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 21: #0 0x0000ffff93e8acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) check:17'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0 FAIL: Clang :: Analysis/pthreadlock_state_nottracked.c (1038 of 18953) ******************** TEST 'Clang :: Analysis/pthreadlock_state_nottracked.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.PthreadLock,debug.ExprInspection 2>&1 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pthreadlock_state_nottracked.c | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pthreadlock_state_nottracked.c -- Exit Code: 1 Command Output (stderr): -- /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pthreadlock_state_nottracked.c:12:12: error: CHECK: expected string not found in input // CHECK: { "checker": "alpha.core.PthreadLockBase", "messages": [ ^ :1:1: note: scanning from here PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. ^ :3:300: note: possible intended match here 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.PthreadLock,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pthreadlock_state_nottracked.c ^ Input file: Check file: /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pthreadlock_state_nottracked.c -dump-input=help explains the following input dump. Input was: <<<<<< 1: PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. check:12'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found 2: Stack dump: check:12'0 ~~~~~~~~~~~~ 3: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.PthreadLock,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pthreadlock_state_nottracked.c check:12'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ check:12'1 ? possible intended match 4: 1. parser at end of file check:12'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5: 2. While analyzing stack: check:12'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6: #0 Calling test check:12'0 ~~~~~~~~~~~~~~~~~ 7: 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/pthreadlock_state_nottracked.c:10:3: Error evaluating statement check:12'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 8: #0 0x0000ffff90dbacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) check:12'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0 FAIL: Clang :: Analysis/ptr-cmp-const-trunc.cl (1039 of 18953) ******************** TEST 'Clang :: Analysis/ptr-cmp-const-trunc.cl' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple amdgcn-unknown-unknown -analyze -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ptr-cmp-const-trunc.cl -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple amdgcn-unknown-unknown -analyze -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ptr-cmp-const-trunc.cl 1. parser at end of file 2. While analyzing stack: #0 Calling foo #0 0x0000ffffab53acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffab539100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffab53b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb447a800 (linux-vdso.so.1+0x800) #4 0x0000ffffb343cd64 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb343cd64 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb343cd64 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb343cd64 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffffb343cd64 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffffb343cd64 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffffb33e80bc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffffb33e80bc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffffb33e80bc clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffffb3413a8c llvm::SaveAndRestore::~SaveAndRestore() /usr/include/llvm/Support/SaveAndRestore.h:29:25 #14 0x0000ffffb3413a8c clang::ento::ExprEngine::removeDeadOnEndOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:187:1 #15 0x0000ffffb33ed0e8 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:0 #16 0x0000ffffb33ed0e8 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:0 #17 0x0000ffffb33ed0e8 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:0 #18 0x0000ffffb33ed0e8 clang::ento::ExprEngine::processEndOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ReturnStmt const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2951:0 #19 0x0000ffffb33ed578 clang::ento::CoreEngine::HandleBlockEdge(clang::BlockEdge const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:288:0 #20 0x0000ffffb33fd5a4 clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:188:0 #21 0x0000ffffb33fd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #22 0x0000ffffb33fd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #23 0x0000ffffb33fd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #24 0x0000ffffb33fd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #25 0x0000ffffb33fd764 clang::ento::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 0x0000ffffb36c787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb36c787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb36c787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #29 0x0000ffffb36c787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #30 0x0000ffffb36c787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #31 0x0000ffffb36c87e8 llvm::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 0x0000ffffb36c87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #33 0x0000ffffb36c87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #34 0x0000ffffb36ccde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #35 0x0000ffffb36ccde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #36 0x0000ffffb36ccde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #37 0x0000ffffb36ccde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #38 0x0000ffffb36ccde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #39 0x0000ffffb1b21e58 __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 0x0000ffffb1b21e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #41 0x0000ffffb1b21e58 void clang::finalize>, 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 0x0000ffffb1b21e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #43 0x0000ffffb31e7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #44 0x0000ffffb319fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #45 0x0000ffffb319fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #46 0x0000ffffb319fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #47 0x0000ffffb322610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #48 0x0000aaaaaf4359f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #49 0x0000aaaaaf4394b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #50 0x0000aaaaaf43aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #51 0x0000aaaaaf431fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #52 0x0000ffffaa79098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #53 0x0000ffffaa790a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #54 0x0000aaaaaf4320b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ptr-cmp-const-trunc.cl.script: line 1: 1828073 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple amdgcn-unknown-unknown -analyze -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ptr-cmp-const-trunc.cl -- ******************** Testing: 0 FAIL: Clang :: Analysis/ptr-arith.c (1040 of 18953) ******************** TEST 'Clang :: Analysis/ptr-arith.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.core.FixedAddr,alpha.core.PointerArithm,alpha.core.PointerSub,debug.ExprInspection -Wno-pointer-to-int-cast -verify -triple x86_64-apple-darwin9 -Wno-tautological-pointer-compare -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ptr-arith.c : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.core.FixedAddr,alpha.core.PointerArithm,alpha.core.PointerSub,debug.ExprInspection -Wno-pointer-to-int-cast -verify -triple i686-apple-darwin9 -Wno-tautological-pointer-compare -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ptr-arith.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.core.FixedAddr,alpha.core.PointerArithm,alpha.core.PointerSub,debug.ExprInspection -Wno-pointer-to-int-cast -verify -triple x86_64-apple-darwin9 -Wno-tautological-pointer-compare -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ptr-arith.c 1. parser at end of file 2. While analyzing stack: #0 Calling canonical_equal 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ptr-arith.c:282:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ptr-arith.c:282:3: Error evaluating statement #0 0x0000ffff8638acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff86389100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8638b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8f2ca800 (linux-vdso.so.1+0x800) #4 0x0000ffff8e28a80c retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff8e28a80c retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff8e28a80c retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff8e28a80c IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff8e28a80c ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff8e28a80c MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff8e28a80c get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff8e28a80c (anonymous namespace)::EquivalenceClass::mergeImpl(clang::ento::RangeSet::Factory&, llvm::IntrusiveRefCntPtr, llvm::ImmutableSet>, (anonymous namespace)::EquivalenceClass, llvm::ImmutableSet>) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2361:0 #12 0x0000ffff8e28c73c llvm::IntrusiveRefCntPtrInfo>>::release(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:351:0 #13 0x0000ffff8e28c73c llvm::IntrusiveRefCntPtr>>::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #14 0x0000ffff8e28c73c llvm::IntrusiveRefCntPtr>>::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #15 0x0000ffff8e28c73c llvm::ImmutableSet>::~ImmutableSet() /usr/include/llvm/ADT/ImmutableSet.h:957:0 #16 0x0000ffff8e28c73c (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 0x0000ffff8e2912b0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #18 0x0000ffff8e2912b0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8e2912b0 merge /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2309:0 #20 0x0000ffff8e2912b0 trackEquality /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2160:0 #21 0x0000ffff8e2912b0 assignSymSymExprToRangeSet /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2238:0 #22 0x0000ffff8e2912b0 assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:0 #23 0x0000ffff8e2912b0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:0 #24 0x0000ffff8e2912b0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:0 #25 0x0000ffff8e2912b0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:0 #26 0x0000ffff8e2912b0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #27 0x0000ffff8e2912b0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #28 0x0000ffff8e291ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #29 0x0000ffff8e291ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #30 0x0000ffff8e291ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x0000ffff8e291ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #32 0x0000ffff8e2a4770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #33 0x0000ffff8e2a4770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #34 0x0000ffff8e2a4770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, 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 0x0000ffff8e2a5ddc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8e2a5ddc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8e2a5ddc 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 0x0000ffff8e2a5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #39 0x0000ffff8e2a5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #40 0x0000ffff8e2a5190 clang::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 0x0000ffff8e2b17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #42 0x0000ffff8e2b17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #43 0x0000ffff8e2b17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #44 0x0000ffff8e2bb074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #45 0x0000ffff8e2bb074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x0000ffff8e2bb074 clang::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 0x0000ffff8e21f6d8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #48 0x0000ffff8e21f6d8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #49 0x0000ffff8e21f6d8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #50 0x0000ffff8e21f6d8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #51 0x0000ffff8e711984 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff8e711984 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff8e711984 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #54 0x0000ffff8e711984 getArgumentValueString(clang::CallExpr const*, clang::ento::CheckerContext&) (.part.0.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:150:20 #55 0x0000ffff8e32c980 getArgumentValueString /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:135:3 #56 0x0000ffff8e32c980 analyzerEval /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:224:12 #57 0x0000ffff8e32c980 (anonymous namespace)::ExprInspectionChecker::analyzerEval(clang::CallExpr const*, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:215:0 #58 0x0000ffff8e360120 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:130:0 #59 0x0000ffff8e360120 bool clang::ento::eval::Call::_evalCall<(anonymous namespace)::ExprInspectionChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:478:0 #60 0x0000ffff8e209f0c 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 0x0000ffff8e26981c llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #62 0x0000ffff8e26981c llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #63 0x0000ffff8e26981c clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #64 0x0000ffff8e26981c clang::ento::ExprEngine::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 0x0000ffff8e26a144 clang::ento::ExprEngine::VisitCallExpr(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 0x0000ffff8e24bea0 clang::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 0x0000ffff8e24bea0 clang::ento::ExprEngine::Visit(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 0x0000ffff8e24cf08 clang::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 0x0000ffff8e24d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8e24d41c clang::ento::CoreEngine::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 0x0000ffff8e24d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #72 0x0000ffff8e24d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #73 0x0000ffff8e24d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #74 0x0000ffff8e24d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #75 0x0000ffff8e24d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #76 0x0000ffff8e51787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #77 0x0000ffff8e51787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #78 0x0000ffff8e51787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #79 0x0000ffff8e51787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #80 0x0000ffff8e51787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #81 0x0000ffff8e5187e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #82 0x0000ffff8e5187e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #83 0x0000ffff8e5187e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #84 0x0000ffff8e51cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #85 0x0000ffff8e51cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #86 0x0000ffff8e51cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #87 0x0000ffff8e51cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #88 0x0000ffff8e51cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #89 0x0000ffff8c971e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #90 0x0000ffff8c971e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #91 0x0000ffff8c971e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #92 0x0000ffff8c971e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #93 0x0000ffff8e037ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #94 0x0000ffff8dfefc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #95 0x0000ffff8dfefc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #96 0x0000ffff8dfefc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #97 0x0000ffff8e07610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #98 0x0000aaaadaec59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #99 0x0000aaaadaec94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #100 0x0000aaaadaecaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #101 0x0000aaaadaec1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #102 0x0000ffff855e098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #103 0x0000ffff855e0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #104 0x0000aaaadaec20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ptr-arith.c.script: line 2: 1828066 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.core.FixedAddr,alpha.core.PointerArithm,alpha.core.PointerSub,debug.ExprInspection -Wno-pointer-to-int-cast -verify -triple x86_64-apple-darwin9 -Wno-tautological-pointer-compare -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ptr-arith.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/ptr-arith.cpp (1042 of 18953) ******************** TEST 'Clang :: Analysis/ptr-arith.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-unused-value -std=c++14 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ptr-arith.cpp -triple x86_64-pc-linux-gnu -analyzer-checker=core,debug.ExprInspection,alpha.core.PointerArithm : 'RUN: at line 4'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-unused-value -std=c++14 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ptr-arith.cpp -triple x86_64-pc-linux-gnu -analyzer-config support-symbolic-integer-casts=true -analyzer-checker=core,debug.ExprInspection,alpha.core.PointerArithm -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-unused-value -std=c++14 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ptr-arith.cpp -triple x86_64-pc-linux-gnu -analyzer-checker=core,debug.ExprInspection,alpha.core.PointerArithm 1. parser at end of file 2. While analyzing stack: #0 Calling Bug_55934::parse(parse_t *) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ptr-arith.cpp:140:19: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ptr-arith.cpp:140:19: Error evaluating statement #0 0x0000ffffa3cfacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa3cf9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa3cfb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffacc33800 (linux-vdso.so.1+0x800) #4 0x0000ffffabf53688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffabf53688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffabf53688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffabf53688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffabf53688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffabf53688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffabf53688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffabf53688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffabc00c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffabc00c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffabc00c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffabc00c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffabc01ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffabc01ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffabc01ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffabc01ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffabc14770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffabc14770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffabc14770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffabc15cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffabc15cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffabc15cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffabc15190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffabc15190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffabc15190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffabc217d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffabc217d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffabc217d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffabc2b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffabc2b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffabc2b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffabb8f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffabb8f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffabb8f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffabb8f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffac07d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffac07d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffac07d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffabcaeee0 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffabcaeee0 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffabcaeee0 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:61 #45 0x0000ffffabcaeee0 void clang::ento::check::Location::_checkLocation<(anonymous namespace)::DereferenceChecker>(void*, clang::ento::SVal const&, bool, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:199:46 #46 0x0000ffffabb799b8 void expandGraphWithCheckers<(anonymous namespace)::CheckLocationContext>((anonymous namespace)::CheckLocationContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #47 0x0000ffffabba2270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:60 #48 0x0000ffffabba2270 clang::ento::ExprEngine::evalLocation(clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::Stmt const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3710:19 #49 0x0000ffffabba24ac llvm::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 0x0000ffffabba24ac llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #51 0x0000ffffabba24ac llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x0000ffffabba24ac clang::ento::ExprEngine::evalLoad(clang::ento::ExplodedNodeSet&, clang::Expr const*, clang::Expr const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, clang::ProgramPointTag const*, clang::QualType) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3653:15 #53 0x0000ffffabbb2170 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #54 0x0000ffffabbb2170 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #55 0x0000ffffabbb2170 clang::ento::ExprEngine::VisitCast(clang::CastExpr const*, clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:292:0 #56 0x0000ffffabbbb884 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #57 0x0000ffffabbbb884 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #58 0x0000ffffabbbb884 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2258:0 #59 0x0000ffffabbbcf08 clang::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 0x0000ffffabbbd1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffabbbd41c clang::ento::CoreEngine::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 0x0000ffffabbbd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #63 0x0000ffffabbbd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #64 0x0000ffffabbbd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #65 0x0000ffffabbbd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #66 0x0000ffffabbbd764 clang::ento::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 0x0000ffffabe8787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #68 0x0000ffffabe8787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #69 0x0000ffffabe8787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #70 0x0000ffffabe8787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #71 0x0000ffffabe8787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #72 0x0000ffffabe887e8 llvm::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 0x0000ffffabe887e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #74 0x0000ffffabe887e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #75 0x0000ffffabe8cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #76 0x0000ffffabe8cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #77 0x0000ffffabe8cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #78 0x0000ffffabe8cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #79 0x0000ffffabe8cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #80 0x0000ffffaa2e1e58 __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 0x0000ffffaa2e1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #82 0x0000ffffaa2e1e58 void clang::finalize>, 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 0x0000ffffaa2e1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #84 0x0000ffffab9a7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #85 0x0000ffffab95fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #86 0x0000ffffab95fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #87 0x0000ffffab95fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #88 0x0000ffffab9e610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #89 0x0000aaaab3f759f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #90 0x0000aaaab3f794b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #91 0x0000aaaab3f7aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #92 0x0000aaaab3f71fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #93 0x0000ffffa2f5098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #94 0x0000ffffa2f50a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #95 0x0000aaaab3f720b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ptr-arith.cpp.script: line 2: 1828071 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-unused-value -std=c++14 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ptr-arith.cpp -triple x86_64-pc-linux-gnu -analyzer-checker=core,debug.ExprInspection,alpha.core.PointerArithm -- ******************** Testing: 0 FAIL: Clang :: Analysis/qt_malloc.cpp (1043 of 18953) ******************** TEST 'Clang :: Analysis/qt_malloc.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,alpha.deadcode.UnreachableCode,alpha.core.CastSize,unix.Malloc,cplusplus -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/qt_malloc.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,alpha.deadcode.UnreachableCode,alpha.core.CastSize,unix.Malloc,cplusplus -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/qt_malloc.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling singleShot(QTimer *) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/qt_malloc.cpp:25:25: Error evaluating New Allocator Call #0 0x0000ffff8ab3acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8ab39100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8ab3b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff93a75800 (linux-vdso.so.1+0x800) #4 0x0000ffff92d93688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff92d93688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff92d93688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff92d93688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff92d93688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff92d93688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff92d93688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff92d93688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff92a40c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff92a40c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff92a40c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff92a40c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff92a41ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff92a41ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff92a41ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff92a41ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff92a54770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff92a54770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff92a54770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff92a55cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff92a55cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff92a55cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff92a55190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff92a55190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff92a55190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff92a617d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff92a617d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff92a617d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff92a6b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff92a6b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff92a6b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff929cf72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff929cf72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff929cf72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff929cf72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff929cfbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff929cfbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff929cfbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff929f9b98 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #43 0x0000ffff929f9b98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #44 0x0000ffff929f9b98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffff929f9b98 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #46 0x0000ffff929f9b98 clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #47 0x0000ffff929f9fac llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #48 0x0000ffff929f9fac llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #49 0x0000ffff929f9fac clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #50 0x0000ffff929f9fac clang::ento::CoreEngine::enqueue(clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:613:23 #51 0x0000ffff929f9fac clang::ento::ExprEngine::ProcessNewAllocator(clang::CXXNewExpr const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1326:0 #52 0x0000ffff929fd22c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:984:0 #53 0x0000ffff929fd41c clang::ento::CoreEngine::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 0x0000ffff929fd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #55 0x0000ffff929fd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #56 0x0000ffff929fd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #57 0x0000ffff929fd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #58 0x0000ffff929fd764 clang::ento::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 0x0000ffff92cc787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #60 0x0000ffff92cc787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #61 0x0000ffff92cc787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #62 0x0000ffff92cc787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #63 0x0000ffff92cc787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #64 0x0000ffff92cc87e8 llvm::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 0x0000ffff92cc87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x0000ffff92cc87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #67 0x0000ffff92cccde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x0000ffff92cccde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x0000ffff92cccde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x0000ffff92cccde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x0000ffff92cccde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x0000ffff91121e58 __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 0x0000ffff91121e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x0000ffff91121e58 void clang::finalize>, 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 0x0000ffff91121e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x0000ffff927e7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #77 0x0000ffff9279fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #78 0x0000ffff9279fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #79 0x0000ffff9279fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #80 0x0000ffff9282610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #81 0x0000aaaad34c59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x0000aaaad34c94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x0000aaaad34caac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x0000aaaad34c1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x0000ffff89d9098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #86 0x0000ffff89d90a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #87 0x0000aaaad34c20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/qt_malloc.cpp.script: line 1: 1828104 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 -analyzer-checker=core,alpha.deadcode.UnreachableCode,alpha.core.CastSize,unix.Malloc,cplusplus -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/qt_malloc.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/ptr-sort.cpp (1044 of 18953) ******************** TEST 'Clang :: Analysis/ptr-sort.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ptr-sort.cpp -std=c++14 -analyzer-output=text -verify -analyzer-checker=core,alpha.nondeterminism.PointerSorting -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ptr-sort.cpp -std=c++14 -analyzer-output=text -verify -analyzer-checker=core,alpha.nondeterminism.PointerSorting 1. parser at end of file 2. While analyzing stack: #0 Calling PointerSorting() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ptr-sort.cpp:11:25: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ptr-sort.cpp:11:25: Error evaluating statement #0 0x0000ffff99bbacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff99bb9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff99bbb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa2af0800 (linux-vdso.so.1+0x800) #4 0x0000ffffa1a68434 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa1a68434 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa1a68434 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa1a68434 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa1a68434 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa1a68434 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa1a68434 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:0 #11 0x0000ffffa1a68434 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 0x0000ffffa1a30694 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #13 0x0000ffffa1a30694 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #14 0x0000ffffa1a30694 clang::ento::CallEvent::isArgumentConstructedDirectly(unsigned int) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:429:0 #15 0x0000ffffa1a30694 clang::ento::CallEvent::invalidateRegions(unsigned int, llvm::IntrusiveRefCntPtr) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:272:0 #16 0x0000ffffa1ab08d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #17 0x0000ffffa1ab08d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #18 0x0000ffffa1ab08d0 clang::ento::ExprEngine::conservativeEvalCall(clang::ento::CallEvent const&, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:833:0 #19 0x0000ffffa1ab12e4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #20 0x0000ffffa1ab12e4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #21 0x0000ffffa1ab12e4 clang::ento::ExprEngine::defaultEvalCall(clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:1266:0 #22 0x0000ffffa1a39fd8 clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:288:0 #23 0x0000ffffa1a76028 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #24 0x0000ffffa1a76028 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #25 0x0000ffffa1a76028 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #26 0x0000ffffa1a76028 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #27 0x0000ffffa1a76028 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #28 0x0000ffffa1a76028 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #29 0x0000ffffa1a76028 clang::ento::ExprEngine::handleConstructor(clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:789:0 #30 0x0000ffffa1a7be5c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #31 0x0000ffffa1a7be5c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2158:0 #32 0x0000ffffa1a7cf08 clang::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 0x0000ffffa1a7d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffa1a7d41c clang::ento::CoreEngine::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 0x0000ffffa1a7d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x0000ffffa1a7d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x0000ffffa1a7d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #38 0x0000ffffa1a7d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #39 0x0000ffffa1a7d764 clang::ento::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 0x0000ffffa1d4787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #41 0x0000ffffa1d4787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #42 0x0000ffffa1d4787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #43 0x0000ffffa1d4787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #44 0x0000ffffa1d4787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #45 0x0000ffffa1d487e8 llvm::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 0x0000ffffa1d487e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #47 0x0000ffffa1d487e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #48 0x0000ffffa1d4cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #49 0x0000ffffa1d4cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #50 0x0000ffffa1d4cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #51 0x0000ffffa1d4cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #52 0x0000ffffa1d4cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #53 0x0000ffffa01a1e58 __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 0x0000ffffa01a1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #55 0x0000ffffa01a1e58 void clang::finalize>, 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 0x0000ffffa01a1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #57 0x0000ffffa1867ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #58 0x0000ffffa181fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #59 0x0000ffffa181fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #60 0x0000ffffa181fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #61 0x0000ffffa18a610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #62 0x0000aaaabd0059f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #63 0x0000aaaabd0094b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #64 0x0000aaaabd00aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #65 0x0000aaaabd001fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #66 0x0000ffff98e1098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #67 0x0000ffff98e10a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #68 0x0000aaaabd0020b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ptr-sort.cpp.script: line 1: 1828097 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ptr-sort.cpp -std=c++14 -analyzer-output=text -verify -analyzer-checker=core,alpha.nondeterminism.PointerSorting -- ******************** Testing: 0 FAIL: Clang :: Analysis/ptr-iter.cpp (1045 of 18953) ******************** TEST 'Clang :: Analysis/ptr-iter.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ptr-iter.cpp -std=c++14 -analyzer-output=text -verify -analyzer-checker=core,alpha.nondeterminism.PointerIteration -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ptr-iter.cpp -std=c++14 -analyzer-output=text -verify -analyzer-checker=core,alpha.nondeterminism.PointerIteration 1. parser at end of file 2. While analyzing stack: #0 Calling PointerIteration() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ptr-iter.cpp:12:35: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/ptr-iter.cpp:12:35: Error evaluating statement #0 0x0000ffff7a95acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7a959100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7a95b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8389f800 (linux-vdso.so.1+0x800) #4 0x0000ffff82808434 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff82808434 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff82808434 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff82808434 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff82808434 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff82808434 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff82808434 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:0 #11 0x0000ffff82808434 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 0x0000ffff827d0694 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #13 0x0000ffff827d0694 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #14 0x0000ffff827d0694 clang::ento::CallEvent::isArgumentConstructedDirectly(unsigned int) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:429:0 #15 0x0000ffff827d0694 clang::ento::CallEvent::invalidateRegions(unsigned int, llvm::IntrusiveRefCntPtr) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:272:0 #16 0x0000ffff828508d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #17 0x0000ffff828508d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #18 0x0000ffff828508d0 clang::ento::ExprEngine::conservativeEvalCall(clang::ento::CallEvent const&, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:833:0 #19 0x0000ffff828512e4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #20 0x0000ffff828512e4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #21 0x0000ffff828512e4 clang::ento::ExprEngine::defaultEvalCall(clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:1266:0 #22 0x0000ffff827d9fd8 clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:288:0 #23 0x0000ffff82816028 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #24 0x0000ffff82816028 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #25 0x0000ffff82816028 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #26 0x0000ffff82816028 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #27 0x0000ffff82816028 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #28 0x0000ffff82816028 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #29 0x0000ffff82816028 clang::ento::ExprEngine::handleConstructor(clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:789:0 #30 0x0000ffff8281be5c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #31 0x0000ffff8281be5c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2158:0 #32 0x0000ffff8281cf08 clang::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 0x0000ffff8281d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8281d41c clang::ento::CoreEngine::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 0x0000ffff8281d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x0000ffff8281d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x0000ffff8281d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #38 0x0000ffff8281d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #39 0x0000ffff8281d764 clang::ento::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 0x0000ffff82ae787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #41 0x0000ffff82ae787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #42 0x0000ffff82ae787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #43 0x0000ffff82ae787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #44 0x0000ffff82ae787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #45 0x0000ffff82ae87e8 llvm::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 0x0000ffff82ae87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #47 0x0000ffff82ae87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #48 0x0000ffff82aecde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #49 0x0000ffff82aecde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #50 0x0000ffff82aecde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #51 0x0000ffff82aecde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #52 0x0000ffff82aecde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #53 0x0000ffff80f41e58 __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 0x0000ffff80f41e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #55 0x0000ffff80f41e58 void clang::finalize>, 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 0x0000ffff80f41e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #57 0x0000ffff82607ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #58 0x0000ffff825bfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #59 0x0000ffff825bfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #60 0x0000ffff825bfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #61 0x0000ffff8264610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #62 0x0000aaaae0e459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #63 0x0000aaaae0e494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #64 0x0000aaaae0e4aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #65 0x0000aaaae0e41fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #66 0x0000ffff79bb098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #67 0x0000ffff79bb0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #68 0x0000aaaae0e420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/ptr-iter.cpp.script: line 1: 1828099 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-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/range_casts.c (1047 of 18953) ******************** TEST 'Clang :: Analysis/range_casts.c' FAILED ******************** Script: -- : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-pc-linux-gnu -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/range_casts.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-pc-linux-gnu -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/range_casts.c 1. parser at end of file 2. While analyzing stack: #0 Calling f15 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/range_casts.c:151:22: Error evaluating statement #0 0x0000ffffb1aaacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb1aa9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb1aab388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffba9e0800 (linux-vdso.so.1+0x800) #4 0x0000ffffb99acd64 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb99acd64 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb99acd64 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb99acd64 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffffb99acd64 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffffb99acd64 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffffb99580bc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffffb99580bc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffffb99580bc clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffffb996ce94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffffb996ce94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffffb996ce94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffffb996ce94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffffb996ce94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffffb996ce94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffffb996ce94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffffb996ce94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffffb996ce94 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffffb996d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffb996d310 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffffb996d5dc clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffffb996d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffffb996d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffffb996d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffffb996d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffffb996d764 clang::ento::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 0x0000ffffb9c3787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffffb9c3787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffffb9c3787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffffb9c3787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffffb9c3787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffffb9c387e8 llvm::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 0x0000ffffb9c387e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffffb9c387e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffffb9c3cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffffb9c3cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffffb9c3cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffffb9c3cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffffb9c3cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffffb8091e58 __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 0x0000ffffb8091e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffffb8091e58 void clang::finalize>, 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 0x0000ffffb8091e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffffb9757ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffffb970fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffffb970fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffffb970fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffffb979610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaae06359f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaae06394b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaae063aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaae0631fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffffb0d0098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffffb0d00a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaae06320b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/range_casts.c.script: line 1: 1828111 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-pc-linux-gnu -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/range_casts.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/rdar-6442306-1.m (1048 of 18953) ******************** TEST 'Clang :: Analysis/rdar-6442306-1.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -analyzer-disable-checker=alpha.core.PointerArithm /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/rdar-6442306-1.m -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -analyzer-disable-checker=alpha.core.PointerArithm /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/rdar-6442306-1.m -verify 1. parser at end of file 2. While analyzing stack: #0 Calling __Beeble_check__Request__SetPortalSize_t 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/rdar-6442306-1.m:20:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/rdar-6442306-1.m:20:7: Error evaluating statement #0 0x0000ffff9ddcacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff9ddc9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9ddcb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa6d0c800 (linux-vdso.so.1+0x800) #4 0x0000ffffa6023688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa6023688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa6023688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa6023688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa6023688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa6023688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa6023688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa6023688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa5cd0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa5cd0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa5cd0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa5cd0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa5cd1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa5cd1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa5cd1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa5cd1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa5ce4770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa5ce4770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa5ce4770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa5ce5cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa5ce5cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa5ce5cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa5ce5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa5ce5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa5ce5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa5cf17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa5cf17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa5cf17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa5cfb074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa5cfb074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa5cfb074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa5c5f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa5c5f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa5c5f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa5c5f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa614d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa614d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa614d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffa5d7eee0 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffa5d7eee0 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffa5d7eee0 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:61 #45 0x0000ffffa5d7eee0 void clang::ento::check::Location::_checkLocation<(anonymous namespace)::DereferenceChecker>(void*, clang::ento::SVal const&, bool, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:199:46 #46 0x0000ffffa5c499b8 void expandGraphWithCheckers<(anonymous namespace)::CheckLocationContext>((anonymous namespace)::CheckLocationContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #47 0x0000ffffa5c72270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:60 #48 0x0000ffffa5c72270 clang::ento::ExprEngine::evalLocation(clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::Stmt const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3710:19 #49 0x0000ffffa5c724ac llvm::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 0x0000ffffa5c724ac llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #51 0x0000ffffa5c724ac llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x0000ffffa5c724ac clang::ento::ExprEngine::evalLoad(clang::ento::ExplodedNodeSet&, clang::Expr const*, clang::Expr const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, clang::ProgramPointTag const*, clang::QualType) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3653:15 #53 0x0000ffffa5c82170 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #54 0x0000ffffa5c82170 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #55 0x0000ffffa5c82170 clang::ento::ExprEngine::VisitCast(clang::CastExpr const*, clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:292:0 #56 0x0000ffffa5c8b884 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #57 0x0000ffffa5c8b884 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #58 0x0000ffffa5c8b884 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2258:0 #59 0x0000ffffa5c8cf08 clang::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 0x0000ffffa5c8d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffa5c8d41c clang::ento::CoreEngine::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 0x0000ffffa5c8d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #63 0x0000ffffa5c8d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #64 0x0000ffffa5c8d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #65 0x0000ffffa5c8d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #66 0x0000ffffa5c8d764 clang::ento::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 0x0000ffffa5f5787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #68 0x0000ffffa5f5787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #69 0x0000ffffa5f5787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #70 0x0000ffffa5f5787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #71 0x0000ffffa5f5787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #72 0x0000ffffa5f587e8 llvm::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 0x0000ffffa5f587e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #74 0x0000ffffa5f587e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #75 0x0000ffffa5f5cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #76 0x0000ffffa5f5cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #77 0x0000ffffa5f5cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #78 0x0000ffffa5f5cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #79 0x0000ffffa5f5cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #80 0x0000ffffa43b1e58 __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 0x0000ffffa43b1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #82 0x0000ffffa43b1e58 void clang::finalize>, 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 0x0000ffffa43b1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #84 0x0000ffffa5a77ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #85 0x0000ffffa5a2fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #86 0x0000ffffa5a2fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #87 0x0000ffffa5a2fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #88 0x0000ffffa5ab610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #89 0x0000aaaad13d59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #90 0x0000aaaad13d94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #91 0x0000aaaad13daac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #92 0x0000aaaad13d1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #93 0x0000ffff9d02098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #94 0x0000ffff9d020a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #95 0x0000aaaad13d20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/rdar-6442306-1.m.script: line 1: 1828116 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -analyzer-disable-checker=alpha.core.PointerArithm /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/rdar-6442306-1.m -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/rdar-6540084.m (1049 of 18953) ******************** TEST 'Clang :: Analysis/rdar-6540084.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -analyzer-checker=deadcode.DeadStores -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/rdar-6540084.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -analyzer-checker=deadcode.DeadStores -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/rdar-6540084.m 1. parser at end of file #0 0x0000ffffb661acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb6619100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb661b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffbf554800 (linux-vdso.so.1+0x800) #4 0x0000ffffbe873688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffbe873688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffbe873688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffbe873688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffbe873688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffbe873688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffbe873688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffbe873688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffbe520c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffbe520c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffbe520c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffbe520c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffbe521ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffbe521ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffbe521ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffbe521ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffbe534770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffbe534770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffbe534770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffbe535cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffbe535cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffbe535cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffbe535190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffbe535190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffbe535190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffbe5417d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffbe5417d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffbe5417d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffbe54b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffbe54b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffbe54b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffbe4af72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffbe4af72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffbe4af72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffbe4af72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffbe4afbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffbe4afbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffbe4afbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffbe4831c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffbe4831c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffbe4831c0 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffbe4bfba8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffbe4bfba8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffbe4bfba8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffffbe4ddaa8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffbe4ddaa8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffbe4ddaa8 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffbe7a787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffbe7a787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffbe7a787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffbe7a787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffbe7a787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffbe7a87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffffbe7a87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffbe7a87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffbe7acde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffbe7acde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffbe7acde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffbe7acde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffbe7acde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffbcc01e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffffbcc01e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffbcc01e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffffbcc01e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffbe2c7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffbe27fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffbe27fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffbe27fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffbe30610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaac43c59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaac43c94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaac43caac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaac43c1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffffb587098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffffb5870a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaac43c20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/rdar-6540084.m.script: line 1: 1828133 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -analyzer-checker=deadcode.DeadStores -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/rdar-6540084.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/rdar-6562655.m (1050 of 18953) ******************** TEST 'Clang :: Analysis/rdar-6562655.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount,alpha.core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/rdar-6562655.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount,alpha.core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/rdar-6562655.m 1. parser at end of file #0 0x0000ffff7ce5acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7ce59100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7ce5b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff85d95800 (linux-vdso.so.1+0x800) #4 0x0000ffff850b3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff850b3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff850b3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff850b3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff850b3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff850b3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff850b3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff850b3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff84d60c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff84d60c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff84d60c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff84d60c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff84d61ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff84d61ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff84d61ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff84d61ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff84d74770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff84d74770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff84d74770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff84d75cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff84d75cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff84d75cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff84d75190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff84d75190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff84d75190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff84d817d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff84d817d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff84d817d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff84d8b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff84d8b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff84d8b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff84cef72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff84cef72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff84cef72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff84cef72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff84cefbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff84cefbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff84cefbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff84cc31c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff84cc31c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff84cc31c0 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff84cffba8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff84cffba8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff84cffba8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffff84d1daa8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff84d1daa8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff84d1daa8 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff84fe787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff84fe787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff84fe787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff84fe787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff84fe787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff84fe87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffff84fe87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff84fe87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff84fecde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff84fecde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff84fecde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff84fecde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff84fecde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff83441e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffff83441e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff83441e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffff83441e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff84b07ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff84abfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff84abfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff84abfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff84b4610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaabd6259f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaabd6294b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaabd62aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaabd621fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff7c0b098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff7c0b0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaabd6220b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/rdar-6562655.m.script: line 1: 1828141 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount,alpha.core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/rdar-6562655.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/rdar-6600344-nil-receiver-undefined-struct-ret.m (1051 of 18953) ******************** TEST 'Clang :: Analysis/rdar-6600344-nil-receiver-undefined-struct-ret.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/rdar-6600344-nil-receiver-undefined-struct-ret.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/rdar-6600344-nil-receiver-undefined-struct-ret.m 1. parser at end of file #0 0x0000ffff98e8acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff98e89100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff98e8b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa1dc6800 (linux-vdso.so.1+0x800) #4 0x0000ffffa10e3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa10e3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa10e3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa10e3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa10e3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa10e3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa10e3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa10e3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa0d90c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa0d90c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa0d90c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa0d90c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa0d91ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa0d91ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa0d91ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa0d91ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa0da4770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa0da4770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa0da4770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa0da5cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa0da5cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa0da5cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa0da5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa0da5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa0da5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa0db17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa0db17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa0db17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa0dbb074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa0dbb074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa0dbb074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa0d1f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa0d1f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa0d1f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa0d1f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa0d1fbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa0d1fbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa0d1fbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffa0cf31c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffa0cf31c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffa0cf31c0 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffa0d2fba8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffa0d2fba8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffa0d2fba8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffffa0d4daa8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffa0d4daa8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffa0d4daa8 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffa101787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffa101787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffa101787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffa101787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffa101787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffa10187e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffffa10187e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffa10187e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffa101cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffa101cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffa101cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffa101cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffa101cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff9f471e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffff9f471e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff9f471e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffff9f471e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffa0b37ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffa0aefc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffa0aefc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffa0aefc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffa0b7610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaacba859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaacba894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaacba8aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaacba81fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff980e098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff980e0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaacba820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/rdar-6600344-nil-receiver-undefined-struct-ret.m.script: line 1: 1828142 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/rdar-6600344-nil-receiver-undefined-struct-ret.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/refcnt_naming.m (1052 of 18953) ******************** TEST 'Clang :: Analysis/refcnt_naming.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount,alpha.core -analyzer-config ipa=none -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/refcnt_naming.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount,alpha.core -analyzer-config ipa=none -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/refcnt_naming.m 1. parser at end of file 2. While analyzing stack: #0 Calling testNames 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/refcnt_naming.m:60:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/refcnt_naming.m:60:3: Error evaluating statement #0 0x0000ffffb186acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb1869100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb186b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffba7a2800 (linux-vdso.so.1+0x800) #4 0x0000ffffb9ac3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb9ac3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb9ac3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb9ac3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb9ac3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb9ac3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb9ac3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb9ac3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb9770c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb9770c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb9770c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb9770c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb9771ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb9771ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb9771ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb9771ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb9784770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb9784770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb9784770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb9785cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb9785cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb9785cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb9785190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb9785190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb9785190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb97917d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb97917d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb97917d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb979b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb979b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb979b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb96ff72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb96ff72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb96ff72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb96ff72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb9bed3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb9bed3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb9bed3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffb976171c std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #43 0x0000ffffb976171c std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #44 0x0000ffffb976171c std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #45 0x0000ffffb976171c std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #46 0x0000ffffb976171c std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #47 0x0000ffffb976171c clang::ento::ExprEngine::VisitObjCMessage(clang::ObjCMessageExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineObjC.cpp:192:0 #48 0x0000ffffb972ba38 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #49 0x0000ffffb972ba38 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2309:0 #50 0x0000ffffb972cf08 clang::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 0x0000ffffb972d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffb972d41c clang::ento::CoreEngine::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 0x0000ffffb972d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffb972d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffb972d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffb972d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffb972d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffb99f787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffb99f787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffb99f787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffb99f787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffb99f787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffb99fc6b4 VisitFunctionDecl /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:319:0 #64 0x0000ffffb99fc6b4 WalkUpFromFunctionDecl /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include/clang/AST/DeclNodes.inc:433:0 #65 0x0000ffffb99fc6b4 TraverseFunctionDecl /builddir/build/BUILD/clang-17.0.6.src/include/clang/AST/RecursiveASTVisitor.h:2226:0 #66 0x0000ffffb99fc6b4 clang::RecursiveASTVisitor<(anonymous namespace)::AnalysisConsumer>::TraverseDecl(clang::Decl*) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/include/clang/AST/DeclNodes.inc:433:0 #67 0x0000ffffb99fcd04 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:552:0 #68 0x0000ffffb99fcd04 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #69 0x0000ffffb7e51e58 __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 0x0000ffffb7e51e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #71 0x0000ffffb7e51e58 void clang::finalize>, 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 0x0000ffffb7e51e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #73 0x0000ffffb9517ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #74 0x0000ffffb94cfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #75 0x0000ffffb94cfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #76 0x0000ffffb94cfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #77 0x0000ffffb955610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #78 0x0000aaaae73c59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #79 0x0000aaaae73c94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #80 0x0000aaaae73caac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #81 0x0000aaaae73c1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #82 0x0000ffffb0ac098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #83 0x0000ffffb0ac0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #84 0x0000aaaae73c20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/refcnt_naming.m.script: line 1: 1828180 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.cocoa.RetainCount,alpha.core -analyzer-config ipa=none -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/refcnt_naming.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/redefined_system.c (1053 of 18953) ******************** TEST 'Clang :: Analysis/redefined_system.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=osx,unix,core,alpha.security.taint -w -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/redefined_system.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=osx,unix,core,alpha.security.taint -w -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/redefined_system.c 1. parser at end of file 2. While analyzing stack: #0 Calling foo 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/redefined_system.c:16:22: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/redefined_system.c:16:22: Error evaluating statement #0 0x0000ffff9375acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff93759100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9375b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9c697800 (linux-vdso.so.1+0x800) #4 0x0000ffff9b997660 llvm::ImutKeyValueInfo::isEqual(clang::ento::SymExpr const* const&, clang::ento::SymExpr const* const&) /usr/include/llvm/ADT/ImmutableMap.h:45:0 #5 0x0000ffff9b997660 llvm::ImutAVLFactory>::remove_internal(clang::ento::SymExpr const* const&, llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:558:0 #6 0x0000ffff9b997660 llvm::ImutAVLFactory>::remove(llvm::ImutAVLTree>*, clang::ento::SymExpr const* const&) /usr/include/llvm/ADT/ImmutableSet.h:403:0 #7 0x0000ffff9b997660 llvm::ImmutableMap>::Factory::remove(llvm::ImmutableMap>, clang::ento::SymExpr const* const&) /usr/include/llvm/ADT/ImmutableMap.h:105:0 #8 0x0000ffff9b997660 clang::ento::ProgramStatePartialTrait>, void>::Remove(llvm::ImmutableMap>, clang::ento::SymExpr const*, llvm::ImmutableMap>::Factory&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:175:0 #9 0x0000ffff9b997660 remove<(anonymous namespace)::ArraySizeMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:669:0 #10 0x0000ffff9b997660 remove<(anonymous namespace)::ArraySizeMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:854:0 #11 0x0000ffff9b997660 (anonymous namespace)::ObjCContainersChecker::checkPointerEscape(llvm::IntrusiveRefCntPtr, llvm::DenseSet> const&, clang::ento::CallEvent const*, clang::ento::PointerEscapeKind) const (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ObjCContainersChecker.cpp:167:0 #12 0x0000ffff9b7ed970 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #13 0x0000ffff9b7ed970 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #14 0x0000ffff9b7ed970 llvm::IntrusiveRefCntPtr clang::ento::check::PointerEscape::_checkPointerEscape<(anonymous namespace)::ObjCContainersChecker>(void*, llvm::IntrusiveRefCntPtr, llvm::DenseSet> const&, clang::ento::CallEvent const*, clang::ento::PointerEscapeKind, clang::ento::RegionAndSymbolInvalidationTraits*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:386:0 #15 0x0000ffff9b5bc1a4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #16 0x0000ffff9b5bc1a4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #17 0x0000ffff9b5bc1a4 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, llvm::DenseSet> const&, clang::ento::CallEvent const*, clang::ento::PointerEscapeKind, clang::ento::RegionAndSymbolInvalidationTraits*)>::operator()(llvm::IntrusiveRefCntPtr, llvm::DenseSet> const&, clang::ento::CallEvent const*, clang::ento::PointerEscapeKind, clang::ento::RegionAndSymbolInvalidationTraits*) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:0 #18 0x0000ffff9b5bc1a4 clang::ento::CheckerManager::runCheckersForPointerEscape(llvm::IntrusiveRefCntPtr, llvm::DenseSet> const&, clang::ento::CallEvent const*, clang::ento::PointerEscapeKind, clang::ento::RegionAndSymbolInvalidationTraits*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:630:0 #19 0x0000ffff9b60397c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #20 0x0000ffff9b60397c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #21 0x0000ffff9b60397c clang::ento::ExprEngine::notifyCheckersOfPointerEscape(llvm::IntrusiveRefCntPtr, llvm::DenseSet> const*, llvm::ArrayRef, clang::ento::CallEvent const*, clang::ento::RegionAndSymbolInvalidationTraits&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3553:79 #22 0x0000ffff9b64d424 llvm::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 0x0000ffff9b64d424 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #24 0x0000ffff9b64d424 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x0000ffff9b64d424 clang::ento::ProgramState::invalidateRegionsImpl(llvm::ArrayRef, clang::Expr const*, unsigned int, clang::LocationContext const*, bool, llvm::DenseSet>*, clang::ento::RegionAndSymbolInvalidationTraits*, clang::ento::CallEvent const*) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:208:0 #26 0x0000ffff9b5d0774 std::_Rb_tree, std::less, std::allocator>::~_Rb_tree() /usr/include/c++/12/bits/stl_tree.h:986:0 #27 0x0000ffff9b5d0774 std::set, std::allocator>::~set() /usr/include/c++/12/bits/stl_set.h:281:0 #28 0x0000ffff9b5d0774 llvm::SmallSet>::~SmallSet() /usr/include/llvm/ADT/SmallSet.h:135:0 #29 0x0000ffff9b5d0774 clang::ento::CallEvent::invalidateRegions(unsigned int, llvm::IntrusiveRefCntPtr) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:286:0 #30 0x0000ffff9b6508d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #31 0x0000ffff9b6508d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #32 0x0000ffff9b6508d0 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 0x0000ffff9b6512e4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #34 0x0000ffff9b6512e4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #35 0x0000ffff9b6512e4 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 0x0000ffff9b5d9fd8 clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:288:0 #37 0x0000ffff9b63981c llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #38 0x0000ffff9b63981c llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #39 0x0000ffff9b63981c clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #40 0x0000ffff9b63981c clang::ento::ExprEngine::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 0x0000ffff9b63a144 clang::ento::ExprEngine::VisitCallExpr(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 0x0000ffff9b61bea0 clang::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 0x0000ffff9b61bea0 clang::ento::ExprEngine::Visit(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 0x0000ffff9b61cf08 clang::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 0x0000ffff9b61d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff9b61d41c clang::ento::CoreEngine::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 0x0000ffff9b61d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #48 0x0000ffff9b61d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #49 0x0000ffff9b61d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #50 0x0000ffff9b61d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #51 0x0000ffff9b61d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #52 0x0000ffff9b8e787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #53 0x0000ffff9b8e787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #54 0x0000ffff9b8e787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #55 0x0000ffff9b8e787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #56 0x0000ffff9b8e787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #57 0x0000ffff9b8e87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #58 0x0000ffff9b8e87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #59 0x0000ffff9b8e87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #60 0x0000ffff9b8ecde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #61 0x0000ffff9b8ecde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #62 0x0000ffff9b8ecde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #63 0x0000ffff9b8ecde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #64 0x0000ffff9b8ecde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #65 0x0000ffff99d41e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #66 0x0000ffff99d41e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #67 0x0000ffff99d41e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #68 0x0000ffff99d41e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #69 0x0000ffff9b407ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #70 0x0000ffff9b3bfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #71 0x0000ffff9b3bfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #72 0x0000ffff9b3bfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #73 0x0000ffff9b44610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #74 0x0000aaaad01059f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #75 0x0000aaaad01094b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #76 0x0000aaaad010aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #77 0x0000aaaad0101fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #78 0x0000ffff929b098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #79 0x0000ffff929b0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #80 0x0000aaaad01020b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/redefined_system.c.script: line 1: 1828176 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=osx,unix,core,alpha.security.taint -w -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/redefined_system.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/reference.cpp (1054 of 18953) ******************** TEST 'Clang :: Analysis/reference.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core,debug.ExprInspection -verify -Wno-null-dereference -Wno-tautological-undefined-compare -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/reference.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core,debug.ExprInspection -verify -Wno-null-dereference -Wno-tautological-undefined-compare -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/reference.cpp 1. parser at end of file #0 0x0000ffffa54cacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa54c9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa54cb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffae403800 (linux-vdso.so.1+0x800) #4 0x0000ffffad723688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffad723688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffad723688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffad723688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffad723688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffad723688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffad723688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffad723688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffad3d0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffad3d0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffad3d0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffad3d0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffad3d1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffad3d1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffad3d1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffad3d1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffad3e4770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffad3e4770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffad3e4770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffad3e5cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffad3e5cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffad3e5cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffad3e5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffad3e5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffad3e5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffad3f17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffad3f17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffad3f17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffad3fb074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffad3fb074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffad3fb074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffad35f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffad35f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffad35f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffad35f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffad35fbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffad35fbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffad35fbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffad3331c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffad3331c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffad3331c0 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffad36fb5c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffad36fb5c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffad36fb5c clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:42 #48 0x0000ffffad38daa8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffad38daa8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffad38daa8 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffad65787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffad65787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffad65787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffad65787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffad65787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffad6587e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffffad6587e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffad6587e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffad65cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffad65cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffad65cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffad65cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffad65cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffabab1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffffabab1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffabab1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffffabab1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffad177ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffad12fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffad12fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffad12fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffad1b610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaacca259f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaacca294b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaacca2aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaacca21fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffffa472098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffffa4720a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaacca220b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/reference.cpp.script: line 1: 1828186 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core,debug.ExprInspection -verify -Wno-null-dereference -Wno-tautological-undefined-compare -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/reference.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/rdar-7168531.m (1055 of 18953) ******************** TEST 'Clang :: Analysis/rdar-7168531.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -triple i386-apple-darwin10 -fobjc-runtime=macosx-fragile-10.5 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/rdar-7168531.m -- Exit Code: 139 Command Output (stderr): -- /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/rdar-7168531.m:6:12: warning: class 'Foo' defined without specifying a base class [-Wobjc-root-class] 6 | @interface Foo { | ^ /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/rdar-7168531.m:6:15: note: add a super class to fix this problem 6 | @interface Foo { | ^ PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -triple i386-apple-darwin10 -fobjc-runtime=macosx-fragile-10.5 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/rdar-7168531.m 1. parser at end of file 2. While analyzing stack: #0 Calling bar 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/rdar-7168531.m:13:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/rdar-7168531.m:13:7: Error evaluating statement #0 0x0000ffffa169acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa1699100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa169b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffaa5d9800 (linux-vdso.so.1+0x800) #4 0x0000ffffa98f3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa98f3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa98f3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa98f3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa98f3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa98f3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa98f3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa98f3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa95a0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa95a0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa95a0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa95a0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa95a1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa95a1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa95a1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa95a1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa95b4770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa95b4770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa95b4770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa95b5cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa95b5cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa95b5cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa95b5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa95b5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa95b5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa95c17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa95c17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa95c17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa95cb074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa95cb074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa95cb074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa952f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa952f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa952f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa952f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa9a1d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa9a1d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa9a1d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffa964eee0 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffa964eee0 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffa964eee0 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:61 #45 0x0000ffffa964eee0 void clang::ento::check::Location::_checkLocation<(anonymous namespace)::DereferenceChecker>(void*, clang::ento::SVal const&, bool, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:199:46 #46 0x0000ffffa95199b8 void expandGraphWithCheckers<(anonymous namespace)::CheckLocationContext>((anonymous namespace)::CheckLocationContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #47 0x0000ffffa9542270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:60 #48 0x0000ffffa9542270 clang::ento::ExprEngine::evalLocation(clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::Stmt const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3710:19 #49 0x0000ffffa95424ac llvm::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 0x0000ffffa95424ac llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #51 0x0000ffffa95424ac llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x0000ffffa95424ac clang::ento::ExprEngine::evalLoad(clang::ento::ExplodedNodeSet&, clang::Expr const*, clang::Expr const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, clang::ProgramPointTag const*, clang::QualType) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3653:15 #53 0x0000ffffa9552170 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #54 0x0000ffffa9552170 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #55 0x0000ffffa9552170 clang::ento::ExprEngine::VisitCast(clang::CastExpr const*, clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:292:0 #56 0x0000ffffa955b884 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #57 0x0000ffffa955b884 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #58 0x0000ffffa955b884 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2258:0 #59 0x0000ffffa955cf08 clang::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 0x0000ffffa955d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffa955d41c clang::ento::CoreEngine::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 0x0000ffffa955d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #63 0x0000ffffa955d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #64 0x0000ffffa955d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #65 0x0000ffffa955d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #66 0x0000ffffa955d764 clang::ento::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 0x0000ffffa982787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #68 0x0000ffffa982787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #69 0x0000ffffa982787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #70 0x0000ffffa982787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #71 0x0000ffffa982787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #72 0x0000ffffa98287e8 llvm::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 0x0000ffffa98287e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #74 0x0000ffffa98287e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #75 0x0000ffffa982cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #76 0x0000ffffa982cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #77 0x0000ffffa982cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #78 0x0000ffffa982cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #79 0x0000ffffa982cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #80 0x0000ffffa7c81e58 __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 0x0000ffffa7c81e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #82 0x0000ffffa7c81e58 void clang::finalize>, 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 0x0000ffffa7c81e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #84 0x0000ffffa9347ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #85 0x0000ffffa92ffc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #86 0x0000ffffa92ffc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #87 0x0000ffffa92ffc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #88 0x0000ffffa938610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #89 0x0000aaaad57759f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #90 0x0000aaaad57794b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #91 0x0000aaaad577aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #92 0x0000aaaad5771fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #93 0x0000ffffa08f098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #94 0x0000ffffa08f0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #95 0x0000aaaad57720b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/rdar-7168531.m.script: line 1: 1828171 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -triple i386-apple-darwin10 -fobjc-runtime=macosx-fragile-10.5 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/rdar-7168531.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/region-1.m (1057 of 18953) ******************** TEST 'Clang :: Analysis/region-1.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/region-1.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/region-1.m 1. parser at end of file #0 0x0000ffff7de1acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7de19100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7de1b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff86d58800 (linux-vdso.so.1+0x800) #4 0x0000ffff86073688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff86073688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff86073688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff86073688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff86073688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff86073688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff86073688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff86073688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff85d20c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff85d20c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff85d20c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff85d20c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff85d21ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff85d21ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff85d21ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff85d21ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff85d34770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff85d34770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff85d34770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff85d35cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff85d35cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff85d35cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff85d35190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff85d35190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff85d35190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff85d417d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff85d417d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff85d417d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff85d4b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff85d4b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff85d4b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff85caf72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff85caf72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff85caf72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff85caf72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff85cafbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff85cafbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff85cafbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff85c831c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff85c831c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff85c831c0 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff85cbfba8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff85cbfba8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff85cbfba8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffff85cddaa8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff85cddaa8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff85cddaa8 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff85fa787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff85fa787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff85fa787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff85fa787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff85fa787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff85fa87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffff85fa87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff85fa87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff85facde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff85facde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff85facde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff85facde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff85facde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff84401e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffff84401e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff84401e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffff84401e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff85ac7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff85a7fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff85a7fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff85a7fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff85b0610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaac0b859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaac0b894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaac0b8aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaac0b81fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff7d07098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff7d070a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaac0b820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/region-1.m.script: line 1: 1828197 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/region-1.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/region-store.cpp (1058 of 18953) ******************** TEST 'Clang :: Analysis/region-store.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/region-store.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/region-store.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling radar13445834(Derived *, Loc) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/region-store.cpp:25:19: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/region-store.cpp:25:19: Error evaluating statement #0 0x0000ffff82beacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff82be9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff82beb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8bb22800 (linux-vdso.so.1+0x800) #4 0x0000ffff8aa98434 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8aa98434 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8aa98434 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8aa98434 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8aa98434 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8aa98434 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff8aa98434 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:0 #11 0x0000ffff8aa98434 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 0x0000ffff8aac92b0 clang::ento::ExprEngine::finishArgumentConstruction(llvm::IntrusiveRefCntPtr, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:640:59 #13 0x0000ffff8aac9454 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #14 0x0000ffff8aac9454 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #15 0x0000ffff8aac9454 clang::ento::ExprEngine::finishArgumentConstruction(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:657:72 #16 0x0000ffff8aaa6164 clang::ento::ExprEngine::handleConstructor(clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:832:0 #17 0x0000ffff8aaabe5c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #18 0x0000ffff8aaabe5c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2158:0 #19 0x0000ffff8aaacf08 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #20 0x0000ffff8aaad1f0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #21 0x0000ffff8aaad41c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #22 0x0000ffff8aaad764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #23 0x0000ffff8aaad764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #24 0x0000ffff8aaad764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #25 0x0000ffff8aaad764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #26 0x0000ffff8aaad764 clang::ento::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 0x0000ffff8ad7787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x0000ffff8ad7787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x0000ffff8ad7787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #30 0x0000ffff8ad7787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #31 0x0000ffff8ad7787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #32 0x0000ffff8ad787e8 llvm::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 0x0000ffff8ad787e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #34 0x0000ffff8ad787e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #35 0x0000ffff8ad7cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x0000ffff8ad7cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x0000ffff8ad7cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #38 0x0000ffff8ad7cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #39 0x0000ffff8ad7cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #40 0x0000ffff891d1e58 __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 0x0000ffff891d1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #42 0x0000ffff891d1e58 void clang::finalize>, 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 0x0000ffff891d1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #44 0x0000ffff8a897ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #45 0x0000ffff8a84fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #46 0x0000ffff8a84fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #47 0x0000ffff8a84fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #48 0x0000ffff8a8d610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #49 0x0000aaaaba2359f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #50 0x0000aaaaba2394b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #51 0x0000aaaaba23aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #52 0x0000aaaaba231fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #53 0x0000ffff81e4098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #54 0x0000ffff81e40a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #55 0x0000aaaaba2320b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/region-store.cpp.script: line 1: 1828217 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/region-store.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/region-store.c (1059 of 18953) ******************** TEST 'Clang :: Analysis/region-store.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix,debug.ExprInspection -verify -analyzer-config eagerly-assume=false -std=c99 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/region-store.c -Wno-implicit-function-declaration -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix,debug.ExprInspection -verify -analyzer-config eagerly-assume=false -std=c99 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/region-store.c -Wno-implicit-function-declaration 1. parser at end of file 2. While analyzing stack: #0 Calling testConstraintOnRegionOffsetStack 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/region-store.c:56:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/region-store.c:56:7: Error evaluating statement #0 0x0000ffffb335acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb3359100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb335b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffbc297800 (linux-vdso.so.1+0x800) #4 0x0000ffffbb5b3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffbb5b3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffbb5b3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffbb5b3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffbb5b3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffbb5b3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffbb5b3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffbb5b3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffbb260c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffbb260c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffbb260c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffbb260c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffbb261ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffbb261ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffbb261ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffbb261ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffbb274770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffbb274770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffbb274770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffbb275cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffbb275cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffbb275cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffbb275190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffbb275190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffbb275190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffbb2817d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffbb2817d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffbb2817d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffbb28b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffbb28b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffbb28b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffbb1ef72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffbb1ef72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffbb1ef72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffbb1ef72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffbb6dd3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffbb6dd3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffbb6dd3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffbb30eee0 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffbb30eee0 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffbb30eee0 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:61 #45 0x0000ffffbb30eee0 void clang::ento::check::Location::_checkLocation<(anonymous namespace)::DereferenceChecker>(void*, clang::ento::SVal const&, bool, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:199:46 #46 0x0000ffffbb1d99b8 void expandGraphWithCheckers<(anonymous namespace)::CheckLocationContext>((anonymous namespace)::CheckLocationContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #47 0x0000ffffbb202270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:60 #48 0x0000ffffbb202270 clang::ento::ExprEngine::evalLocation(clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::Stmt const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3710:19 #49 0x0000ffffbb2024ac llvm::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 0x0000ffffbb2024ac llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #51 0x0000ffffbb2024ac llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x0000ffffbb2024ac clang::ento::ExprEngine::evalLoad(clang::ento::ExplodedNodeSet&, clang::Expr const*, clang::Expr const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, clang::ProgramPointTag const*, clang::QualType) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3653:15 #53 0x0000ffffbb212170 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #54 0x0000ffffbb212170 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #55 0x0000ffffbb212170 clang::ento::ExprEngine::VisitCast(clang::CastExpr const*, clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:292:0 #56 0x0000ffffbb21b884 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #57 0x0000ffffbb21b884 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #58 0x0000ffffbb21b884 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2258:0 #59 0x0000ffffbb21cf08 clang::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 0x0000ffffbb21d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffbb21d41c clang::ento::CoreEngine::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 0x0000ffffbb21d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #63 0x0000ffffbb21d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #64 0x0000ffffbb21d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #65 0x0000ffffbb21d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #66 0x0000ffffbb21d764 clang::ento::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 0x0000ffffbb4e787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #68 0x0000ffffbb4e787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #69 0x0000ffffbb4e787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #70 0x0000ffffbb4e787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #71 0x0000ffffbb4e787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #72 0x0000ffffbb4e87e8 llvm::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 0x0000ffffbb4e87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #74 0x0000ffffbb4e87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #75 0x0000ffffbb4ecde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #76 0x0000ffffbb4ecde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #77 0x0000ffffbb4ecde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #78 0x0000ffffbb4ecde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #79 0x0000ffffbb4ecde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #80 0x0000ffffb9941e58 __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 0x0000ffffb9941e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #82 0x0000ffffb9941e58 void clang::finalize>, 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 0x0000ffffb9941e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #84 0x0000ffffbb007ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #85 0x0000ffffbafbfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #86 0x0000ffffbafbfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #87 0x0000ffffbafbfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #88 0x0000ffffbb04610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #89 0x0000aaaadd2f59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #90 0x0000aaaadd2f94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #91 0x0000aaaadd2faac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #92 0x0000aaaadd2f1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #93 0x0000ffffb25b098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #94 0x0000ffffb25b0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #95 0x0000aaaadd2f20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/region-store.c.script: line 1: 1828210 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix,debug.ExprInspection -verify -analyzer-config eagerly-assume=false -std=c99 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/region-store.c -Wno-implicit-function-declaration -- ******************** Testing: 0 FAIL: Clang :: Analysis/region_store_overflow.c (1060 of 18953) ******************** TEST 'Clang :: Analysis/region_store_overflow.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyze -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/region_store_overflow.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyze -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/region_store_overflow.c 1. parser at end of file 2. While analyzing stack: #0 Calling rdar39593879 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/region_store_overflow.c:14:11: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/region_store_overflow.c:14:11: Error evaluating statement #0 0x0000ffffa4d5acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa4d59100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa4d5b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffadc98800 (linux-vdso.so.1+0x800) #4 0x0000ffffacfb3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffacfb3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffacfb3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffacfb3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffacfb3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffacfb3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffacfb3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffacfb3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffacc60c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffacc60c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffacc60c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffacc60c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffacc61ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffacc61ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffacc61ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffacc61ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffacc74770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffacc74770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffacc74770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffacc75cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffacc75cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffacc75cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffacc75190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffacc75190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffacc75190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffacc817d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffacc817d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffacc817d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffacc8b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffacc8b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffacc8b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffacbef72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffacbef72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffacbef72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffacbef72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffad0dd3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffad0dd3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffad0dd3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffacd0eee0 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffacd0eee0 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffacd0eee0 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:61 #45 0x0000ffffacd0eee0 void clang::ento::check::Location::_checkLocation<(anonymous namespace)::DereferenceChecker>(void*, clang::ento::SVal const&, bool, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:199:46 #46 0x0000ffffacbd99b8 void expandGraphWithCheckers<(anonymous namespace)::CheckLocationContext>((anonymous namespace)::CheckLocationContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #47 0x0000ffffacc02270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:60 #48 0x0000ffffacc02270 clang::ento::ExprEngine::evalLocation(clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::Stmt const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3710:19 #49 0x0000ffffacc024ac llvm::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 0x0000ffffacc024ac llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #51 0x0000ffffacc024ac llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x0000ffffacc024ac clang::ento::ExprEngine::evalLoad(clang::ento::ExplodedNodeSet&, clang::Expr const*, clang::Expr const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, clang::ProgramPointTag const*, clang::QualType) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3653:15 #53 0x0000ffffacc12170 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #54 0x0000ffffacc12170 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #55 0x0000ffffacc12170 clang::ento::ExprEngine::VisitCast(clang::CastExpr const*, clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:292:0 #56 0x0000ffffacc1b884 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #57 0x0000ffffacc1b884 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #58 0x0000ffffacc1b884 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2258:0 #59 0x0000ffffacc1cf08 clang::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 0x0000ffffacc1d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffacc1d41c clang::ento::CoreEngine::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 0x0000ffffacc1d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #63 0x0000ffffacc1d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #64 0x0000ffffacc1d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #65 0x0000ffffacc1d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #66 0x0000ffffacc1d764 clang::ento::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 0x0000ffffacee787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #68 0x0000ffffacee787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #69 0x0000ffffacee787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #70 0x0000ffffacee787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #71 0x0000ffffacee787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #72 0x0000ffffacee87e8 llvm::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 0x0000ffffacee87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #74 0x0000ffffacee87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #75 0x0000ffffaceecde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #76 0x0000ffffaceecde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #77 0x0000ffffaceecde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #78 0x0000ffffaceecde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #79 0x0000ffffaceecde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #80 0x0000ffffab341e58 __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 0x0000ffffab341e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #82 0x0000ffffab341e58 void clang::finalize>, 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 0x0000ffffab341e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #84 0x0000ffffaca07ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #85 0x0000ffffac9bfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #86 0x0000ffffac9bfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #87 0x0000ffffac9bfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #88 0x0000ffffaca4610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #89 0x0000aaaaab4359f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #90 0x0000aaaaab4394b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #91 0x0000aaaaab43aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #92 0x0000aaaaab431fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #93 0x0000ffffa3fb098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #94 0x0000ffffa3fb0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #95 0x0000aaaaab4320b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/region_store_overflow.c.script: line 1: 1828223 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyze -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/region_store_overflow.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/reinterpret-cast-pointer-to-member.cpp (1061 of 18953) ******************** TEST 'Clang :: Analysis/reinterpret-cast-pointer-to-member.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/reinterpret-cast-pointer-to-member.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/reinterpret-cast-pointer-to-member.cpp 1. parser at end of file #0 0x0000ffffa6abacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa6ab9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa6abb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffaf9f4800 (linux-vdso.so.1+0x800) #4 0x0000ffffae96cc54 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffae96cc54 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffae96cc54 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffae96cc54 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffae96cc54 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffae96cc54 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffae96cc54 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffae96cc54 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 0x0000ffffae96d578 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 0x0000ffffae97d5a4 clang::ento::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 0x0000ffffae97d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #15 0x0000ffffae97d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #16 0x0000ffffae97d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #17 0x0000ffffae97d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #18 0x0000ffffae97d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #19 0x0000ffffaec4787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffffaec4787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffffaec4787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #22 0x0000ffffaec4787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #23 0x0000ffffaec4787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #24 0x0000ffffaec487e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #25 0x0000ffffaec487e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #26 0x0000ffffaec487e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #27 0x0000ffffaec4cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #28 0x0000ffffaec4cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #29 0x0000ffffaec4cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #30 0x0000ffffaec4cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #31 0x0000ffffaec4cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #32 0x0000ffffad0a1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #33 0x0000ffffad0a1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #34 0x0000ffffad0a1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #35 0x0000ffffad0a1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #36 0x0000ffffae767ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #37 0x0000ffffae71fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #38 0x0000ffffae71fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #39 0x0000ffffae71fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #40 0x0000ffffae7a610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #41 0x0000aaaab9cc59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #42 0x0000aaaab9cc94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #43 0x0000aaaab9ccaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #44 0x0000aaaab9cc1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #45 0x0000ffffa5d1098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #46 0x0000ffffa5d10a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #47 0x0000aaaab9cc20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/reinterpret-cast-pointer-to-member.cpp.script: line 1: 1828240 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/reinterpret-cast-pointer-to-member.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/retain-release-arc.m (1062 of 18953) ******************** TEST 'Clang :: Analysis/retain-release-arc.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,osx.coreFoundation.CFRetainRelease,osx.cocoa.ClassRelease,osx.cocoa.RetainCount -fobjc-arc -fblocks -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-arc.m -analyzer-output=text : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,osx.coreFoundation.CFRetainRelease,osx.cocoa.ClassRelease,osx.cocoa.RetainCount -fblocks -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-arc.m -analyzer-output=text -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,osx.coreFoundation.CFRetainRelease,osx.cocoa.ClassRelease,osx.cocoa.RetainCount -fobjc-arc -fblocks -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-arc.m -analyzer-output=text 1. parser at end of file 2. While analyzing stack: #0 Calling libdispatch_dispatch_released_data 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-arc.m:136:26: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-arc.m:136:26: Error evaluating statement #0 0x0000ffff997dacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff997d9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff997db388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa2715800 (linux-vdso.so.1+0x800) #4 0x0000ffffa18b2228 llvm::ImutKeyValueInfo::isEqual(clang::ento::SymExpr const* const&, clang::ento::SymExpr const* const&) /usr/include/llvm/ADT/ImmutableMap.h:45:41 #5 0x0000ffffa18b2228 llvm::ImutAVLFactory>::remove_internal(clang::ento::SymExpr const* const&, llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:558:26 #6 0x0000ffffa18b2228 llvm::ImutAVLFactory>::remove(llvm::ImutAVLTree>*, clang::ento::SymExpr const* const&) /usr/include/llvm/ADT/ImmutableSet.h:403:24 #7 0x0000ffffa18b2228 llvm::ImmutableMap>::Factory::remove(llvm::ImmutableMap>, clang::ento::SymExpr const* const&) /usr/include/llvm/ADT/ImmutableMap.h:105:27 #8 0x0000ffffa18b2228 clang::ento::ProgramStatePartialTrait>, void>::Remove(llvm::ImmutableMap>, clang::ento::SymExpr const*, llvm::ImmutableMap>::Factory&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:175:27 #9 0x0000ffffa18b2228 remove<(anonymous namespace)::RefBindings> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:669:89 #10 0x0000ffffa18b2228 llvm::IntrusiveRefCntPtr clang::ento::ProgramState::remove<(anonymous namespace)::RefBindings>(clang::ento::ProgramStateTrait<(anonymous namespace)::RefBindings>::key_type) const (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:854:63 #11 0x0000ffffa18b28ec llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #12 0x0000ffffa18b28ec llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #13 0x0000ffffa18b28ec clang::ento::retaincountchecker::RetainCountChecker::checkRegionChanges(llvm::IntrusiveRefCntPtr, llvm::DenseSet> const*, llvm::ArrayRef, llvm::ArrayRef, clang::LocationContext const*, clang::ento::CallEvent const*) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountChecker.cpp:1201:40 #14 0x0000ffffa18b2a68 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #15 0x0000ffffa18b2a68 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #16 0x0000ffffa18b2a68 llvm::IntrusiveRefCntPtr clang::ento::check::RegionChanges::_checkRegionChanges(void*, llvm::IntrusiveRefCntPtr, llvm::DenseSet> const*, llvm::ArrayRef, llvm::ArrayRef, clang::LocationContext const*, clang::ento::CallEvent const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:344:70 #17 0x0000ffffa163c044 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #18 0x0000ffffa163c044 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa163c044 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, llvm::DenseSet> const*, llvm::ArrayRef, llvm::ArrayRef, clang::LocationContext const*, clang::ento::CallEvent const*)>::operator()(llvm::IntrusiveRefCntPtr, llvm::DenseSet> const*, llvm::ArrayRef, llvm::ArrayRef, clang::LocationContext const*, clang::ento::CallEvent const*) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:0 #20 0x0000ffffa163c044 clang::ento::CheckerManager::runCheckersForRegionChanges(llvm::IntrusiveRefCntPtr, llvm::DenseSet> const*, llvm::ArrayRef, llvm::ArrayRef, clang::LocationContext const*, clang::ento::CallEvent const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:608:0 #21 0x0000ffffa16cd310 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #22 0x0000ffffa16cd310 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #23 0x0000ffffa16cd310 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 0x0000ffffa16cd310 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 0x0000ffffa1650774 std::_Rb_tree, std::less, std::allocator>::~_Rb_tree() /usr/include/c++/12/bits/stl_tree.h:986:0 #26 0x0000ffffa1650774 std::set, std::allocator>::~set() /usr/include/c++/12/bits/stl_set.h:281:0 #27 0x0000ffffa1650774 llvm::SmallSet>::~SmallSet() /usr/include/llvm/ADT/SmallSet.h:135:0 #28 0x0000ffffa1650774 clang::ento::CallEvent::invalidateRegions(unsigned int, llvm::IntrusiveRefCntPtr) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:286:0 #29 0x0000ffffa16d08d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #30 0x0000ffffa16d08d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #31 0x0000ffffa16d08d0 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 0x0000ffffa16d12e4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa16d12e4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa16d12e4 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 0x0000ffffa1659fd8 clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:288:0 #36 0x0000ffffa16b981c llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #37 0x0000ffffa16b981c llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #38 0x0000ffffa16b981c clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #39 0x0000ffffa16b981c clang::ento::ExprEngine::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 0x0000ffffa16ba144 clang::ento::ExprEngine::VisitCallExpr(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 0x0000ffffa169bea0 clang::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 0x0000ffffa169bea0 clang::ento::ExprEngine::Visit(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 0x0000ffffa169cf08 clang::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 0x0000ffffa169d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffa169d41c clang::ento::CoreEngine::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 0x0000ffffa169d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #47 0x0000ffffa169d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #48 0x0000ffffa169d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #49 0x0000ffffa169d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #50 0x0000ffffa169d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #51 0x0000ffffa196787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffa196787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffa196787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffa196787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffa196787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffa19687e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffffa19687e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffa19687e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffa196cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffa196cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffa196cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffa196cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffa196cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff9fdc1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffff9fdc1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff9fdc1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffff9fdc1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffa1487ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffa143fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffa143fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffa143fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffa14c610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaabeea59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaabeea94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaabeeaaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaabeea1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff98a3098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff98a30a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaabeea20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/retain-release-arc.m.script: line 2: 1828262 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,osx.coreFoundation.CFRetainRelease,osx.cocoa.ClassRelease,osx.cocoa.RetainCount -fobjc-arc -fblocks -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-arc.m -analyzer-output=text -- ******************** Testing: 0 FAIL: Clang :: Analysis/retain-count-alloc.cpp (1063 of 18953) ******************** TEST 'Clang :: Analysis/retain-count-alloc.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-count-alloc.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-count-alloc.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling useAfterFree(Object *) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-count-alloc.cpp:29:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-count-alloc.cpp:29:7: Error evaluating statement #0 0x0000ffffae56acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffae569100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffae56b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb74a5800 (linux-vdso.so.1+0x800) #4 0x0000ffffb67c3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb67c3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb67c3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb67c3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb67c3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb67c3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb67c3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb67c3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb6470c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb6470c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb6470c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb6470c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb6471ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb6471ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb6471ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb6471ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb6484770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb6484770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb6484770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb6485cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb6485cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb6485cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb6485190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb6485190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb6485190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb64917d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb64917d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb64917d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb649b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb649b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb649b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb63ff6d8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb63ff6d8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb63ff6d8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb63ff6d8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffb68ed3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb68ed3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb68ed3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffb6412a0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffb6412a0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffb6412a0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffffb642ccac llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffffb642ccac llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffffb642ccac llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffffb642ccac clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffffb642ccac clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffffb642cf08 clang::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 0x0000ffffb642d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffb642d41c clang::ento::CoreEngine::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 0x0000ffffb642d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffb642d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffb642d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffb642d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffb642d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffb66f787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffb66f787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffb66f787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffb66f787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffb66f787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffb66f87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffb66f87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffb66f87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffb66fcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffb66fcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffb66fcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffb66fcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffb66fcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffb4b51e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffb4b51e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffb4b51e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffb4b51e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffb6217ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffb61cfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffb61cfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffb61cfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffb625610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaacdad59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaacdad94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaacdadaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaacdad1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffad7c098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffad7c0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaacdad20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/retain-count-alloc.cpp.script: line 1: 1828260 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-count-alloc.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/reinterpret-cast.cpp (1064 of 18953) ******************** TEST 'Clang :: Analysis/reinterpret-cast.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/reinterpret-cast.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/reinterpret-cast.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling radar_13146953() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/reinterpret-cast.cpp:100:10: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/reinterpret-cast.cpp:100:10: Error evaluating statement #0 0x0000ffffa0caacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa0ca9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa0cab388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa9bed800 (linux-vdso.so.1+0x800) #4 0x0000ffffa8f03688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa8f03688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa8f03688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa8f03688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa8f03688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa8f03688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa8f03688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa8f03688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa8bb0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa8bb0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa8bb0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa8bb0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa8bb1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa8bb1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa8bb1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa8bb1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa8bc4770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa8bc4770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa8bc4770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa8bc5cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa8bc5cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa8bc5cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa8bc5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa8bc5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa8bc5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa8bd17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa8bd17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa8bd17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa8bdb074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa8bdb074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa8bdb074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa8b3f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa8b3f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa8b3f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa8b3f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa902d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa902d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa902d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffa8c5eee0 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffa8c5eee0 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffa8c5eee0 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:61 #45 0x0000ffffa8c5eee0 void clang::ento::check::Location::_checkLocation<(anonymous namespace)::DereferenceChecker>(void*, clang::ento::SVal const&, bool, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:199:46 #46 0x0000ffffa8b299b8 void expandGraphWithCheckers<(anonymous namespace)::CheckLocationContext>((anonymous namespace)::CheckLocationContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #47 0x0000ffffa8b52270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:60 #48 0x0000ffffa8b52270 clang::ento::ExprEngine::evalLocation(clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::Stmt const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3710:19 #49 0x0000ffffa8b524ac llvm::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 0x0000ffffa8b524ac llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #51 0x0000ffffa8b524ac llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x0000ffffa8b524ac clang::ento::ExprEngine::evalLoad(clang::ento::ExplodedNodeSet&, clang::Expr const*, clang::Expr const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, clang::ProgramPointTag const*, clang::QualType) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3653:15 #53 0x0000ffffa8b62170 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #54 0x0000ffffa8b62170 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #55 0x0000ffffa8b62170 clang::ento::ExprEngine::VisitCast(clang::CastExpr const*, clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:292:0 #56 0x0000ffffa8b6b884 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #57 0x0000ffffa8b6b884 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #58 0x0000ffffa8b6b884 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2258:0 #59 0x0000ffffa8b6cf08 clang::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 0x0000ffffa8b6d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffa8b6d41c clang::ento::CoreEngine::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 0x0000ffffa8b6d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #63 0x0000ffffa8b6d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #64 0x0000ffffa8b6d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #65 0x0000ffffa8b6d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #66 0x0000ffffa8b6d764 clang::ento::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 0x0000ffffa8e3787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #68 0x0000ffffa8e3787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #69 0x0000ffffa8e3787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #70 0x0000ffffa8e3787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #71 0x0000ffffa8e3787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #72 0x0000ffffa8e387e8 llvm::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 0x0000ffffa8e387e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #74 0x0000ffffa8e387e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #75 0x0000ffffa8e3cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #76 0x0000ffffa8e3cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #77 0x0000ffffa8e3cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #78 0x0000ffffa8e3cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #79 0x0000ffffa8e3cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #80 0x0000ffffa7291e58 __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 0x0000ffffa7291e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #82 0x0000ffffa7291e58 void clang::finalize>, 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 0x0000ffffa7291e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #84 0x0000ffffa8957ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #85 0x0000ffffa890fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #86 0x0000ffffa890fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #87 0x0000ffffa890fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #88 0x0000ffffa899610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #89 0x0000aaaae7df59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #90 0x0000aaaae7df94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #91 0x0000aaaae7dfaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #92 0x0000aaaae7df1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #93 0x0000ffff9ff0098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #94 0x0000ffff9ff00a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #95 0x0000aaaae7df20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/reinterpret-cast.cpp.script: line 1: 1828249 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/reinterpret-cast.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/retain-release-cache-out.m (1065 of 18953) ******************** TEST 'Clang :: Analysis/retain-release-cache-out.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-cache-out.m -analyzer-checker=core,osx.cocoa.RetainCount -fblocks -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-cache-out.m -analyzer-checker=core,osx.cocoa.RetainCount -fblocks -verify 1. parser at end of file 2. While analyzing stack: #0 Calling testDoubleRelease2 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-cache-out.m:20:10: Error evaluating statement #0 0x0000ffffafe0acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffafe09100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffafe0b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb8d46800 (linux-vdso.so.1+0x800) #4 0x0000ffffb7ca8e44 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffb7ca8e44 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffb7ca8e44 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffb7ca8e44 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffb7ca8e44 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffb7ca8e44 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 0x0000ffffb7ca8e44 get<(anonymous namespace)::DynamicTypeMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffb7ca8e44 llvm::IntrusiveRefCntPtr clang::ento::removeDeadImpl<(anonymous namespace)::DynamicTypeMap>(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/DynamicType.cpp:166:15 #12 0x0000ffffb8052928 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #13 0x0000ffffb8052928 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #14 0x0000ffffb8052928 clang::ento::removeDeadTypes(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/DynamicType.cpp:176:0 #15 0x0000ffffb8052928 (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 0x0000ffffb7c9d814 void expandGraphWithCheckers<(anonymous namespace)::CheckDeadSymbolsContext>((anonymous namespace)::CheckDeadSymbolsContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #17 0x0000ffffb7cb7fe8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #18 0x0000ffffb7cb7fe8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #19 0x0000ffffb7cb7fe8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #20 0x0000ffffb7cb7fe8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #21 0x0000ffffb7cb7fe8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #22 0x0000ffffb7cb7fe8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #23 0x0000ffffb7cb7fe8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1080:48 #24 0x0000ffffb7ccce94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #25 0x0000ffffb7ccce94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #26 0x0000ffffb7ccce94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #27 0x0000ffffb7ccce94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #28 0x0000ffffb7ccce94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #29 0x0000ffffb7ccce94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #30 0x0000ffffb7ccce94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #31 0x0000ffffb7ccce94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #32 0x0000ffffb7ccce94 clang::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 0x0000ffffb7ccd1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffb7ccd41c clang::ento::CoreEngine::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 0x0000ffffb7ccd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x0000ffffb7ccd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x0000ffffb7ccd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #38 0x0000ffffb7ccd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #39 0x0000ffffb7ccd764 clang::ento::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 0x0000ffffb7f9787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #41 0x0000ffffb7f9787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #42 0x0000ffffb7f9787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #43 0x0000ffffb7f9787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #44 0x0000ffffb7f9787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #45 0x0000ffffb7f987e8 llvm::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 0x0000ffffb7f987e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #47 0x0000ffffb7f987e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #48 0x0000ffffb7f9cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #49 0x0000ffffb7f9cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #50 0x0000ffffb7f9cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #51 0x0000ffffb7f9cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #52 0x0000ffffb7f9cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #53 0x0000ffffb63f1e58 __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 0x0000ffffb63f1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #55 0x0000ffffb63f1e58 void clang::finalize>, 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 0x0000ffffb63f1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #57 0x0000ffffb7ab7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #58 0x0000ffffb7a6fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #59 0x0000ffffb7a6fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #60 0x0000ffffb7a6fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #61 0x0000ffffb7af610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #62 0x0000aaaab2e859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #63 0x0000aaaab2e894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #64 0x0000aaaab2e8aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #65 0x0000aaaab2e81fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #66 0x0000ffffaf06098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #67 0x0000ffffaf060a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #68 0x0000aaaab2e820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/retain-release-cache-out.m.script: line 1: 1828271 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-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-cf-audited.m (1066 of 18953) ******************** TEST 'Clang :: Analysis/retain-release-cf-audited.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,osx.cocoa.RetainCount -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-cf-audited.m : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,osx.cocoa.RetainCount -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-cf-audited.m -x objective-c++ -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,osx.cocoa.RetainCount -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-cf-audited.m 1. parser at end of file 2. While analyzing stack: #0 Calling testUnaudited 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-cf-audited.m:27:3: Error evaluating statement #0 0x0000ffff78b9acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff78b99100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff78b9b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff81ad9800 (linux-vdso.so.1+0x800) #4 0x0000ffff80c7a9a8 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff80c7a9a8 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff80c7a9a8 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff80c7a9a8 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff80c7a9a8 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff80c7a9a8 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 0x0000ffff80c7a9a8 get<(anonymous namespace)::RefBindings> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff80c7a9a8 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 0x0000ffff80a2d814 void expandGraphWithCheckers<(anonymous namespace)::CheckDeadSymbolsContext>((anonymous namespace)::CheckDeadSymbolsContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #13 0x0000ffff80a47fe8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x0000ffff80a47fe8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x0000ffff80a47fe8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #16 0x0000ffff80a47fe8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #17 0x0000ffff80a47fe8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #18 0x0000ffff80a47fe8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #19 0x0000ffff80a47fe8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1080:48 #20 0x0000ffff80a5ce94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #21 0x0000ffff80a5ce94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #22 0x0000ffff80a5ce94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #23 0x0000ffff80a5ce94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #24 0x0000ffff80a5ce94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #25 0x0000ffff80a5ce94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #26 0x0000ffff80a5ce94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #27 0x0000ffff80a5ce94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #28 0x0000ffff80a5ce94 clang::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 0x0000ffff80a5d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff80a5d41c clang::ento::CoreEngine::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 0x0000ffff80a5d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #32 0x0000ffff80a5d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #33 0x0000ffff80a5d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #34 0x0000ffff80a5d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #35 0x0000ffff80a5d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #36 0x0000ffff80d2787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffff80d2787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffff80d2787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #39 0x0000ffff80d2787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #40 0x0000ffff80d2787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #41 0x0000ffff80d287e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #42 0x0000ffff80d287e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #43 0x0000ffff80d287e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #44 0x0000ffff80d2cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #45 0x0000ffff80d2cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #46 0x0000ffff80d2cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #47 0x0000ffff80d2cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #48 0x0000ffff80d2cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #49 0x0000ffff7f181e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #50 0x0000ffff7f181e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #51 0x0000ffff7f181e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #52 0x0000ffff7f181e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #53 0x0000ffff80847ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #54 0x0000ffff807ffc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #55 0x0000ffff807ffc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #56 0x0000ffff807ffc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #57 0x0000ffff8088610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #58 0x0000aaaabcff59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #59 0x0000aaaabcff94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #60 0x0000aaaabcffaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #61 0x0000aaaabcff1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #62 0x0000ffff77df098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #63 0x0000ffff77df0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #64 0x0000aaaabcff20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/retain-release-cf-audited.m.script: line 2: 1828282 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,osx.cocoa.RetainCount -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-cf-audited.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/retain-release-cpp-classes.cpp (1067 of 18953) ******************** TEST 'Clang :: Analysis/retain-release-cpp-classes.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-cpp-classes.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-cpp-classes.cpp 1. parser at end of file #0 0x0000ffffa3e7acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa3e79100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa3e7b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffacdb1800 (linux-vdso.so.1+0x800) #4 0x0000ffffabd2cc54 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffabd2cc54 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffabd2cc54 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffabd2cc54 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffabd2cc54 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffabd2cc54 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffabd2cc54 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffabd2cc54 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 0x0000ffffabd2d578 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 0x0000ffffabd3d5a4 clang::ento::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 0x0000ffffabd3d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #15 0x0000ffffabd3d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #16 0x0000ffffabd3d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #17 0x0000ffffabd3d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #18 0x0000ffffabd3d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #19 0x0000ffffac00787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffffac00787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffffac00787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #22 0x0000ffffac00787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #23 0x0000ffffac00787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #24 0x0000ffffac0087e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #25 0x0000ffffac0087e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #26 0x0000ffffac0087e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #27 0x0000ffffac00cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #28 0x0000ffffac00cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #29 0x0000ffffac00cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #30 0x0000ffffac00cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #31 0x0000ffffac00cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #32 0x0000ffffaa461e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #33 0x0000ffffaa461e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #34 0x0000ffffaa461e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #35 0x0000ffffaa461e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #36 0x0000ffffabb27ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #37 0x0000ffffabadfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #38 0x0000ffffabadfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #39 0x0000ffffabadfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #40 0x0000ffffabb6610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #41 0x0000aaaaae6759f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #42 0x0000aaaaae6794b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #43 0x0000aaaaae67aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #44 0x0000aaaaae671fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #45 0x0000ffffa30d098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #46 0x0000ffffa30d0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #47 0x0000aaaaae6720b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/retain-release-cpp-classes.cpp.script: line 1: 1828297 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-cpp-classes.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/retain-release-compound-literal.m (1068 of 18953) ******************** TEST 'Clang :: Analysis/retain-release-compound-literal.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-compound-literal.m -analyzer-checker=core,osx.cocoa.RetainCount -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-compound-literal.m -analyzer-checker=core,osx.cocoa.RetainCount 1. parser at end of file 2. While analyzing stack: #0 Calling test1 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-compound-literal.m:21:7: Error evaluating statement #0 0x0000ffff837cacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff837c9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff837cb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8c70b800 (linux-vdso.so.1+0x800) #4 0x0000ffff8b8aa9a8 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff8b8aa9a8 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff8b8aa9a8 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff8b8aa9a8 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff8b8aa9a8 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff8b8aa9a8 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 0x0000ffff8b8aa9a8 get<(anonymous namespace)::RefBindings> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff8b8aa9a8 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 0x0000ffff8b65d814 void expandGraphWithCheckers<(anonymous namespace)::CheckDeadSymbolsContext>((anonymous namespace)::CheckDeadSymbolsContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #13 0x0000ffff8b677fe8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x0000ffff8b677fe8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x0000ffff8b677fe8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #16 0x0000ffff8b677fe8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #17 0x0000ffff8b677fe8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #18 0x0000ffff8b677fe8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #19 0x0000ffff8b677fe8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1080:48 #20 0x0000ffff8b68ce94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #21 0x0000ffff8b68ce94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #22 0x0000ffff8b68ce94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #23 0x0000ffff8b68ce94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #24 0x0000ffff8b68ce94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #25 0x0000ffff8b68ce94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #26 0x0000ffff8b68ce94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #27 0x0000ffff8b68ce94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #28 0x0000ffff8b68ce94 clang::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 0x0000ffff8b68d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8b68d41c clang::ento::CoreEngine::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 0x0000ffff8b68d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #32 0x0000ffff8b68d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #33 0x0000ffff8b68d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #34 0x0000ffff8b68d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #35 0x0000ffff8b68d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #36 0x0000ffff8b95787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffff8b95787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffff8b95787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #39 0x0000ffff8b95787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #40 0x0000ffff8b95787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #41 0x0000ffff8b9587e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #42 0x0000ffff8b9587e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #43 0x0000ffff8b9587e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #44 0x0000ffff8b95cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #45 0x0000ffff8b95cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #46 0x0000ffff8b95cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #47 0x0000ffff8b95cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #48 0x0000ffff8b95cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #49 0x0000ffff89db1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #50 0x0000ffff89db1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #51 0x0000ffff89db1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #52 0x0000ffff89db1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #53 0x0000ffff8b477ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #54 0x0000ffff8b42fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #55 0x0000ffff8b42fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #56 0x0000ffff8b42fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #57 0x0000ffff8b4b610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #58 0x0000aaaad93259f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #59 0x0000aaaad93294b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #60 0x0000aaaad932aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #61 0x0000aaaad9321fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #62 0x0000ffff82a2098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #63 0x0000ffff82a20a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #64 0x0000aaaad93220b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/retain-release-compound-literal.m.script: line 1: 1828295 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-compound-literal.m -analyzer-checker=core,osx.cocoa.RetainCount -- ******************** Testing: 0 FAIL: Clang :: Analysis/retain-release-inline.m (1069 of 18953) ******************** TEST 'Clang :: Analysis/retain-release-inline.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,osx.coreFoundation.CFRetainRelease,osx.cocoa.ClassRelease,osx.cocoa.RetainCount -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-inline.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,osx.coreFoundation.CFRetainRelease,osx.cocoa.ClassRelease,osx.cocoa.RetainCount -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-inline.m 1. parser at end of file #0 0x0000ffff9092acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff90929100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9092b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff99863800 (linux-vdso.so.1+0x800) #4 0x0000ffff98b83688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff98b83688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff98b83688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff98b83688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff98b83688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff98b83688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff98b83688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff98b83688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff98830c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff98830c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff98830c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff98830c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff98831ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff98831ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff98831ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff98831ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff98844770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff98844770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff98844770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff98845cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff98845cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff98845cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff98845190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff98845190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff98845190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff988517d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff988517d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff988517d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9885b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9885b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9885b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff987bf72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff987bf72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff987bf72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff987bf72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff987bfbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff987bfbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff987bfbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff987931c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff987931c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff987931c0 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff987cfba8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff987cfba8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff987cfba8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffff987edaa8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff987edaa8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff987edaa8 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff98ab787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff98ab787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff98ab787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff98ab787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff98ab787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff98ab87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffff98ab87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff98ab87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff98abcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff98abcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff98abcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff98abcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff98abcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff96f11e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffff96f11e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff96f11e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffff96f11e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff985d7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff9858fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff9858fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff9858fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff9861610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaac04159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaac04194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaac041aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaac0411fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff8fb8098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff8fb80a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaac04120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/retain-release-inline.m.script: line 1: 1828309 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,osx.coreFoundation.CFRetainRelease,osx.cocoa.ClassRelease,osx.cocoa.RetainCount -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-inline.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/retain-release-path-notes.m (1070 of 18953) ******************** TEST 'Clang :: Analysis/retain-release-path-notes.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,osx.coreFoundation.CFRetainRelease,osx.cocoa.ClassRelease,osx.cocoa.RetainCount -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-path-notes.m : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,osx.coreFoundation.CFRetainRelease,osx.cocoa.ClassRelease,osx.cocoa.RetainCount -analyzer-output=plist-multi-file /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-path-notes.m -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/retain-release-path-notes.m.tmp : 'RUN: at line 3'; grep -Ev '^[[:space:]]*.* version .*[[:space:]]*$|^[[:space:]]*/.*[[:space:]]*$|^[[:space:]]*.:.*[[:space:]]*$' parser at end of file #0 0x0000ffff92f7acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff92f79100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff92f7b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9bebd800 (linux-vdso.so.1+0x800) #4 0x0000ffff9b1d3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9b1d3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9b1d3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9b1d3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9b1d3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9b1d3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff9b1d3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff9b1d3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9ae80c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9ae80c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9ae80c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9ae80c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9ae81ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9ae81ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9ae81ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9ae81ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff9ae94770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff9ae94770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff9ae94770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff9ae95cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff9ae95cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff9ae95cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff9ae95190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff9ae95190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff9ae95190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff9aea17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff9aea17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff9aea17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9aeab074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9aeab074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9aeab074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9ae0f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9ae0f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9ae0f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9ae0f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9ae0fbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9ae0fbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9ae0fbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff9ade31c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff9ade31c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff9ade31c0 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff9ae1fba8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff9ae1fba8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff9ae1fba8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffff9ae3daa8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff9ae3daa8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff9ae3daa8 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff9b10787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff9b10787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff9b10787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff9b10787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff9b10787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff9b1087e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffff9b1087e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff9b1087e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff9b10cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff9b10cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff9b10cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff9b10cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff9b10cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff99561e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffff99561e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff99561e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffff99561e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff9ac27ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff9abdfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff9abdfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff9abdfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff9ac6610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaaacf859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaaacf894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaaacf8aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaaacf81fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff921d098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff921d0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaaacf820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/retain-release-path-notes.m.script: line 3: 1828319 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,osx.coreFoundation.CFRetainRelease,osx.cocoa.ClassRelease,osx.cocoa.RetainCount -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-path-notes.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/retain-release-safe.c (1071 of 18953) ******************** TEST 'Clang :: Analysis/retain-release-safe.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.coreFoundation.CFRetainRelease,osx.cocoa.RetainCount -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-safe.c : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.coreFoundation.CFRetainRelease,osx.cocoa.RetainCount -analyzer-inline-max-stack-depth=0 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-safe.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.coreFoundation.CFRetainRelease,osx.cocoa.RetainCount -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-safe.c 1. parser at end of file 2. While analyzing stack: #0 Calling releaseCFType at line 91 #1 Calling testTheOtherNamingConvention 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-safe.c:48:7: Error evaluating branch #0 0x0000ffffb23eacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb23e9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb23eb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffbb320800 (linux-vdso.so.1+0x800) #4 0x0000ffffba643688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffba643688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffba643688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffba643688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffba643688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffba643688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffba643688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffba643688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffba2f0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffba2f0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffba2f0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffba2f0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffba2f1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffba2f1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffba2f1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffba2f1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffba304770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffba304770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffba304770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffba305cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffba305cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffba305cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffba305190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffba305190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffba305190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffba3117d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffba3117d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffba3117d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffba31b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffba31b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffba31b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffba27f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffba27f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffba27f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffba27f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffba76d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffba76d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffba76d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffba2958c8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffffba2958c8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffffba2958c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffffba2958c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffffba2958c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffffba2958c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffffba2958c8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffffba2958c8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffffba2958c8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffffba2958c8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffffba295e30 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffffba2ad764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffba2ad764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffba2ad764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffba2ad764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffba2ad764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffba57787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffba57787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffba57787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffba57787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffba57787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffba5787e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffba5787e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffba5787e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffba57cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffba57cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffba57cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffba57cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffba57cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffb89d1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffb89d1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffb89d1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffb89d1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffba097ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffba04fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffba04fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffba04fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffba0d610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaaaf5b59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaaaf5b94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaaaf5baac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaaaf5b1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffb164098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffb1640a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaaaf5b20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/retain-release-safe.c.script: line 2: 1828331 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx.coreFoundation.CFRetainRelease,osx.cocoa.RetainCount -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-safe.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/retain-release-region-store.m (1072 of 18953) ******************** TEST 'Clang :: Analysis/retain-release-region-store.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple aarch64-opencloudos-linux-gnu -analyzer-checker=core,osx.cocoa.RetainCount -analyzer-max-loop 6 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-region-store.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple aarch64-opencloudos-linux-gnu -analyzer-checker=core,osx.cocoa.RetainCount -analyzer-max-loop 6 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-region-store.m 1. parser at end of file 2. While analyzing stack: #0 Calling R8261992_test 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-region-store.m:243:14: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-region-store.m:243:14: Error evaluating statement #0 0x0000ffff9965acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff99659100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9965b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa259a800 (linux-vdso.so.1+0x800) #4 0x0000ffffa18b3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa18b3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa18b3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa18b3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa18b3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa18b3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa18b3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa18b3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa1560c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa1560c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa1560c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa1560c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa1561ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa1561ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa1561ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa1561ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa1574770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa1574770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa1574770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa1575cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa1575cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa1575cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa1575190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa1575190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa1575190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa15817d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa15817d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa15817d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa158b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa158b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa158b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa14ef72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa14ef72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa14ef72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa14ef72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa19dd3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa19dd3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa19dd3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffa160eee0 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffa160eee0 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffa160eee0 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:61 #45 0x0000ffffa160eee0 void clang::ento::check::Location::_checkLocation<(anonymous namespace)::DereferenceChecker>(void*, clang::ento::SVal const&, bool, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:199:46 #46 0x0000ffffa14d99b8 void expandGraphWithCheckers<(anonymous namespace)::CheckLocationContext>((anonymous namespace)::CheckLocationContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #47 0x0000ffffa1502270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:60 #48 0x0000ffffa1502270 clang::ento::ExprEngine::evalLocation(clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::Stmt const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3710:19 #49 0x0000ffffa15024ac llvm::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 0x0000ffffa15024ac llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #51 0x0000ffffa15024ac llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x0000ffffa15024ac clang::ento::ExprEngine::evalLoad(clang::ento::ExplodedNodeSet&, clang::Expr const*, clang::Expr const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, clang::ProgramPointTag const*, clang::QualType) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3653:15 #53 0x0000ffffa1512170 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #54 0x0000ffffa1512170 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #55 0x0000ffffa1512170 clang::ento::ExprEngine::VisitCast(clang::CastExpr const*, clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:292:0 #56 0x0000ffffa151b884 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #57 0x0000ffffa151b884 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #58 0x0000ffffa151b884 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2258:0 #59 0x0000ffffa151cf08 clang::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 0x0000ffffa151d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffa151d41c clang::ento::CoreEngine::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 0x0000ffffa151d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #63 0x0000ffffa151d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #64 0x0000ffffa151d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #65 0x0000ffffa151d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #66 0x0000ffffa151d764 clang::ento::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 0x0000ffffa17e787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #68 0x0000ffffa17e787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #69 0x0000ffffa17e787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #70 0x0000ffffa17e787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #71 0x0000ffffa17e787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #72 0x0000ffffa17e87e8 llvm::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 0x0000ffffa17e87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #74 0x0000ffffa17e87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #75 0x0000ffffa17ecde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #76 0x0000ffffa17ecde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #77 0x0000ffffa17ecde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #78 0x0000ffffa17ecde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #79 0x0000ffffa17ecde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #80 0x0000ffff9fc41e58 __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 0x0000ffff9fc41e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #82 0x0000ffff9fc41e58 void clang::finalize>, 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 0x0000ffff9fc41e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #84 0x0000ffffa1307ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #85 0x0000ffffa12bfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #86 0x0000ffffa12bfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #87 0x0000ffffa12bfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #88 0x0000ffffa134610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #89 0x0000aaaadbe359f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #90 0x0000aaaadbe394b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #91 0x0000aaaadbe3aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #92 0x0000aaaadbe31fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #93 0x0000ffff988b098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #94 0x0000ffff988b0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #95 0x0000aaaadbe320b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/retain-release-region-store.m.script: line 1: 1828332 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple aarch64-opencloudos-linux-gnu -analyzer-checker=core,osx.cocoa.RetainCount -analyzer-max-loop 6 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release-region-store.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/retain-release.m (1073 of 18953) ******************** TEST 'Clang :: Analysis/retain-release.m' FAILED ******************** Script: -- : 'RUN: at line 1'; rm -f /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/retain-release.m.tmp.objc.plist /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/retain-release.m.tmp.objcpp.plist : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,osx.coreFoundation.CFRetainRelease -analyzer-checker=osx.cocoa.ClassRelease,osx.cocoa.RetainCount -analyzer-checker=debug.ExprInspection -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release.m -Wno-objc-root-class -analyzer-output=plist -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/retain-release.m.tmp.objc.plist : 'RUN: at line 7'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,osx.coreFoundation.CFRetainRelease -analyzer-checker=osx.cocoa.ClassRelease,osx.cocoa.RetainCount -analyzer-checker=debug.ExprInspection -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release.m -Wno-objc-root-class -analyzer-output=plist -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/retain-release.m.tmp.objcpp.plist -x objective-c++ -std=gnu++98 : 'RUN: at line 13'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,osx.coreFoundation.CFRetainRelease -analyzer-checker=osx.cocoa.ClassRelease,osx.cocoa.RetainCount -analyzer-checker=debug.ExprInspection -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release.m -Wno-objc-root-class -x objective-c++ -std=gnu++98 -analyzer-config osx.cocoa.RetainCount:TrackNSCFStartParam=true -DTRACK_START_PARAM : 'RUN: at line 20'; grep -Ev '^[[:space:]]*.* version .*[[:space:]]*$|^[[:space:]]*/.*[[:space:]]*$|^[[:space:]]*.:.*[[:space:]]*$' .* version .*[[:space:]]*$|^[[:space:]]*/.*[[:space:]]*$|^[[:space:]]*.:.*[[:space:]]*$' parser at end of file 2. While analyzing stack: #0 Calling testCFReturnsRetainedError 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release.m:2397:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release.m:2397:7: Error evaluating statement #0 0x0000ffff8241acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff82419100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8241b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8b356800 (linux-vdso.so.1+0x800) #4 0x0000ffff8a673688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8a673688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8a673688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8a673688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8a673688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8a673688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff8a673688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff8a673688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8a320c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8a320c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8a320c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8a320c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8a321ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8a321ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8a321ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8a321ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff8a334770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff8a334770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff8a334770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff8a335cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff8a335cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff8a335cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff8a335190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8a335190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8a335190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff8a3417d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff8a3417d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff8a3417d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8a34b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8a34b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8a34b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8a2af6d8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8a2af6d8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8a2af6d8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8a2af6d8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff8a79d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8a79d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8a79d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff8a2c2a0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff8a2c2a0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff8a2c2a0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffff8a2dccac llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffff8a2dccac llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffff8a2dccac llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffff8a2dccac clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffff8a2dccac clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffff8a2dcf08 clang::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 0x0000ffff8a2dd1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8a2dd41c clang::ento::CoreEngine::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 0x0000ffff8a2dd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff8a2dd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff8a2dd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff8a2dd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff8a2dd764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff8a5a787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff8a5a787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff8a5a787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff8a5a787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff8a5a787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff8a5a87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff8a5a87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff8a5a87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff8a5acde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff8a5acde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff8a5acde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff8a5acde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff8a5acde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff88a01e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff88a01e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff88a01e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff88a01e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff8a0c7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff8a07fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff8a07fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff8a07fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff8a10610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaac74b59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaac74b94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaac74baac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaac74b1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff8167098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff81670a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaac74b20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/retain-release.m.script: line 6: 1828341 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,osx.coreFoundation.CFRetainRelease -analyzer-checker=osx.cocoa.ClassRelease,osx.cocoa.RetainCount -analyzer-checker=debug.ExprInspection -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release.m -Wno-objc-root-class -analyzer-output=plist -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/retain-release.m.tmp.objc.plist -- ******************** Testing: 0 FAIL: Clang :: Analysis/retain-release.mm (1074 of 18953) ******************** TEST 'Clang :: Analysis/retain-release.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,osx.coreFoundation.CFRetainRelease,osx.cocoa.ClassRelease,osx.cocoa.RetainCount -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release.mm -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,osx.coreFoundation.CFRetainRelease,osx.cocoa.ClassRelease,osx.cocoa.RetainCount -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release.mm 1. parser at end of file 2. While analyzing stack: #0 Calling reinterpret_casts::fooBar() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release.mm:541:3: Error evaluating statement #0 0x0000ffffb459acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb4599100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb459b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffbd4da800 (linux-vdso.so.1+0x800) #4 0x0000ffffbc67a9a8 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffbc67a9a8 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffbc67a9a8 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffbc67a9a8 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffbc67a9a8 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffbc67a9a8 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 0x0000ffffbc67a9a8 get<(anonymous namespace)::RefBindings> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffbc67a9a8 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 0x0000ffffbc42d814 void expandGraphWithCheckers<(anonymous namespace)::CheckDeadSymbolsContext>((anonymous namespace)::CheckDeadSymbolsContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #13 0x0000ffffbc447fe8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x0000ffffbc447fe8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x0000ffffbc447fe8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #16 0x0000ffffbc447fe8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #17 0x0000ffffbc447fe8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #18 0x0000ffffbc447fe8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #19 0x0000ffffbc447fe8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1080:48 #20 0x0000ffffbc45ce94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #21 0x0000ffffbc45ce94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #22 0x0000ffffbc45ce94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #23 0x0000ffffbc45ce94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #24 0x0000ffffbc45ce94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #25 0x0000ffffbc45ce94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #26 0x0000ffffbc45ce94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #27 0x0000ffffbc45ce94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #28 0x0000ffffbc45ce94 clang::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 0x0000ffffbc45d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffbc45d41c clang::ento::CoreEngine::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 0x0000ffffbc45d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #32 0x0000ffffbc45d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #33 0x0000ffffbc45d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #34 0x0000ffffbc45d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #35 0x0000ffffbc45d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #36 0x0000ffffbc72787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffffbc72787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffffbc72787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #39 0x0000ffffbc72787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #40 0x0000ffffbc72787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #41 0x0000ffffbc7287e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #42 0x0000ffffbc7287e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #43 0x0000ffffbc7287e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #44 0x0000ffffbc72cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #45 0x0000ffffbc72cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #46 0x0000ffffbc72cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #47 0x0000ffffbc72cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #48 0x0000ffffbc72cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #49 0x0000ffffbab81e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #50 0x0000ffffbab81e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #51 0x0000ffffbab81e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #52 0x0000ffffbab81e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #53 0x0000ffffbc247ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #54 0x0000ffffbc1ffc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #55 0x0000ffffbc1ffc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #56 0x0000ffffbc1ffc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #57 0x0000ffffbc28610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #58 0x0000aaaade5759f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #59 0x0000aaaade5794b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #60 0x0000aaaade57aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #61 0x0000aaaade571fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #62 0x0000ffffb37f098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #63 0x0000ffffb37f0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #64 0x0000aaaade5720b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/retain-release.mm.script: line 1: 1828355 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,osx.coreFoundation.CFRetainRelease,osx.cocoa.ClassRelease,osx.cocoa.RetainCount -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retain-release.mm -- ******************** Testing: 0 FAIL: Clang :: Analysis/retaincountchecker-compoundregion.m (1076 of 18953) ******************** TEST 'Clang :: Analysis/retaincountchecker-compoundregion.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx -fblocks -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retaincountchecker-compoundregion.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx -fblocks -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retaincountchecker-compoundregion.m 1. parser at end of file 2. While analyzing stack: #0 Calling foo 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retaincountchecker-compoundregion.m:23:20: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retaincountchecker-compoundregion.m:23:20: Error evaluating statement #0 0x0000ffff963dacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff963d9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff963db388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9f313800 (linux-vdso.so.1+0x800) #4 0x0000ffff9e4b1a10 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff9e4b1a10 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff9e4b1a10 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff9e4b1a10 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff9e4b1a10 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff9e4b1a10 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 0x0000ffff9e4b1a10 get<(anonymous namespace)::RefBindings> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff9e4b1a10 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 0x0000ffff9e4b2128 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x0000ffff9e4b2128 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x0000ffff9e4b2128 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 0x0000ffff9e23c2f8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #16 0x0000ffff9e23c2f8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #17 0x0000ffff9e23c2f8 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool)>::operator()(llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:0 #18 0x0000ffff9e23c2f8 clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:0 #19 0x0000ffff9e301844 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffff9e301844 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffff9e301844 clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:78 #22 0x0000ffff9e301844 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:53 #23 0x0000ffff9e30b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x0000ffff9e30b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x0000ffff9e30b074 clang::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 0x0000ffff9e26f6d8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff9e26f6d8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff9e26f6d8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #29 0x0000ffff9e26f6d8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #30 0x0000ffff9e75d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff9e75d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff9e75d3d4 clang::ento::ProgramState::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 0x0000ffff9e38eee0 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #34 0x0000ffff9e38eee0 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #35 0x0000ffff9e38eee0 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:61 #36 0x0000ffff9e38eee0 void clang::ento::check::Location::_checkLocation<(anonymous namespace)::DereferenceChecker>(void*, clang::ento::SVal const&, bool, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:199:46 #37 0x0000ffff9e2599b8 void expandGraphWithCheckers<(anonymous namespace)::CheckLocationContext>((anonymous namespace)::CheckLocationContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #38 0x0000ffff9e282270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:60 #39 0x0000ffff9e282270 clang::ento::ExprEngine::evalLocation(clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::Stmt const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3710:19 #40 0x0000ffff9e2824ac llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:39 #41 0x0000ffff9e2824ac llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #42 0x0000ffff9e2824ac llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #43 0x0000ffff9e2824ac clang::ento::ExprEngine::evalLoad(clang::ento::ExplodedNodeSet&, clang::Expr const*, clang::Expr const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, clang::ProgramPointTag const*, clang::QualType) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3653:15 #44 0x0000ffff9e292170 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #45 0x0000ffff9e292170 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x0000ffff9e292170 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 0x0000ffff9e29b884 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #48 0x0000ffff9e29b884 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #49 0x0000ffff9e29b884 clang::ento::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 0x0000ffff9e29cf08 clang::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 0x0000ffff9e29d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff9e29d41c clang::ento::CoreEngine::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 0x0000ffff9e29d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff9e29d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff9e29d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff9e29d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff9e29d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff9e56787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff9e56787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff9e56787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff9e56787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff9e56787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff9e5687e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff9e5687e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff9e5687e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff9e56cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff9e56cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff9e56cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff9e56cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff9e56cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff9c9c1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff9c9c1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff9c9c1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff9c9c1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff9e087ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff9e03fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff9e03fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff9e03fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff9e0c610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaab72859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaab72894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaab728aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaab7281fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff9563098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff95630a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaab72820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/retaincountchecker-compoundregion.m.script: line 1: 1828361 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,osx -fblocks -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/retaincountchecker-compoundregion.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/return-ptr-range.cpp (1077 of 18953) ******************** TEST 'Clang :: Analysis/return-ptr-range.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.security.ReturnPtrRange -analyzer-output text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/return-ptr-range.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.security.ReturnPtrRange -analyzer-output text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/return-ptr-range.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling test_array_of_struct::test_struct_array() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/return-ptr-range.cpp:108:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/return-ptr-range.cpp:108:7: Error evaluating statement #0 0x0000ffff7dccacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7dcc9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7dccb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff86c07800 (linux-vdso.so.1+0x800) #4 0x0000ffff85f23688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff85f23688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff85f23688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff85f23688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff85f23688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff85f23688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff85f23688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff85f23688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff85bd0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff85bd0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff85bd0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff85bd0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff85bd1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff85bd1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff85bd1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff85bd1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff85be4770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff85be4770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff85be4770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff85be5cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff85be5cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff85be5cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff85be5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff85be5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff85be5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff85bf17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff85bf17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff85bf17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff85bfb074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff85bfb074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff85bfb074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff85b5f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff85b5f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff85b5f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff85b5f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff8604d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8604d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8604d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff85b72a0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff85b72a0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff85b72a0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffff85b8ccac llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffff85b8ccac llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffff85b8ccac llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffff85b8ccac clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffff85b8ccac clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffff85b8cf08 clang::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 0x0000ffff85b8d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff85b8d41c clang::ento::CoreEngine::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 0x0000ffff85b8d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff85b8d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff85b8d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff85b8d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff85b8d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff85e5787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff85e5787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff85e5787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff85e5787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff85e5787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff85e587e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff85e587e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff85e587e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff85e5cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff85e5cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff85e5cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff85e5cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff85e5cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff842b1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff842b1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff842b1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff842b1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff85977ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff8592fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff8592fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff8592fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff859b610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaada5859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaada5894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaada58aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaada581fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff7cf2098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff7cf20a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaada5820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/return-ptr-range.cpp.script: line 1: 1828371 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.security.ReturnPtrRange -analyzer-output text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/return-ptr-range.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/return-value-guaranteed.cpp (1079 of 18953) ******************** TEST 'Clang :: Analysis/return-value-guaranteed.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,apiModeling.llvm.ReturnValue -analyzer-output=text -verify=class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/return-value-guaranteed.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,apiModeling.llvm.ReturnValue -analyzer-output=text -verify=class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/return-value-guaranteed.cpp 1. parser at end of file #0 0x0000ffff7741acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff77419100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7741b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8035e800 (linux-vdso.so.1+0x800) #4 0x0000ffff7f2ccc54 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff7f2ccc54 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff7f2ccc54 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff7f2ccc54 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff7f2ccc54 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff7f2ccc54 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff7f2ccc54 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff7f2ccc54 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 0x0000ffff7f2cd578 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 0x0000ffff7f2dd5a4 clang::ento::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 0x0000ffff7f2dd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #15 0x0000ffff7f2dd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #16 0x0000ffff7f2dd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #17 0x0000ffff7f2dd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #18 0x0000ffff7f2dd764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #19 0x0000ffff7f5a787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffff7f5a787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffff7f5a787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #22 0x0000ffff7f5a787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #23 0x0000ffff7f5a787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #24 0x0000ffff7f5a87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #25 0x0000ffff7f5a87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #26 0x0000ffff7f5a87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #27 0x0000ffff7f5acde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #28 0x0000ffff7f5acde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #29 0x0000ffff7f5acde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #30 0x0000ffff7f5acde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #31 0x0000ffff7f5acde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #32 0x0000ffff7da01e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #33 0x0000ffff7da01e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #34 0x0000ffff7da01e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #35 0x0000ffff7da01e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #36 0x0000ffff7f0c7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #37 0x0000ffff7f07fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #38 0x0000ffff7f07fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #39 0x0000ffff7f07fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #40 0x0000ffff7f10610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #41 0x0000aaaaea2559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #42 0x0000aaaaea2594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #43 0x0000aaaaea25aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #44 0x0000aaaaea251fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #45 0x0000ffff7667098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #46 0x0000ffff76670a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #47 0x0000aaaaea2520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/return-value-guaranteed.cpp.script: line 1: 1828393 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,apiModeling.llvm.ReturnValue -analyzer-output=text -verify=class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/return-value-guaranteed.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/return-stmt-merge.cpp (1080 of 18953) ******************** TEST 'Clang :: Analysis/return-stmt-merge.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.AnalysisOrder,debug.ExprInspection -analyzer-config debug.AnalysisOrder:PreCall=true,debug.AnalysisOrder:PostCall=true,debug.AnalysisOrder:LiveSymbols=true /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/return-stmt-merge.cpp 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/return-stmt-merge.cpp -- Exit Code: 1 Command Output (stderr): -- /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/return-stmt-merge.cpp:33:16: error: CHECK-NEXT: is not on the line after the previous match // CHECK-NEXT: LiveSymbols ^ :12:456: note: 'next' match was here 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.AnalysisOrder,debug.ExprInspection -analyzer-config debug.AnalysisOrder:PreCall=true,debug.AnalysisOrder:PostCall=true,debug.AnalysisOrder:LiveSymbols=true /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/return-stmt-merge.cpp ^ :9:12: note: previous match ended here LiveSymbols ^ :10:1: note: non-matching line after previous match is here PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. ^ Input file: Check file: /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/return-stmt-merge.cpp -dump-input=help explains the following input dump. Input was: <<<<<< . . . 7: PostCall (coin) [SimpleFunctionCall] 8: LiveSymbols 9: LiveSymbols 10: PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. 11: Stack dump: 12: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.AnalysisOrder,debug.ExprInspection -analyzer-config debug.AnalysisOrder:PreCall=true,debug.AnalysisOrder:PostCall=true,debug.AnalysisOrder:LiveSymbols=true /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/return-stmt-merge.cpp next:33 !~~~~~~~~~~ error: match on wrong line 13: 1. parser at end of file 14: 2. While analyzing stack: 15: #0 Calling foo() at line 21 16: #1 Calling bar() 17: 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/return-stmt-merge.cpp:17:5: Error evaluating statement . . . >>>>>> -- ******************** Testing: 0 FAIL: Clang :: Analysis/rvo.cpp (1084 of 18953) ******************** TEST 'Clang :: Analysis/rvo.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker core,cplusplus -std=c++14 -analyzer-checker debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/rvo.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker core,cplusplus -std=c++14 -analyzer-checker debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/rvo.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling foo() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/rvo.cpp:20:5: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/rvo.cpp:20:5: Error evaluating statement #0 0x0000ffff8cc1acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8cc19100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8cc1b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff95b5a800 (linux-vdso.so.1+0x800) #4 0x0000ffff94ac8434 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff94ac8434 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff94ac8434 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff94ac8434 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff94ac8434 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff94ac8434 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff94ac8434 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:0 #11 0x0000ffff94ac8434 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 0x0000ffff94a90f7c std::_Optional_base_impl>::_M_is_engaged() const /usr/include/c++/12/optional:471:0 #13 0x0000ffff94a90f7c std::optional::has_value() const /usr/include/c++/12/optional:988:0 #14 0x0000ffff94a90f7c clang::ento::CallEvent::isArgumentConstructedDirectly(unsigned int) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:431:0 #15 0x0000ffff94a90f7c addParameterValuesToBindings(clang::StackFrameContext const*, llvm::SmallVectorImpl>&, clang::ento::SValBuilder&, clang::ento::CallEvent const&, llvm::ArrayRef) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:478:0 #16 0x0000ffff94a91f7c clang::ento::AnyCXXConstructorCall::getCXXThisVal() const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:896:0 #17 0x0000ffff94a91f7c clang::ento::AnyCXXConstructorCall::getInitialStackFrameContents(clang::StackFrameContext const*, llvm::SmallVectorImpl>&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:915:0 #18 0x0000ffff94b52cb0 llvm::SmallVectorTemplateCommon, void>::end() /usr/include/llvm/ADT/SmallVector.h:272:0 #19 0x0000ffff94b52cb0 clang::ento::StoreManager::enterStackFrame(void const*, clang::ento::CallEvent const&, clang::StackFrameContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/Store.cpp:54:0 #20 0x0000ffff94b0def8 clang::ento::ProgramState::makeWithStore(clang::ento::StoreRef const&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:434:27 #21 0x0000ffff94b0def8 clang::ento::ProgramState::enterStackFrame(clang::ento::CallEvent const&, clang::StackFrameContext const*) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:234:0 #22 0x0000ffff94b0e0a8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #23 0x0000ffff94b0e0a8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #24 0x0000ffff94b0e0a8 clang::ento::ExprEngine::inlineCall(clang::ento::WorkList*, clang::ento::CallEvent const&, clang::Decl const*, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:561:0 #25 0x0000ffff94b10b40 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #26 0x0000ffff94b10b40 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #27 0x0000ffff94b10b40 clang::ento::ExprEngine::ctuBifurcate(clang::ento::CallEvent const&, clang::Decl const*, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:527:0 #28 0x0000ffff94b1156c llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #29 0x0000ffff94b1156c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #30 0x0000ffff94b1156c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x0000ffff94b1156c clang::ento::ExprEngine::defaultEvalCall(clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:1255:0 #32 0x0000ffff94a99fd8 clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:288:0 #33 0x0000ffff94ad6028 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #34 0x0000ffff94ad6028 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #35 0x0000ffff94ad6028 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #36 0x0000ffff94ad6028 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #37 0x0000ffff94ad6028 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #38 0x0000ffff94ad6028 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #39 0x0000ffff94ad6028 clang::ento::ExprEngine::handleConstructor(clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:789:0 #40 0x0000ffff94adbe5c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #41 0x0000ffff94adbe5c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2158:0 #42 0x0000ffff94adcf08 clang::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 0x0000ffff94add1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff94add41c clang::ento::CoreEngine::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 0x0000ffff94add764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #46 0x0000ffff94add764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #47 0x0000ffff94add764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #48 0x0000ffff94add764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #49 0x0000ffff94add764 clang::ento::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 0x0000ffff94da787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #51 0x0000ffff94da787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x0000ffff94da787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #53 0x0000ffff94da787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #54 0x0000ffff94da787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #55 0x0000ffff94da87e8 llvm::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 0x0000ffff94da87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #57 0x0000ffff94da87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #58 0x0000ffff94dacde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #59 0x0000ffff94dacde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #60 0x0000ffff94dacde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #61 0x0000ffff94dacde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #62 0x0000ffff94dacde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #63 0x0000ffff93201e58 __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 0x0000ffff93201e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #65 0x0000ffff93201e58 void clang::finalize>, 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 0x0000ffff93201e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #67 0x0000ffff948c7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #68 0x0000ffff9487fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #69 0x0000ffff9487fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #70 0x0000ffff9487fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #71 0x0000ffff9490610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #72 0x0000aaaadd2159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #73 0x0000aaaadd2194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #74 0x0000aaaadd21aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #75 0x0000aaaadd211fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #76 0x0000ffff8be7098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #77 0x0000ffff8be70a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #78 0x0000aaaadd2120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/rvo.cpp.script: line 1: 1828414 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker core,cplusplus -std=c++14 -analyzer-checker debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/rvo.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/runtime-regression.c (1085 of 18953) ******************** TEST 'Clang :: Analysis/runtime-regression.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/runtime-regression.c -analyzer-checker=core,alpha.security.ArrayBoundV2 -analyzer-checker=debug.ExprInspection -triple x86_64-unknown-linux-gnu -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/runtime-regression.c -analyzer-checker=core,alpha.security.ArrayBoundV2 -analyzer-checker=debug.ExprInspection -triple x86_64-unknown-linux-gnu -verify 1. parser at end of file 2. While analyzing stack: #0 Calling filter_slice_word 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/runtime-regression.c:21:22: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/runtime-regression.c:21:22: Error evaluating statement #0 0x0000ffffa73facd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa73f9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa73fb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb033e800 (linux-vdso.so.1+0x800) #4 0x0000ffffaf653688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffaf653688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffaf653688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffaf653688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffaf653688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffaf653688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffaf653688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffaf653688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffaf300c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffaf300c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffaf300c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffaf300c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffaf301ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffaf301ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffaf301ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffaf301ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffaf31591c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffaf31591c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffaf31591c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffffaf315bf0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffaf315bf0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffaf315bf0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffffaf315190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffaf315190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffaf315190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffaf3217d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffaf3217d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffaf3217d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffaf32b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffaf32b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffaf32b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffaf28f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffaf28f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffaf28f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffaf28f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffaf3afe48 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:9 #40 0x0000ffffaf3afe48 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:21 #41 0x0000ffffaf3afe48 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:44 #42 0x0000ffffaf3afe48 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:25 #43 0x0000ffffaf3afe48 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:44 #44 0x0000ffffaf3afe48 checkPreStmt /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DivZeroChecker.cpp:99:11 #45 0x0000ffffaf3afe48 void clang::ento::check::PreStmt::_checkStmt<(anonymous namespace)::DivZeroChecker>(void*, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:85:45 #46 0x0000ffffaf278078 expandGraphWithCheckers<(anonymous namespace)::CheckStmtContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #47 0x0000ffffaf278078 clang::ento::CheckerManager::runCheckersForStmt(bool, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::Stmt const*, clang::ento::ExprEngine&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:190:0 #48 0x0000ffffaf2afdb8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #49 0x0000ffffaf2afdb8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #50 0x0000ffffaf2afdb8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #51 0x0000ffffaf2afdb8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #52 0x0000ffffaf2afdb8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #53 0x0000ffffaf2afdb8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #54 0x0000ffffaf2afdb8 clang::ento::ExprEngine::VisitBinaryOperator(clang::BinaryOperator const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:50:0 #55 0x0000ffffaf2bcbd8 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2103:0 #56 0x0000ffffaf2bcf08 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #57 0x0000ffffaf2bd1f0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #58 0x0000ffffaf2bd41c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #59 0x0000ffffaf2bd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffaf2bd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffaf2bd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #62 0x0000ffffaf2bd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #63 0x0000ffffaf2bd764 clang::ento::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 0x0000ffffaf58787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #65 0x0000ffffaf58787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #66 0x0000ffffaf58787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #67 0x0000ffffaf58787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #68 0x0000ffffaf58787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #69 0x0000ffffaf5887e8 llvm::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 0x0000ffffaf5887e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #71 0x0000ffffaf5887e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #72 0x0000ffffaf58cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #73 0x0000ffffaf58cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #74 0x0000ffffaf58cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #75 0x0000ffffaf58cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #76 0x0000ffffaf58cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #77 0x0000ffffad9e1e58 __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 0x0000ffffad9e1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #79 0x0000ffffad9e1e58 void clang::finalize>, 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 0x0000ffffad9e1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #81 0x0000ffffaf0a7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #82 0x0000ffffaf05fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #83 0x0000ffffaf05fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #84 0x0000ffffaf05fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #85 0x0000ffffaf0e610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #86 0x0000aaaae7ce59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #87 0x0000aaaae7ce94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #88 0x0000aaaae7ceaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #89 0x0000aaaae7ce1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #90 0x0000ffffa665098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #91 0x0000ffffa6650a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #92 0x0000aaaae7ce20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/runtime-regression.c.script: line 1: 1828407 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/runtime-regression.c -analyzer-checker=core,alpha.security.ArrayBoundV2 -analyzer-checker=debug.ExprInspection -triple x86_64-unknown-linux-gnu -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/returns_nonnull-attribute.cpp (1086 of 18953) ******************** TEST 'Clang :: Analysis/returns_nonnull-attribute.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,apiModeling.TrustReturnsNonnull -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/returns_nonnull-attribute.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,apiModeling.TrustReturnsNonnull -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/returns_nonnull-attribute.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling test(void *(*)(void)) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/returns_nonnull-attribute.cpp:20:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/returns_nonnull-attribute.cpp:20:3: Error evaluating statement #0 0x0000ffffa3e2acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa3e29100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa3e2b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffacd65800 (linux-vdso.so.1+0x800) #4 0x0000ffffac083688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffac083688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffac083688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffac083688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffac083688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffac083688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffac083688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffac083688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffabd30c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffabd30c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffabd30c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffabd30c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffabd31ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffabd31ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffabd31ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffabd31ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffabd44770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffabd44770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffabd44770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffabd45cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffabd45cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffabd45cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffabd45190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffabd45190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffabd45190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffabd517d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffabd517d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffabd517d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffabd5b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffabd5b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffabd5b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffabcbf72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffabcbf72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffabcbf72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffabcbf72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffac1ad3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffac1ad3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffac1ad3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffabd94578 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffabd94578 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffabd94578 checkFunctionPointerCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CallAndMessageChecker.cpp:390:79 #45 0x0000ffffabd94578 checkPreCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CallAndMessageChecker.cpp:546:37 #46 0x0000ffffabd94578 void clang::ento::check::PreCall::_checkCall<(anonymous namespace)::CallAndMessageChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:168:45 #47 0x0000ffffabca9524 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #48 0x0000ffffabca9524 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #49 0x0000ffffabca9524 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #50 0x0000ffffabca9524 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #51 0x0000ffffabca9524 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #52 0x0000ffffabd097a0 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #53 0x0000ffffabd097a0 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #54 0x0000ffffabd097a0 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #55 0x0000ffffabd097a0 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #56 0x0000ffffabd097a0 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #57 0x0000ffffabd097a0 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #58 0x0000ffffabd097a0 clang::ento::ExprEngine::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 0x0000ffffabd0a144 clang::ento::ExprEngine::VisitCallExpr(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 0x0000ffffabcebea0 clang::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 0x0000ffffabcebea0 clang::ento::ExprEngine::Visit(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 0x0000ffffabcecf08 clang::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 0x0000ffffabced1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffabced41c clang::ento::CoreEngine::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 0x0000ffffabced764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #66 0x0000ffffabced764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #67 0x0000ffffabced764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #68 0x0000ffffabced764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #69 0x0000ffffabced764 clang::ento::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 0x0000ffffabfb787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #71 0x0000ffffabfb787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #72 0x0000ffffabfb787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #73 0x0000ffffabfb787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #74 0x0000ffffabfb787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #75 0x0000ffffabfb87e8 llvm::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 0x0000ffffabfb87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #77 0x0000ffffabfb87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #78 0x0000ffffabfbcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #79 0x0000ffffabfbcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #80 0x0000ffffabfbcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #81 0x0000ffffabfbcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #82 0x0000ffffabfbcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #83 0x0000ffffaa411e58 __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 0x0000ffffaa411e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #85 0x0000ffffaa411e58 void clang::finalize>, 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 0x0000ffffaa411e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #87 0x0000ffffabad7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #88 0x0000ffffaba8fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #89 0x0000ffffaba8fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #90 0x0000ffffaba8fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #91 0x0000ffffabb1610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #92 0x0000aaaae7c959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #93 0x0000aaaae7c994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #94 0x0000aaaae7c9aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #95 0x0000aaaae7c91fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #96 0x0000ffffa308098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #97 0x0000ffffa3080a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #98 0x0000aaaae7c920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/returns_nonnull-attribute.cpp.script: line 1: 1828397 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,apiModeling.TrustReturnsNonnull -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/returns_nonnull-attribute.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/self-init.m (1095 of 18953) ******************** TEST 'Clang :: Analysis/self-init.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=osx.cocoa.SelfInit -analyzer-config ipa=dynamic -fno-builtin /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/self-init.m -verify : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=osx.cocoa.SelfInit -fno-builtin /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/self-init.m -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=osx.cocoa.SelfInit -analyzer-config ipa=dynamic -fno-builtin /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/self-init.m -verify 1. parser at end of file #0 0x0000ffff7de3acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7de39100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7de3b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff86d79800 (linux-vdso.so.1+0x800) #4 0x0000ffff86093688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff86093688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff86093688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff86093688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff86093688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff86093688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff86093688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff86093688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff85d40c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff85d40c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff85d40c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff85d40c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff85d41ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff85d41ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff85d41ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff85d41ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff85d54770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff85d54770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff85d54770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff85d55cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff85d55cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff85d55cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff85d55190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff85d55190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff85d55190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff85d617d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff85d617d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff85d617d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff85d6b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff85d6b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff85d6b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff85ccf72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff85ccf72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff85ccf72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff85ccf72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff85ccfbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff85ccfbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff85ccfbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff85ca31c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff85ca31c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff85ca31c0 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff85cdfba8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff85cdfba8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff85cdfba8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffff85cfdaa8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff85cfdaa8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff85cfdaa8 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff85fc787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff85fc787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff85fc787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff85fc787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff85fc787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff85fc87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffff85fc87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff85fc87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff85fccde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff85fccde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff85fccde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff85fccde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff85fccde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff84421e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffff84421e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff84421e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffff84421e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff85ae7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff85a9fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff85a9fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff85a9fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff85b2610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaad54c59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaad54c94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaad54caac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaad54c1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff7d09098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff7d090a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaad54c20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/self-init.m.script: line 2: 1828625 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=osx.cocoa.SelfInit -analyzer-config ipa=dynamic -fno-builtin /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/self-init.m -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/self-assign.cpp (1096 of 18953) ******************** TEST 'Clang :: Analysis/self-assign.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/self-assign.cpp -verify -analyzer-output=text -analyzer-checker=core -analyzer-checker=cplusplus -analyzer-checker=unix.Malloc -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/self-assign.cpp -verify -analyzer-output=text -analyzer-checker=core -analyzer-checker=cplusplus -analyzer-checker=unix.Malloc -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false 1. parser at end of file 2. While analyzing stack: #0 Calling main() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/self-assign.cpp:116:14: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/self-assign.cpp:116:14: Error evaluating statement #0 0x0000ffff9d70acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff9d709100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9d70b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa664e800 (linux-vdso.so.1+0x800) #4 0x0000ffffa55b8434 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa55b8434 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa55b8434 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa55b8434 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa55b8434 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa55b8434 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa55b8434 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:0 #11 0x0000ffffa55b8434 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 0x0000ffffa5580f7c std::_Optional_base_impl>::_M_is_engaged() const /usr/include/c++/12/optional:471:0 #13 0x0000ffffa5580f7c std::optional::has_value() const /usr/include/c++/12/optional:988:0 #14 0x0000ffffa5580f7c clang::ento::CallEvent::isArgumentConstructedDirectly(unsigned int) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:431:0 #15 0x0000ffffa5580f7c addParameterValuesToBindings(clang::StackFrameContext const*, llvm::SmallVectorImpl>&, clang::ento::SValBuilder&, clang::ento::CallEvent const&, llvm::ArrayRef) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:478:0 #16 0x0000ffffa5581f7c clang::ento::AnyCXXConstructorCall::getCXXThisVal() const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:896:0 #17 0x0000ffffa5581f7c clang::ento::AnyCXXConstructorCall::getInitialStackFrameContents(clang::StackFrameContext const*, llvm::SmallVectorImpl>&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:915:0 #18 0x0000ffffa5642cb0 llvm::SmallVectorTemplateCommon, void>::end() /usr/include/llvm/ADT/SmallVector.h:272:0 #19 0x0000ffffa5642cb0 clang::ento::StoreManager::enterStackFrame(void const*, clang::ento::CallEvent const&, clang::StackFrameContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/Store.cpp:54:0 #20 0x0000ffffa55fdef8 clang::ento::ProgramState::makeWithStore(clang::ento::StoreRef const&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:434:27 #21 0x0000ffffa55fdef8 clang::ento::ProgramState::enterStackFrame(clang::ento::CallEvent const&, clang::StackFrameContext const*) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:234:0 #22 0x0000ffffa55fe0a8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #23 0x0000ffffa55fe0a8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #24 0x0000ffffa55fe0a8 clang::ento::ExprEngine::inlineCall(clang::ento::WorkList*, clang::ento::CallEvent const&, clang::Decl const*, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:561:0 #25 0x0000ffffa5600b40 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #26 0x0000ffffa5600b40 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #27 0x0000ffffa5600b40 clang::ento::ExprEngine::ctuBifurcate(clang::ento::CallEvent const&, clang::Decl const*, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:527:0 #28 0x0000ffffa560156c llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #29 0x0000ffffa560156c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #30 0x0000ffffa560156c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x0000ffffa560156c clang::ento::ExprEngine::defaultEvalCall(clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:1255:0 #32 0x0000ffffa5589fd8 clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:288:0 #33 0x0000ffffa55c6028 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #34 0x0000ffffa55c6028 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #35 0x0000ffffa55c6028 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #36 0x0000ffffa55c6028 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #37 0x0000ffffa55c6028 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #38 0x0000ffffa55c6028 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #39 0x0000ffffa55c6028 clang::ento::ExprEngine::handleConstructor(clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:789:0 #40 0x0000ffffa55cbe5c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #41 0x0000ffffa55cbe5c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2158:0 #42 0x0000ffffa55ccf08 clang::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 0x0000ffffa55cd1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffa55cd41c clang::ento::CoreEngine::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 0x0000ffffa55cd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #46 0x0000ffffa55cd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #47 0x0000ffffa55cd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #48 0x0000ffffa55cd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #49 0x0000ffffa55cd764 clang::ento::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 0x0000ffffa589787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #51 0x0000ffffa589787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x0000ffffa589787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #53 0x0000ffffa589787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #54 0x0000ffffa589787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #55 0x0000ffffa58987e8 llvm::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 0x0000ffffa58987e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #57 0x0000ffffa58987e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #58 0x0000ffffa589cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #59 0x0000ffffa589cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #60 0x0000ffffa589cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #61 0x0000ffffa589cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #62 0x0000ffffa589cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #63 0x0000ffffa3cf1e58 __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 0x0000ffffa3cf1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #65 0x0000ffffa3cf1e58 void clang::finalize>, 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 0x0000ffffa3cf1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #67 0x0000ffffa53b7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #68 0x0000ffffa536fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #69 0x0000ffffa536fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #70 0x0000ffffa536fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #71 0x0000ffffa53f610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #72 0x0000aaaac2c859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #73 0x0000aaaac2c894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #74 0x0000aaaac2c8aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #75 0x0000aaaac2c81fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #76 0x0000ffff9c96098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #77 0x0000ffff9c960a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #78 0x0000aaaac2c820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/self-assign.cpp.script: line 1: 1828623 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++11 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/self-assign.cpp -verify -analyzer-output=text -analyzer-checker=core -analyzer-checker=cplusplus -analyzer-checker=unix.Malloc -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -- ******************** Testing: 0 FAIL: Clang :: Analysis/shallow-mode.m (1098 of 18953) ******************** TEST 'Clang :: Analysis/shallow-mode.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config mode=shallow -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/shallow-mode.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config mode=shallow -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/shallow-mode.m 1. parser at end of file #0 0x0000ffff9a6dacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff9a6d9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9a6db388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa3614800 (linux-vdso.so.1+0x800) #4 0x0000ffffa2933688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa2933688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa2933688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa2933688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa2933688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa2933688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa2933688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa2933688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa25e0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa25e0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa25e0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa25e0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa25e1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa25e1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa25e1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa25e1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa25f4770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa25f4770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa25f4770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa25f5cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa25f5cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa25f5cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa25f5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa25f5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa25f5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa26017d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa26017d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa26017d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa260b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa260b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa260b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa256f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa256f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa256f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa256f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa256fbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa256fbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa256fbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffa25431c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffa25431c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffa25431c0 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffa257fba8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffa257fba8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffa257fba8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffffa259daa8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffa259daa8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffa259daa8 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffa286787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffa286787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffa286787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffa286787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffa286787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffa28687e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffffa28687e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffa28687e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffa286cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffa286cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffa286cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffa286cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffa286cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffa0cc1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffffa0cc1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffa0cc1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffffa0cc1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffa2387ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffa233fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffa233fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffa233fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffa23c610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaac59b59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaac59b94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaac59baac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaac59b1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff9993098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff99930a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaac59b20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/shallow-mode.m.script: line 1: 1828644 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config mode=shallow -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/shallow-mode.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/scan-build/silence-core-checkers.test (1100 of 18953) ******************** TEST 'Clang :: Analysis/scan-build/silence-core-checkers.test' FAILED ******************** Script: -- : 'RUN: at line 4'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/silence-core-checkers.test.tmp.output_dir && mkdir /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/silence-core-checkers.test.tmp.output_dir : 'RUN: at line 5'; '/builddir/build/BUILD/clang-17.0.6.src/tools/scan-build/bin/scan-build' --use-analyzer=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-17 -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/silence-core-checkers.test.tmp.output_dir /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -S /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/scan-build/Inputs/null_dereference_and_division_by_zero.c | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/scan-build/silence-core-checkers.test -check-prefix CHECK-TWO-BUGS : 'RUN: at line 9'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/silence-core-checkers.test.tmp.output_dir && mkdir /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/silence-core-checkers.test.tmp.output_dir : 'RUN: at line 10'; '/builddir/build/BUILD/clang-17.0.6.src/tools/scan-build/bin/scan-build' --use-analyzer=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-17 -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/silence-core-checkers.test.tmp.output_dir -disable-checker core.DivideZero /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -S /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/scan-build/Inputs/null_dereference_and_division_by_zero.c | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/scan-build/silence-core-checkers.test -check-prefix CHECK-ONE-BUG : 'RUN: at line 15'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/silence-core-checkers.test.tmp.output_dir && mkdir /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/silence-core-checkers.test.tmp.output_dir : 'RUN: at line 16'; '/builddir/build/BUILD/clang-17.0.6.src/tools/scan-build/bin/scan-build' --use-analyzer=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-17 -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/silence-core-checkers.test.tmp.output_dir -disable-checker core.NullDereference /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -S /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/scan-build/Inputs/null_dereference_and_division_by_zero.c | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/scan-build/silence-core-checkers.test -check-prefix CHECK-ONE-BUG : 'RUN: at line 21'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/silence-core-checkers.test.tmp.output_dir && mkdir /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/silence-core-checkers.test.tmp.output_dir : 'RUN: at line 22'; '/builddir/build/BUILD/clang-17.0.6.src/tools/scan-build/bin/scan-build' --use-analyzer=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-17 -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/silence-core-checkers.test.tmp.output_dir -disable-checker core.NullDereference -disable-checker core.DivideZero /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -S /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/scan-build/Inputs/null_dereference_and_division_by_zero.c | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/scan-build/silence-core-checkers.test -check-prefix CHECK-NO-BUGS -- Exit Code: 1 Command Output (stdout): -- $ ":" "RUN: at line 4" $ "rm" "-rf" "/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/silence-core-checkers.test.tmp.output_dir" $ "mkdir" "/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/silence-core-checkers.test.tmp.output_dir" $ ":" "RUN: at line 5" $ "/builddir/build/BUILD/clang-17.0.6.src/tools/scan-build/bin/scan-build" "--use-analyzer=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-17" "-o" "/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/silence-core-checkers.test.tmp.output_dir" "/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang" "-S" "/builddir/build/BUILD/clang-17.0.6.src/test/Analysis/scan-build/Inputs/null_dereference_and_division_by_zero.c" # command stderr: PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-17 -cc1 -triple aarch64-opencloudos-linux-gnu -analyze -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name null_dereference_and_division_by_zero.c -analyzer-checker=core -analyzer-checker=apiModeling -analyzer-checker=unix -analyzer-checker=deadcode -analyzer-checker=security.insecureAPI.UncheckedReturn -analyzer-checker=security.insecureAPI.getpw -analyzer-checker=security.insecureAPI.gets -analyzer-checker=security.insecureAPI.mktemp -analyzer-checker=security.insecureAPI.mkstemp -analyzer-checker=security.insecureAPI.vfork -analyzer-checker=nullability.NullPassedToNonnull -analyzer-checker=nullability.NullReturnedFromNonnull -analyzer-output plist -w -setup-static-analyzer -mrelocation-model pic -pic-level 2 -pic-is-pie -mframe-pointer=non-leaf -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu generic -target-feature +neon -target-feature +v8a -target-abi aapcs -debugger-tuning=gdb -fcoverage-compilation-dir=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build -resource-dir /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -internal-isystem /usr/local/include -internal-isystem /usr/lib/gcc/aarch64-OpenCloudOS-linux/12/../../../../aarch64-OpenCloudOS-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -fdebug-compilation-dir=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build -ferror-limit 19 -fno-signed-char -fgnuc-version=4.2.1 -analyzer-output=html -target-feature +outline-atomics -target-feature -fmv -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/silence-core-checkers.test.tmp.output_dir/2024-05-20-124617-1828586-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 0x0000ffff8ec1acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8ec19100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8ec1b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff97b5a800 (linux-vdso.so.1+0x800) #4 0x0000ffff96e73688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff96e73688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff96e73688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff96e73688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff96e73688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff96e73688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff96e73688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff96e73688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff96b20c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff96b20c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff96b20c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff96b20c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff96b21ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff96b21ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff96b21ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff96b21ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff96b3591c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff96b3591c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff96b3591c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffff96b35bf0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff96b35bf0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff96b35bf0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffff96b35190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff96b35190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff96b35190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff96b417d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff96b417d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff96b417d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff96b4b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff96b4b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff96b4b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff96aaf72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff96aaf72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff96aaf72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff96aaf72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff96f9d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff96f9d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff96f9d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff96ac58c8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffff96ac58c8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffff96ac58c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffff96ac58c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffff96ac58c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffff96ac58c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffff96ac58c8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffff96ac58c8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffff96ac58c8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffff96ac58c8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffff96ac5e30 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffff96add764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff96add764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff96add764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff96add764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff96add764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff96da787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff96da787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff96da787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff96da787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff96da787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff96da87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff96da87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff96da87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff96dacde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff96dacde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff96dacde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff96dacde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff96dacde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff95201e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff95201e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff95201e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff95201e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff968c7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff9687fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff9687fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff9687fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff9690610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaabb0d59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaabb0d94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaabb0daac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaabb0d1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff8de7098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff8de70a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaabb0d20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-17+0x120b0) $ "/usr/bin/FileCheck" "/builddir/build/BUILD/clang-17.0.6.src/test/Analysis/scan-build/silence-core-checkers.test" "-check-prefix" "CHECK-TWO-BUGS" # command stderr: /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/scan-build/silence-core-checkers.test:30:17: error: CHECK-TWO-BUGS: expected string not found in input CHECK-TWO-BUGS: scan-build: 2 bugs found. ^ :1:1: note: scanning from here scan-build: Using '/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-17' for static analysis ^ :3:1: note: possible intended match here scan-build: 0 bugs found. ^ Input file: Check file: /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/scan-build/silence-core-checkers.test -dump-input=help explains the following input dump. Input was: <<<<<< 1: scan-build: Using '/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-17' for static analysis check:30'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found 2: scan-build: Analysis run complete. check:30'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3: scan-build: 0 bugs found. check:30'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~ check:30'1 ? possible intended match 4: scan-build: The analyzer encountered problems on some source files. check:30'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5: scan-build: Preprocessed versions of these sources were deposited in '/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/silence-core-checkers.test.tmp.output_dir/2024-05-20-124617-1828586-1/failures'. check:30'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6: scan-build: Please consider submitting a bug report using these files: check:30'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7: scan-build: http://clang-analyzer.llvm.org/filing_bugs.html check:30'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >>>>>> error: command failed with exit status: 1 -- ******************** Testing: 0 FAIL: Clang :: Analysis/silence-checkers-and-packages-core-all.cpp (1101 of 18953) ******************** TEST 'Clang :: Analysis/silence-checkers-and-packages-core-all.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-config silence-checkers=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/silence-checkers-and-packages-core-all.cpp : 'RUN: at line 6'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-config silence-checkers="core.DivideZero;core.NullDereference" -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/silence-checkers-and-packages-core-all.cpp : 'RUN: at line 11'; not /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/silence-checkers-and-packages-core-all.cpp -analyzer-checker=core -analyzer-config silence-checkers=core.NullDeref 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/silence-checkers-and-packages-core-all.cpp -check-prefix=CHECK-CHECKER-ERROR : 'RUN: at line 19'; not /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/silence-checkers-and-packages-core-all.cpp -analyzer-checker=core -analyzer-config silence-checkers=coreModeling 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/silence-checkers-and-packages-core-all.cpp -check-prefix=CHECK-PACKAGE-ERROR -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-config silence-checkers=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/silence-checkers-and-packages-core-all.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling test_disable_null_deref(int *) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/silence-checkers-and-packages-core-all.cpp:34:7: Error evaluating branch #0 0x0000ffffad43acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffad439100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffad43b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb6375800 (linux-vdso.so.1+0x800) #4 0x0000ffffb5693688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb5693688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb5693688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb5693688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb5693688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb5693688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb5693688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb5693688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb5340c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb5340c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb5340c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb5340c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb5341ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb5341ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb5341ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb5341ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb5354770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb5354770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb5354770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb5355cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb5355cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb5355cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb5355190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb5355190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb5355190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb53617d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb53617d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb53617d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb536b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb536b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb536b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb52cf72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb52cf72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb52cf72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb52cf72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb57bd3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb57bd3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb57bd3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffb52e58c8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffffb52e58c8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffffb52e58c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffffb52e58c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffffb52e58c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffffb52e58c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffffb52e58c8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffffb52e58c8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffffb52e58c8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffffb52e58c8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffffb52e5e30 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffffb52fd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffb52fd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffb52fd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffb52fd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffb52fd764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffb55c787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffb55c787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffb55c787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffb55c787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffb55c787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffb55c87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffb55c87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffb55c87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffb55ccde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffb55ccde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffb55ccde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffb55ccde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffb55ccde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffb3a21e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffb3a21e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffb3a21e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffb3a21e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffb50e7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffb509fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffb509fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffb509fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffb512610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaabf6d59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaabf6d94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaabf6daac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaabf6d1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffac69098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffac690a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaabf6d20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/silence-checkers-and-packages-core-all.cpp.script: line 4: 1828668 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-config silence-checkers=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/silence-checkers-and-packages-core-all.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/silence-checkers-and-packages-core-div-by-zero.cpp (1102 of 18953) ******************** TEST 'Clang :: Analysis/silence-checkers-and-packages-core-div-by-zero.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-config silence-checkers=core.DivideZero -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/silence-checkers-and-packages-core-div-by-zero.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-config silence-checkers=core.DivideZero -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/silence-checkers-and-packages-core-div-by-zero.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling test_disable_null_deref(int *) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/silence-checkers-and-packages-core-div-by-zero.cpp:13:7: Error evaluating branch #0 0x0000ffff7d29acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7d299100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7d29b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff861dc800 (linux-vdso.so.1+0x800) #4 0x0000ffff854f3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff854f3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff854f3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff854f3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff854f3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff854f3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff854f3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff854f3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff851a0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff851a0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff851a0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff851a0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff851a1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff851a1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff851a1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff851a1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff851b4770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff851b4770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff851b4770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff851b5cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff851b5cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff851b5cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff851b5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff851b5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff851b5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff851c17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff851c17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff851c17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff851cb074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff851cb074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff851cb074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8512f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8512f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8512f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8512f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff8561d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8561d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8561d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff851458c8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffff851458c8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffff851458c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffff851458c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffff851458c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffff851458c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffff851458c8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffff851458c8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffff851458c8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffff851458c8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffff85145e30 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffff8515d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff8515d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff8515d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff8515d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff8515d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff8542787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff8542787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff8542787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff8542787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff8542787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff854287e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff854287e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff854287e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff8542cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff8542cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff8542cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff8542cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff8542cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff83881e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff83881e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff83881e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff83881e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff84f47ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff84effc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff84effc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff84effc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff84f8610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaab48659f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaab48694b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaab486aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaab4861fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff7c4f098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff7c4f0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaab48620b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/silence-checkers-and-packages-core-div-by-zero.cpp.script: line 1: 1828678 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-config silence-checkers=core.DivideZero -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/silence-checkers-and-packages-core-div-by-zero.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/silence-checkers.cpp (1104 of 18953) ******************** TEST 'Clang :: Analysis/silence-checkers.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify="no-silence" /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/silence-checkers.cpp -triple i386-unknown-linux-gnu -analyzer-checker=core,apiModeling -analyzer-checker=unix.Malloc -analyzer-checker=cplusplus.NewDelete : 'RUN: at line 7'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify="unix-silenced" /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/silence-checkers.cpp -triple i386-unknown-linux-gnu -analyzer-checker=core,apiModeling -analyzer-checker=unix.Malloc -analyzer-checker=cplusplus.NewDelete -analyzer-config silence-checkers="unix" : 'RUN: at line 14'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify="deadstore-silenced" /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/silence-checkers.cpp -analyzer-checker=core -analyzer-checker=apiModeling -analyzer-checker=deadcode -analyzer-config silence-checkers="deadcode.DeadStores" -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify=no-silence /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/silence-checkers.cpp -triple i386-unknown-linux-gnu -analyzer-checker=core,apiModeling -analyzer-checker=unix.Malloc -analyzer-checker=cplusplus.NewDelete 1. parser at end of file 2. While analyzing stack: #0 Calling r11160612_no_callback() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/silence-checkers.cpp:35:21: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/silence-checkers.cpp:35:21: Error evaluating statement #0 0x0000ffffa887acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa8879100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa887b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb17b1800 (linux-vdso.so.1+0x800) #4 0x0000ffffb0ab9f20 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb0ab9f20 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb0ab9f20 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb0ab9f20 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb0ab9f20 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb0ab9f20 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb0ab9f20 get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb0ab9f20 (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 0x0000ffffb08c83d0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x0000ffffb08c83d0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x0000ffffb08c83d0 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 0x0000ffffb06dc2f8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #16 0x0000ffffb06dc2f8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #17 0x0000ffffb06dc2f8 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool)>::operator()(llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:0 #18 0x0000ffffb06dc2f8 clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:0 #19 0x0000ffffb07a1844 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffffb07a1844 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffffb07a1844 clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:78 #22 0x0000ffffb07a1844 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:53 #23 0x0000ffffb07ab074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x0000ffffb07ab074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x0000ffffb07ab074 clang::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 0x0000ffffb070f818 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb070f818 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb070f818 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #29 0x0000ffffb070f818 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:68:21 #30 0x0000ffffb0bfd3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffffb0bfd3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffffb0bfd3d4 clang::ento::ProgramState::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 0x0000ffffb08d44b0 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x0000ffffb08d44b0 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x0000ffffb08d44b0 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x0000ffffb08d44b0 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x0000ffffb08d44b0 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x0000ffffb08d44b0 (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 0x0000ffffb08d4900 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #40 0x0000ffffb08d4900 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #41 0x0000ffffb08d4900 (anonymous namespace)::MallocChecker::checkBasicAlloc(clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1217:0 #42 0x0000ffffb08e0e00 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #43 0x0000ffffb08e0e00 void clang::ento::check::PostCall::_checkCall<(anonymous namespace)::MallocChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:183:0 #44 0x0000ffffb06f9524 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #45 0x0000ffffb06f9524 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x0000ffffb06f9524 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #47 0x0000ffffb06f9524 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #48 0x0000ffffb06f9524 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #49 0x0000ffffb07598b8 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #50 0x0000ffffb07598b8 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #51 0x0000ffffb07598b8 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #52 0x0000ffffb07598b8 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #53 0x0000ffffb07598b8 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #54 0x0000ffffb07598b8 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #55 0x0000ffffb075a144 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #56 0x0000ffffb073bea0 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #57 0x0000ffffb073bea0 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #58 0x0000ffffb073cf08 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #59 0x0000ffffb073d1f0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #60 0x0000ffffb073d41c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #61 0x0000ffffb073d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #62 0x0000ffffb073d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #63 0x0000ffffb073d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #64 0x0000ffffb073d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #65 0x0000ffffb073d764 clang::ento::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 0x0000ffffb0a0787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #67 0x0000ffffb0a0787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #68 0x0000ffffb0a0787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #69 0x0000ffffb0a0787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #70 0x0000ffffb0a0787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #71 0x0000ffffb0a087e8 llvm::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 0x0000ffffb0a087e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #73 0x0000ffffb0a087e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #74 0x0000ffffb0a0cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #75 0x0000ffffb0a0cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #76 0x0000ffffb0a0cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #77 0x0000ffffb0a0cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #78 0x0000ffffb0a0cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #79 0x0000ffffaee61e58 __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 0x0000ffffaee61e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #81 0x0000ffffaee61e58 void clang::finalize>, 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 0x0000ffffaee61e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #83 0x0000ffffb0527ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #84 0x0000ffffb04dfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #85 0x0000ffffb04dfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #86 0x0000ffffb04dfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #87 0x0000ffffb056610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #88 0x0000aaaade4759f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #89 0x0000aaaade4794b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #90 0x0000aaaade47aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #91 0x0000aaaade471fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #92 0x0000ffffa7ad098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #93 0x0000ffffa7ad0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #94 0x0000aaaade4720b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/silence-checkers.cpp.script: line 3: 1828681 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify="no-silence" /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/silence-checkers.cpp -triple i386-unknown-linux-gnu -analyzer-checker=core,apiModeling -analyzer-checker=unix.Malloc -analyzer-checker=cplusplus.NewDelete -- ******************** Testing: 0 FAIL: Clang :: Analysis/scan-build/exclude_directories.test (1105 of 18953) ******************** TEST 'Clang :: Analysis/scan-build/exclude_directories.test' FAILED ******************** Script: -- : 'RUN: at line 4'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/exclude_directories.test.tmp.output_dir && mkdir /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/exclude_directories.test.tmp.output_dir : 'RUN: at line 5'; '/builddir/build/BUILD/clang-17.0.6.src/tools/scan-build/bin/scan-build' --use-analyzer=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-17 -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/exclude_directories.test.tmp.output_dir /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -S /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/scan-build/Inputs/multidirectory_project/directory1/file1.c /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/scan-build/Inputs/multidirectory_project/directory2/file2.c | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/scan-build/exclude_directories.test -check-prefix CHECK-NO-EXCLUDE : 'RUN: at line 20'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/exclude_directories.test.tmp.output_dir && mkdir /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/exclude_directories.test.tmp.output_dir : 'RUN: at line 21'; '/builddir/build/BUILD/clang-17.0.6.src/tools/scan-build/bin/scan-build' --use-analyzer=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-17 -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/exclude_directories.test.tmp.output_dir --exclude directory1 /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -S /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/scan-build/Inputs/multidirectory_project/directory1/file1.c /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/scan-build/Inputs/multidirectory_project/directory2/file2.c | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/scan-build/exclude_directories.test -check-prefix CHECK-EXCLUDE1 : 'RUN: at line 30'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/exclude_directories.test.tmp.output_dir && mkdir /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/exclude_directories.test.tmp.output_dir : 'RUN: at line 31'; '/builddir/build/BUILD/clang-17.0.6.src/tools/scan-build/bin/scan-build' --use-analyzer=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-17 -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/exclude_directories.test.tmp.output_dir --exclude directory1 --exclude directory2 /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -S /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/scan-build/Inputs/multidirectory_project/directory1/file1.c /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/scan-build/Inputs/multidirectory_project/directory2/file2.c | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/scan-build/exclude_directories.test -check-prefix CHECK-EXCLUDE-BOTH -- Exit Code: 1 Command Output (stdout): -- $ ":" "RUN: at line 4" $ "rm" "-rf" "/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/exclude_directories.test.tmp.output_dir" $ "mkdir" "/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/exclude_directories.test.tmp.output_dir" $ ":" "RUN: at line 5" $ "/builddir/build/BUILD/clang-17.0.6.src/tools/scan-build/bin/scan-build" "--use-analyzer=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-17" "-o" "/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/exclude_directories.test.tmp.output_dir" "/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang" "-S" "/builddir/build/BUILD/clang-17.0.6.src/test/Analysis/scan-build/Inputs/multidirectory_project/directory1/file1.c" "/builddir/build/BUILD/clang-17.0.6.src/test/Analysis/scan-build/Inputs/multidirectory_project/directory2/file2.c" # command stderr: PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-17 -cc1 -triple aarch64-opencloudos-linux-gnu -analyze -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name file1.c -analyzer-checker=core -analyzer-checker=apiModeling -analyzer-checker=unix -analyzer-checker=deadcode -analyzer-checker=security.insecureAPI.UncheckedReturn -analyzer-checker=security.insecureAPI.getpw -analyzer-checker=security.insecureAPI.gets -analyzer-checker=security.insecureAPI.mktemp -analyzer-checker=security.insecureAPI.mkstemp -analyzer-checker=security.insecureAPI.vfork -analyzer-checker=nullability.NullPassedToNonnull -analyzer-checker=nullability.NullReturnedFromNonnull -analyzer-output plist -w -setup-static-analyzer -mrelocation-model pic -pic-level 2 -pic-is-pie -mframe-pointer=non-leaf -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu generic -target-feature +neon -target-feature +v8a -target-abi aapcs -debugger-tuning=gdb -fcoverage-compilation-dir=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build -resource-dir /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -internal-isystem /usr/local/include -internal-isystem /usr/lib/gcc/aarch64-OpenCloudOS-linux/12/../../../../aarch64-OpenCloudOS-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -fdebug-compilation-dir=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build -ferror-limit 19 -fno-signed-char -fgnuc-version=4.2.1 -analyzer-output=html -target-feature +outline-atomics -target-feature -fmv -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/exclude_directories.test.tmp.output_dir/2024-05-20-124616-1828438-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 0x0000ffffadecacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffadec9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffadecb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb6e03800 (linux-vdso.so.1+0x800) #4 0x0000ffffb6123688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb6123688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb6123688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb6123688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb6123688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb6123688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb6123688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb6123688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb5dd0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb5dd0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb5dd0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb5dd0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb5dd1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb5dd1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb5dd1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb5dd1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb5de4770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb5de4770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb5de4770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb5de5cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb5de5cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb5de5cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb5de5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb5de5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb5de5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb5df17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb5df17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb5df17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb5dfb074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb5dfb074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb5dfb074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb5d5f6d8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb5d5f6d8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb5d5f6d8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb5d5f6d8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffb624d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb624d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb624d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffb5d72a0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffb5d72a0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffb5d72a0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffffb5d8ccac llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffffb5d8ccac llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffffb5d8ccac llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffffb5d8ccac clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffffb5d8ccac clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffffb5d8cf08 clang::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 0x0000ffffb5d8d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffb5d8d41c clang::ento::CoreEngine::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 0x0000ffffb5d8d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffb5d8d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffb5d8d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffb5d8d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffb5d8d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffb605787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffb605787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffb605787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffb605787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffb605787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffb60587e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffb60587e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffb60587e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffb605cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffb605cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffb605cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffb605cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffb605cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffb44b1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffb44b1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffb44b1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffb44b1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffb5b77ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffb5b2fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffb5b2fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffb5b2fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffb5bb610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaaabd859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaaabd894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaaabd8aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaaabd81fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffad12098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffad120a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaaabd820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-17+0x120b0) PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-17 -cc1 -triple aarch64-opencloudos-linux-gnu -analyze -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name file2.c -analyzer-checker=core -analyzer-checker=apiModeling -analyzer-checker=unix -analyzer-checker=deadcode -analyzer-checker=security.insecureAPI.UncheckedReturn -analyzer-checker=security.insecureAPI.getpw -analyzer-checker=security.insecureAPI.gets -analyzer-checker=security.insecureAPI.mktemp -analyzer-checker=security.insecureAPI.mkstemp -analyzer-checker=security.insecureAPI.vfork -analyzer-checker=nullability.NullPassedToNonnull -analyzer-checker=nullability.NullReturnedFromNonnull -analyzer-output plist -w -setup-static-analyzer -mrelocation-model pic -pic-level 2 -pic-is-pie -mframe-pointer=non-leaf -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu generic -target-feature +neon -target-feature +v8a -target-abi aapcs -debugger-tuning=gdb -fcoverage-compilation-dir=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build -resource-dir /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -internal-isystem /usr/local/include -internal-isystem /usr/lib/gcc/aarch64-OpenCloudOS-linux/12/../../../../aarch64-OpenCloudOS-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -fdebug-compilation-dir=/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build -ferror-limit 19 -fno-signed-char -fgnuc-version=4.2.1 -analyzer-output=html -target-feature +outline-atomics -target-feature -fmv -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/exclude_directories.test.tmp.output_dir/2024-05-20-124616-1828438-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 0x0000ffffa74bacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa74b9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa74bb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb03f3800 (linux-vdso.so.1+0x800) #4 0x0000ffffaf713688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffaf713688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffaf713688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffaf713688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffaf713688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffaf713688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffaf713688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffaf713688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffaf3c0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffaf3c0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffaf3c0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffaf3c0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffaf3c1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffaf3c1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffaf3c1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffaf3c1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffaf3d4770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffaf3d4770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffaf3d4770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffaf3d5cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffaf3d5cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffaf3d5cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffaf3d5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffaf3d5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffaf3d5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffaf3e17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffaf3e17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffaf3e17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffaf3eb074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffaf3eb074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffaf3eb074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffaf34f6d8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffaf34f6d8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffaf34f6d8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffaf34f6d8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffaf83d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffaf83d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffaf83d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffaf362a0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffaf362a0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffaf362a0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffffaf37ccac llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffffaf37ccac llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffffaf37ccac llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffffaf37ccac clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffffaf37ccac clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffffaf37cf08 clang::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 0x0000ffffaf37d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffaf37d41c clang::ento::CoreEngine::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 0x0000ffffaf37d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffaf37d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffaf37d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffaf37d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffaf37d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffaf64787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffaf64787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffaf64787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffaf64787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffaf64787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffaf6487e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffaf6487e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffaf6487e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffaf64cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffaf64cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffaf64cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffaf64cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffaf64cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffadaa1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffadaa1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffadaa1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffadaa1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffaf167ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffaf11fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffaf11fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffaf11fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffaf1a610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaac9e959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaac9e994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaac9e9aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaac9e91fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffa671098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffa6710a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaac9e920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-17+0x120b0) $ "/usr/bin/FileCheck" "/builddir/build/BUILD/clang-17.0.6.src/test/Analysis/scan-build/exclude_directories.test" "-check-prefix" "CHECK-NO-EXCLUDE" # command stderr: /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/scan-build/exclude_directories.test:16:19: error: CHECK-NO-EXCLUDE: expected string not found in input CHECK-NO-EXCLUDE: scan-build: 2 bugs found. ^ :1:1: note: scanning from here scan-build: Using '/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-17' for static analysis ^ :3:1: note: possible intended match here scan-build: 0 bugs found. ^ Input file: Check file: /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/scan-build/exclude_directories.test -dump-input=help explains the following input dump. Input was: <<<<<< 1: scan-build: Using '/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-17' for static analysis check:16'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found 2: scan-build: Analysis run complete. check:16'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3: scan-build: 0 bugs found. check:16'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~ check:16'1 ? possible intended match 4: scan-build: The analyzer encountered problems on some source files. check:16'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5: scan-build: Preprocessed versions of these sources were deposited in '/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/scan-build/Output/exclude_directories.test.tmp.output_dir/2024-05-20-124616-1828438-1/failures'. check:16'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6: scan-build: Please consider submitting a bug report using these files: check:16'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7: scan-build: http://clang-analyzer.llvm.org/filing_bugs.html check:16'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >>>>>> error: command failed with exit status: 1 -- ******************** Testing: 0 FAIL: Clang :: Analysis/simple-stream-checks.c (1106 of 18953) ******************** TEST 'Clang :: Analysis/simple-stream-checks.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.SimpleStream -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/simple-stream-checks.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.SimpleStream -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/simple-stream-checks.c 1. parser at end of file 2. While analyzing stack: #0 Calling testOverwrite 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/simple-stream-checks.c:94:3: Error evaluating statement #0 0x0000ffff780facd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff780f9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff780fb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8103e800 (linux-vdso.so.1+0x800) #4 0x0000ffff801e3e68 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff801e3e68 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff801e3e68 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff801e3e68 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff801e3e68 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff801e3e68 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff801e3e68 get<(anonymous namespace)::StreamMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff801e3e68 (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 0x0000ffff7ff8d814 void expandGraphWithCheckers<(anonymous namespace)::CheckDeadSymbolsContext>((anonymous namespace)::CheckDeadSymbolsContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #13 0x0000ffff7ffa7fe8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x0000ffff7ffa7fe8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x0000ffff7ffa7fe8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #16 0x0000ffff7ffa7fe8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #17 0x0000ffff7ffa7fe8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #18 0x0000ffff7ffa7fe8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #19 0x0000ffff7ffa7fe8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1080:48 #20 0x0000ffff7ffbce94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #21 0x0000ffff7ffbce94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #22 0x0000ffff7ffbce94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #23 0x0000ffff7ffbce94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #24 0x0000ffff7ffbce94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #25 0x0000ffff7ffbce94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #26 0x0000ffff7ffbce94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #27 0x0000ffff7ffbce94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #28 0x0000ffff7ffbce94 clang::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 0x0000ffff7ffbd1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff7ffbd41c clang::ento::CoreEngine::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 0x0000ffff7ffbd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #32 0x0000ffff7ffbd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #33 0x0000ffff7ffbd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #34 0x0000ffff7ffbd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #35 0x0000ffff7ffbd764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #36 0x0000ffff8028787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffff8028787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffff8028787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #39 0x0000ffff8028787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #40 0x0000ffff8028787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #41 0x0000ffff802887e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #42 0x0000ffff802887e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #43 0x0000ffff802887e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #44 0x0000ffff8028cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #45 0x0000ffff8028cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #46 0x0000ffff8028cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #47 0x0000ffff8028cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #48 0x0000ffff8028cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #49 0x0000ffff7e6e1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #50 0x0000ffff7e6e1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #51 0x0000ffff7e6e1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #52 0x0000ffff7e6e1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #53 0x0000ffff7fda7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #54 0x0000ffff7fd5fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #55 0x0000ffff7fd5fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #56 0x0000ffff7fd5fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #57 0x0000ffff7fde610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #58 0x0000aaaac1d359f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #59 0x0000aaaac1d394b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #60 0x0000aaaac1d3aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #61 0x0000aaaac1d31fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #62 0x0000ffff7735098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #63 0x0000ffff77350a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #64 0x0000aaaac1d320b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/simple-stream-checks.c.script: line 1: 1828713 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.SimpleStream -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/simple-stream-checks.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/smart-ptr-text-output.cpp (1107 of 18953) ******************** TEST 'Clang :: Analysis/smart-ptr-text-output.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus.Move,alpha.cplusplus.SmartPtr,debug.ExprInspection -analyzer-config cplusplus.SmartPtrModeling:ModelSmartPtrDereference=true -analyzer-output=text -std=c++20 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/smart-ptr-text-output.cpp -verify=expected : 'RUN: at line 6'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus.Move,alpha.cplusplus.SmartPtr,debug.ExprInspection -analyzer-config cplusplus.SmartPtrModeling:ModelSmartPtrDereference=true -analyzer-output=text -std=c++11 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/smart-ptr-text-output.cpp -verify=expected -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus.Move,alpha.cplusplus.SmartPtr,debug.ExprInspection -analyzer-config cplusplus.SmartPtrModeling:ModelSmartPtrDereference=true -analyzer-output=text -std=c++20 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/smart-ptr-text-output.cpp -verify=expected 1. parser at end of file 2. While analyzing stack: #0 Calling foo() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/smart-ptr-text-output.cpp:362:14: Error evaluating statement #0 0x0000ffffa85cacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa85c9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa85cb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb150e800 (linux-vdso.so.1+0x800) #4 0x0000ffffb090c2ec llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb090c2ec llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb090c2ec llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb090c2ec llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb090c2ec llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb090c2ec 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 0x0000ffffb090c2ec get<(anonymous namespace)::TrackedRegionMap> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb090c2ec (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 0x0000ffffb069cff0 llvm::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 0x0000ffffb069cff0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #14 0x0000ffffb069cff0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #15 0x0000ffffb069cff0 void clang::ento::check::LiveSymbols::_checkLiveSymbols<(anonymous namespace)::SmartPtrModeling>(void*, llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:306:49 #16 0x0000ffffb042bf00 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #17 0x0000ffffb042bf00 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #18 0x0000ffffb042bf00 clang::ento::CheckerFn, clang::ento::SymbolReaper&)>::operator()(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:0 #19 0x0000ffffb042bf00 clang::ento::CheckerManager::runCheckersForLiveSymbols(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:547:0 #20 0x0000ffffb0477ef0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb0477ef0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb0477ef0 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1066:48 #23 0x0000ffffb048ce94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #24 0x0000ffffb048ce94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #25 0x0000ffffb048ce94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #26 0x0000ffffb048ce94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #27 0x0000ffffb048ce94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #28 0x0000ffffb048ce94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #29 0x0000ffffb048ce94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #30 0x0000ffffb048ce94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #31 0x0000ffffb048ce94 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #32 0x0000ffffb048d1f0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #33 0x0000ffffb048d41c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #34 0x0000ffffb048d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #35 0x0000ffffb048d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #36 0x0000ffffb048d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #37 0x0000ffffb048d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #38 0x0000ffffb048d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #39 0x0000ffffb075787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb075787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb075787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #42 0x0000ffffb075787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #43 0x0000ffffb075787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #44 0x0000ffffb07587e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #45 0x0000ffffb07587e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #46 0x0000ffffb07587e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #47 0x0000ffffb075cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #48 0x0000ffffb075cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #49 0x0000ffffb075cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #50 0x0000ffffb075cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #51 0x0000ffffb075cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #52 0x0000ffffaebb1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #53 0x0000ffffaebb1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #54 0x0000ffffaebb1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #55 0x0000ffffaebb1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #56 0x0000ffffb0277ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #57 0x0000ffffb022fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #58 0x0000ffffb022fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #59 0x0000ffffb022fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #60 0x0000ffffb02b610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #61 0x0000aaaaaf7359f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #62 0x0000aaaaaf7394b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #63 0x0000aaaaaf73aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #64 0x0000aaaaaf731fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #65 0x0000ffffa782098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #66 0x0000ffffa7820a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #67 0x0000aaaaaf7320b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/smart-ptr-text-output.cpp.script: line 2: 1828728 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus.Move,alpha.cplusplus.SmartPtr,debug.ExprInspection -analyzer-config cplusplus.SmartPtrModeling:ModelSmartPtrDereference=true -analyzer-output=text -std=c++20 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/smart-ptr-text-output.cpp -verify=expected -- ******************** Testing: 0 FAIL: Clang :: Analysis/solver-sym-simplification-adjustment.c (1108 of 18953) ******************** TEST 'Clang :: Analysis/solver-sym-simplification-adjustment.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/solver-sym-simplification-adjustment.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/solver-sym-simplification-adjustment.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -verify 1. parser at end of file 2. While analyzing stack: #0 Calling test_simplification_adjusment_no_infinite_loop 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/solver-sym-simplification-adjustment.c:89:7: Error evaluating branch #0 0x0000ffff807aacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff807a9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff807ab388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff896e4800 (linux-vdso.so.1+0x800) #4 0x0000ffff886aa80c retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff886aa80c retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff886aa80c retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff886aa80c IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff886aa80c ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff886aa80c MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff886aa80c get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff886aa80c (anonymous namespace)::EquivalenceClass::mergeImpl(clang::ento::RangeSet::Factory&, llvm::IntrusiveRefCntPtr, llvm::ImmutableSet>, (anonymous namespace)::EquivalenceClass, llvm::ImmutableSet>) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2361:0 #12 0x0000ffff886ac73c llvm::IntrusiveRefCntPtrInfo>>::release(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:351:0 #13 0x0000ffff886ac73c llvm::IntrusiveRefCntPtr>>::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #14 0x0000ffff886ac73c llvm::IntrusiveRefCntPtr>>::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #15 0x0000ffff886ac73c llvm::ImmutableSet>::~ImmutableSet() /usr/include/llvm/ADT/ImmutableSet.h:957:0 #16 0x0000ffff886ac73c (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 0x0000ffff886b12b0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #18 0x0000ffff886b12b0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff886b12b0 merge /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2309:0 #20 0x0000ffff886b12b0 trackEquality /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2160:0 #21 0x0000ffff886b12b0 assignSymSymExprToRangeSet /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2238:0 #22 0x0000ffff886b12b0 assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:0 #23 0x0000ffff886b12b0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:0 #24 0x0000ffff886b12b0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:0 #25 0x0000ffff886b12b0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:0 #26 0x0000ffff886b12b0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #27 0x0000ffff886b12b0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #28 0x0000ffff886b1940 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #29 0x0000ffff886b1940 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #30 0x0000ffff886b1940 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x0000ffff886b1940 (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:0 #32 0x0000ffff886c591c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #33 0x0000ffff886c591c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #34 0x0000ffff886c591c 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 0x0000ffff886c5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff886c5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff886c5190 clang::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 0x0000ffff886d17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #39 0x0000ffff886d17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #40 0x0000ffff886d17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #41 0x0000ffff886db074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #42 0x0000ffff886db074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #43 0x0000ffff886db074 clang::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 0x0000ffff8863f6d8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #45 0x0000ffff8863f6d8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #46 0x0000ffff8863f6d8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #47 0x0000ffff8863f6d8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #48 0x0000ffff88b2d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #49 0x0000ffff88b2d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #50 0x0000ffff88b2d3d4 clang::ento::ProgramState::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 0x0000ffff886558c8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #52 0x0000ffff886558c8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #53 0x0000ffff886558c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #54 0x0000ffff886558c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #55 0x0000ffff886558c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #56 0x0000ffff886558c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #57 0x0000ffff886558c8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #58 0x0000ffff886558c8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #59 0x0000ffff886558c8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #60 0x0000ffff886558c8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #61 0x0000ffff88655e30 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #62 0x0000ffff8866d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #63 0x0000ffff8866d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #64 0x0000ffff8866d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #65 0x0000ffff8866d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #66 0x0000ffff8866d764 clang::ento::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 0x0000ffff8893787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #68 0x0000ffff8893787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #69 0x0000ffff8893787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #70 0x0000ffff8893787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #71 0x0000ffff8893787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #72 0x0000ffff889387e8 llvm::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 0x0000ffff889387e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #74 0x0000ffff889387e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #75 0x0000ffff8893cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #76 0x0000ffff8893cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #77 0x0000ffff8893cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #78 0x0000ffff8893cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #79 0x0000ffff8893cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #80 0x0000ffff86d91e58 __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 0x0000ffff86d91e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #82 0x0000ffff86d91e58 void clang::finalize>, 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 0x0000ffff86d91e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #84 0x0000ffff88457ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #85 0x0000ffff8840fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #86 0x0000ffff8840fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #87 0x0000ffff8840fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #88 0x0000ffff8849610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #89 0x0000aaaae70659f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #90 0x0000aaaae70694b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #91 0x0000aaaae706aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #92 0x0000aaaae7061fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #93 0x0000ffff7fa0098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #94 0x0000ffff7fa00a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #95 0x0000aaaae70620b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/solver-sym-simplification-adjustment.c.script: line 1: 1828745 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/solver-sym-simplification-adjustment.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/smart-ptr.cpp (1109 of 18953) ******************** TEST 'Clang :: Analysis/smart-ptr.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-checker cplusplus.Move,alpha.cplusplus.SmartPtr -analyzer-config cplusplus.SmartPtrModeling:ModelSmartPtrDereference=true -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/smart-ptr.cpp : 'RUN: at line 6'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-checker cplusplus.Move,alpha.cplusplus.SmartPtr -analyzer-config cplusplus.SmartPtrModeling:ModelSmartPtrDereference=true -std=c++20 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/smart-ptr.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-checker cplusplus.Move,alpha.cplusplus.SmartPtr -analyzer-config cplusplus.SmartPtrModeling:ModelSmartPtrDereference=true -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/smart-ptr.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling testCheckForFunctionsWithNoDecl(void (*)(_Bool, _Bool)) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/smart-ptr.cpp:544:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/smart-ptr.cpp:544:3: Error evaluating statement #0 0x0000ffffb5c6acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb5c69100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb5c6b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffbebad800 (linux-vdso.so.1+0x800) #4 0x0000ffffbdec3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffbdec3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffbdec3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffbdec3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffbdec3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffbdec3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffbdec3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffbdec3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffbdb70c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffbdb70c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffbdb70c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffbdb70c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffbdb71ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffbdb71ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffbdb71ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffbdb71ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffbdb84770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffbdb84770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffbdb84770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffbdb85cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffbdb85cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffbdb85cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffbdb85190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffbdb85190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffbdb85190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffbdb917d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffbdb917d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffbdb917d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffbdb9b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffbdb9b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffbdb9b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffbdaff72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffbdaff72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffbdaff72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffbdaff72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffbdfed3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffbdfed3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffbdfed3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffbdbd4578 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffbdbd4578 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffbdbd4578 checkFunctionPointerCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CallAndMessageChecker.cpp:390:79 #45 0x0000ffffbdbd4578 checkPreCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CallAndMessageChecker.cpp:546:37 #46 0x0000ffffbdbd4578 void clang::ento::check::PreCall::_checkCall<(anonymous namespace)::CallAndMessageChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:168:45 #47 0x0000ffffbdae9524 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #48 0x0000ffffbdae9524 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #49 0x0000ffffbdae9524 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #50 0x0000ffffbdae9524 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #51 0x0000ffffbdae9524 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #52 0x0000ffffbdb497a0 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #53 0x0000ffffbdb497a0 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #54 0x0000ffffbdb497a0 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #55 0x0000ffffbdb497a0 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #56 0x0000ffffbdb497a0 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #57 0x0000ffffbdb497a0 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #58 0x0000ffffbdb497a0 clang::ento::ExprEngine::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 0x0000ffffbdb4a144 clang::ento::ExprEngine::VisitCallExpr(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 0x0000ffffbdb2bea0 clang::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 0x0000ffffbdb2bea0 clang::ento::ExprEngine::Visit(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 0x0000ffffbdb2cf08 clang::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 0x0000ffffbdb2d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffbdb2d41c clang::ento::CoreEngine::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 0x0000ffffbdb2d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #66 0x0000ffffbdb2d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #67 0x0000ffffbdb2d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #68 0x0000ffffbdb2d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #69 0x0000ffffbdb2d764 clang::ento::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 0x0000ffffbddf787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #71 0x0000ffffbddf787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #72 0x0000ffffbddf787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #73 0x0000ffffbddf787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #74 0x0000ffffbddf787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #75 0x0000ffffbddf87e8 llvm::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 0x0000ffffbddf87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #77 0x0000ffffbddf87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #78 0x0000ffffbddfcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #79 0x0000ffffbddfcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #80 0x0000ffffbddfcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #81 0x0000ffffbddfcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #82 0x0000ffffbddfcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #83 0x0000ffffbc251e58 __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 0x0000ffffbc251e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #85 0x0000ffffbc251e58 void clang::finalize>, 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 0x0000ffffbc251e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #87 0x0000ffffbd917ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #88 0x0000ffffbd8cfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #89 0x0000ffffbd8cfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #90 0x0000ffffbd8cfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #91 0x0000ffffbd95610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #92 0x0000aaaac33e59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #93 0x0000aaaac33e94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #94 0x0000aaaac33eaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #95 0x0000aaaac33e1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #96 0x0000ffffb4ec098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #97 0x0000ffffb4ec0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #98 0x0000aaaac33e20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/smart-ptr.cpp.script: line 2: 1828735 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-checker cplusplus.Move,alpha.cplusplus.SmartPtr -analyzer-config cplusplus.SmartPtrModeling:ModelSmartPtrDereference=true -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/smart-ptr.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/solver-sym-simplification-no-crash.c (1111 of 18953) ******************** TEST 'Clang :: Analysis/solver-sym-simplification-no-crash.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/solver-sym-simplification-no-crash.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/solver-sym-simplification-no-crash.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -verify 1. parser at end of file 2. While analyzing stack: #0 Calling g 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/solver-sym-simplification-no-crash.c:21:13: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/solver-sym-simplification-no-crash.c:21:13: Error evaluating statement #0 0x0000ffff8d6eacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8d6e9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8d6eb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff96620800 (linux-vdso.so.1+0x800) #4 0x0000ffff955ca900 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffff955ca900 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff955ca900 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff955ca900 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff955ca900 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff955ca900 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff955ca900 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x0000ffff955ca900 getConstraint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1055:37 #12 0x0000ffff955ca900 (anonymous namespace)::getConstraint(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1060:23 #13 0x0000ffff955ca9dc (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 0x0000ffff9561e038 getConst /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1238:0 #15 0x0000ffff9561e038 (anonymous namespace)::SimpleSValBuilder::simplifySValOnce(llvm::IntrusiveRefCntPtr, clang::ento::SVal)::Simplifier::getConstOrVisit(clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1246:0 #16 0x0000ffff9561dc10 VisitSymSymExpr /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1324:0 #17 0x0000ffff9561dc10 clang::ento::SymExprVisitor<(anonymous namespace)::SimpleSValBuilder::simplifySValOnce(llvm::IntrusiveRefCntPtr, clang::ento::SVal)::Simplifier, clang::ento::SVal>::Visit(clang::ento::SymExpr const*) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:0 #18 0x0000ffff95a2a8a4 VisitNonLocSymbolVal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1365:0 #19 0x0000ffff95a2a8a4 Visit /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.def:67:0 #20 0x0000ffff95a2a8a4 (anonymous namespace)::SimpleSValBuilder::simplifySValOnce(llvm::IntrusiveRefCntPtr, clang::ento::SVal) (.constprop.0.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1371:0 #21 0x0000ffff95605484 simplifyUntilFixpoint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1194:40 #22 0x0000ffff95605484 (anonymous namespace)::SimpleSValBuilder::simplifySVal(llvm::IntrusiveRefCntPtr, clang::ento::SVal) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1203:31 #23 0x0000ffff9561c308 (anonymous namespace)::SimpleSValBuilder::evalBinOpNN(llvm::IntrusiveRefCntPtr, clang::BinaryOperatorKind, clang::ento::NonLoc, clang::ento::NonLoc, clang::QualType) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:416:0 #24 0x0000ffff956121c8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #25 0x0000ffff956121c8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #26 0x0000ffff956121c8 clang::ento::SValBuilder::evalBinOp(llvm::IntrusiveRefCntPtr, clang::BinaryOperatorKind, clang::ento::SVal, clang::ento::SVal, clang::QualType) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SValBuilder.cpp:531:21 #27 0x0000ffff955a0550 clang::ento::ExprEngine::evalBinOp(llvm::IntrusiveRefCntPtr, clang::BinaryOperatorKind, clang::ento::SVal, clang::ento::SVal, clang::QualType) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:611:33 #28 0x0000ffff955a0550 clang::ento::ExprEngine::VisitBinaryOperator(clang::BinaryOperator const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:100:0 #29 0x0000ffff955acbd8 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2103:0 #30 0x0000ffff955acf08 clang::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 0x0000ffff955ad1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff955ad41c clang::ento::CoreEngine::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 0x0000ffff955ad764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #34 0x0000ffff955ad764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #35 0x0000ffff955ad764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #36 0x0000ffff955ad764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #37 0x0000ffff955ad764 clang::ento::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 0x0000ffff9587787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #39 0x0000ffff9587787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #40 0x0000ffff9587787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #41 0x0000ffff9587787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #42 0x0000ffff9587787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #43 0x0000ffff958787e8 llvm::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 0x0000ffff958787e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #45 0x0000ffff958787e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #46 0x0000ffff9587cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #47 0x0000ffff9587cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #48 0x0000ffff9587cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #49 0x0000ffff9587cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #50 0x0000ffff9587cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #51 0x0000ffff93cd1e58 __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 0x0000ffff93cd1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #53 0x0000ffff93cd1e58 void clang::finalize>, 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 0x0000ffff93cd1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #55 0x0000ffff95397ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #56 0x0000ffff9534fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #57 0x0000ffff9534fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #58 0x0000ffff9534fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #59 0x0000ffff953d610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #60 0x0000aaaab78059f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #61 0x0000aaaab78094b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #62 0x0000aaaab780aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #63 0x0000aaaab7801fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #64 0x0000ffff8c94098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #65 0x0000ffff8c940a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #66 0x0000aaaab78020b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/solver-sym-simplification-no-crash.c.script: line 1: 1828764 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/solver-sym-simplification-no-crash.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/solver-sym-simplification-concreteint.c (1112 of 18953) ******************** TEST 'Clang :: Analysis/solver-sym-simplification-concreteint.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/solver-sym-simplification-concreteint.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/solver-sym-simplification-concreteint.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -verify 1. parser at end of file 2. While analyzing stack: #0 Calling test_simplification_to_concrete_int_feasible 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/solver-sym-simplification-concreteint.c:25:7: Error evaluating branch #0 0x0000ffffa575acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa5759100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa575b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffae697800 (linux-vdso.so.1+0x800) #4 0x0000ffffad9b3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffad9b3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffad9b3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffad9b3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffad9b3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffad9b3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffad9b3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffad9b3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffad660c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffad660c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffad660c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffad660c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffad661ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffad661ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffad661ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffad661ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffad674770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffad674770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffad674770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffad675cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffad675cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffad675cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffad675190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffad675190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffad675190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffad6817d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffad6817d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffad6817d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffad68b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffad68b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffad68b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffad5ef72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffad5ef72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffad5ef72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffad5ef72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffadadd3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffadadd3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffadadd3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffad6058c8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffffad6058c8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffffad6058c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffffad6058c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffffad6058c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffffad6058c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffffad6058c8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffffad6058c8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffffad6058c8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffffad6058c8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffffad605e30 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffffad61d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffad61d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffad61d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffad61d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffad61d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffad8e787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffad8e787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffad8e787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffad8e787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffad8e787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffad8e87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffad8e87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffad8e87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffad8ecde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffad8ecde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffad8ecde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffad8ecde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffad8ecde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffabd41e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffabd41e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffabd41e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffabd41e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffad407ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffad3bfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffad3bfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffad3bfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffad44610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaadfec59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaadfec94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaadfecaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaadfec1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffa49b098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffa49b0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaadfec20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/solver-sym-simplification-concreteint.c.script: line 1: 1828761 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/solver-sym-simplification-concreteint.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/solver-sym-simplification-no-crash2.c (1113 of 18953) ******************** TEST 'Clang :: Analysis/solver-sym-simplification-no-crash2.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/solver-sym-simplification-no-crash2.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/solver-sym-simplification-no-crash2.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -verify 1. parser at end of file 2. While analyzing stack: #0 Calling f 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/solver-sym-simplification-no-crash2.c:16:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/solver-sym-simplification-no-crash2.c:16:7: Error evaluating statement #0 0x0000ffff8813acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff88139100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8813b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff91075800 (linux-vdso.so.1+0x800) #4 0x0000ffff90393688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff90393688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff90393688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff90393688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff90393688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff90393688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff90393688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff90393688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff90040c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff90040c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff90040c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff90040c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff90041ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff90041ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff90041ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff90041ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff9005591c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff9005591c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff9005591c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffff90055bf0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff90055bf0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff90055bf0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffff90055190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff90055190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff90055190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff900617d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff900617d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff900617d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9006b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9006b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9006b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8ffcf72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8ffcf72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8ffcf72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8ffcf72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff900efe48 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:9 #40 0x0000ffff900efe48 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:21 #41 0x0000ffff900efe48 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:44 #42 0x0000ffff900efe48 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:25 #43 0x0000ffff900efe48 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:44 #44 0x0000ffff900efe48 checkPreStmt /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DivZeroChecker.cpp:99:11 #45 0x0000ffff900efe48 void clang::ento::check::PreStmt::_checkStmt<(anonymous namespace)::DivZeroChecker>(void*, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:85:45 #46 0x0000ffff8ffb8078 expandGraphWithCheckers<(anonymous namespace)::CheckStmtContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #47 0x0000ffff8ffb8078 clang::ento::CheckerManager::runCheckersForStmt(bool, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::Stmt const*, clang::ento::ExprEngine&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:190:0 #48 0x0000ffff8ffefdb8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #49 0x0000ffff8ffefdb8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #50 0x0000ffff8ffefdb8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #51 0x0000ffff8ffefdb8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #52 0x0000ffff8ffefdb8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #53 0x0000ffff8ffefdb8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #54 0x0000ffff8ffefdb8 clang::ento::ExprEngine::VisitBinaryOperator(clang::BinaryOperator const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:50:0 #55 0x0000ffff8fffcbd8 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2103:0 #56 0x0000ffff8fffcf08 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #57 0x0000ffff8fffd1f0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #58 0x0000ffff8fffd41c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #59 0x0000ffff8fffd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff8fffd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff8fffd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #62 0x0000ffff8fffd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #63 0x0000ffff8fffd764 clang::ento::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 0x0000ffff902c787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #65 0x0000ffff902c787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #66 0x0000ffff902c787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #67 0x0000ffff902c787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #68 0x0000ffff902c787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #69 0x0000ffff902c87e8 llvm::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 0x0000ffff902c87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #71 0x0000ffff902c87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #72 0x0000ffff902ccde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #73 0x0000ffff902ccde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #74 0x0000ffff902ccde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #75 0x0000ffff902ccde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #76 0x0000ffff902ccde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #77 0x0000ffff8e721e58 __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 0x0000ffff8e721e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #79 0x0000ffff8e721e58 void clang::finalize>, 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 0x0000ffff8e721e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #81 0x0000ffff8fde7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #82 0x0000ffff8fd9fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #83 0x0000ffff8fd9fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #84 0x0000ffff8fd9fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #85 0x0000ffff8fe2610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #86 0x0000aaaac69559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #87 0x0000aaaac69594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #88 0x0000aaaac695aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #89 0x0000aaaac6951fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #90 0x0000ffff8739098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #91 0x0000ffff87390a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #92 0x0000aaaac69520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/solver-sym-simplification-no-crash2.c.script: line 1: 1828768 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/solver-sym-simplification-no-crash2.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/solver-sym-simplification-ptr-bool.cl (1114 of 18953) ******************** TEST 'Clang :: Analysis/solver-sym-simplification-ptr-bool.cl' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple amdgcn-unknown-unknown -analyze -analyzer-checker=core /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/solver-sym-simplification-ptr-bool.cl -- Exit Code: 139 Command Output (stderr): -- /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/solver-sym-simplification-ptr-bool.cl:27:5: warning: expression result unused [-Wunused-value] 27 | q && q; | ~ ^ ~ /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/solver-sym-simplification-ptr-bool.cl:28:5: warning: expression result unused [-Wunused-value] 28 | q && q; | ~ ^ ~ PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple amdgcn-unknown-unknown -analyze -analyzer-checker=core /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/solver-sym-simplification-ptr-bool.cl 1. parser at end of file 2. While analyzing stack: #0 Calling test2 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/solver-sym-simplification-ptr-bool.cl:27:3: Error evaluating branch #0 0x0000ffff892eacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff892e9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff892eb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff92224800 (linux-vdso.so.1+0x800) #4 0x0000ffff91543688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff91543688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff91543688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff91543688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff91543688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff91543688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff91543688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff91543688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff911f0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff911f0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff911f0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff911f0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff911f1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff911f1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff911f1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff911f1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff91204770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff91204770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff91204770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff91205cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff91205cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff91205cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff91205190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff91205190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff91205190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff912117d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff912117d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff912117d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9121b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9121b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9121b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9117f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9117f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9117f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9117f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9166d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9166d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9166d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff911958c8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffff911958c8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffff911958c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffff911958c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffff911958c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffff911958c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffff911958c8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffff911958c8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffff911958c8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffff911958c8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffff91195e30 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffff911ad764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff911ad764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff911ad764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff911ad764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff911ad764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff9147787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff9147787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff9147787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff9147787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff9147787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff914787e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff914787e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff914787e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff9147cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff9147cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff9147cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff9147cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff9147cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff8f8d1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff8f8d1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff8f8d1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff8f8d1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff90f97ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff90f4fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff90f4fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff90f4fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff90fd610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaac42659f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaac42694b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaac426aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaac4261fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff8854098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff88540a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaac42620b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/solver-sym-simplification-ptr-bool.cl.script: line 1: 1828785 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple amdgcn-unknown-unknown -analyze -analyzer-checker=core /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/solver-sym-simplification-ptr-bool.cl -- ******************** Testing: 0 FAIL: Clang :: Analysis/stack-addr-ps.cpp (1115 of 18953) ******************** TEST 'Clang :: Analysis/stack-addr-ps.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stack-addr-ps.cpp -Wno-undefined-bool-conversion -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stack-addr-ps.cpp -Wno-undefined-bool-conversion 1. parser at end of file #0 0x0000ffff79bbacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff79bb9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff79bbb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff82af1800 (linux-vdso.so.1+0x800) #4 0x0000ffff81a6cc54 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff81a6cc54 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff81a6cc54 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff81a6cc54 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff81a6cc54 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff81a6cc54 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff81a6cc54 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff81a6cc54 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 0x0000ffff81a6d578 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 0x0000ffff81a7d5a4 clang::ento::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 0x0000ffff81a7d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #15 0x0000ffff81a7d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #16 0x0000ffff81a7d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #17 0x0000ffff81a7d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #18 0x0000ffff81a7d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #19 0x0000ffff81d4787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffff81d4787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffff81d4787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #22 0x0000ffff81d4787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #23 0x0000ffff81d4787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #24 0x0000ffff81d487e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #25 0x0000ffff81d487e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #26 0x0000ffff81d487e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #27 0x0000ffff81d4cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #28 0x0000ffff81d4cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #29 0x0000ffff81d4cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #30 0x0000ffff81d4cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #31 0x0000ffff81d4cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #32 0x0000ffff801a1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #33 0x0000ffff801a1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #34 0x0000ffff801a1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #35 0x0000ffff801a1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #36 0x0000ffff81867ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #37 0x0000ffff8181fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #38 0x0000ffff8181fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #39 0x0000ffff8181fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #40 0x0000ffff818a610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #41 0x0000aaaac04d59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #42 0x0000aaaac04d94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #43 0x0000aaaac04daac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #44 0x0000aaaac04d1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #45 0x0000ffff78e1098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #46 0x0000ffff78e10a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #47 0x0000aaaac04d20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/stack-addr-ps.cpp.script: line 1: 1828813 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/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/solver-sym-simplification-with-proper-range-type.c (1118 of 18953) ******************** TEST 'Clang :: Analysis/solver-sym-simplification-with-proper-range-type.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/solver-sym-simplification-with-proper-range-type.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/solver-sym-simplification-with-proper-range-type.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -verify 1. parser at end of file 2. While analyzing stack: #0 Calling f 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/solver-sym-simplification-with-proper-range-type.c:16:9: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/solver-sym-simplification-with-proper-range-type.c:16:9: Error evaluating statement #0 0x0000ffffa80dacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa80d9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa80db388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb101e800 (linux-vdso.so.1+0x800) #4 0x0000ffffb0333688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb0333688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb0333688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb0333688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb0333688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb0333688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb0333688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb0333688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffaffe0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffaffe0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffaffe0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffaffe0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffaffe1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffaffe1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffaffe1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffaffe1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffafff4770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffafff4770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffafff4770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffafff5cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffafff5cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffafff5cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffafff5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffafff5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffafff5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb00017d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb00017d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb00017d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb000b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb000b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb000b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffaff6f6d8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffaff6f6d8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffaff6f6d8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffaff6f6d8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffb045d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb045d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb045d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffaff82a0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffaff82a0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffaff82a0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffffaff9ccac llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffffaff9ccac llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffffaff9ccac llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffffaff9ccac clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffffaff9ccac clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffffaff9cf08 clang::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 0x0000ffffaff9d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffaff9d41c clang::ento::CoreEngine::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 0x0000ffffaff9d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffaff9d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffaff9d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffaff9d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffaff9d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffb026787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffb026787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffb026787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffb026787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffb026787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffb02687e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffb02687e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffb02687e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffb026cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffb026cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffb026cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffb026cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffb026cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffae6c1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffae6c1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffae6c1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffae6c1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffafd87ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffafd3fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffafd3fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffafd3fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffafdc610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaae4e459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaae4e494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaae4e4aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaae4e41fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffa733098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffa7330a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaae4e420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/solver-sym-simplification-with-proper-range-type.c.script: line 1: 1828798 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/solver-sym-simplification-with-proper-range-type.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/stack-addr-ps.c (1121 of 18953) ******************** TEST 'Clang :: Analysis/stack-addr-ps.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stack-addr-ps.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stack-addr-ps.c 1. parser at end of file 2. While analyzing stack: #0 Calling anonymous code 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stack-addr-ps.c:67:50: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stack-addr-ps.c:67:50: Error evaluating statement #0 0x0000ffff7cabacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7cab9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7cabb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff859f1800 (linux-vdso.so.1+0x800) #4 0x0000ffff84d13688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff84d13688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff84d13688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff84d13688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff84d13688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff84d13688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff84d13688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff84d13688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff849c0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff849c0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff849c0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff849c0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff849c1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff849c1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff849c1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff849c1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff849d591c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff849d591c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff849d591c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffff849d5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff849d5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff849d5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #26 0x0000ffff849e17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #27 0x0000ffff849e17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #28 0x0000ffff849e17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #29 0x0000ffff849eb074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #30 0x0000ffff849eb074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x0000ffff849eb074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #32 0x0000ffff8494f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #33 0x0000ffff8494f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #34 0x0000ffff8494f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #35 0x0000ffff8494f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #36 0x0000ffff84e3d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffff84e3d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffff84e3d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #39 0x0000ffff84962a0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #40 0x0000ffff84962a0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #41 0x0000ffff84962a0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #42 0x0000ffff8497ccac llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #43 0x0000ffff8497ccac llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #44 0x0000ffff8497ccac llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #45 0x0000ffff8497ccac clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #46 0x0000ffff8497ccac clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #47 0x0000ffff8497cf08 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #48 0x0000ffff8497d1f0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #49 0x0000ffff8497d41c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #50 0x0000ffff8497d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #51 0x0000ffff8497d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #52 0x0000ffff8497d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #53 0x0000ffff8497d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #54 0x0000ffff8497d764 clang::ento::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 0x0000ffff84c4787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #56 0x0000ffff84c4787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #57 0x0000ffff84c4787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #58 0x0000ffff84c4787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #59 0x0000ffff84c4787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #60 0x0000ffff84c487e8 llvm::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 0x0000ffff84c487e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x0000ffff84c487e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #63 0x0000ffff84c4cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x0000ffff84c4cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x0000ffff84c4cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x0000ffff84c4cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x0000ffff84c4cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x0000ffff830a1e58 __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 0x0000ffff830a1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x0000ffff830a1e58 void clang::finalize>, 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 0x0000ffff830a1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x0000ffff84767ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #73 0x0000ffff8471fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #74 0x0000ffff8471fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #75 0x0000ffff8471fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #76 0x0000ffff847a610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #77 0x0000aaaae2a559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x0000aaaae2a594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x0000aaaae2a5aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x0000aaaae2a51fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x0000ffff7bd1098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #82 0x0000ffff7bd10a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #83 0x0000aaaae2a520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/stack-addr-ps.c.script: line 1: 1828803 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stack-addr-ps.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/stack-capture-leak-no-arc.mm (1123 of 18953) ******************** TEST 'Clang :: Analysis/stack-capture-leak-no-arc.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,alpha.core.StackAddressAsyncEscape -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stack-capture-leak-no-arc.mm -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,alpha.core.StackAddressAsyncEscape -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stack-capture-leak-no-arc.mm 1. parser at end of file 2. While analyzing stack: #0 Calling anonymous code #0 0x0000ffff8601acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff86019100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8601b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8ef5a800 (linux-vdso.so.1+0x800) #4 0x0000ffff8df1cd64 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8df1cd64 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8df1cd64 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8df1cd64 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffff8df1cd64 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffff8df1cd64 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffff8dec80bc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffff8dec80bc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffff8dec80bc clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffff8def3a8c llvm::SaveAndRestore::~SaveAndRestore() /usr/include/llvm/Support/SaveAndRestore.h:29:25 #14 0x0000ffff8def3a8c clang::ento::ExprEngine::removeDeadOnEndOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:187:1 #15 0x0000ffff8decd0e8 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:0 #16 0x0000ffff8decd0e8 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:0 #17 0x0000ffff8decd0e8 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:0 #18 0x0000ffff8decd0e8 clang::ento::ExprEngine::processEndOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ReturnStmt const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2951:0 #19 0x0000ffff8decd578 clang::ento::CoreEngine::HandleBlockEdge(clang::BlockEdge const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:288:0 #20 0x0000ffff8dedd5a4 clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:188:0 #21 0x0000ffff8dedd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #22 0x0000ffff8dedd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #23 0x0000ffff8dedd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #24 0x0000ffff8dedd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #25 0x0000ffff8dedd764 clang::ento::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 0x0000ffff8e1a787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8e1a787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8e1a787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #29 0x0000ffff8e1a787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #30 0x0000ffff8e1a787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #31 0x0000ffff8e1a87e8 llvm::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 0x0000ffff8e1a87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #33 0x0000ffff8e1a87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #34 0x0000ffff8e1acde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #35 0x0000ffff8e1acde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #36 0x0000ffff8e1acde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #37 0x0000ffff8e1acde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #38 0x0000ffff8e1acde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #39 0x0000ffff8c601e58 __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 0x0000ffff8c601e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #41 0x0000ffff8c601e58 void clang::finalize>, 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 0x0000ffff8c601e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #43 0x0000ffff8dcc7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #44 0x0000ffff8dc7fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #45 0x0000ffff8dc7fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #46 0x0000ffff8dc7fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #47 0x0000ffff8dd0610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #48 0x0000aaaae92459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #49 0x0000aaaae92494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #50 0x0000aaaae924aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #51 0x0000aaaae9241fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #52 0x0000ffff8527098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #53 0x0000ffff85270a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #54 0x0000aaaae92420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/stack-capture-leak-no-arc.mm.script: line 1: 1828824 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,alpha.core.StackAddressAsyncEscape -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stack-capture-leak-no-arc.mm -- ******************** Testing: 0 FAIL: Clang :: Analysis/stack-capture-leak-arc.mm (1124 of 18953) ******************** TEST 'Clang :: Analysis/stack-capture-leak-arc.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,alpha.core.StackAddressAsyncEscape -fblocks -fobjc-arc -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stack-capture-leak-arc.mm -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,alpha.core.StackAddressAsyncEscape -fblocks -fobjc-arc -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stack-capture-leak-arc.mm 1. parser at end of file 2. While analyzing stack: #0 Calling anonymous code #0 0x0000ffff902facd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff902f9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff902fb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9923a800 (linux-vdso.so.1+0x800) #4 0x0000ffff981fcd64 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff981fcd64 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff981fcd64 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff981fcd64 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffff981fcd64 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffff981fcd64 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffff981a80bc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffff981a80bc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffff981a80bc clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffff981d3a8c llvm::SaveAndRestore::~SaveAndRestore() /usr/include/llvm/Support/SaveAndRestore.h:29:25 #14 0x0000ffff981d3a8c clang::ento::ExprEngine::removeDeadOnEndOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:187:1 #15 0x0000ffff981ad0e8 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:0 #16 0x0000ffff981ad0e8 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:0 #17 0x0000ffff981ad0e8 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:0 #18 0x0000ffff981ad0e8 clang::ento::ExprEngine::processEndOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ReturnStmt const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2951:0 #19 0x0000ffff981ad578 clang::ento::CoreEngine::HandleBlockEdge(clang::BlockEdge const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:288:0 #20 0x0000ffff981bd5a4 clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:188:0 #21 0x0000ffff981bd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #22 0x0000ffff981bd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #23 0x0000ffff981bd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #24 0x0000ffff981bd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #25 0x0000ffff981bd764 clang::ento::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 0x0000ffff9848787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff9848787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff9848787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #29 0x0000ffff9848787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #30 0x0000ffff9848787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #31 0x0000ffff984887e8 llvm::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 0x0000ffff984887e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #33 0x0000ffff984887e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #34 0x0000ffff9848cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #35 0x0000ffff9848cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #36 0x0000ffff9848cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #37 0x0000ffff9848cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #38 0x0000ffff9848cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #39 0x0000ffff968e1e58 __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 0x0000ffff968e1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #41 0x0000ffff968e1e58 void clang::finalize>, 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 0x0000ffff968e1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #43 0x0000ffff97fa7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #44 0x0000ffff97f5fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #45 0x0000ffff97f5fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #46 0x0000ffff97f5fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #47 0x0000ffff97fe610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #48 0x0000aaaae0e759f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #49 0x0000aaaae0e794b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #50 0x0000aaaae0e7aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #51 0x0000aaaae0e71fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #52 0x0000ffff8f55098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #53 0x0000ffff8f550a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #54 0x0000aaaae0e720b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/stack-capture-leak-arc.mm.script: line 1: 1828822 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,alpha.core.StackAddressAsyncEscape -fblocks -fobjc-arc -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stack-capture-leak-arc.mm -- ******************** Testing: 0 FAIL: Clang :: Analysis/stack-frame-context-revision.cpp (1128 of 18953) ******************** TEST 'Clang :: Analysis/stack-frame-context-revision.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core,cplusplus.NewDelete -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stack-frame-context-revision.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core,cplusplus.NewDelete -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stack-frame-context-revision.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling test(Node *) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stack-frame-context-revision.cpp:29:10: Error evaluating branch #0 0x0000ffffb4d0acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb4d09100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb4d0b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffbdc4e800 (linux-vdso.so.1+0x800) #4 0x0000ffffbcf63688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffbcf63688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffbcf63688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffbcf63688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffbcf63688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffbcf63688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffbcf63688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffbcf63688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffbcc10c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffbcc10c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffbcc10c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffbcc10c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffbcc11ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffbcc11ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffbcc11ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffbcc11ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffbcc24770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffbcc24770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffbcc24770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffbcc25cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffbcc25cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffbcc25cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffbcc25190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffbcc25190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffbcc25190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffbcc317d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffbcc317d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffbcc317d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffbcc3b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffbcc3b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffbcc3b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffbcb9f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffbcb9f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffbcb9f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffbcb9f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffbd08d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffbd08d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffbd08d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffbcbb58c8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffffbcbb58c8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffffbcbb58c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffffbcbb58c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffffbcbb58c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffffbcbb58c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffffbcbb58c8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffffbcbb58c8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffffbcbb58c8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffffbcbb58c8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffffbcbb5e30 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffffbcbcd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffbcbcd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffbcbcd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffbcbcd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffbcbcd764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffbce9787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffbce9787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffbce9787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffbce9787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffbce9787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffbce987e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffbce987e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffbce987e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffbce9cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffbce9cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffbce9cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffbce9cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffbce9cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffbb2f1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffbb2f1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffbb2f1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffbb2f1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffbc9b7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffbc96fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffbc96fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffbc96fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffbc9f610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaabf4659f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaabf4694b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaabf46aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaabf461fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffb3f6098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffb3f60a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaabf4620b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/stack-frame-context-revision.cpp.script: line 1: 1828831 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core,cplusplus.NewDelete -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stack-frame-context-revision.cpp -- ******************** Testing: 0 FAIL: Clang :: Analysis/stackaddrleak.c (1129 of 18953) ******************** TEST 'Clang :: Analysis/stackaddrleak.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify -std=c99 -Dbool=_Bool -Wno-bool-conversion /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stackaddrleak.c : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify -x c++ -Wno-bool-conversion /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stackaddrleak.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify -std=c99 -Dbool=_Bool -Wno-bool-conversion /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stackaddrleak.c 1. parser at end of file 2. While analyzing stack: #0 Calling test_multi_return #0 0x0000ffffa2b1acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa2b19100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa2b1b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffaba5a800 (linux-vdso.so.1+0x800) #4 0x0000ffffaa9b5e9c llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffffaa9b5e9c llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffaa9b5e9c llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffaa9b5e9c llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffaa9b5e9c llvm::ImmutableSet>::ImmutableSet(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:971:38 #9 0x0000ffffaa9b5e9c 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 0x0000ffffaa9b5e9c contains<(anonymous namespace)::InitializedGlobalsSet> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:470:42 #11 0x0000ffffaa9b5e9c clang::ento::ExprEngine::processStaticInitializer(clang::DeclStmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2822:59 #12 0x0000ffffaa9b620c clang::ento::CoreEngine::HandleStaticInit(clang::DeclStmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:484:10 #13 0x0000ffffaa9dd5dc clang::ento::CoreEngine::dispatchWorkItem(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 0x0000ffffaa9dd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #15 0x0000ffffaa9dd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #16 0x0000ffffaa9dd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #17 0x0000ffffaa9dd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #18 0x0000ffffaa9dd764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #19 0x0000ffffaaca787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffffaaca787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffffaaca787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #22 0x0000ffffaaca787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #23 0x0000ffffaaca787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #24 0x0000ffffaaca87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #25 0x0000ffffaaca87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #26 0x0000ffffaaca87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #27 0x0000ffffaacacde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #28 0x0000ffffaacacde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #29 0x0000ffffaacacde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #30 0x0000ffffaacacde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #31 0x0000ffffaacacde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #32 0x0000ffffa9101e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #33 0x0000ffffa9101e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #34 0x0000ffffa9101e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #35 0x0000ffffa9101e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #36 0x0000ffffaa7c7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #37 0x0000ffffaa77fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #38 0x0000ffffaa77fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #39 0x0000ffffaa77fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #40 0x0000ffffaa80610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #41 0x0000aaaadea459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #42 0x0000aaaadea494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #43 0x0000aaaadea4aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #44 0x0000aaaadea41fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #45 0x0000ffffa1d7098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #46 0x0000ffffa1d70a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #47 0x0000aaaadea420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/stackaddrleak.c.script: line 2: 1828847 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify -std=c99 -Dbool=_Bool -Wno-bool-conversion /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stackaddrleak.c -- ******************** Testing: 0 FAIL: Clang :: Analysis/static_local.m (1132 of 18953) ******************** TEST 'Clang :: Analysis/static_local.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/static_local.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/static_local.m 1. parser at end of file #0 0x0000ffff9d33acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff9d339100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9d33b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa6278800 (linux-vdso.so.1+0x800) #4 0x0000ffffa5593688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa5593688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa5593688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa5593688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa5593688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa5593688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa5593688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa5593688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa5240c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa5240c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa5240c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa5240c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa5241ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa5241ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa5241ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa5241ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa5254770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa5254770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa5254770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa5255cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa5255cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa5255cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa5255190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa5255190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa5255190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa52617d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa52617d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa52617d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa526b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa526b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa526b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa51cf72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa51cf72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa51cf72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa51cf72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa51cfbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa51cfbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa51cfbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffa51a31c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffa51a31c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffa51a31c0 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffa51dfba8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffa51dfba8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffa51dfba8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffffa51fdaa8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffa51fdaa8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffa51fdaa8 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffa54c787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffa54c787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffa54c787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffa54c787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffa54c787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffa54c87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffffa54c87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffa54c87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffa54ccde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffa54ccde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffa54ccde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffa54ccde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffa54ccde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffa3921e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffffa3921e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffa3921e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffffa3921e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffa4fe7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffa4f9fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffa4f9fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffa4f9fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffa502610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaae78859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaae78894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaae788aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaae7881fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff9c59098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff9c590a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaae78820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/static_local.m.script: line 1: 1828860 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify -Wno-objc-root-class /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/static_local.m -- ******************** Testing: 0 FAIL: Clang :: Analysis/std-c-library-functions-arg-constraints.c (1135 of 18953) ******************** TEST 'Clang :: Analysis/std-c-library-functions-arg-constraints.c' FAILED ******************** Script: -- : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-arg-constraints.c -analyzer-checker=core -analyzer-checker=alpha.unix.StdCLibraryFunctions -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true -analyzer-checker=debug.StdCLibraryFunctionsTester -analyzer-checker=debug.ExprInspection -triple x86_64-unknown-linux-gnu -verify=report : 'RUN: at line 12'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-arg-constraints.c -analyzer-checker=core -analyzer-checker=alpha.unix.StdCLibraryFunctions -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true -analyzer-checker=debug.StdCLibraryFunctionsTester -analyzer-checker=debug.ExprInspection -triple x86_64-unknown-linux-gnu -analyzer-output=text -verify=bugpath -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-arg-constraints.c -analyzer-checker=core -analyzer-checker=alpha.unix.StdCLibraryFunctions -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true -analyzer-checker=debug.StdCLibraryFunctionsTester -analyzer-checker=debug.ExprInspection -triple x86_64-unknown-linux-gnu -verify=report 1. parser at end of file 2. While analyzing stack: #0 Calling test_buf_size_symbolic_and_offset_with_multiplication #0 0x0000ffff9b53acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff9b539100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9b53b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa447a800 (linux-vdso.so.1+0x800) #4 0x0000ffffa343cd64 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa343cd64 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa343cd64 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa343cd64 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffffa343cd64 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffffa343cd64 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffffa33e80bc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffffa33e80bc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffffa33e80bc clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffffa3413a8c llvm::SaveAndRestore::~SaveAndRestore() /usr/include/llvm/Support/SaveAndRestore.h:29:25 #14 0x0000ffffa3413a8c clang::ento::ExprEngine::removeDeadOnEndOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:187:1 #15 0x0000ffffa33ed0e8 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:0 #16 0x0000ffffa33ed0e8 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:0 #17 0x0000ffffa33ed0e8 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:0 #18 0x0000ffffa33ed0e8 clang::ento::ExprEngine::processEndOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ReturnStmt const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2951:0 #19 0x0000ffffa33ed578 clang::ento::CoreEngine::HandleBlockEdge(clang::BlockEdge const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:288:0 #20 0x0000ffffa33fd5a4 clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:188:0 #21 0x0000ffffa33fd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #22 0x0000ffffa33fd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #23 0x0000ffffa33fd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #24 0x0000ffffa33fd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #25 0x0000ffffa33fd764 clang::ento::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 0x0000ffffa36c787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa36c787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa36c787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #29 0x0000ffffa36c787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #30 0x0000ffffa36c787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #31 0x0000ffffa36c87e8 llvm::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 0x0000ffffa36c87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #33 0x0000ffffa36c87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #34 0x0000ffffa36ccde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #35 0x0000ffffa36ccde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #36 0x0000ffffa36ccde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #37 0x0000ffffa36ccde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #38 0x0000ffffa36ccde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #39 0x0000ffffa1b21e58 __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 0x0000ffffa1b21e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #41 0x0000ffffa1b21e58 void clang::finalize>, 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 0x0000ffffa1b21e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #43 0x0000ffffa31e7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #44 0x0000ffffa319fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #45 0x0000ffffa319fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #46 0x0000ffffa319fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #47 0x0000ffffa322610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #48 0x0000aaaade9e59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #49 0x0000aaaade9e94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #50 0x0000aaaade9eaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #51 0x0000aaaade9e1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #52 0x0000ffff9a79098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #53 0x0000ffff9a790a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #54 0x0000aaaade9e20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/std-c-library-functions-arg-constraints.c.script: line 2: 1828896 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-arg-constraints.c -analyzer-checker=core -analyzer-checker=alpha.unix.StdCLibraryFunctions -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true -analyzer-checker=debug.StdCLibraryFunctionsTester -analyzer-checker=debug.ExprInspection -triple x86_64-unknown-linux-gnu -verify=report -- ******************** Testing: 0 FAIL: Clang :: Analysis/std-c-library-functions-arg-constraints-notes.cpp (1136 of 18953) ******************** TEST 'Clang :: Analysis/std-c-library-functions-arg-constraints-notes.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-arg-constraints-notes.cpp -analyzer-checker=core -analyzer-checker=alpha.unix.StdCLibraryFunctions -analyzer-checker=debug.StdCLibraryFunctionsTester -analyzer-config alpha.unix.StdCLibraryFunctions:DisplayLoadedSummaries=true -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -triple i686-unknown-linux -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-arg-constraints-notes.cpp -analyzer-checker=core -analyzer-checker=alpha.unix.StdCLibraryFunctions -analyzer-checker=debug.StdCLibraryFunctionsTester -analyzer-config alpha.unix.StdCLibraryFunctions:DisplayLoadedSummaries=true -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -triple i686-unknown-linux -verify 1. parser at end of file #0 0x0000ffff8b20acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8b209100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8b20b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff94148800 (linux-vdso.so.1+0x800) #4 0x0000ffff93463688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff93463688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff93463688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff93463688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff93463688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff93463688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff93463688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff93463688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff93110c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff93110c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff93110c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff93110c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff93112ce8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff93112ce8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff93112ce8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff93112ce8 (anonymous namespace)::RangeConstraintManager::assumeSymWithinInclusiveRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3224:0 #20 0x0000ffff93124e58 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff93124e58 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff93124e58 clang::ento::RangedConstraintManager::assumeSymInclusiveRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:129:64 #23 0x0000ffff931253b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff931253b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff931253b4 clang::ento::SimpleConstraintManager::assumeInclusiveRangeInternal(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:118:67 #26 0x0000ffff9309fd48 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff9309fd48 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff9309fd48 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:105:75 #29 0x0000ffff9309fd48 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeInclusiveRangeDual(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #30 0x0000ffff930b61e8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff930b61e8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff930b61e8 clang::ento::ProgramState::assumeInclusiveRange(clang::ento::DefinedOrUnknownSVal, llvm::APSInt const&, llvm::APSInt const&) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:746:43 #33 0x0000ffff930b61e8 clang::ento::ExprEngine::processSwitch(clang::ento::SwitchNodeBuilder&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3004:42 #34 0x0000ffff930bdbbc clang::ento::CoreEngine::HandleBlockExit(clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:422:0 #35 0x0000ffff930cd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x0000ffff930cd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x0000ffff930cd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #38 0x0000ffff930cd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #39 0x0000ffff930cd764 clang::ento::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 0x0000ffff9339787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #41 0x0000ffff9339787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #42 0x0000ffff9339787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #43 0x0000ffff9339787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #44 0x0000ffff9339787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #45 0x0000ffff933987e8 llvm::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 0x0000ffff933987e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #47 0x0000ffff933987e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #48 0x0000ffff9339cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #49 0x0000ffff9339cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #50 0x0000ffff9339cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #51 0x0000ffff9339cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #52 0x0000ffff9339cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #53 0x0000ffff917f1e58 __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 0x0000ffff917f1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #55 0x0000ffff917f1e58 void clang::finalize>, 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 0x0000ffff917f1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #57 0x0000ffff92eb7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #58 0x0000ffff92e6fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #59 0x0000ffff92e6fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #60 0x0000ffff92e6fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #61 0x0000ffff92ef610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #62 0x0000aaaacd0459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #63 0x0000aaaacd0494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #64 0x0000aaaacd04aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #65 0x0000aaaacd041fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #66 0x0000ffff8a46098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #67 0x0000ffff8a460a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #68 0x0000aaaacd0420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/std-c-library-functions-arg-constraints-notes.cpp.script: line 1: 1828890 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-arg-constraints-notes.cpp -analyzer-checker=core -analyzer-checker=alpha.unix.StdCLibraryFunctions -analyzer-checker=debug.StdCLibraryFunctionsTester -analyzer-config alpha.unix.StdCLibraryFunctions:DisplayLoadedSummaries=true -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -triple i686-unknown-linux -verify -- ******************** Testing: 0 FAIL: Clang :: Analysis/std-c-library-functions-arg-constraints-note-tags.cpp (1137 of 18953) ******************** TEST 'Clang :: Analysis/std-c-library-functions-arg-constraints-note-tags.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-arg-constraints-note-tags.cpp -analyzer-checker=core -analyzer-checker=alpha.unix.StdCLibraryFunctions -analyzer-checker=debug.StdCLibraryFunctionsTester -analyzer-config alpha.unix.StdCLibraryFunctions:DisplayLoadedSummaries=true -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -triple i686-unknown-linux -analyzer-output=text -verify -- Exit Code: 139 Command Output (stderr): -- Loaded summary for: int __not_null(int *) Loaded summary for: int __single_val_0(int) Loaded summary for: int __buf_size_arg_constraint_concrete(const void *buf) Loaded summary for: int __test_case_note() PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-arg-constraints-note-tags.cpp -analyzer-checker=core -analyzer-checker=alpha.unix.StdCLibraryFunctions -analyzer-checker=debug.StdCLibraryFunctionsTester -analyzer-config alpha.unix.StdCLibraryFunctions:DisplayLoadedSummaries=true -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -triple i686-unknown-linux -analyzer-output=text -verify 1. parser at end of file 2. While analyzing stack: #0 Calling test_case_note_2(int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-arg-constraints-note-tags.cpp:63:11: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-arg-constraints-note-tags.cpp:63:11: Error evaluating statement #0 0x0000ffffac17acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffac179100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffac17b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb50b1800 (linux-vdso.so.1+0x800) #4 0x0000ffffb405a900 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffffb405a900 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffb405a900 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffb405a900 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffb405a900 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffb405a900 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffb405a900 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x0000ffffb405a900 getConstraint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1055:37 #12 0x0000ffffb405a900 (anonymous namespace)::getConstraint(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1060:23 #13 0x0000ffffb405a9dc (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 0x0000ffffb40a1ba8 (anonymous namespace)::SimpleSValBuilder::simplifySValOnce(llvm::IntrusiveRefCntPtr, clang::ento::SVal)::Simplifier::VisitSymbolData(clang::ento::SymbolData const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1259:54 #15 0x0000ffffb44ba8a4 VisitNonLocSymbolVal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1365:0 #16 0x0000ffffb44ba8a4 Visit /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.def:67:0 #17 0x0000ffffb44ba8a4 (anonymous namespace)::SimpleSValBuilder::simplifySValOnce(llvm::IntrusiveRefCntPtr, clang::ento::SVal) (.constprop.0.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1371:0 #18 0x0000ffffb4095484 simplifyUntilFixpoint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1194:40 #19 0x0000ffffb4095484 (anonymous namespace)::SimpleSValBuilder::simplifySVal(llvm::IntrusiveRefCntPtr, clang::ento::SVal) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1203:31 #20 0x0000ffffb4094a58 clang::ento::simplifyToSVal(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:237:26 #21 0x0000ffffb4094b5c clang::ento::simplify(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:241:38 #22 0x0000ffffb4094c9c clang::ento::RangedConstraintManager::assumeSymInclusiveRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:105:17 #23 0x0000ffffb40953b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb40953b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb40953b4 clang::ento::SimpleConstraintManager::assumeInclusiveRangeInternal(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:118:67 #26 0x0000ffffb400fd48 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb400fd48 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb400fd48 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:105:75 #29 0x0000ffffb400fd48 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeInclusiveRangeDual(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #30 0x0000ffffb401009c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffffb401009c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffffb401009c clang::ento::ConstraintManager::assumeInclusiveRange(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:121:54 #33 0x0000ffffb4285980 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp:1050:0 #34 0x0000ffffb4285980 __invoke_impl&, const llvm::APSInt&, const llvm::APSInt&> /usr/include/c++/12/bits/invoke.h:61:0 #35 0x0000ffffb4285980 __invoke_r&, const llvm::APSInt&, const llvm::APSInt&> /usr/include/c++/12/bits/invoke.h:114:0 #36 0x0000ffffb4285980 std::_Function_handler, clang::ento::CallEvent const&, (anonymous namespace)::StdLibraryFunctionsChecker::Summary const&, clang::ento::CheckerContext&) const::'lambda'(llvm::APSInt const&, llvm::APSInt const&)>::_M_invoke(std::_Any_data const&, llvm::APSInt const&, llvm::APSInt const&) /usr/include/c++/12/bits/std_function.h:290:0 #37 0x0000ffffb426e104 std::_Function_base::~_Function_base() /usr/include/c++/12/bits/std_function.h:243:11 #38 0x0000ffffb426e104 std::function::~function() /usr/include/c++/12/bits/std_function.h:334:0 #39 0x0000ffffb426e104 (anonymous namespace)::StdLibraryFunctionsChecker::RangeConstraint::apply(llvm::IntrusiveRefCntPtr, clang::ento::CallEvent const&, (anonymous namespace)::StdLibraryFunctionsChecker::Summary const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp:1055:0 #40 0x0000ffffb4284d30 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #41 0x0000ffffb4284d30 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #42 0x0000ffffb4284d30 (anonymous namespace)::StdLibraryFunctionsChecker::checkPostCall(clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp:1379:0 #43 0x0000ffffb3ff9524 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x0000ffffb3ff9524 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffffb3ff9524 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #46 0x0000ffffb3ff9524 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #47 0x0000ffffb3ff9524 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #48 0x0000ffffb40598b8 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #49 0x0000ffffb40598b8 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #50 0x0000ffffb40598b8 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #51 0x0000ffffb40598b8 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #52 0x0000ffffb40598b8 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #53 0x0000ffffb40598b8 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #54 0x0000ffffb405a144 clang::ento::ExprEngine::VisitCallExpr(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 0x0000ffffb403bea0 clang::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 0x0000ffffb403bea0 clang::ento::ExprEngine::Visit(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 0x0000ffffb403cf08 clang::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 0x0000ffffb403d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffb403d41c clang::ento::CoreEngine::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 0x0000ffffb403d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #61 0x0000ffffb403d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #62 0x0000ffffb403d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #63 0x0000ffffb403d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #64 0x0000ffffb403d764 clang::ento::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 0x0000ffffb430787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #66 0x0000ffffb430787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #67 0x0000ffffb430787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #68 0x0000ffffb430787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #69 0x0000ffffb430787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #70 0x0000ffffb43087e8 llvm::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 0x0000ffffb43087e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #72 0x0000ffffb43087e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #73 0x0000ffffb430cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #74 0x0000ffffb430cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #75 0x0000ffffb430cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #76 0x0000ffffb430cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #77 0x0000ffffb430cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #78 0x0000ffffb2761e58 __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 0x0000ffffb2761e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #80 0x0000ffffb2761e58 void clang::finalize>, 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 0x0000ffffb2761e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #82 0x0000ffffb3e27ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #83 0x0000ffffb3ddfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #84 0x0000ffffb3ddfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #85 0x0000ffffb3ddfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #86 0x0000ffffb3e6610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #87 0x0000aaaad6c959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #88 0x0000aaaad6c994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #89 0x0000aaaad6c9aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #90 0x0000aaaad6c91fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #91 0x0000ffffab3d098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #92 0x0000ffffab3d0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #93 0x0000aaaad6c920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/std-c-library-functions-arg-constraints-note-tags.cpp.script: line 1: 1828887 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-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-cstring-dependency.c (1138 of 18953) ******************** TEST 'Clang :: Analysis/std-c-library-functions-arg-cstring-dependency.c' FAILED ******************** Script: -- : 'RUN: at line 6'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-arg-cstring-dependency.c -analyzer-checker=core -analyzer-checker=alpha.unix.StdCLibraryFunctions -analyzer-checker=unix.cstring.NullArg -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true -triple x86_64-unknown-linux-gnu -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-arg-cstring-dependency.c -analyzer-checker=core -analyzer-checker=alpha.unix.StdCLibraryFunctions -analyzer-checker=unix.cstring.NullArg -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true -triple x86_64-unknown-linux-gnu -verify 1. parser at end of file 2. While analyzing stack: #0 Calling strncasecmp_null_argument 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-arg-cstring-dependency.c:19:10: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-arg-cstring-dependency.c:19:10: Error evaluating statement #0 0x0000ffff985bacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff985b9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff985bb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa14fd800 (linux-vdso.so.1+0x800) #4 0x0000ffffa0813688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa0813688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa0813688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa0813688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa0813688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa0813688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa0813688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa0813688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa04c0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa04c0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa04c0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa04c0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa04c1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa04c1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa04c1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa04c1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa04d4770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa04d4770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa04d4770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa04d5cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa04d5cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa04d5cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa04d5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa04d5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa04d5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa04e17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa04e17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa04e17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa04eb074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa04eb074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa04eb074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa044f6d8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa044f6d8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa044f6d8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa044f6d8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffa09450e8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa09450e8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa09450e8 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffa09450e8 (anonymous namespace)::CStringChecker::assumeZero(clang::ento::CheckerContext&, llvm::IntrusiveRefCntPtr, clang::ento::SVal, clang::QualType) (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:346:0 #43 0x0000ffffa09451a8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #44 0x0000ffffa09451a8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #45 0x0000ffffa09451a8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x0000ffffa09451a8 (anonymous namespace)::CStringChecker::checkNonNull(clang::ento::CheckerContext&, llvm::IntrusiveRefCntPtr, (anonymous namespace)::AnyArgExpr, clang::ento::SVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:358:0 #47 0x0000ffffa0514e08 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #48 0x0000ffffa0514e08 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #49 0x0000ffffa0514e08 (anonymous namespace)::CStringChecker::evalStrcmpCommon(clang::ento::CheckerContext&, clang::CallExpr const*, bool, bool) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:2103:47 #50 0x0000ffffa051ea10 clang::ento::CheckerContext::isDifferent() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h:76:31 #51 0x0000ffffa051ea10 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:2515:23 #52 0x0000ffffa051ea10 bool clang::ento::eval::Call::_evalCall<(anonymous namespace)::CStringChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:478:48 #53 0x0000ffffa0439f0c 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 0x0000ffffa049981c llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #55 0x0000ffffa049981c llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #56 0x0000ffffa049981c clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #57 0x0000ffffa049981c clang::ento::ExprEngine::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 0x0000ffffa049a144 clang::ento::ExprEngine::VisitCallExpr(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 0x0000ffffa047bea0 clang::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 0x0000ffffa047bea0 clang::ento::ExprEngine::Visit(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 0x0000ffffa047cf08 clang::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 0x0000ffffa047d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffa047d41c clang::ento::CoreEngine::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 0x0000ffffa047d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #65 0x0000ffffa047d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #66 0x0000ffffa047d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #67 0x0000ffffa047d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #68 0x0000ffffa047d764 clang::ento::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 0x0000ffffa074787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #70 0x0000ffffa074787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #71 0x0000ffffa074787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #72 0x0000ffffa074787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #73 0x0000ffffa074787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #74 0x0000ffffa07487e8 llvm::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 0x0000ffffa07487e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #76 0x0000ffffa07487e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #77 0x0000ffffa074cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #78 0x0000ffffa074cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #79 0x0000ffffa074cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #80 0x0000ffffa074cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #81 0x0000ffffa074cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #82 0x0000ffff9eba1e58 __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 0x0000ffff9eba1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #84 0x0000ffff9eba1e58 void clang::finalize>, 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 0x0000ffff9eba1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #86 0x0000ffffa0267ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #87 0x0000ffffa021fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #88 0x0000ffffa021fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #89 0x0000ffffa021fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #90 0x0000ffffa02a610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #91 0x0000aaaab55859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #92 0x0000aaaab55894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #93 0x0000aaaab558aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #94 0x0000aaaab5581fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #95 0x0000ffff9781098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #96 0x0000ffff97810a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #97 0x0000aaaab55820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/std-c-library-functions-arg-cstring-dependency.c.script: line 1: 1828911 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-arg-cstring-dependency.c -analyzer-checker=core -analyzer-checker=alpha.unix.StdCLibraryFunctions -analyzer-checker=unix.cstring.NullArg -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true -triple x86_64-unknown-linux-gnu -verify -- ******************** Testing: 0. FAIL: Clang :: Analysis/std-c-library-functions-eof.c (1139 of 18953) ******************** TEST 'Clang :: Analysis/std-c-library-functions-eof.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.StdCLibraryFunctions,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-eof.c : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i686-unknown-linux -analyzer-checker=core,alpha.unix.StdCLibraryFunctions,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-eof.c : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-unknown-linux -analyzer-checker=core,alpha.unix.StdCLibraryFunctions,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-eof.c : 'RUN: at line 4'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple armv7-a15-linux -analyzer-checker=core,alpha.unix.StdCLibraryFunctions,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-eof.c : 'RUN: at line 5'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple thumbv7-a15-linux -analyzer-checker=core,alpha.unix.StdCLibraryFunctions,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-eof.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.StdCLibraryFunctions,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-eof.c 1. parser at end of file 2. While analyzing stack: #0 Calling test_getc 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-eof.c:17:15: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-eof.c:17:15: Error evaluating statement #0 0x0000ffff7da7acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7da79100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7da7b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff869b2800 (linux-vdso.so.1+0x800) #4 0x0000ffff85cd3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff85cd3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff85cd3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff85cd3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff85cd3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff85cd3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff85cd3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff85cd3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff85980c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff85980c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff85980c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff85980c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff85982ce8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff85982ce8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff85982ce8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff85982ce8 (anonymous namespace)::RangeConstraintManager::assumeSymWithinInclusiveRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3224:0 #20 0x0000ffff85994e58 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff85994e58 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff85994e58 clang::ento::RangedConstraintManager::assumeSymInclusiveRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:129:64 #23 0x0000ffff859953b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff859953b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff859953b4 clang::ento::SimpleConstraintManager::assumeInclusiveRangeInternal(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:118:67 #26 0x0000ffff8590fd48 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8590fd48 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8590fd48 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:105:75 #29 0x0000ffff8590fd48 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeInclusiveRangeDual(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #30 0x0000ffff8591009c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff8591009c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff8591009c clang::ento::ConstraintManager::assumeInclusiveRange(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:121:54 #33 0x0000ffff85b85980 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp:1050:0 #34 0x0000ffff85b85980 __invoke_impl&, const llvm::APSInt&, const llvm::APSInt&> /usr/include/c++/12/bits/invoke.h:61:0 #35 0x0000ffff85b85980 __invoke_r&, const llvm::APSInt&, const llvm::APSInt&> /usr/include/c++/12/bits/invoke.h:114:0 #36 0x0000ffff85b85980 std::_Function_handler, clang::ento::CallEvent const&, (anonymous namespace)::StdLibraryFunctionsChecker::Summary const&, clang::ento::CheckerContext&) const::'lambda'(llvm::APSInt const&, llvm::APSInt const&)>::_M_invoke(std::_Any_data const&, llvm::APSInt const&, llvm::APSInt const&) /usr/include/c++/12/bits/std_function.h:290:0 #37 0x0000ffff85b6db34 (anonymous namespace)::StdLibraryFunctionsChecker::RangeConstraint::applyOnOutOfRange(clang::ento::BasicValueFactory&, clang::QualType, std::function const&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp:1022:0 #38 0x0000ffff85b6e104 std::_Function_base::~_Function_base() /usr/include/c++/12/bits/std_function.h:243:11 #39 0x0000ffff85b6e104 std::function::~function() /usr/include/c++/12/bits/std_function.h:334:0 #40 0x0000ffff85b6e104 (anonymous namespace)::StdLibraryFunctionsChecker::RangeConstraint::apply(llvm::IntrusiveRefCntPtr, clang::ento::CallEvent const&, (anonymous namespace)::StdLibraryFunctionsChecker::Summary const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp:1055:0 #41 0x0000ffff85b84d30 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #42 0x0000ffff85b84d30 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #43 0x0000ffff85b84d30 (anonymous namespace)::StdLibraryFunctionsChecker::checkPostCall(clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp:1379:0 #44 0x0000ffff858f9524 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #45 0x0000ffff858f9524 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x0000ffff858f9524 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #47 0x0000ffff858f9524 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #48 0x0000ffff858f9524 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #49 0x0000ffff859598b8 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #50 0x0000ffff859598b8 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #51 0x0000ffff859598b8 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #52 0x0000ffff859598b8 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #53 0x0000ffff859598b8 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #54 0x0000ffff859598b8 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #55 0x0000ffff8595a144 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #56 0x0000ffff8593bea0 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #57 0x0000ffff8593bea0 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #58 0x0000ffff8593cf08 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #59 0x0000ffff8593d1f0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #60 0x0000ffff8593d41c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #61 0x0000ffff8593d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #62 0x0000ffff8593d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #63 0x0000ffff8593d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #64 0x0000ffff8593d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #65 0x0000ffff8593d764 clang::ento::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 0x0000ffff85c0787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #67 0x0000ffff85c0787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #68 0x0000ffff85c0787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #69 0x0000ffff85c0787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #70 0x0000ffff85c0787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #71 0x0000ffff85c087e8 llvm::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 0x0000ffff85c087e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #73 0x0000ffff85c087e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #74 0x0000ffff85c0cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #75 0x0000ffff85c0cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #76 0x0000ffff85c0cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #77 0x0000ffff85c0cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #78 0x0000ffff85c0cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #79 0x0000ffff84061e58 __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 0x0000ffff84061e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #81 0x0000ffff84061e58 void clang::finalize>, 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 0x0000ffff84061e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #83 0x0000ffff85727ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #84 0x0000ffff856dfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #85 0x0000ffff856dfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #86 0x0000ffff856dfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #87 0x0000ffff8576610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #88 0x0000aaaaba8959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #89 0x0000aaaaba8994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #90 0x0000aaaaba89aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #91 0x0000aaaaba891fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #92 0x0000ffff7ccd098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #93 0x0000ffff7ccd0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #94 0x0000aaaaba8920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/std-c-library-functions-eof.c.script: line 5: 1828929 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.StdCLibraryFunctions,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-eof.c -- ******************** Testing: 0. FAIL: Clang :: Analysis/std-c-library-functions-inlined.c (1140 of 18953) ******************** TEST 'Clang :: Analysis/std-c-library-functions-inlined.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.unix.StdCLibraryFunctions -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-inlined.c : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple i686-unknown-linux -analyzer-checker=alpha.unix.StdCLibraryFunctions -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-inlined.c : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-unknown-linux -analyzer-checker=alpha.unix.StdCLibraryFunctions -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-inlined.c : 'RUN: at line 4'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple armv7-a15-linux -analyzer-checker=alpha.unix.StdCLibraryFunctions -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-inlined.c : 'RUN: at line 5'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple thumbv7-a15-linux -analyzer-checker=alpha.unix.StdCLibraryFunctions -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-inlined.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.unix.StdCLibraryFunctions -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-inlined.c 1. parser at end of file 2. While analyzing stack: #0 Calling test_redefined_isdigit 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-inlined.c:15:10: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-inlined.c:15:10: Error evaluating statement #0 0x0000ffffa350acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa3509100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa350b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffac444800 (linux-vdso.so.1+0x800) #4 0x0000ffffab3ea900 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffffab3ea900 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffab3ea900 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffab3ea900 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffab3ea900 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffab3ea900 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffab3ea900 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x0000ffffab3ea900 getConstraint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1055:37 #12 0x0000ffffab3ea900 (anonymous namespace)::getConstraint(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1060:23 #13 0x0000ffffab3ea9dc (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 0x0000ffffab431ba8 (anonymous namespace)::SimpleSValBuilder::simplifySValOnce(llvm::IntrusiveRefCntPtr, clang::ento::SVal)::Simplifier::VisitSymbolData(clang::ento::SymbolData const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1259:54 #15 0x0000ffffab84a8a4 VisitNonLocSymbolVal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1365:0 #16 0x0000ffffab84a8a4 Visit /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.def:67:0 #17 0x0000ffffab84a8a4 (anonymous namespace)::SimpleSValBuilder::simplifySValOnce(llvm::IntrusiveRefCntPtr, clang::ento::SVal) (.constprop.0.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1371:0 #18 0x0000ffffab425484 simplifyUntilFixpoint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1194:40 #19 0x0000ffffab425484 (anonymous namespace)::SimpleSValBuilder::simplifySVal(llvm::IntrusiveRefCntPtr, clang::ento::SVal) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1203:31 #20 0x0000ffffab424a58 clang::ento::simplifyToSVal(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:237:26 #21 0x0000ffffab424b5c clang::ento::simplify(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:241:38 #22 0x0000ffffab424c9c clang::ento::RangedConstraintManager::assumeSymInclusiveRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:105:17 #23 0x0000ffffab4253b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffab4253b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffab4253b4 clang::ento::SimpleConstraintManager::assumeInclusiveRangeInternal(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:118:67 #26 0x0000ffffab39fd48 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffab39fd48 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffab39fd48 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:105:75 #29 0x0000ffffab39fd48 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeInclusiveRangeDual(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #30 0x0000ffffab3a009c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffffab3a009c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffffab3a009c clang::ento::ConstraintManager::assumeInclusiveRange(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:121:54 #33 0x0000ffffab615980 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp:1050:0 #34 0x0000ffffab615980 __invoke_impl&, const llvm::APSInt&, const llvm::APSInt&> /usr/include/c++/12/bits/invoke.h:61:0 #35 0x0000ffffab615980 __invoke_r&, const llvm::APSInt&, const llvm::APSInt&> /usr/include/c++/12/bits/invoke.h:114:0 #36 0x0000ffffab615980 std::_Function_handler, clang::ento::CallEvent const&, (anonymous namespace)::StdLibraryFunctionsChecker::Summary const&, clang::ento::CheckerContext&) const::'lambda'(llvm::APSInt const&, llvm::APSInt const&)>::_M_invoke(std::_Any_data const&, llvm::APSInt const&, llvm::APSInt const&) /usr/include/c++/12/bits/std_function.h:290:0 #37 0x0000ffffab5fe104 std::_Function_base::~_Function_base() /usr/include/c++/12/bits/std_function.h:243:11 #38 0x0000ffffab5fe104 std::function::~function() /usr/include/c++/12/bits/std_function.h:334:0 #39 0x0000ffffab5fe104 (anonymous namespace)::StdLibraryFunctionsChecker::RangeConstraint::apply(llvm::IntrusiveRefCntPtr, clang::ento::CallEvent const&, (anonymous namespace)::StdLibraryFunctionsChecker::Summary const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp:1055:0 #40 0x0000ffffab614d30 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #41 0x0000ffffab614d30 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #42 0x0000ffffab614d30 (anonymous namespace)::StdLibraryFunctionsChecker::checkPostCall(clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp:1379:0 #43 0x0000ffffab389524 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #44 0x0000ffffab389524 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffffab389524 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #46 0x0000ffffab389524 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #47 0x0000ffffab389524 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #48 0x0000ffffab3e98b8 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #49 0x0000ffffab3e98b8 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #50 0x0000ffffab3e98b8 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #51 0x0000ffffab3e98b8 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #52 0x0000ffffab3e98b8 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #53 0x0000ffffab3e98b8 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #54 0x0000ffffab3ea144 clang::ento::ExprEngine::VisitCallExpr(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 0x0000ffffab3cbea0 clang::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 0x0000ffffab3cbea0 clang::ento::ExprEngine::Visit(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 0x0000ffffab3ccf08 clang::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 0x0000ffffab3cd1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffab3cd41c clang::ento::CoreEngine::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 0x0000ffffab3cd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #61 0x0000ffffab3cd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #62 0x0000ffffab3cd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #63 0x0000ffffab3cd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #64 0x0000ffffab3cd764 clang::ento::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 0x0000ffffab69787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #66 0x0000ffffab69787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #67 0x0000ffffab69787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #68 0x0000ffffab69787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #69 0x0000ffffab69787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #70 0x0000ffffab6987e8 llvm::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 0x0000ffffab6987e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #72 0x0000ffffab6987e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #73 0x0000ffffab69cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #74 0x0000ffffab69cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #75 0x0000ffffab69cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #76 0x0000ffffab69cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #77 0x0000ffffab69cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #78 0x0000ffffa9af1e58 __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 0x0000ffffa9af1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #80 0x0000ffffa9af1e58 void clang::finalize>, 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 0x0000ffffa9af1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #82 0x0000ffffab1b7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #83 0x0000ffffab16fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #84 0x0000ffffab16fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #85 0x0000ffffab16fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #86 0x0000ffffab1f610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #87 0x0000aaaad09659f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #88 0x0000aaaad09694b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #89 0x0000aaaad096aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #90 0x0000aaaad0961fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #91 0x0000ffffa276098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #92 0x0000ffffa2760a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #93 0x0000aaaad09620b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/std-c-library-functions-inlined.c.script: line 5: 1828936 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.unix.StdCLibraryFunctions -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-inlined.c -- ******************** Testing: 0. FAIL: Clang :: Analysis/std-c-library-functions-path-notes.c (1141 of 18953) ******************** TEST 'Clang :: Analysis/std-c-library-functions-path-notes.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-path-notes.c -analyzer-checker=core,alpha.unix.StdCLibraryFunctions -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true -analyzer-output=text -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-path-notes.c -analyzer-checker=core,alpha.unix.StdCLibraryFunctions -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true -analyzer-output=text 1. parser at end of file 2. While analyzing stack: #0 Calling test_fileno_arg_note 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-path-notes.c:78:14: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-path-notes.c:78:14: Error evaluating statement #0 0x0000ffff7fccacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7fcc9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7fccb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff88c0e800 (linux-vdso.so.1+0x800) #4 0x0000ffff87f23688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff87f23688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff87f23688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff87f23688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff87f23688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff87f23688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff87f23688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff87f23688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff87bd0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff87bd0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff87bd0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff87bd0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff87bd1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff87bd1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff87bd1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff87bd1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff87be4770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff87be4770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff87be4770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff87be5cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff87be5cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff87be5cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff87be5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff87be5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff87be5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff87bf17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff87bf17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff87bf17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff87bfb074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff87bfb074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff87bfb074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff87b5f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff87b5f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff87b5f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff87b5f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff87b5fbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff87b5fbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff87b5fbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff87daf888 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #43 0x0000ffff87daf888 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #44 0x0000ffff87daf888 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:60 #45 0x0000ffff87daf888 (anonymous namespace)::StdLibraryFunctionsChecker::NotNullConstraint::apply(llvm::IntrusiveRefCntPtr, clang::ento::CallEvent const&, (anonymous namespace)::StdLibraryFunctionsChecker::Summary const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp:1168:39 #46 0x0000ffff87dd4024 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x0000ffff87dd4024 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x0000ffff87dd4024 (anonymous namespace)::StdLibraryFunctionsChecker::checkPreCall(clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp:1326:0 #49 0x0000ffff87b49524 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #50 0x0000ffff87b49524 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #51 0x0000ffff87b49524 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #52 0x0000ffff87b49524 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #53 0x0000ffff87b49524 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #54 0x0000ffff87ba97a0 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #55 0x0000ffff87ba97a0 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #56 0x0000ffff87ba97a0 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #57 0x0000ffff87ba97a0 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #58 0x0000ffff87ba97a0 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #59 0x0000ffff87ba97a0 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #60 0x0000ffff87ba97a0 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:683:44 #61 0x0000ffff87baa144 clang::ento::ExprEngine::VisitCallExpr(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 0x0000ffff87b8bea0 clang::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 0x0000ffff87b8bea0 clang::ento::ExprEngine::Visit(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 0x0000ffff87b8cf08 clang::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 0x0000ffff87b8d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff87b8d41c clang::ento::CoreEngine::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 0x0000ffff87b8d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x0000ffff87b8d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x0000ffff87b8d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #70 0x0000ffff87b8d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #71 0x0000ffff87b8d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #72 0x0000ffff87e5787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #73 0x0000ffff87e5787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #74 0x0000ffff87e5787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #75 0x0000ffff87e5787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #76 0x0000ffff87e5787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #77 0x0000ffff87e587e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #78 0x0000ffff87e587e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #79 0x0000ffff87e587e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #80 0x0000ffff87e5cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #81 0x0000ffff87e5cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #82 0x0000ffff87e5cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #83 0x0000ffff87e5cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #84 0x0000ffff87e5cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #85 0x0000ffff862b1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #86 0x0000ffff862b1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #87 0x0000ffff862b1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #88 0x0000ffff862b1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #89 0x0000ffff87977ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #90 0x0000ffff8792fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #91 0x0000ffff8792fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #92 0x0000ffff8792fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #93 0x0000ffff879b610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #94 0x0000aaaad54c59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #95 0x0000aaaad54c94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #96 0x0000aaaad54caac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #97 0x0000aaaad54c1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #98 0x0000ffff7ef2098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #99 0x0000ffff7ef20a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #100 0x0000aaaad54c20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/std-c-library-functions-path-notes.c.script: line 1: 1828949 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-path-notes.c -analyzer-checker=core,alpha.unix.StdCLibraryFunctions -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true -analyzer-output=text -- ******************** Testing: 0. FAIL: Clang :: Analysis/std-c-library-functions-vs-stream-checker.c (1142 of 18953) ******************** TEST 'Clang :: Analysis/std-c-library-functions-vs-stream-checker.c' FAILED ******************** Script: -- : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-vs-stream-checker.c -analyzer-checker=core,alpha.unix.Stream -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -triple x86_64-unknown-linux -verify=stream : 'RUN: at line 10'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-vs-stream-checker.c -analyzer-checker=alpha.unix.StdCLibraryFunctions -analyzer-config alpha.unix.StdCLibraryFunctions:DisplayLoadedSummaries=true -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -triple x86_64-unknown-linux -verify=stdLib 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-vs-stream-checker.c : 'RUN: at line 20'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-vs-stream-checker.c -analyzer-checker=core,alpha.unix.Stream -analyzer-checker=alpha.unix.StdCLibraryFunctions -analyzer-config alpha.unix.StdCLibraryFunctions:DisplayLoadedSummaries=true -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -triple x86_64-unknown-linux -verify=both 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-vs-stream-checker.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-vs-stream-checker.c -analyzer-checker=core,alpha.unix.Stream -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -triple x86_64-unknown-linux -verify=stream 1. parser at end of file 2. While analyzing stack: #0 Calling test_fread_fwrite 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-vs-stream-checker.c:40:8: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions-vs-stream-checker.c:40:8: Error evaluating statement #0 0x0000ffffa70aacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa70a9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa70ab388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffaffea800 (linux-vdso.so.1+0x800) #4 0x0000ffffaf303688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffaf303688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffaf303688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffaf303688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffaf303688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffaf303688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffaf303688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffaf303688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffaefb0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffaefb0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffaefb0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffaefb0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffaefb1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffaefb1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffaefb1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffaefb1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffaefc4770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffaefc4770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffaefc4770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffaefc5cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffaefc5cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffaefc5cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffaefc5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffaefc5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffaefc5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffaefd17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffaefd17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffaefd17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffaefdb074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffaefdb074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffaefdb074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffaef3f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffaef3f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffaef3f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffaef3f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffaf1b6a1c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x0000ffffaf1b6a1c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x0000ffffaf1b6a1c (anonymous namespace)::StreamChecker::evalFopen((anonymous namespace)::FnDescription const*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StreamChecker.cpp:545:0 #42 0x0000ffffaf198858 clang::ento::CheckerContext::isDifferent() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h:76:31 #43 0x0000ffffaf198858 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StreamChecker.cpp:525:23 #44 0x0000ffffaf198858 bool clang::ento::eval::Call::_evalCall<(anonymous namespace)::StreamChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:478:48 #45 0x0000ffffaef29f0c clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:694:0 #46 0x0000ffffaef8981c llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #47 0x0000ffffaef8981c llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #48 0x0000ffffaef8981c clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #49 0x0000ffffaef8981c clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:696:26 #50 0x0000ffffaef8a144 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #51 0x0000ffffaef6bea0 clang::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 0x0000ffffaef6bea0 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #53 0x0000ffffaef6cf08 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #54 0x0000ffffaef6d1f0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #55 0x0000ffffaef6d41c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #56 0x0000ffffaef6d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #57 0x0000ffffaef6d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #58 0x0000ffffaef6d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #59 0x0000ffffaef6d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #60 0x0000ffffaef6d764 clang::ento::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 0x0000ffffaf23787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #62 0x0000ffffaf23787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #63 0x0000ffffaf23787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #64 0x0000ffffaf23787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #65 0x0000ffffaf23787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #66 0x0000ffffaf2387e8 llvm::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 0x0000ffffaf2387e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #68 0x0000ffffaf2387e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #69 0x0000ffffaf23cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #70 0x0000ffffaf23cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #71 0x0000ffffaf23cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #72 0x0000ffffaf23cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #73 0x0000ffffaf23cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #74 0x0000ffffad691e58 __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 0x0000ffffad691e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #76 0x0000ffffad691e58 void clang::finalize>, 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 0x0000ffffad691e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #78 0x0000ffffaed57ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #79 0x0000ffffaed0fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #80 0x0000ffffaed0fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #81 0x0000ffffaed0fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #82 0x0000ffffaed9610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #83 0x0000aaaac7e459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #84 0x0000aaaac7e494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #85 0x0000aaaac7e4aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #86 0x0000aaaac7e41fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #87 0x0000ffffa630098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #88 0x0000ffffa6300a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #89 0x0000aaaac7e420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/std-c-library-functions-vs-stream-checker.c.script: line 3: 1828967 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-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 (1143 of 18953) ******************** TEST 'Clang :: Analysis/std-c-library-functions.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-unknown-linux -analyzer-checker=alpha.unix.StdCLibraryFunctions,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-unknown-linux -analyzer-checker=alpha.unix.StdCLibraryFunctions,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling test() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions.cpp:13:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions.cpp:13:3: Error evaluating statement #0 0x0000ffffae5eacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffae5e9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffae5eb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb752c800 (linux-vdso.so.1+0x800) #4 0x0000ffffb6843688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb6843688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb6843688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb6843688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb6843688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb6843688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb6843688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb6843688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb64f0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb64f0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb64f0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb64f0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb64f1940 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb64f1940 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb64f1940 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb64f1940 (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:0 #20 0x0000ffffb650591c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb650591c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb650591c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffffb6505bf0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb6505bf0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb6505bf0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffffb6505190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb6505190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb6505190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb65117d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb65117d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb65117d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb651b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb651b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb651b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb647f6d8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb647f6d8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb647f6d8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb647f6d8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffb6971984 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb6971984 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb6971984 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffb6971984 getArgumentValueString(clang::CallExpr const*, clang::ento::CheckerContext&) (.part.0.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:150:20 #43 0x0000ffffb658c980 getArgumentValueString /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:135:3 #44 0x0000ffffb658c980 analyzerEval /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:224:12 #45 0x0000ffffb658c980 (anonymous namespace)::ExprInspectionChecker::analyzerEval(clang::CallExpr const*, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:215:0 #46 0x0000ffffb65c0120 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp:130:0 #47 0x0000ffffb65c0120 bool clang::ento::eval::Call::_evalCall<(anonymous namespace)::ExprInspectionChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:478:0 #48 0x0000ffffb6469f0c clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:694:0 #49 0x0000ffffb64c981c llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #50 0x0000ffffb64c981c llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #51 0x0000ffffb64c981c clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #52 0x0000ffffb64c981c clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:696:26 #53 0x0000ffffb64ca144 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #54 0x0000ffffb64abea0 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #55 0x0000ffffb64abea0 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #56 0x0000ffffb64acf08 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #57 0x0000ffffb64ad1f0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #58 0x0000ffffb64ad41c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #59 0x0000ffffb64ad764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffb64ad764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffb64ad764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #62 0x0000ffffb64ad764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #63 0x0000ffffb64ad764 clang::ento::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 0x0000ffffb677787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #65 0x0000ffffb677787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #66 0x0000ffffb677787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #67 0x0000ffffb677787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #68 0x0000ffffb677787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #69 0x0000ffffb67787e8 llvm::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 0x0000ffffb67787e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #71 0x0000ffffb67787e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #72 0x0000ffffb677cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #73 0x0000ffffb677cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #74 0x0000ffffb677cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #75 0x0000ffffb677cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #76 0x0000ffffb677cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #77 0x0000ffffb4bd1e58 __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 0x0000ffffb4bd1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #79 0x0000ffffb4bd1e58 void clang::finalize>, 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 0x0000ffffb4bd1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #81 0x0000ffffb6297ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #82 0x0000ffffb624fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #83 0x0000ffffb624fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #84 0x0000ffffb624fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #85 0x0000ffffb62d610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #86 0x0000aaaac87f59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #87 0x0000aaaac87f94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #88 0x0000aaaac87faac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #89 0x0000aaaac87f1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #90 0x0000ffffad84098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #91 0x0000ffffad840a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #92 0x0000aaaac87f20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/std-c-library-functions.cpp.script: line 1: 1828980 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-unknown-linux -analyzer-checker=alpha.unix.StdCLibraryFunctions,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions.cpp -- ******************** Testing: 0. FAIL: Clang :: Analysis/std-c-library-functions.c (1144 of 18953) ******************** TEST 'Clang :: Analysis/std-c-library-functions.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions.c -analyzer-checker=core -analyzer-checker=alpha.unix.StdCLibraryFunctions -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -triple i686-unknown-linux -verify : 'RUN: at line 9'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions.c -analyzer-checker=core -analyzer-checker=alpha.unix.StdCLibraryFunctions -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -triple x86_64-unknown-linux -verify : 'RUN: at line 17'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions.c -analyzer-checker=core -analyzer-checker=alpha.unix.StdCLibraryFunctions -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -triple armv7-a15-linux -verify : 'RUN: at line 25'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions.c -analyzer-checker=core -analyzer-checker=alpha.unix.StdCLibraryFunctions -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -triple thumbv7-a15-linux -verify : 'RUN: at line 33'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions.c -analyzer-checker=core -analyzer-checker=alpha.unix.StdCLibraryFunctions -analyzer-config alpha.unix.StdCLibraryFunctions:DisplayLoadedSummaries=true -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -triple i686-unknown-linux 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions.c -analyzer-checker=core -analyzer-checker=alpha.unix.StdCLibraryFunctions -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -triple i686-unknown-linux -verify 1. parser at end of file 2. While analyzing stack: #0 Calling test_getenv 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions.c:238:23: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions.c:238:23: Error evaluating statement #0 0x0000ffff84d9acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff84d99100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff84d9b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8dcdc800 (linux-vdso.so.1+0x800) #4 0x0000ffff8cff3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8cff3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8cff3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8cff3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8cff3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8cff3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff8cff3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff8cff3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8cca0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8cca0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8cca0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8cca0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8cca1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8cca1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8cca1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8cca1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff8ccb4770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff8ccb4770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff8ccb4770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff8ccb5cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff8ccb5cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff8ccb5cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff8ccb5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8ccb5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8ccb5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff8ccc17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff8ccc17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff8ccc17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8cccb074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8cccb074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8cccb074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8cc2f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8cc2f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8cc2f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8cc2f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff8cc2fbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8cc2fbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8cc2fbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff8ce7f888 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #43 0x0000ffff8ce7f888 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #44 0x0000ffff8ce7f888 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:60 #45 0x0000ffff8ce7f888 (anonymous namespace)::StdLibraryFunctionsChecker::NotNullConstraint::apply(llvm::IntrusiveRefCntPtr, clang::ento::CallEvent const&, (anonymous namespace)::StdLibraryFunctionsChecker::Summary const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp:1168:39 #46 0x0000ffff8cea4d30 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #47 0x0000ffff8cea4d30 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #48 0x0000ffff8cea4d30 (anonymous namespace)::StdLibraryFunctionsChecker::checkPostCall(clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp:1379:0 #49 0x0000ffff8cc19524 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #50 0x0000ffff8cc19524 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #51 0x0000ffff8cc19524 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #52 0x0000ffff8cc19524 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #53 0x0000ffff8cc19524 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #54 0x0000ffff8cc798b8 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #55 0x0000ffff8cc798b8 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #56 0x0000ffff8cc798b8 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #57 0x0000ffff8cc798b8 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #58 0x0000ffff8cc798b8 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #59 0x0000ffff8cc798b8 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #60 0x0000ffff8cc7a144 clang::ento::ExprEngine::VisitCallExpr(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 0x0000ffff8cc5bea0 clang::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 0x0000ffff8cc5bea0 clang::ento::ExprEngine::Visit(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 0x0000ffff8cc5cf08 clang::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 0x0000ffff8cc5d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8cc5d41c clang::ento::CoreEngine::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 0x0000ffff8cc5d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff8cc5d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff8cc5d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #69 0x0000ffff8cc5d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #70 0x0000ffff8cc5d764 clang::ento::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 0x0000ffff8cf2787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #72 0x0000ffff8cf2787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #73 0x0000ffff8cf2787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #74 0x0000ffff8cf2787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #75 0x0000ffff8cf2787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #76 0x0000ffff8cf287e8 llvm::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 0x0000ffff8cf287e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #78 0x0000ffff8cf287e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #79 0x0000ffff8cf2cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #80 0x0000ffff8cf2cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #81 0x0000ffff8cf2cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #82 0x0000ffff8cf2cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #83 0x0000ffff8cf2cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #84 0x0000ffff8b381e58 __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 0x0000ffff8b381e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #86 0x0000ffff8b381e58 void clang::finalize>, 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 0x0000ffff8b381e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #88 0x0000ffff8ca47ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #89 0x0000ffff8c9ffc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #90 0x0000ffff8c9ffc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #91 0x0000ffff8c9ffc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #92 0x0000ffff8ca8610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #93 0x0000aaaae78359f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #94 0x0000aaaae78394b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #95 0x0000aaaae783aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #96 0x0000aaaae7831fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #97 0x0000ffff83ff098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #98 0x0000ffff83ff0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #99 0x0000aaaae78320b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/std-c-library-functions.c.script: line 5: 1828988 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-functions.c -analyzer-checker=core -analyzer-checker=alpha.unix.StdCLibraryFunctions -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -triple i686-unknown-linux -verify -- ******************** Testing: 0. FAIL: Clang :: Analysis/std-c-library-posix-crash.c (1145 of 18953) ******************** TEST 'Clang :: Analysis/std-c-library-posix-crash.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.StdCLibraryFunctions -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-posix-crash.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.StdCLibraryFunctions -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-posix-crash.c 1. parser at end of file 2. While analyzing stack: #0 Calling test 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-posix-crash.c:16:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-posix-crash.c:16:3: Error evaluating statement #0 0x0000ffff8df8acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8df89100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8df8b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff96ec6800 (linux-vdso.so.1+0x800) #4 0x0000ffff961e3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff961e3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff961e3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff961e3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff961e3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff961e3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff961e3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff961e3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff95e90c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff95e90c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff95e90c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff95e90c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff95e92ce8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff95e92ce8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff95e92ce8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff95e92ce8 (anonymous namespace)::RangeConstraintManager::assumeSymWithinInclusiveRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3224:0 #20 0x0000ffff95ea4e58 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff95ea4e58 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff95ea4e58 clang::ento::RangedConstraintManager::assumeSymInclusiveRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:129:64 #23 0x0000ffff95ea53b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff95ea53b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff95ea53b4 clang::ento::SimpleConstraintManager::assumeInclusiveRangeInternal(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:118:67 #26 0x0000ffff95e1fd48 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff95e1fd48 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff95e1fd48 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:105:75 #29 0x0000ffff95e1fd48 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeInclusiveRangeDual(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #30 0x0000ffff95e2009c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff95e2009c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff95e2009c clang::ento::ConstraintManager::assumeInclusiveRange(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:121:54 #33 0x0000ffff96095980 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp:1050:0 #34 0x0000ffff96095980 __invoke_impl&, const llvm::APSInt&, const llvm::APSInt&> /usr/include/c++/12/bits/invoke.h:61:0 #35 0x0000ffff96095980 __invoke_r&, const llvm::APSInt&, const llvm::APSInt&> /usr/include/c++/12/bits/invoke.h:114:0 #36 0x0000ffff96095980 std::_Function_handler, clang::ento::CallEvent const&, (anonymous namespace)::StdLibraryFunctionsChecker::Summary const&, clang::ento::CheckerContext&) const::'lambda'(llvm::APSInt const&, llvm::APSInt const&)>::_M_invoke(std::_Any_data const&, llvm::APSInt const&, llvm::APSInt const&) /usr/include/c++/12/bits/std_function.h:290:0 #37 0x0000ffff9607dc10 (anonymous namespace)::StdLibraryFunctionsChecker::RangeConstraint::applyOnOutOfRange(clang::ento::BasicValueFactory&, clang::QualType, std::function const&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp:1029:0 #38 0x0000ffff9607e104 std::_Function_base::~_Function_base() /usr/include/c++/12/bits/std_function.h:243:11 #39 0x0000ffff9607e104 std::function::~function() /usr/include/c++/12/bits/std_function.h:334:0 #40 0x0000ffff9607e104 (anonymous namespace)::StdLibraryFunctionsChecker::RangeConstraint::apply(llvm::IntrusiveRefCntPtr, clang::ento::CallEvent const&, (anonymous namespace)::StdLibraryFunctionsChecker::Summary const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp:1055:0 #41 0x0000ffff96094024 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #42 0x0000ffff96094024 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #43 0x0000ffff96094024 (anonymous namespace)::StdLibraryFunctionsChecker::checkPreCall(clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp:1326:0 #44 0x0000ffff95e09524 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #45 0x0000ffff95e09524 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x0000ffff95e09524 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #47 0x0000ffff95e09524 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #48 0x0000ffff95e09524 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #49 0x0000ffff95e697a0 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #50 0x0000ffff95e697a0 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #51 0x0000ffff95e697a0 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #52 0x0000ffff95e697a0 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #53 0x0000ffff95e697a0 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #54 0x0000ffff95e697a0 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #55 0x0000ffff95e697a0 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:683:44 #56 0x0000ffff95e6a144 clang::ento::ExprEngine::VisitCallExpr(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 0x0000ffff95e4bea0 clang::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 0x0000ffff95e4bea0 clang::ento::ExprEngine::Visit(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 0x0000ffff95e4cf08 clang::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 0x0000ffff95e4d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff95e4d41c clang::ento::CoreEngine::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 0x0000ffff95e4d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #63 0x0000ffff95e4d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #64 0x0000ffff95e4d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #65 0x0000ffff95e4d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #66 0x0000ffff95e4d764 clang::ento::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 0x0000ffff9611787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #68 0x0000ffff9611787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #69 0x0000ffff9611787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #70 0x0000ffff9611787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #71 0x0000ffff9611787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #72 0x0000ffff961187e8 llvm::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 0x0000ffff961187e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #74 0x0000ffff961187e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #75 0x0000ffff9611cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #76 0x0000ffff9611cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #77 0x0000ffff9611cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #78 0x0000ffff9611cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #79 0x0000ffff9611cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #80 0x0000ffff94571e58 __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 0x0000ffff94571e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #82 0x0000ffff94571e58 void clang::finalize>, 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 0x0000ffff94571e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #84 0x0000ffff95c37ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #85 0x0000ffff95befc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #86 0x0000ffff95befc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #87 0x0000ffff95befc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #88 0x0000ffff95c7610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #89 0x0000aaaacff459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #90 0x0000aaaacff494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #91 0x0000aaaacff4aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #92 0x0000aaaacff41fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #93 0x0000ffff8d1e098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #94 0x0000ffff8d1e0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #95 0x0000aaaacff420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/std-c-library-posix-crash.c.script: line 1: 1828992 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.StdCLibraryFunctions -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-c-library-posix-crash.c -- ******************** Testing: 0. FAIL: Clang :: Analysis/stl-algorithm-modeling-aggressive-std-find-modeling.cpp (1146 of 18953) ******************** TEST 'Clang :: Analysis/stl-algorithm-modeling-aggressive-std-find-modeling.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++17 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stl-algorithm-modeling-aggressive-std-find-modeling.cpp -analyzer-checker=core,cplusplus,alpha.cplusplus.STLAlgorithmModeling,debug.DebugIteratorModeling,debug.ExprInspection -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config alpha.cplusplus.STLAlgorithmModeling:AggressiveStdFindModeling=true -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++17 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stl-algorithm-modeling-aggressive-std-find-modeling.cpp -analyzer-checker=core,cplusplus,alpha.cplusplus.STLAlgorithmModeling,debug.DebugIteratorModeling,debug.ExprInspection -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config alpha.cplusplus.STLAlgorithmModeling:AggressiveStdFindModeling=true -verify 1. parser at end of file 2. While analyzing stack: #0 Calling test_search_n4(std::vector, int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stl-algorithm-modeling-aggressive-std-find-modeling.cpp:601:39: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stl-algorithm-modeling-aggressive-std-find-modeling.cpp:601:39: Error evaluating statement #0 0x0000ffffa691acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa6919100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa691b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffaf853800 (linux-vdso.so.1+0x800) #4 0x0000ffffae7fa900 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffffae7fa900 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffae7fa900 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffae7fa900 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffae7fa900 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffae7fa900 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffae7fa900 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x0000ffffae7fa900 getConstraint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1055:37 #12 0x0000ffffae7fa900 (anonymous namespace)::getConstraint(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1060:23 #13 0x0000ffffae7fa9dc (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 0x0000ffffae84e038 getConst /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1238:0 #15 0x0000ffffae84e038 (anonymous namespace)::SimpleSValBuilder::simplifySValOnce(llvm::IntrusiveRefCntPtr, clang::ento::SVal)::Simplifier::getConstOrVisit(clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1246:0 #16 0x0000ffffae84d874 VisitSymIntExpr /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1270:0 #17 0x0000ffffae84d874 clang::ento::SymExprVisitor<(anonymous namespace)::SimpleSValBuilder::simplifySValOnce(llvm::IntrusiveRefCntPtr, clang::ento::SVal)::Simplifier, clang::ento::SVal>::Visit(clang::ento::SymExpr const*) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:0 #18 0x0000ffffaec5a8a4 VisitNonLocSymbolVal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1365:0 #19 0x0000ffffaec5a8a4 Visit /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.def:67:0 #20 0x0000ffffaec5a8a4 (anonymous namespace)::SimpleSValBuilder::simplifySValOnce(llvm::IntrusiveRefCntPtr, clang::ento::SVal) (.constprop.0.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1371:0 #21 0x0000ffffae835484 simplifyUntilFixpoint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1194:40 #22 0x0000ffffae835484 (anonymous namespace)::SimpleSValBuilder::simplifySVal(llvm::IntrusiveRefCntPtr, clang::ento::SVal) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1203:31 #23 0x0000ffffae834a58 clang::ento::simplifyToSVal(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:237:26 #24 0x0000ffffae834b5c clang::ento::simplify(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:241:38 #25 0x0000ffffae835b9c clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:26:17 #26 0x0000ffffae835190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffae835190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffae835190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffae8417d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffae8417d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffae8417d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffae84b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffae84b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffae84b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffae7af6d8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffae7af6d8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffae7af6d8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffae7af6d8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffae7afbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffae7afbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffae7afbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffae7831c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffae7831c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffae7831c0 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffae936504 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #46 0x0000ffffae936504 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #47 0x0000ffffae936504 clang::ento::iterator::assumeNoOverflow(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, long) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/Iterator.cpp:291:0 #48 0x0000ffffae8b2988 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #49 0x0000ffffae8b2988 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffae8b2988 createContainerBegin /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp:850:0 #51 0x0000ffffae8b2988 handleBegin /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp:258:0 #52 0x0000ffffae8b2988 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp:193:0 #53 0x0000ffffae8b2988 void clang::ento::check::PostCall::_checkCall<(anonymous namespace)::ContainerModeling>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:183:0 #54 0x0000ffffae799524 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #55 0x0000ffffae799524 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #56 0x0000ffffae799524 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #57 0x0000ffffae799524 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #58 0x0000ffffae799524 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #59 0x0000ffffae7f98b8 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #60 0x0000ffffae7f98b8 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #61 0x0000ffffae7f98b8 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #62 0x0000ffffae7f98b8 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #63 0x0000ffffae7f98b8 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #64 0x0000ffffae7f98b8 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #65 0x0000ffffae7fa144 clang::ento::ExprEngine::VisitCallExpr(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 0x0000ffffae7dbea0 clang::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 0x0000ffffae7dbea0 clang::ento::ExprEngine::Visit(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 0x0000ffffae7dcf08 clang::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 0x0000ffffae7dd1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffae7dd41c clang::ento::CoreEngine::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 0x0000ffffae7dd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #72 0x0000ffffae7dd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #73 0x0000ffffae7dd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #74 0x0000ffffae7dd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #75 0x0000ffffae7dd764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #76 0x0000ffffaeaa787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #77 0x0000ffffaeaa787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #78 0x0000ffffaeaa787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #79 0x0000ffffaeaa787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #80 0x0000ffffaeaa787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #81 0x0000ffffaeaa87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #82 0x0000ffffaeaa87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #83 0x0000ffffaeaa87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #84 0x0000ffffaeaacde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #85 0x0000ffffaeaacde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #86 0x0000ffffaeaacde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #87 0x0000ffffaeaacde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #88 0x0000ffffaeaacde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #89 0x0000ffffacf01e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #90 0x0000ffffacf01e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #91 0x0000ffffacf01e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #92 0x0000ffffacf01e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #93 0x0000ffffae5c7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #94 0x0000ffffae57fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #95 0x0000ffffae57fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #96 0x0000ffffae57fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #97 0x0000ffffae60610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #98 0x0000aaaab19d59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #99 0x0000aaaab19d94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #100 0x0000aaaab19daac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #101 0x0000aaaab19d1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #102 0x0000ffffa5b7098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #103 0x0000ffffa5b70a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #104 0x0000aaaab19d20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/stl-algorithm-modeling-aggressive-std-find-modeling.cpp.script: line 1: 1829010 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++17 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stl-algorithm-modeling-aggressive-std-find-modeling.cpp -analyzer-checker=core,cplusplus,alpha.cplusplus.STLAlgorithmModeling,debug.DebugIteratorModeling,debug.ExprInspection -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config alpha.cplusplus.STLAlgorithmModeling:AggressiveStdFindModeling=true -verify -- ******************** Testing: 0. FAIL: Clang :: Analysis/stl-algorithm-modeling.cpp (1147 of 18953) ******************** TEST 'Clang :: Analysis/stl-algorithm-modeling.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++17 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stl-algorithm-modeling.cpp -analyzer-checker=core,cplusplus,alpha.cplusplus.STLAlgorithmModeling,debug.DebugIteratorModeling,debug.ExprInspection -analyzer-config aggressive-binary-operation-simplification=true -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++17 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stl-algorithm-modeling.cpp -analyzer-checker=core,cplusplus,alpha.cplusplus.STLAlgorithmModeling,debug.DebugIteratorModeling,debug.ExprInspection -analyzer-config aggressive-binary-operation-simplification=true -verify 1. parser at end of file 2. While analyzing stack: #0 Calling test_search_n4(std::vector, int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stl-algorithm-modeling.cpp:549:39: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stl-algorithm-modeling.cpp:549:39: Error evaluating statement #0 0x0000ffffb0c2acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb0c29100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb0c2b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb9b65800 (linux-vdso.so.1+0x800) #4 0x0000ffffb8b0a900 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffffb8b0a900 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffb8b0a900 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffb8b0a900 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffb8b0a900 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffb8b0a900 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffb8b0a900 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x0000ffffb8b0a900 getConstraint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1055:37 #12 0x0000ffffb8b0a900 (anonymous namespace)::getConstraint(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1060:23 #13 0x0000ffffb8b0a9dc (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 0x0000ffffb8b5e038 getConst /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1238:0 #15 0x0000ffffb8b5e038 (anonymous namespace)::SimpleSValBuilder::simplifySValOnce(llvm::IntrusiveRefCntPtr, clang::ento::SVal)::Simplifier::getConstOrVisit(clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1246:0 #16 0x0000ffffb8b5d874 VisitSymIntExpr /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1270:0 #17 0x0000ffffb8b5d874 clang::ento::SymExprVisitor<(anonymous namespace)::SimpleSValBuilder::simplifySValOnce(llvm::IntrusiveRefCntPtr, clang::ento::SVal)::Simplifier, clang::ento::SVal>::Visit(clang::ento::SymExpr const*) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:40:0 #18 0x0000ffffb8f6a8a4 VisitNonLocSymbolVal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1365:0 #19 0x0000ffffb8f6a8a4 Visit /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.def:67:0 #20 0x0000ffffb8f6a8a4 (anonymous namespace)::SimpleSValBuilder::simplifySValOnce(llvm::IntrusiveRefCntPtr, clang::ento::SVal) (.constprop.0.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1371:0 #21 0x0000ffffb8b45484 simplifyUntilFixpoint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1194:40 #22 0x0000ffffb8b45484 (anonymous namespace)::SimpleSValBuilder::simplifySVal(llvm::IntrusiveRefCntPtr, clang::ento::SVal) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1203:31 #23 0x0000ffffb8b44a58 clang::ento::simplifyToSVal(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:237:26 #24 0x0000ffffb8b44b5c clang::ento::simplify(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:241:38 #25 0x0000ffffb8b45b9c clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:26:17 #26 0x0000ffffb8b45190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb8b45190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb8b45190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb8b517d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb8b517d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb8b517d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb8b5b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb8b5b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb8b5b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb8abf6d8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb8abf6d8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb8abf6d8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb8abf6d8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffb8abfbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb8abfbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb8abfbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffb8a931c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffb8a931c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffb8a931c0 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffb8c46504 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #46 0x0000ffffb8c46504 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #47 0x0000ffffb8c46504 clang::ento::iterator::assumeNoOverflow(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, long) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/Iterator.cpp:291:0 #48 0x0000ffffb8bc2988 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #49 0x0000ffffb8bc2988 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffb8bc2988 createContainerBegin /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp:850:0 #51 0x0000ffffb8bc2988 handleBegin /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp:258:0 #52 0x0000ffffb8bc2988 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ContainerModeling.cpp:193:0 #53 0x0000ffffb8bc2988 void clang::ento::check::PostCall::_checkCall<(anonymous namespace)::ContainerModeling>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:183:0 #54 0x0000ffffb8aa9524 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #55 0x0000ffffb8aa9524 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #56 0x0000ffffb8aa9524 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #57 0x0000ffffb8aa9524 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #58 0x0000ffffb8aa9524 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #59 0x0000ffffb8b098b8 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #60 0x0000ffffb8b098b8 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #61 0x0000ffffb8b098b8 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #62 0x0000ffffb8b098b8 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #63 0x0000ffffb8b098b8 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #64 0x0000ffffb8b098b8 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #65 0x0000ffffb8b0a144 clang::ento::ExprEngine::VisitCallExpr(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 0x0000ffffb8aebea0 clang::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 0x0000ffffb8aebea0 clang::ento::ExprEngine::Visit(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 0x0000ffffb8aecf08 clang::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 0x0000ffffb8aed1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffb8aed41c clang::ento::CoreEngine::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 0x0000ffffb8aed764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #72 0x0000ffffb8aed764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #73 0x0000ffffb8aed764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #74 0x0000ffffb8aed764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #75 0x0000ffffb8aed764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #76 0x0000ffffb8db787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #77 0x0000ffffb8db787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #78 0x0000ffffb8db787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #79 0x0000ffffb8db787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #80 0x0000ffffb8db787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #81 0x0000ffffb8db87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #82 0x0000ffffb8db87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #83 0x0000ffffb8db87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #84 0x0000ffffb8dbcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #85 0x0000ffffb8dbcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #86 0x0000ffffb8dbcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #87 0x0000ffffb8dbcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #88 0x0000ffffb8dbcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #89 0x0000ffffb7211e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #90 0x0000ffffb7211e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #91 0x0000ffffb7211e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #92 0x0000ffffb7211e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #93 0x0000ffffb88d7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #94 0x0000ffffb888fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #95 0x0000ffffb888fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #96 0x0000ffffb888fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #97 0x0000ffffb891610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #98 0x0000aaaac8db59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #99 0x0000aaaac8db94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #100 0x0000aaaac8dbaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #101 0x0000aaaac8db1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #102 0x0000ffffafe8098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #103 0x0000ffffafe80a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #104 0x0000aaaac8db20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/stl-algorithm-modeling.cpp.script: line 1: 1829017 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++17 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stl-algorithm-modeling.cpp -analyzer-checker=core,cplusplus,alpha.cplusplus.STLAlgorithmModeling,debug.DebugIteratorModeling,debug.ExprInspection -analyzer-config aggressive-binary-operation-simplification=true -verify -- ******************** Testing: 0. FAIL: Clang :: Analysis/std-string.cpp (1148 of 18953) ******************** TEST 'Clang :: Analysis/std-string.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-string.cpp -verify -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-checker=cplusplus.StringChecker -analyzer-config eagerly-assume=false -analyzer-output=text -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-string.cpp -verify -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-checker=cplusplus.StringChecker -analyzer-config eagerly-assume=false -analyzer-output=text 1. parser at end of file 2. While analyzing stack: #0 Calling ctor_no_notetag_if_not_interesting(const char *, const char *) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-string.cpp:81:15: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-string.cpp:81:15: Error evaluating statement #0 0x0000ffff99e8acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff99e89100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff99e8b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa2dc5800 (linux-vdso.so.1+0x800) #4 0x0000ffffa20e3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa20e3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa20e3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa20e3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa20e3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa20e3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa20e3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa20e3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa1d90c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa1d90c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa1d90c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa1d90c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa1d91ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa1d91ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa1d91ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa1d91ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa1da4770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa1da4770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa1da4770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa1da5cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa1da5cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa1da5cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa1da5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa1da5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa1da5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa1db17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa1db17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa1db17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa1dbb074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa1dbb074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa1dbb074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa1d1f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa1d1f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa1d1f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa1d1f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa220d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa220d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa220d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffa1f956d4 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffa1f956d4 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffa1f956d4 checkPreCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StringChecker.cpp:77:0 #45 0x0000ffffa1f956d4 void clang::ento::check::PreCall::_checkCall<(anonymous namespace)::StringChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:168:0 #46 0x0000ffffa1d09524 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #47 0x0000ffffa1d09524 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #48 0x0000ffffa1d09524 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #49 0x0000ffffa1d09524 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #50 0x0000ffffa1d09524 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #51 0x0000ffffa1d45f88 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #52 0x0000ffffa1d45f88 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #53 0x0000ffffa1d45f88 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #54 0x0000ffffa1d45f88 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #55 0x0000ffffa1d45f88 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #56 0x0000ffffa1d45f88 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #57 0x0000ffffa1d45f88 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #58 0x0000ffffa1d45f88 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #59 0x0000ffffa1d45f88 clang::ento::ExprEngine::handleConstructor(clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:777:0 #60 0x0000ffffa1d4be5c clang::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 0x0000ffffa1d4be5c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2158:0 #62 0x0000ffffa1d4cf08 clang::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 0x0000ffffa1d4d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffa1d4d41c clang::ento::CoreEngine::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 0x0000ffffa1d4d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #66 0x0000ffffa1d4d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #67 0x0000ffffa1d4d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #68 0x0000ffffa1d4d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #69 0x0000ffffa1d4d764 clang::ento::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 0x0000ffffa201787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #71 0x0000ffffa201787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #72 0x0000ffffa201787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #73 0x0000ffffa201787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #74 0x0000ffffa201787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #75 0x0000ffffa20187e8 llvm::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 0x0000ffffa20187e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #77 0x0000ffffa20187e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #78 0x0000ffffa201cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #79 0x0000ffffa201cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #80 0x0000ffffa201cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #81 0x0000ffffa201cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #82 0x0000ffffa201cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #83 0x0000ffffa0471e58 __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 0x0000ffffa0471e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #85 0x0000ffffa0471e58 void clang::finalize>, 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 0x0000ffffa0471e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #87 0x0000ffffa1b37ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #88 0x0000ffffa1aefc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #89 0x0000ffffa1aefc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #90 0x0000ffffa1aefc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #91 0x0000ffffa1b7610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #92 0x0000aaaabdff59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #93 0x0000aaaabdff94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #94 0x0000aaaabdffaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #95 0x0000aaaabdff1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #96 0x0000ffff990e098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #97 0x0000ffff990e0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #98 0x0000aaaabdff20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/std-string.cpp.script: line 1: 1829009 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/std-string.cpp -verify -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-checker=cplusplus.StringChecker -analyzer-config eagerly-assume=false -analyzer-output=text -- ******************** Testing: 0. FAIL: Clang :: Analysis/stream-errno-note.c (1149 of 18953) ******************** TEST 'Clang :: Analysis/stream-errno-note.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-checker=alpha.unix.Stream -analyzer-checker=alpha.unix.Errno -analyzer-checker=alpha.unix.StdCLibraryFunctions -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true -analyzer-output text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream-errno-note.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-checker=alpha.unix.Stream -analyzer-checker=alpha.unix.Errno -analyzer-checker=alpha.unix.StdCLibraryFunctions -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true -analyzer-output text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream-errno-note.c 1. parser at end of file #0 0x0000ffffadebacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffadeb9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffadebb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb6df3800 (linux-vdso.so.1+0x800) #4 0x0000ffffb5df2628 clang::ento::MemRegion::getKind() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h:172:0 #5 0x0000ffffb5df2628 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 0x0000ffffb5df2628 llvm::isa_impl::doit(clang::ento::MemRegion const&) /usr/include/llvm/Support/Casting.h:64:0 #7 0x0000ffffb5df2628 llvm::isa_impl_cl::doit(clang::ento::MemRegion const*) /usr/include/llvm/Support/Casting.h:110:0 #8 0x0000ffffb5df2628 llvm::isa_impl_wrap::doit(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:137:0 #9 0x0000ffffb5df2628 llvm::isa_impl_wrap::doit(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:129:0 #10 0x0000ffffb5df2628 llvm::CastIsPossible::isPossible(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:257:0 #11 0x0000ffffb5df2628 llvm::CastInfo::doCastIfPossible(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:493:0 #12 0x0000ffffb5df2628 decltype(auto) llvm::dyn_cast(clang::ento::MemRegion const*) /usr/include/llvm/Support/Casting.h:663:0 #13 0x0000ffffb5df2628 (anonymous namespace)::RegionStoreManager::bind((anonymous namespace)::RegionBindingsRef const&, clang::ento::Loc, clang::ento::SVal) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RegionStore.cpp:2368:0 #14 0x0000ffffb5df2b3c asImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:258:62 #15 0x0000ffffb5df2b3c asStore /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RegionStore.cpp:225:23 #16 0x0000ffffb5df2b3c (anonymous namespace)::RegionStoreManager::Bind(void const*, clang::ento::Loc, clang::ento::SVal) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RegionStore.cpp:443:0 #17 0x0000ffffb5dacb28 clang::ento::ProgramState::makeWithStore(clang::ento::StoreRef const&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:434:27 #18 0x0000ffffb5dacb28 clang::ento::ProgramState::bindLoc(clang::ento::Loc, clang::ento::SVal, clang::LocationContext const*, bool) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:120:0 #19 0x0000ffffb5e88fa8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #20 0x0000ffffb5e88fa8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #21 0x0000ffffb5e88fa8 clang::ento::errno_modeling::setErrnoValue(llvm::IntrusiveRefCntPtr, clang::ento::CheckerContext&, unsigned long, clang::ento::errno_modeling::ErrnoCheckState) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ErrnoModeling.cpp:240:0 #22 0x0000ffffb5e8ab68 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #23 0x0000ffffb5e8ab68 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #24 0x0000ffffb5e8ab68 checkBeginFunction /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ErrnoModeling.cpp:177:0 #25 0x0000ffffb5e8ab68 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 0x0000ffffb5d38388 expandGraphWithCheckers<(anonymous namespace)::CheckBeginFunctionContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #27 0x0000ffffb5d38388 clang::ento::CheckerManager::runCheckersForBeginFunction(clang::ento::ExplodedNodeSet&, clang::BlockEdge const&, clang::ento::ExplodedNode*, clang::ento::ExprEngine&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:441:0 #28 0x0000ffffb5d7da24 llvm::SaveAndRestore::~SaveAndRestore() /usr/include/llvm/Support/SaveAndRestore.h:29:25 #29 0x0000ffffb5d7da24 clang::ento::ExprEngine::processBeginOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::BlockEdge const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2884:1 #30 0x0000ffffb5d7da24 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:124:0 #31 0x0000ffffb604787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #32 0x0000ffffb604787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #33 0x0000ffffb604787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #34 0x0000ffffb604787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #35 0x0000ffffb604787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #36 0x0000ffffb60487e8 llvm::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 0x0000ffffb60487e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #38 0x0000ffffb60487e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #39 0x0000ffffb604cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #40 0x0000ffffb604cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #41 0x0000ffffb604cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #42 0x0000ffffb604cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #43 0x0000ffffb604cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #44 0x0000ffffb44a1e58 __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 0x0000ffffb44a1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #46 0x0000ffffb44a1e58 void clang::finalize>, 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 0x0000ffffb44a1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #48 0x0000ffffb5b67ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #49 0x0000ffffb5b1fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #50 0x0000ffffb5b1fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #51 0x0000ffffb5b1fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #52 0x0000ffffb5ba610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #53 0x0000aaaad39359f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #54 0x0000aaaad39394b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #55 0x0000aaaad393aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #56 0x0000aaaad3931fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #57 0x0000ffffad11098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #58 0x0000ffffad110a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #59 0x0000aaaad39320b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/stream-errno-note.c.script: line 1: 1829027 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-checker=alpha.unix.Stream -analyzer-checker=alpha.unix.Errno -analyzer-checker=alpha.unix.StdCLibraryFunctions -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true -analyzer-output text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream-errno-note.c -- ******************** Testing: 0. FAIL: Clang :: Analysis/stream-noopen.c (1150 of 18953) ******************** TEST 'Clang :: Analysis/stream-noopen.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream-noopen.c -analyzer-checker=core -analyzer-checker=alpha.unix.Errno -analyzer-checker=alpha.unix.Stream -analyzer-checker=alpha.unix.StdCLibraryFunctions -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true -analyzer-checker=debug.ExprInspection : 'RUN: at line 10'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream-noopen.c -analyzer-checker=core -analyzer-checker=alpha.unix.Errno -analyzer-checker=alpha.unix.StdCLibraryFunctions -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true -analyzer-checker=debug.ExprInspection -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream-noopen.c -analyzer-checker=core -analyzer-checker=alpha.unix.Errno -analyzer-checker=alpha.unix.Stream -analyzer-checker=alpha.unix.StdCLibraryFunctions -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true -analyzer-checker=debug.ExprInspection 1. parser at end of file #0 0x0000ffff91cdacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff91cd9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff91cdb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9ac16800 (linux-vdso.so.1+0x800) #4 0x0000ffff99c12628 clang::ento::MemRegion::getKind() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h:172:0 #5 0x0000ffff99c12628 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 0x0000ffff99c12628 llvm::isa_impl::doit(clang::ento::MemRegion const&) /usr/include/llvm/Support/Casting.h:64:0 #7 0x0000ffff99c12628 llvm::isa_impl_cl::doit(clang::ento::MemRegion const*) /usr/include/llvm/Support/Casting.h:110:0 #8 0x0000ffff99c12628 llvm::isa_impl_wrap::doit(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:137:0 #9 0x0000ffff99c12628 llvm::isa_impl_wrap::doit(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:129:0 #10 0x0000ffff99c12628 llvm::CastIsPossible::isPossible(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:257:0 #11 0x0000ffff99c12628 llvm::CastInfo::doCastIfPossible(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:493:0 #12 0x0000ffff99c12628 decltype(auto) llvm::dyn_cast(clang::ento::MemRegion const*) /usr/include/llvm/Support/Casting.h:663:0 #13 0x0000ffff99c12628 (anonymous namespace)::RegionStoreManager::bind((anonymous namespace)::RegionBindingsRef const&, clang::ento::Loc, clang::ento::SVal) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RegionStore.cpp:2368:0 #14 0x0000ffff99c12b3c asImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:258:62 #15 0x0000ffff99c12b3c asStore /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RegionStore.cpp:225:23 #16 0x0000ffff99c12b3c (anonymous namespace)::RegionStoreManager::Bind(void const*, clang::ento::Loc, clang::ento::SVal) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RegionStore.cpp:443:0 #17 0x0000ffff99bccb28 clang::ento::ProgramState::makeWithStore(clang::ento::StoreRef const&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:434:27 #18 0x0000ffff99bccb28 clang::ento::ProgramState::bindLoc(clang::ento::Loc, clang::ento::SVal, clang::LocationContext const*, bool) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:120:0 #19 0x0000ffff99ca8fa8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #20 0x0000ffff99ca8fa8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #21 0x0000ffff99ca8fa8 clang::ento::errno_modeling::setErrnoValue(llvm::IntrusiveRefCntPtr, clang::ento::CheckerContext&, unsigned long, clang::ento::errno_modeling::ErrnoCheckState) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ErrnoModeling.cpp:240:0 #22 0x0000ffff99caa95c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #23 0x0000ffff99caa95c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #24 0x0000ffff99caa95c checkBeginFunction /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ErrnoModeling.cpp:149:0 #25 0x0000ffff99caa95c 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 0x0000ffff99b58388 expandGraphWithCheckers<(anonymous namespace)::CheckBeginFunctionContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #27 0x0000ffff99b58388 clang::ento::CheckerManager::runCheckersForBeginFunction(clang::ento::ExplodedNodeSet&, clang::BlockEdge const&, clang::ento::ExplodedNode*, clang::ento::ExprEngine&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:441:0 #28 0x0000ffff99b9da24 llvm::SaveAndRestore::~SaveAndRestore() /usr/include/llvm/Support/SaveAndRestore.h:29:25 #29 0x0000ffff99b9da24 clang::ento::ExprEngine::processBeginOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::BlockEdge const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2884:1 #30 0x0000ffff99b9da24 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:124:0 #31 0x0000ffff99e6787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #32 0x0000ffff99e6787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #33 0x0000ffff99e6787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #34 0x0000ffff99e6787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #35 0x0000ffff99e6787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #36 0x0000ffff99e687e8 llvm::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 0x0000ffff99e687e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #38 0x0000ffff99e687e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #39 0x0000ffff99e6cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #40 0x0000ffff99e6cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #41 0x0000ffff99e6cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #42 0x0000ffff99e6cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #43 0x0000ffff99e6cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #44 0x0000ffff982c1e58 __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 0x0000ffff982c1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #46 0x0000ffff982c1e58 void clang::finalize>, 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 0x0000ffff982c1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #48 0x0000ffff99987ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #49 0x0000ffff9993fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #50 0x0000ffff9993fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #51 0x0000ffff9993fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #52 0x0000ffff999c610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #53 0x0000aaaae76f59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #54 0x0000aaaae76f94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #55 0x0000aaaae76faac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #56 0x0000aaaae76f1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #57 0x0000ffff90f3098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #58 0x0000ffff90f30a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #59 0x0000aaaae76f20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/stream-noopen.c.script: line 2: 1829050 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream-noopen.c -analyzer-checker=core -analyzer-checker=alpha.unix.Errno -analyzer-checker=alpha.unix.Stream -analyzer-checker=alpha.unix.StdCLibraryFunctions -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true -analyzer-checker=debug.ExprInspection -- ******************** Testing: 0. FAIL: Clang :: Analysis/stream-errno.c (1151 of 18953) ******************** TEST 'Clang :: Analysis/stream-errno.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.Stream,alpha.unix.Errno,alpha.unix.StdCLibraryFunctions,debug.ExprInspection -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream-errno.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.Stream,alpha.unix.Errno,alpha.unix.StdCLibraryFunctions,debug.ExprInspection -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream-errno.c 1. parser at end of file #0 0x0000ffffb4e6acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb4e69100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb4e6b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffbdda3800 (linux-vdso.so.1+0x800) #4 0x0000ffffbcda2628 clang::ento::MemRegion::getKind() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h:172:0 #5 0x0000ffffbcda2628 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 0x0000ffffbcda2628 llvm::isa_impl::doit(clang::ento::MemRegion const&) /usr/include/llvm/Support/Casting.h:64:0 #7 0x0000ffffbcda2628 llvm::isa_impl_cl::doit(clang::ento::MemRegion const*) /usr/include/llvm/Support/Casting.h:110:0 #8 0x0000ffffbcda2628 llvm::isa_impl_wrap::doit(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:137:0 #9 0x0000ffffbcda2628 llvm::isa_impl_wrap::doit(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:129:0 #10 0x0000ffffbcda2628 llvm::CastIsPossible::isPossible(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:257:0 #11 0x0000ffffbcda2628 llvm::CastInfo::doCastIfPossible(clang::ento::MemRegion const* const&) /usr/include/llvm/Support/Casting.h:493:0 #12 0x0000ffffbcda2628 decltype(auto) llvm::dyn_cast(clang::ento::MemRegion const*) /usr/include/llvm/Support/Casting.h:663:0 #13 0x0000ffffbcda2628 (anonymous namespace)::RegionStoreManager::bind((anonymous namespace)::RegionBindingsRef const&, clang::ento::Loc, clang::ento::SVal) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RegionStore.cpp:2368:0 #14 0x0000ffffbcda2b3c asImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:258:62 #15 0x0000ffffbcda2b3c asStore /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RegionStore.cpp:225:23 #16 0x0000ffffbcda2b3c (anonymous namespace)::RegionStoreManager::Bind(void const*, clang::ento::Loc, clang::ento::SVal) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RegionStore.cpp:443:0 #17 0x0000ffffbcd5cb28 clang::ento::ProgramState::makeWithStore(clang::ento::StoreRef const&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:434:27 #18 0x0000ffffbcd5cb28 clang::ento::ProgramState::bindLoc(clang::ento::Loc, clang::ento::SVal, clang::LocationContext const*, bool) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:120:0 #19 0x0000ffffbce38fa8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #20 0x0000ffffbce38fa8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #21 0x0000ffffbce38fa8 clang::ento::errno_modeling::setErrnoValue(llvm::IntrusiveRefCntPtr, clang::ento::CheckerContext&, unsigned long, clang::ento::errno_modeling::ErrnoCheckState) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ErrnoModeling.cpp:240:0 #22 0x0000ffffbce3ab68 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #23 0x0000ffffbce3ab68 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #24 0x0000ffffbce3ab68 checkBeginFunction /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ErrnoModeling.cpp:177:0 #25 0x0000ffffbce3ab68 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 0x0000ffffbcce8388 expandGraphWithCheckers<(anonymous namespace)::CheckBeginFunctionContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #27 0x0000ffffbcce8388 clang::ento::CheckerManager::runCheckersForBeginFunction(clang::ento::ExplodedNodeSet&, clang::BlockEdge const&, clang::ento::ExplodedNode*, clang::ento::ExprEngine&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:441:0 #28 0x0000ffffbcd2da24 llvm::SaveAndRestore::~SaveAndRestore() /usr/include/llvm/Support/SaveAndRestore.h:29:25 #29 0x0000ffffbcd2da24 clang::ento::ExprEngine::processBeginOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::BlockEdge const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2884:1 #30 0x0000ffffbcd2da24 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:124:0 #31 0x0000ffffbcff787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #32 0x0000ffffbcff787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #33 0x0000ffffbcff787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #34 0x0000ffffbcff787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #35 0x0000ffffbcff787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #36 0x0000ffffbcff87e8 llvm::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 0x0000ffffbcff87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #38 0x0000ffffbcff87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #39 0x0000ffffbcffcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #40 0x0000ffffbcffcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #41 0x0000ffffbcffcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #42 0x0000ffffbcffcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #43 0x0000ffffbcffcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #44 0x0000ffffbb451e58 __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 0x0000ffffbb451e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #46 0x0000ffffbb451e58 void clang::finalize>, 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 0x0000ffffbb451e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #48 0x0000ffffbcb17ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #49 0x0000ffffbcacfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #50 0x0000ffffbcacfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #51 0x0000ffffbcacfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #52 0x0000ffffbcb5610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #53 0x0000aaaac42c59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #54 0x0000aaaac42c94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #55 0x0000aaaac42caac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #56 0x0000aaaac42c1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #57 0x0000ffffb40c098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #58 0x0000ffffb40c0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #59 0x0000aaaac42c20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/stream-errno.c.script: line 1: 1829042 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.Stream,alpha.unix.Errno,alpha.unix.StdCLibraryFunctions,debug.ExprInspection -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream-errno.c -- ******************** Testing: 0. FAIL: Clang :: Analysis/stream-error.c (1152 of 18953) ******************** TEST 'Clang :: Analysis/stream-error.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream-error.c -analyzer-checker=core -analyzer-checker=alpha.unix.Stream -analyzer-checker=debug.StreamTester -analyzer-checker=debug.ExprInspection -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream-error.c -analyzer-checker=core -analyzer-checker=alpha.unix.Stream -analyzer-checker=debug.StreamTester -analyzer-checker=debug.ExprInspection 1. parser at end of file 2. While analyzing stack: #0 Calling error_indeterminate_feof2 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream-error.c:259:13: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream-error.c:259:13: Error evaluating statement #0 0x0000ffffafe3acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffafe39100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffafe3b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb8d79800 (linux-vdso.so.1+0x800) #4 0x0000ffffb8093688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb8093688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb8093688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb8093688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb8093688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb8093688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb8093688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb8093688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb7d40c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb7d40c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb7d40c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb7d40c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb7d41ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb7d41ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb7d41ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb7d41ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb7d54770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb7d54770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb7d54770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb7d55cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb7d55cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb7d55cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb7d55190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb7d55190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb7d55190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb7d617d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb7d617d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb7d617d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb7d6b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb7d6b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb7d6b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb7ccf72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb7ccf72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb7ccf72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb7ccf72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb7f46a1c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x0000ffffb7f46a1c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x0000ffffb7f46a1c (anonymous namespace)::StreamChecker::evalFopen((anonymous namespace)::FnDescription const*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StreamChecker.cpp:545:0 #42 0x0000ffffb7f28858 clang::ento::CheckerContext::isDifferent() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h:76:31 #43 0x0000ffffb7f28858 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StreamChecker.cpp:525:23 #44 0x0000ffffb7f28858 bool clang::ento::eval::Call::_evalCall<(anonymous namespace)::StreamChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:478:48 #45 0x0000ffffb7cb9f0c clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:694:0 #46 0x0000ffffb7d1981c llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #47 0x0000ffffb7d1981c llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #48 0x0000ffffb7d1981c clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #49 0x0000ffffb7d1981c clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:696:26 #50 0x0000ffffb7d1a144 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #51 0x0000ffffb7cfbea0 clang::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 0x0000ffffb7cfbea0 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #53 0x0000ffffb7cfcf08 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #54 0x0000ffffb7cfd1f0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #55 0x0000ffffb7cfd41c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #56 0x0000ffffb7cfd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #57 0x0000ffffb7cfd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #58 0x0000ffffb7cfd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #59 0x0000ffffb7cfd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #60 0x0000ffffb7cfd764 clang::ento::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 0x0000ffffb7fc787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #62 0x0000ffffb7fc787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #63 0x0000ffffb7fc787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #64 0x0000ffffb7fc787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #65 0x0000ffffb7fc787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #66 0x0000ffffb7fc87e8 llvm::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 0x0000ffffb7fc87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #68 0x0000ffffb7fc87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #69 0x0000ffffb7fccde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #70 0x0000ffffb7fccde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #71 0x0000ffffb7fccde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #72 0x0000ffffb7fccde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #73 0x0000ffffb7fccde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #74 0x0000ffffb6421e58 __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 0x0000ffffb6421e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #76 0x0000ffffb6421e58 void clang::finalize>, 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 0x0000ffffb6421e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #78 0x0000ffffb7ae7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #79 0x0000ffffb7a9fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #80 0x0000ffffb7a9fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #81 0x0000ffffb7a9fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #82 0x0000ffffb7b2610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #83 0x0000aaaad4ed59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #84 0x0000aaaad4ed94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #85 0x0000aaaad4edaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #86 0x0000aaaad4ed1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #87 0x0000ffffaf09098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #88 0x0000ffffaf090a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #89 0x0000aaaad4ed20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/stream-error.c.script: line 1: 1829047 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream-error.c -analyzer-checker=core -analyzer-checker=alpha.unix.Stream -analyzer-checker=debug.StreamTester -analyzer-checker=debug.ExprInspection -- ******************** Testing: 0. FAIL: Clang :: Analysis/stream-note.c (1153 of 18953) ******************** TEST 'Clang :: Analysis/stream-note.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.Stream -analyzer-output text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream-note.c : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.Stream,alpha.unix.StdCLibraryFunctions -analyzer-output text -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true -verify=expected,stdargs /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream-note.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.Stream -analyzer-output text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream-note.c 1. parser at end of file 2. While analyzing stack: #0 Calling check_eof_notes_feof_or_no_error 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream-note.c:147:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream-note.c:147:7: Error evaluating statement #0 0x0000ffff9c8aacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff9c8a9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9c8ab388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa57eb800 (linux-vdso.so.1+0x800) #4 0x0000ffffa4b03688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa4b03688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa4b03688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa4b03688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa4b03688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa4b03688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa4b03688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa4b03688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa47b0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa47b0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa47b0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa47b0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa47b1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa47b1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa47b1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa47b1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa47c4770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa47c4770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa47c4770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa47c5cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa47c5cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa47c5cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa47c5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa47c5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa47c5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa47d17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa47d17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa47d17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa47db074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa47db074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa47db074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa473f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa473f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa473f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa473f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa49b6a1c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x0000ffffa49b6a1c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x0000ffffa49b6a1c (anonymous namespace)::StreamChecker::evalFopen((anonymous namespace)::FnDescription const*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StreamChecker.cpp:545:0 #42 0x0000ffffa4998858 clang::ento::CheckerContext::isDifferent() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h:76:31 #43 0x0000ffffa4998858 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StreamChecker.cpp:525:23 #44 0x0000ffffa4998858 bool clang::ento::eval::Call::_evalCall<(anonymous namespace)::StreamChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:478:48 #45 0x0000ffffa4729f0c clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:694:0 #46 0x0000ffffa478981c llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #47 0x0000ffffa478981c llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #48 0x0000ffffa478981c clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #49 0x0000ffffa478981c clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:696:26 #50 0x0000ffffa478a144 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #51 0x0000ffffa476bea0 clang::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 0x0000ffffa476bea0 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #53 0x0000ffffa476cf08 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #54 0x0000ffffa476d1f0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #55 0x0000ffffa476d41c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #56 0x0000ffffa476d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #57 0x0000ffffa476d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #58 0x0000ffffa476d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #59 0x0000ffffa476d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #60 0x0000ffffa476d764 clang::ento::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 0x0000ffffa4a3787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #62 0x0000ffffa4a3787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #63 0x0000ffffa4a3787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #64 0x0000ffffa4a3787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #65 0x0000ffffa4a3787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #66 0x0000ffffa4a387e8 llvm::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 0x0000ffffa4a387e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #68 0x0000ffffa4a387e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #69 0x0000ffffa4a3cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #70 0x0000ffffa4a3cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #71 0x0000ffffa4a3cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #72 0x0000ffffa4a3cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #73 0x0000ffffa4a3cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #74 0x0000ffffa2e91e58 __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 0x0000ffffa2e91e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #76 0x0000ffffa2e91e58 void clang::finalize>, 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 0x0000ffffa2e91e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #78 0x0000ffffa4557ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #79 0x0000ffffa450fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #80 0x0000ffffa450fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #81 0x0000ffffa450fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #82 0x0000ffffa459610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #83 0x0000aaaacc6859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #84 0x0000aaaacc6894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #85 0x0000aaaacc68aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #86 0x0000aaaacc681fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #87 0x0000ffff9bb0098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #88 0x0000ffff9bb00a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #89 0x0000aaaacc6820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/stream-note.c.script: line 2: 1829054 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.Stream -analyzer-output text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream-note.c -- ******************** Testing: 0. FAIL: Clang :: Analysis/stream.c (1154 of 18953) ******************** TEST 'Clang :: Analysis/stream.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.Stream -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.Stream -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream.c 1. parser at end of file 2. While analyzing stack: #0 Calling check_leak_noreturn_2 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream.c:260:14: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream.c:260:14: Error evaluating statement #0 0x0000ffffb327acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb3279100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb327b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffbc1be800 (linux-vdso.so.1+0x800) #4 0x0000ffffbb4d3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffbb4d3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffbb4d3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffbb4d3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffbb4d3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffbb4d3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffbb4d3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffbb4d3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffbb180c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffbb180c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffbb180c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffbb180c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffbb181ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffbb181ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffbb181ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffbb181ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffbb194770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffbb194770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffbb194770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffbb195cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffbb195cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffbb195cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffbb195190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffbb195190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffbb195190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffbb1a17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffbb1a17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffbb1a17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffbb1ab074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffbb1ab074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffbb1ab074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffbb10f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffbb10f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffbb10f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffbb10f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffbb386a1c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x0000ffffbb386a1c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x0000ffffbb386a1c (anonymous namespace)::StreamChecker::evalFopen((anonymous namespace)::FnDescription const*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StreamChecker.cpp:545:0 #42 0x0000ffffbb368858 clang::ento::CheckerContext::isDifferent() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h:76:31 #43 0x0000ffffbb368858 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StreamChecker.cpp:525:23 #44 0x0000ffffbb368858 bool clang::ento::eval::Call::_evalCall<(anonymous namespace)::StreamChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:478:48 #45 0x0000ffffbb0f9f0c clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:694:0 #46 0x0000ffffbb15981c llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #47 0x0000ffffbb15981c llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #48 0x0000ffffbb15981c clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #49 0x0000ffffbb15981c clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:696:26 #50 0x0000ffffbb15a144 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #51 0x0000ffffbb13bea0 clang::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 0x0000ffffbb13bea0 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #53 0x0000ffffbb13cf08 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #54 0x0000ffffbb13d1f0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #55 0x0000ffffbb13d41c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #56 0x0000ffffbb13d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #57 0x0000ffffbb13d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #58 0x0000ffffbb13d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #59 0x0000ffffbb13d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #60 0x0000ffffbb13d764 clang::ento::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 0x0000ffffbb40787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #62 0x0000ffffbb40787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #63 0x0000ffffbb40787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #64 0x0000ffffbb40787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #65 0x0000ffffbb40787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #66 0x0000ffffbb4087e8 llvm::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 0x0000ffffbb4087e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #68 0x0000ffffbb4087e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #69 0x0000ffffbb40cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #70 0x0000ffffbb40cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #71 0x0000ffffbb40cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #72 0x0000ffffbb40cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #73 0x0000ffffbb40cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #74 0x0000ffffb9861e58 __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 0x0000ffffb9861e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #76 0x0000ffffb9861e58 void clang::finalize>, 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 0x0000ffffb9861e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #78 0x0000ffffbaf27ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #79 0x0000ffffbaedfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #80 0x0000ffffbaedfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #81 0x0000ffffbaedfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #82 0x0000ffffbaf6610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #83 0x0000aaaae26d59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #84 0x0000aaaae26d94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #85 0x0000aaaae26daac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #86 0x0000aaaae26d1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #87 0x0000ffffb24d098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #88 0x0000ffffb24d0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #89 0x0000aaaae26d20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/stream.c.script: line 1: 1829086 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.Stream -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream.c -- ******************** Testing: 0. FAIL: Clang :: Analysis/stream.cpp (1155 of 18953) ******************** TEST 'Clang :: Analysis/stream.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.Stream -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.Stream -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling f2() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream.cpp:21:13: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream.cpp:21:13: Error evaluating statement #0 0x0000ffffa435acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa4359100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa435b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffad295800 (linux-vdso.so.1+0x800) #4 0x0000ffffac5b3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffac5b3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffac5b3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffac5b3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffac5b3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffac5b3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffac5b3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffac5b3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffac260c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffac260c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffac260c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffac260c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffac261ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffac261ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffac261ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffac261ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffac274770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffac274770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffac274770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffac275cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffac275cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffac275cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffac275190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffac275190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffac275190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffac2817d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffac2817d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffac2817d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffac28b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffac28b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffac28b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffac1ef72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffac1ef72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffac1ef72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffac1ef72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffac466a1c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x0000ffffac466a1c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x0000ffffac466a1c (anonymous namespace)::StreamChecker::evalFopen((anonymous namespace)::FnDescription const*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StreamChecker.cpp:545:0 #42 0x0000ffffac448858 clang::ento::CheckerContext::isDifferent() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h:76:31 #43 0x0000ffffac448858 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StreamChecker.cpp:525:23 #44 0x0000ffffac448858 bool clang::ento::eval::Call::_evalCall<(anonymous namespace)::StreamChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:478:48 #45 0x0000ffffac1d9f0c clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:694:0 #46 0x0000ffffac23981c llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #47 0x0000ffffac23981c llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #48 0x0000ffffac23981c clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #49 0x0000ffffac23981c clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:696:26 #50 0x0000ffffac23a144 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #51 0x0000ffffac21bea0 clang::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 0x0000ffffac21bea0 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #53 0x0000ffffac21cf08 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #54 0x0000ffffac21d1f0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #55 0x0000ffffac21d41c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #56 0x0000ffffac21d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #57 0x0000ffffac21d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #58 0x0000ffffac21d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #59 0x0000ffffac21d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #60 0x0000ffffac21d764 clang::ento::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 0x0000ffffac4e787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #62 0x0000ffffac4e787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #63 0x0000ffffac4e787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #64 0x0000ffffac4e787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #65 0x0000ffffac4e787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #66 0x0000ffffac4e87e8 llvm::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 0x0000ffffac4e87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #68 0x0000ffffac4e87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #69 0x0000ffffac4ecde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #70 0x0000ffffac4ecde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #71 0x0000ffffac4ecde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #72 0x0000ffffac4ecde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #73 0x0000ffffac4ecde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #74 0x0000ffffaa941e58 __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 0x0000ffffaa941e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #76 0x0000ffffaa941e58 void clang::finalize>, 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 0x0000ffffaa941e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #78 0x0000ffffac007ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #79 0x0000ffffabfbfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #80 0x0000ffffabfbfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #81 0x0000ffffabfbfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #82 0x0000ffffac04610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #83 0x0000aaaad7fc59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #84 0x0000aaaad7fc94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #85 0x0000aaaad7fcaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #86 0x0000aaaad7fc1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #87 0x0000ffffa35b098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #88 0x0000ffffa35b0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #89 0x0000aaaad7fc20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/stream.cpp.script: line 1: 1829088 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.Stream -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream.cpp -- ******************** Testing: 0. FAIL: Clang :: Analysis/stream-stdlibraryfunctionargs.c (1156 of 18953) ******************** TEST 'Clang :: Analysis/stream-stdlibraryfunctionargs.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.Stream,alpha.unix.StdCLibraryFunctions,debug.ExprInspection -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true -verify=stream,any /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream-stdlibraryfunctionargs.c : 'RUN: at line 4'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.Stream,debug.ExprInspection -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true -verify=stream,any /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream-stdlibraryfunctionargs.c : 'RUN: at line 7'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.StdCLibraryFunctions,debug.ExprInspection -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true -verify=stdfunc,any /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream-stdlibraryfunctionargs.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.Stream,alpha.unix.StdCLibraryFunctions,debug.ExprInspection -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true -verify=stream,any /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream-stdlibraryfunctionargs.c 1. parser at end of file 2. While analyzing stack: #0 Calling test_fileno 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream-stdlibraryfunctionargs.c:152:14: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream-stdlibraryfunctionargs.c:152:14: Error evaluating statement #0 0x0000ffff8c2aacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8c2a9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8c2ab388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff951e3800 (linux-vdso.so.1+0x800) #4 0x0000ffff94503688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff94503688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff94503688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff94503688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff94503688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff94503688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff94503688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff94503688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff941b0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff941b0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff941b0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff941b0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff941b1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff941b1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff941b1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff941b1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff941c4770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff941c4770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff941c4770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff941c5cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff941c5cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff941c5cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff941c5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff941c5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff941c5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff941d17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff941d17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff941d17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff941db074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff941db074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff941db074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9413f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9413f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9413f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9413f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff943b6a1c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #40 0x0000ffff943b6a1c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #41 0x0000ffff943b6a1c (anonymous namespace)::StreamChecker::evalFopen((anonymous namespace)::FnDescription const*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StreamChecker.cpp:545:0 #42 0x0000ffff94398858 clang::ento::CheckerContext::isDifferent() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h:76:31 #43 0x0000ffff94398858 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/StreamChecker.cpp:525:23 #44 0x0000ffff94398858 bool clang::ento::eval::Call::_evalCall<(anonymous namespace)::StreamChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:478:48 #45 0x0000ffff94129f0c clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:694:0 #46 0x0000ffff9418981c llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #47 0x0000ffff9418981c llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #48 0x0000ffff9418981c clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #49 0x0000ffff9418981c clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:696:26 #50 0x0000ffff9418a144 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #51 0x0000ffff9416bea0 clang::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 0x0000ffff9416bea0 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #53 0x0000ffff9416cf08 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #54 0x0000ffff9416d1f0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #55 0x0000ffff9416d41c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #56 0x0000ffff9416d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #57 0x0000ffff9416d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #58 0x0000ffff9416d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #59 0x0000ffff9416d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #60 0x0000ffff9416d764 clang::ento::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 0x0000ffff9443787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #62 0x0000ffff9443787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #63 0x0000ffff9443787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #64 0x0000ffff9443787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #65 0x0000ffff9443787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #66 0x0000ffff944387e8 llvm::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 0x0000ffff944387e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #68 0x0000ffff944387e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #69 0x0000ffff9443cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #70 0x0000ffff9443cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #71 0x0000ffff9443cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #72 0x0000ffff9443cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #73 0x0000ffff9443cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #74 0x0000ffff92891e58 __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 0x0000ffff92891e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #76 0x0000ffff92891e58 void clang::finalize>, 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 0x0000ffff92891e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #78 0x0000ffff93f57ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #79 0x0000ffff93f0fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #80 0x0000ffff93f0fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #81 0x0000ffff93f0fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #82 0x0000ffff93f9610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #83 0x0000aaaaccd959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #84 0x0000aaaaccd994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #85 0x0000aaaaccd9aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #86 0x0000aaaaccd91fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #87 0x0000ffff8b50098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #88 0x0000ffff8b500a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #89 0x0000aaaaccd920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/stream-stdlibraryfunctionargs.c.script: line 3: 1829073 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.unix.Stream,alpha.unix.StdCLibraryFunctions,debug.ExprInspection -analyzer-config alpha.unix.StdCLibraryFunctions:ModelPOSIX=true -verify=stream,any /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/stream-stdlibraryfunctionargs.c -- ******************** Testing: 0. FAIL: Clang :: Analysis/structured_bindings.cpp (1160 of 18953) ******************** TEST 'Clang :: Analysis/structured_bindings.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++17 -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/structured_bindings.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++17 -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/structured_bindings.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling bar() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/structured_bindings.cpp:24:18: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/structured_bindings.cpp:24:18: Error evaluating statement #0 0x0000ffffaf18acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffaf189100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffaf18b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb80c6800 (linux-vdso.so.1+0x800) #4 0x0000ffffb7038434 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb7038434 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb7038434 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb7038434 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb7038434 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb7038434 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb7038434 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:0 #11 0x0000ffffb7038434 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 0x0000ffffb70692b0 clang::ento::ExprEngine::finishArgumentConstruction(llvm::IntrusiveRefCntPtr, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:640:59 #13 0x0000ffffb7069454 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #14 0x0000ffffb7069454 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #15 0x0000ffffb7069454 clang::ento::ExprEngine::finishArgumentConstruction(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:657:72 #16 0x0000ffffb7046164 clang::ento::ExprEngine::handleConstructor(clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:832:0 #17 0x0000ffffb704be5c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #18 0x0000ffffb704be5c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2158:0 #19 0x0000ffffb704cf08 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #20 0x0000ffffb704d1f0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #21 0x0000ffffb704d41c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #22 0x0000ffffb704d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #23 0x0000ffffb704d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #24 0x0000ffffb704d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #25 0x0000ffffb704d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #26 0x0000ffffb704d764 clang::ento::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 0x0000ffffb731787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x0000ffffb731787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x0000ffffb731787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #30 0x0000ffffb731787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #31 0x0000ffffb731787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #32 0x0000ffffb73187e8 llvm::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 0x0000ffffb73187e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #34 0x0000ffffb73187e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #35 0x0000ffffb731cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x0000ffffb731cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x0000ffffb731cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #38 0x0000ffffb731cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #39 0x0000ffffb731cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #40 0x0000ffffb5771e58 __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 0x0000ffffb5771e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #42 0x0000ffffb5771e58 void clang::finalize>, 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 0x0000ffffb5771e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #44 0x0000ffffb6e37ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #45 0x0000ffffb6defc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #46 0x0000ffffb6defc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #47 0x0000ffffb6defc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #48 0x0000ffffb6e7610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #49 0x0000aaaacd4259f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #50 0x0000aaaacd4294b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #51 0x0000aaaacd42aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #52 0x0000aaaacd421fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #53 0x0000ffffae3e098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #54 0x0000ffffae3e0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #55 0x0000aaaacd4220b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/structured_bindings.cpp.script: line 1: 1829128 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++17 -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/structured_bindings.cpp -- ******************** Testing: 0. FAIL: Clang :: Analysis/string-with-signedness.c (1161 of 18953) ******************** TEST 'Clang :: Analysis/string-with-signedness.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-incompatible-library-redeclaration -analyzer-checker=core,unix.cstring,alpha.unix.cstring -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/string-with-signedness.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-incompatible-library-redeclaration -analyzer-checker=core,unix.cstring,alpha.unix.cstring -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/string-with-signedness.c 1. parser at end of file 2. While analyzing stack: #0 Calling testUnsignedStrcpy 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/string-with-signedness.c:9:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/string-with-signedness.c:9:3: Error evaluating statement #0 0x0000ffffac4aacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffac4a9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffac4ab388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb53ec800 (linux-vdso.so.1+0x800) #4 0x0000ffffb43f57b8 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb43f57b8 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb43f57b8 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb43f57b8 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb43f57b8 llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb43f57b8 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 0x0000ffffb43f57b8 get<(anonymous namespace)::CStringLength> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:0 #11 0x0000ffffb43f57b8 getCStringLengthForRegion /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:853:0 #12 0x0000ffffb43f57b8 (anonymous namespace)::CStringChecker::getCStringLength(clang::ento::CheckerContext&, llvm::IntrusiveRefCntPtr&, clang::Expr const*, clang::ento::SVal, bool) const (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:930:0 #13 0x0000ffffb4403104 (anonymous namespace)::CStringChecker::evalStrcpyCommon(clang::ento::CheckerContext&, clang::CallExpr const*, bool, bool, (anonymous namespace)::ConcatFnKind, bool) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:1719:39 #14 0x0000ffffb440ea10 clang::ento::CheckerContext::isDifferent() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h:76:31 #15 0x0000ffffb440ea10 evalCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CStringChecker.cpp:2515:23 #16 0x0000ffffb440ea10 bool clang::ento::eval::Call::_evalCall<(anonymous namespace)::CStringChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:478:48 #17 0x0000ffffb4329f0c clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:694:0 #18 0x0000ffffb438981c llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #19 0x0000ffffb438981c llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #20 0x0000ffffb438981c clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #21 0x0000ffffb438981c clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:696:26 #22 0x0000ffffb438a144 clang::ento::ExprEngine::VisitCallExpr(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 0x0000ffffb436bea0 clang::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 0x0000ffffb436bea0 clang::ento::ExprEngine::Visit(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 0x0000ffffb436cf08 clang::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 0x0000ffffb436d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffb436d41c clang::ento::CoreEngine::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 0x0000ffffb436d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #29 0x0000ffffb436d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #30 0x0000ffffb436d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #31 0x0000ffffb436d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #32 0x0000ffffb436d764 clang::ento::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 0x0000ffffb463787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #34 0x0000ffffb463787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #35 0x0000ffffb463787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #36 0x0000ffffb463787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #37 0x0000ffffb463787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #38 0x0000ffffb46387e8 llvm::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 0x0000ffffb46387e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #40 0x0000ffffb46387e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #41 0x0000ffffb463cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #42 0x0000ffffb463cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #43 0x0000ffffb463cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #44 0x0000ffffb463cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #45 0x0000ffffb463cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #46 0x0000ffffb2a91e58 __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 0x0000ffffb2a91e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #48 0x0000ffffb2a91e58 void clang::finalize>, 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 0x0000ffffb2a91e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #50 0x0000ffffb4157ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #51 0x0000ffffb410fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #52 0x0000ffffb410fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #53 0x0000ffffb410fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #54 0x0000ffffb419610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #55 0x0000aaaae8b459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #56 0x0000aaaae8b494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #57 0x0000aaaae8b4aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #58 0x0000aaaae8b41fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #59 0x0000ffffab70098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #60 0x0000ffffab700a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #61 0x0000aaaae8b420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/string-with-signedness.c.script: line 1: 1829115 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-incompatible-library-redeclaration -analyzer-checker=core,unix.cstring,alpha.unix.cstring -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/string-with-signedness.c -- ******************** Testing: 0. FAIL: Clang :: Analysis/string.c (1162 of 18953) ******************** TEST 'Clang :: Analysis/string.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/string.c -Wno-null-dereference -analyzer-checker=core -analyzer-checker=unix.cstring -analyzer-checker=unix.Malloc -analyzer-checker=alpha.unix.cstring -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false : 'RUN: at line 9'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/string.c -Wno-null-dereference -DUSE_BUILTINS -analyzer-checker=core -analyzer-checker=unix.cstring -analyzer-checker=unix.Malloc -analyzer-checker=alpha.unix.cstring -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false : 'RUN: at line 17'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/string.c -Wno-null-dereference -DVARIANT -analyzer-checker=core -analyzer-checker=unix.cstring -analyzer-checker=unix.Malloc -analyzer-checker=alpha.unix.cstring -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false : 'RUN: at line 25'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/string.c -Wno-null-dereference -DUSE_BUILTINS -DVARIANT -analyzer-checker=core -analyzer-checker=alpha.security.taint -analyzer-checker=unix.cstring -analyzer-checker=unix.Malloc -analyzer-checker=alpha.unix.cstring -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false : 'RUN: at line 35'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/string.c -Wno-null-dereference -DSUPPRESS_OUT_OF_BOUND -analyzer-checker=core -analyzer-checker=unix.cstring -analyzer-checker=unix.Malloc -analyzer-checker=alpha.unix.cstring.BufferOverlap -analyzer-checker=alpha.unix.cstring.NotNullTerminated -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/string.c -Wno-null-dereference -analyzer-checker=core -analyzer-checker=unix.cstring -analyzer-checker=unix.Malloc -analyzer-checker=alpha.unix.cstring -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false 1. parser at end of file 2. While analyzing stack: #0 Calling test_memset_chk 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/string.c:1653:3: Error evaluating statement #0 0x0000ffffa51eacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa51e9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa51eb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffae129800 (linux-vdso.so.1+0x800) #4 0x0000ffffad52aa8c llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffad52aa8c llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffad52aa8c llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffad52aa8c llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffad52aa8c llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffad52aa8c 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 0x0000ffffad52aa8c get<(anonymous namespace)::CStringLength> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffad52aa8c (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 0x0000ffffad140b60 llvm::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 0x0000ffffad140b60 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #14 0x0000ffffad140b60 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #15 0x0000ffffad140b60 void clang::ento::check::LiveSymbols::_checkLiveSymbols<(anonymous namespace)::CStringChecker>(void*, llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:306:49 #16 0x0000ffffad04bf00 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #17 0x0000ffffad04bf00 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #18 0x0000ffffad04bf00 clang::ento::CheckerFn, clang::ento::SymbolReaper&)>::operator()(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:0 #19 0x0000ffffad04bf00 clang::ento::CheckerManager::runCheckersForLiveSymbols(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:547:0 #20 0x0000ffffad097ef0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffad097ef0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffad097ef0 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1066:48 #23 0x0000ffffad0ace94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #24 0x0000ffffad0ace94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #25 0x0000ffffad0ace94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #26 0x0000ffffad0ace94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #27 0x0000ffffad0ace94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #28 0x0000ffffad0ace94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #29 0x0000ffffad0ace94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #30 0x0000ffffad0ace94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #31 0x0000ffffad0ace94 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #32 0x0000ffffad0ad1f0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #33 0x0000ffffad0ad41c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #34 0x0000ffffad0ad764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #35 0x0000ffffad0ad764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #36 0x0000ffffad0ad764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #37 0x0000ffffad0ad764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #38 0x0000ffffad0ad764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #39 0x0000ffffad37787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffad37787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffad37787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #42 0x0000ffffad37787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #43 0x0000ffffad37787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #44 0x0000ffffad3787e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #45 0x0000ffffad3787e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #46 0x0000ffffad3787e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #47 0x0000ffffad37cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #48 0x0000ffffad37cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #49 0x0000ffffad37cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #50 0x0000ffffad37cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #51 0x0000ffffad37cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #52 0x0000ffffab7d1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #53 0x0000ffffab7d1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #54 0x0000ffffab7d1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #55 0x0000ffffab7d1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #56 0x0000fffface97ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #57 0x0000fffface4fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #58 0x0000fffface4fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #59 0x0000fffface4fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #60 0x0000ffffaced610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #61 0x0000aaaac80c59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #62 0x0000aaaac80c94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #63 0x0000aaaac80caac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #64 0x0000aaaac80c1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #65 0x0000ffffa444098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #66 0x0000ffffa4440a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #67 0x0000aaaac80c20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/string.c.script: line 5: 1829120 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/string.c -Wno-null-dereference -analyzer-checker=core -analyzer-checker=unix.cstring -analyzer-checker=unix.Malloc -analyzer-checker=alpha.unix.cstring -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -- ******************** Testing: 0. FAIL: Clang :: Analysis/string.cpp (1163 of 18953) ******************** TEST 'Clang :: Analysis/string.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/string.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/string.cpp 1. parser at end of file #0 0x0000ffff8e43acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8e439100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8e43b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff97379800 (linux-vdso.so.1+0x800) #4 0x0000ffff96693688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff96693688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff96693688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff96693688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff96693688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff96693688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff96693688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff96693688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff96340c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff96340c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff96340c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff96340c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff96341ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff96341ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff96341ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff96341ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff96354770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff96354770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff96354770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff96355cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff96355cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff96355cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff96355190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff96355190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff96355190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff963617d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff963617d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff963617d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9636b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9636b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9636b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff962cf72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff962cf72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff962cf72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff962cf72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff962cfbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff962cfbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff962cfbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff962a31c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff962a31c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff962a31c0 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff962dfb5c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff962dfb5c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff962dfb5c clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:42 #48 0x0000ffff962fdaa8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff962fdaa8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff962fdaa8 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff965c787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff965c787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff965c787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff965c787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff965c787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff965c87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffff965c87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff965c87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff965ccde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff965ccde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff965ccde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff965ccde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff965ccde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff94a21e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffff94a21e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff94a21e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffff94a21e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff960e7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff9609fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff9609fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff9609fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff9612610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaab17659f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaab17694b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaab176aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaab1761fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff8d69098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff8d690a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaab17620b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/string.cpp.script: line 1: 1829126 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/string.cpp -- ******************** Testing: 0. FAIL: Clang :: Analysis/svalbuilder-float-cast.c (1164 of 18953) ******************** TEST 'Clang :: Analysis/svalbuilder-float-cast.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker debug.ExprInspection -Wno-deprecated-non-prototype -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-float-cast.c : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker debug.ExprInspection -Wno-deprecated-non-prototype -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-float-cast.c -analyzer-config support-symbolic-integer-casts=true -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker debug.ExprInspection -Wno-deprecated-non-prototype -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-float-cast.c 1. parser at end of file 2. While analyzing stack: #0 Calling SymbolCast_of_float_type_aux at line 28 #1 Calling SymbolCast_of_float_type 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-float-cast.c:20:3: Error evaluating statement #0 0x0000ffff772eacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff772e9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff772eb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff80223800 (linux-vdso.so.1+0x800) #4 0x0000ffff7f2bc89c llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff7f2bc89c llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff7f2bc89c llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff7f2bc89c llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff7f2bc89c llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff7f2bc89c 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 0x0000ffff7f2bc89c get<(anonymous namespace)::DenotedSymbols> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff7f2bc89c (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 0x0000ffff7f17d814 void expandGraphWithCheckers<(anonymous namespace)::CheckDeadSymbolsContext>((anonymous namespace)::CheckDeadSymbolsContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #13 0x0000ffff7f197fe8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x0000ffff7f197fe8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x0000ffff7f197fe8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #16 0x0000ffff7f197fe8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #17 0x0000ffff7f197fe8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #18 0x0000ffff7f197fe8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #19 0x0000ffff7f197fe8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1080:48 #20 0x0000ffff7f1ace94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #21 0x0000ffff7f1ace94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #22 0x0000ffff7f1ace94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #23 0x0000ffff7f1ace94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #24 0x0000ffff7f1ace94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #25 0x0000ffff7f1ace94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #26 0x0000ffff7f1ace94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #27 0x0000ffff7f1ace94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #28 0x0000ffff7f1ace94 clang::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 0x0000ffff7f1ad1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff7f1ad41c clang::ento::CoreEngine::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 0x0000ffff7f1ad764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #32 0x0000ffff7f1ad764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #33 0x0000ffff7f1ad764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #34 0x0000ffff7f1ad764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #35 0x0000ffff7f1ad764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #36 0x0000ffff7f47787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffff7f47787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffff7f47787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #39 0x0000ffff7f47787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #40 0x0000ffff7f47787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #41 0x0000ffff7f4787e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #42 0x0000ffff7f4787e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #43 0x0000ffff7f4787e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #44 0x0000ffff7f47cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #45 0x0000ffff7f47cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #46 0x0000ffff7f47cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #47 0x0000ffff7f47cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #48 0x0000ffff7f47cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #49 0x0000ffff7d8d1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #50 0x0000ffff7d8d1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #51 0x0000ffff7d8d1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #52 0x0000ffff7d8d1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #53 0x0000ffff7ef97ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #54 0x0000ffff7ef4fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #55 0x0000ffff7ef4fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #56 0x0000ffff7ef4fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #57 0x0000ffff7efd610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #58 0x0000aaaabdc159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #59 0x0000aaaabdc194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #60 0x0000aaaabdc1aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #61 0x0000aaaabdc11fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #62 0x0000ffff7654098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #63 0x0000ffff76540a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #64 0x0000aaaabdc120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/svalbuilder-float-cast.c.script: line 2: 1829167 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker debug.ExprInspection -Wno-deprecated-non-prototype -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-float-cast.c -- ******************** Testing: 0. FAIL: Clang :: Analysis/svalbuilder-rearrange-comparisons.cpp (1165 of 18953) ******************** TEST 'Clang :: Analysis/svalbuilder-rearrange-comparisons.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.ExprInspection,core.builtin -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config support-symbolic-integer-casts=false -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-rearrange-comparisons.cpp : 'RUN: at line 8'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.ExprInspection,core.builtin -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config support-symbolic-integer-casts=true -DSUPPORT_SYMBOLIC_INTEGER_CASTS -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-rearrange-comparisons.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.ExprInspection,core.builtin -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config support-symbolic-integer-casts=false -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-rearrange-comparisons.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling fu() at line 1023 #1 Calling unsigned_concrete_int_no_crash() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-rearrange-comparisons.cpp:1018:3 : Error evaluating statement #0 0x0000ffff8654acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff86549100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8654b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8f485800 (linux-vdso.so.1+0x800) #4 0x0000ffff8e44cd64 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8e44cd64 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8e44cd64 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8e44cd64 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffff8e44cd64 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffff8e44cd64 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffff8e3f80bc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffff8e3f80bc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffff8e3f80bc clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffff8e40ce94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffff8e40ce94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffff8e40ce94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffff8e40ce94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffff8e40ce94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffff8e40ce94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffff8e40ce94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffff8e40ce94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffff8e40ce94 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffff8e40d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8e40d310 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffff8e40d5dc clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffff8e40d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffff8e40d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffff8e40d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffff8e40d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffff8e40d764 clang::ento::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 0x0000ffff8e6d787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff8e6d787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff8e6d787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffff8e6d787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffff8e6d787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffff8e6d87e8 llvm::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 0x0000ffff8e6d87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffff8e6d87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffff8e6dcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffff8e6dcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffff8e6dcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffff8e6dcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffff8e6dcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffff8cb31e58 __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 0x0000ffff8cb31e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffff8cb31e58 void clang::finalize>, 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 0x0000ffff8cb31e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffff8e1f7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffff8e1afc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffff8e1afc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffff8e1afc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffff8e23610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaaca0959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaaca0994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaaca09aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaaca091fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffff857a098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffff857a0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaaca0920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/svalbuilder-rearrange-comparisons.cpp.script: line 2: 1829176 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.ExprInspection,core.builtin -analyzer-config aggressive-binary-operation-simplification=true -analyzer-config support-symbolic-integer-casts=false -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-rearrange-comparisons.cpp -- ******************** Testing: 0. FAIL: Clang :: Analysis/svalbuilder-logic.c (1166 of 18953) ******************** TEST 'Clang :: Analysis/svalbuilder-logic.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix -Wno-pointer-to-int-cast -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-logic.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix -Wno-pointer-to-int-cast -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-logic.c 1. parser at end of file 2. While analyzing stack: #0 Calling pr15863 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-logic.c:15:9: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-logic.c:15:9: Error evaluating statement #0 0x0000ffff8258acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff82589100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8258b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8b4c6800 (linux-vdso.so.1+0x800) #4 0x0000ffff8a7e3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8a7e3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8a7e3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8a7e3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8a7e3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8a7e3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff8a7e3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff8a7e3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8a490c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8a490c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8a490c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8a490c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8a491ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8a491ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8a491ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8a491ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff8a4a4770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff8a4a4770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff8a4a4770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff8a4a5cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff8a4a5cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff8a4a5cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff8a4a5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8a4a5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8a4a5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff8a4b17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff8a4b17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff8a4b17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8a4bb074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8a4bb074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8a4bb074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8a41f6d8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8a41f6d8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8a41f6d8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8a41f6d8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff8a90d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8a90d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8a90d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff8a432a0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff8a432a0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff8a432a0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffff8a44ccac llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffff8a44ccac llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffff8a44ccac llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffff8a44ccac clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffff8a44ccac clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffff8a44cf08 clang::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 0x0000ffff8a44d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8a44d41c clang::ento::CoreEngine::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 0x0000ffff8a44d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff8a44d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff8a44d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff8a44d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff8a44d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff8a71787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff8a71787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff8a71787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff8a71787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff8a71787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff8a7187e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff8a7187e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff8a7187e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff8a71cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff8a71cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff8a71cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff8a71cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff8a71cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff88b71e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff88b71e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff88b71e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff88b71e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff8a237ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff8a1efc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff8a1efc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff8a1efc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff8a27610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaab12259f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaab12294b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaab122aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaab1221fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff817e098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff817e0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaab12220b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/svalbuilder-logic.c.script: line 1: 1829170 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix -Wno-pointer-to-int-cast -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-logic.c -- ******************** Testing: 0. FAIL: Clang :: Analysis/svalbuilder-casts.cpp (1167 of 18953) ******************** TEST 'Clang :: Analysis/svalbuilder-casts.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-casts.cpp -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-config support-symbolic-integer-casts=true -analyzer-config eagerly-assume=false -triple x86_64-unknown-linux-gnu -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-casts.cpp -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-config support-symbolic-integer-casts=true -analyzer-config eagerly-assume=false -triple x86_64-unknown-linux-gnu -verify 1. parser at end of file 2. While analyzing stack: #0 Calling test1(int, int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-casts.cpp:32:3 : Error evaluating branch #0 0x0000ffffa879acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa8799100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa879b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb16dc800 (linux-vdso.so.1+0x800) #4 0x0000ffffb09f3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb09f3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb09f3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb09f3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb09f3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb09f3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb09f3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb09f3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb06a0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb06a0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb06a0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb06a0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb06a1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb06a1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb06a1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb06a1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb06b4770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb06b4770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb06b4770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb06b5cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb06b5cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb06b5cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb06b5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb06b5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb06b5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb06c17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb06c17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb06c17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb06cb074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb06cb074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb06cb074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb062f6d8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb062f6d8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb062f6d8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb062f6d8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffb0b1d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb0b1d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb0b1d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffb06458c8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffffb06458c8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffffb06458c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffffb06458c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffffb06458c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffffb06458c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffffb06458c8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffffb06458c8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffffb06458c8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffffb06458c8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffffb0645e30 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffffb065d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffb065d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffb065d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffb065d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffb065d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffb092787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffb092787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffb092787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffb092787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffb092787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffb09287e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffb09287e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffb09287e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffb092cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffb092cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffb092cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffb092cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffb092cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffaed81e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffaed81e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffaed81e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffaed81e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffb0447ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffb03ffc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffb03ffc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffb03ffc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffb048610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaae89159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaae89194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaae891aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaae8911fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffa79f098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffa79f0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaae89120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/svalbuilder-casts.cpp.script: line 1: 1829168 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-casts.cpp -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-config support-symbolic-integer-casts=true -analyzer-config eagerly-assume=false -triple x86_64-unknown-linux-gnu -verify -- ******************** Testing: 0. FAIL: Clang :: Analysis/svalbuilder-simplify-compound-svals.cpp (1168 of 18953) ******************** TEST 'Clang :: Analysis/svalbuilder-simplify-compound-svals.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-simplify-compound-svals.cpp -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-simplify-compound-svals.cpp -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -verify 1. parser at end of file 2. While analyzing stack: #0 Calling recurring_symbol(int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-simplify-compound-svals.cpp:72:7: Error evaluating branch #0 0x0000ffff7d1bacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7d1b9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7d1bb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff860f0800 (linux-vdso.so.1+0x800) #4 0x0000ffff850c1074 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff850c1074 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff850c1074 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff850c1074 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff850c1074 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff850c1074 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff850c1074 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff850c1074 markDisequal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2507:0 #12 0x0000ffff850c1074 markDisequal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2494:0 #13 0x0000ffff850c1074 markDisequal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2487:0 #14 0x0000ffff850c1074 trackDisequality /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2155:0 #15 0x0000ffff850c1074 assignSymSymExprToRangeSet /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2241:0 #16 0x0000ffff850c1074 assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:0 #17 0x0000ffff850c1074 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:0 #18 0x0000ffff850c1074 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:0 #19 0x0000ffff850c1074 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:0 #20 0x0000ffff850c1074 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #21 0x0000ffff850c1074 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #22 0x0000ffff850c1940 llvm::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 0x0000ffff850c1940 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #24 0x0000ffff850c1940 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x0000ffff850c1940 (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:0 #26 0x0000ffff850d591c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff850d591c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff850d591c 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 0x0000ffff850d5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffff850d5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffff850d5190 clang::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 0x0000ffff850e17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #33 0x0000ffff850e17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #34 0x0000ffff850e17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #35 0x0000ffff850eb074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #36 0x0000ffff850eb074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #37 0x0000ffff850eb074 clang::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 0x0000ffff8504f6d8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #39 0x0000ffff8504f6d8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #40 0x0000ffff8504f6d8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #41 0x0000ffff8504f6d8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #42 0x0000ffff8553d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #43 0x0000ffff8553d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #44 0x0000ffff8553d3d4 clang::ento::ProgramState::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 0x0000ffff850658c8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #46 0x0000ffff850658c8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #47 0x0000ffff850658c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #48 0x0000ffff850658c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #49 0x0000ffff850658c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #50 0x0000ffff850658c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #51 0x0000ffff850658c8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #52 0x0000ffff850658c8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #53 0x0000ffff850658c8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #54 0x0000ffff850658c8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #55 0x0000ffff85065e30 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #56 0x0000ffff8507d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #57 0x0000ffff8507d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #58 0x0000ffff8507d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #59 0x0000ffff8507d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #60 0x0000ffff8507d764 clang::ento::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 0x0000ffff8534787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #62 0x0000ffff8534787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #63 0x0000ffff8534787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #64 0x0000ffff8534787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #65 0x0000ffff8534787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #66 0x0000ffff853487e8 llvm::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 0x0000ffff853487e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #68 0x0000ffff853487e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #69 0x0000ffff8534cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #70 0x0000ffff8534cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #71 0x0000ffff8534cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #72 0x0000ffff8534cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #73 0x0000ffff8534cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #74 0x0000ffff837a1e58 __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 0x0000ffff837a1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #76 0x0000ffff837a1e58 void clang::finalize>, 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 0x0000ffff837a1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #78 0x0000ffff84e67ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #79 0x0000ffff84e1fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #80 0x0000ffff84e1fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #81 0x0000ffff84e1fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #82 0x0000ffff84ea610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #83 0x0000aaaad14559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #84 0x0000aaaad14594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #85 0x0000aaaad145aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #86 0x0000aaaad1451fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #87 0x0000ffff7c41098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #88 0x0000ffff7c410a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #89 0x0000aaaad14520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/svalbuilder-simplify-compound-svals.cpp.script: line 1: 1829193 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-simplify-compound-svals.cpp -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -verify -- ******************** Testing: 0. FAIL: Clang :: Analysis/svalbuilder-simplify-in-evalbinop.cpp (1169 of 18953) ******************** TEST 'Clang :: Analysis/svalbuilder-simplify-in-evalbinop.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-simplify-in-evalbinop.cpp -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-simplify-in-evalbinop.cpp -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -verify 1. parser at end of file 2. While analyzing stack: #0 Calling test_evalBinOp_simplifies_rhs(int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-simplify-in-evalbinop.cpp:24:7: Error evaluating branch #0 0x0000ffff78b4acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff78b49100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff78b4b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff81a8b800 (linux-vdso.so.1+0x800) #4 0x0000ffff80da3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff80da3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff80da3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff80da3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff80da3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff80da3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff80da3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff80da3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff80a50c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff80a50c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff80a50c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff80a50c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff80a51ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff80a51ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff80a51ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff80a51ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff80a64770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff80a64770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff80a64770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff80a65cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff80a65cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff80a65cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff80a65190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff80a65190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff80a65190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff80a717d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff80a717d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff80a717d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff80a7b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff80a7b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff80a7b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff809df72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff809df72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff809df72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff809df72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff80ecd3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff80ecd3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff80ecd3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff809f58c8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffff809f58c8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffff809f58c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffff809f58c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffff809f58c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffff809f58c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffff809f58c8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffff809f58c8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffff809f58c8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffff809f58c8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffff809f5e30 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffff80a0d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff80a0d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff80a0d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff80a0d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff80a0d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff80cd787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff80cd787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff80cd787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff80cd787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff80cd787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff80cd87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff80cd87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff80cd87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff80cdcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff80cdcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff80cdcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff80cdcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff80cdcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff7f131e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff7f131e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff7f131e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff7f131e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff807f7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff807afc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff807afc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff807afc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff8083610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaac89659f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaac89694b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaac896aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaac8961fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff77da098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff77da0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaac89620b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/svalbuilder-simplify-in-evalbinop.cpp.script: line 1: 1829203 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-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 (1170 of 18953) ******************** TEST 'Clang :: Analysis/svalbuilder-simplify-intsym.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-simplify-intsym.cpp -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-simplify-intsym.cpp -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -verify 1. parser at end of file 2. While analyzing stack: #0 Calling test_SValBuilder_simplifies_IntSym(int, int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-simplify-intsym.cpp:15:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-simplify-intsym.cpp:15:7: Error evaluating statement #0 0x0000ffff8225acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff82259100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8225b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8b196800 (linux-vdso.so.1+0x800) #4 0x0000ffff8a4b3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8a4b3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8a4b3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8a4b3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8a4b3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8a4b3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff8a4b3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff8a4b3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8a160c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8a160c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8a160c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8a160c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8a161ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8a161ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8a161ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8a161ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff8a17591c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff8a17591c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff8a17591c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffff8a175bf0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff8a175bf0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff8a175bf0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffff8a175190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8a175190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8a175190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff8a1817d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff8a1817d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff8a1817d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8a18b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8a18b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8a18b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8a0ef72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8a0ef72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8a0ef72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8a0ef72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff8a20fe48 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:9 #40 0x0000ffff8a20fe48 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:21 #41 0x0000ffff8a20fe48 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:44 #42 0x0000ffff8a20fe48 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:25 #43 0x0000ffff8a20fe48 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:44 #44 0x0000ffff8a20fe48 checkPreStmt /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DivZeroChecker.cpp:99:11 #45 0x0000ffff8a20fe48 void clang::ento::check::PreStmt::_checkStmt<(anonymous namespace)::DivZeroChecker>(void*, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:85:45 #46 0x0000ffff8a0d8078 expandGraphWithCheckers<(anonymous namespace)::CheckStmtContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #47 0x0000ffff8a0d8078 clang::ento::CheckerManager::runCheckersForStmt(bool, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::Stmt const*, clang::ento::ExprEngine&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:190:0 #48 0x0000ffff8a10fdb8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #49 0x0000ffff8a10fdb8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #50 0x0000ffff8a10fdb8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #51 0x0000ffff8a10fdb8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #52 0x0000ffff8a10fdb8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #53 0x0000ffff8a10fdb8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #54 0x0000ffff8a10fdb8 clang::ento::ExprEngine::VisitBinaryOperator(clang::BinaryOperator const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:50:0 #55 0x0000ffff8a11cbd8 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2103:0 #56 0x0000ffff8a11cf08 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #57 0x0000ffff8a11d1f0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #58 0x0000ffff8a11d41c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #59 0x0000ffff8a11d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff8a11d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff8a11d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #62 0x0000ffff8a11d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #63 0x0000ffff8a11d764 clang::ento::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 0x0000ffff8a3e787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #65 0x0000ffff8a3e787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #66 0x0000ffff8a3e787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #67 0x0000ffff8a3e787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #68 0x0000ffff8a3e787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #69 0x0000ffff8a3e87e8 llvm::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 0x0000ffff8a3e87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #71 0x0000ffff8a3e87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #72 0x0000ffff8a3ecde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #73 0x0000ffff8a3ecde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #74 0x0000ffff8a3ecde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #75 0x0000ffff8a3ecde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #76 0x0000ffff8a3ecde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #77 0x0000ffff88841e58 __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 0x0000ffff88841e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #79 0x0000ffff88841e58 void clang::finalize>, 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 0x0000ffff88841e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #81 0x0000ffff89f07ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #82 0x0000ffff89ebfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #83 0x0000ffff89ebfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #84 0x0000ffff89ebfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #85 0x0000ffff89f4610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #86 0x0000aaaabe9b59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #87 0x0000aaaabe9b94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #88 0x0000aaaabe9baac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #89 0x0000aaaabe9b1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #90 0x0000ffff814b098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #91 0x0000ffff814b0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #92 0x0000aaaabe9b20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/svalbuilder-simplify-intsym.cpp.script: line 1: 1829196 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-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-no-crash.c (1171 of 18953) ******************** TEST 'Clang :: Analysis/svalbuilder-simplify-no-crash.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-simplify-no-crash.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-simplify-no-crash.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -verify 1. parser at end of file 2. While analyzing stack: #0 Calling crashing 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/svalbuilder-simplify-no-crash.c:10:10: Error evaluating branch #0 0x0000ffff968aacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff968a9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff968ab388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9f7e6800 (linux-vdso.so.1+0x800) #4 0x0000ffff9eb03688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9eb03688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9eb03688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9eb03688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9eb03688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9eb03688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff9eb03688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff9eb03688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9e7b0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9e7b0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9e7b0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9e7b0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9e7b1940 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9e7b1940 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9e7b1940 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9e7b1940 (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:0 #20 0x0000ffff9e7c591c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff9e7c591c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff9e7c591c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffff9e7c5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff9e7c5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff9e7c5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #26 0x0000ffff9e7d17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #27 0x0000ffff9e7d17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #28 0x0000ffff9e7d17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #29 0x0000ffff9e7db074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #30 0x0000ffff9e7db074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x0000ffff9e7db074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #32 0x0000ffff9e73f6d8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #33 0x0000ffff9e73f6d8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #34 0x0000ffff9e73f6d8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #35 0x0000ffff9e73f6d8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #36 0x0000ffff9ec2d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffff9ec2d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffff9ec2d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #39 0x0000ffff9e7558c8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #40 0x0000ffff9e7558c8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #41 0x0000ffff9e7558c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #42 0x0000ffff9e7558c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #43 0x0000ffff9e7558c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #44 0x0000ffff9e7558c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #45 0x0000ffff9e7558c8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #46 0x0000ffff9e7558c8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #47 0x0000ffff9e7558c8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #48 0x0000ffff9e7558c8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #49 0x0000ffff9e755e30 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #50 0x0000ffff9e76d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #51 0x0000ffff9e76d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #52 0x0000ffff9e76d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #53 0x0000ffff9e76d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #54 0x0000ffff9e76d764 clang::ento::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 0x0000ffff9ea3787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #56 0x0000ffff9ea3787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #57 0x0000ffff9ea3787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #58 0x0000ffff9ea3787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #59 0x0000ffff9ea3787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #60 0x0000ffff9ea387e8 llvm::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 0x0000ffff9ea387e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x0000ffff9ea387e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #63 0x0000ffff9ea3cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x0000ffff9ea3cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x0000ffff9ea3cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x0000ffff9ea3cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x0000ffff9ea3cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x0000ffff9ce91e58 __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 0x0000ffff9ce91e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x0000ffff9ce91e58 void clang::finalize>, 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 0x0000ffff9ce91e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x0000ffff9e557ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #73 0x0000ffff9e50fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #74 0x0000ffff9e50fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #75 0x0000ffff9e50fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #76 0x0000ffff9e59610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #77 0x0000aaaab41e59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x0000aaaab41e94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x0000aaaab41eaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x0000aaaab41e1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x0000ffff95b0098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #82 0x0000ffff95b00a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #83 0x0000aaaab41e20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/svalbuilder-simplify-no-crash.c.script: line 1: 1829212 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-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 (1172 of 18953) ******************** TEST 'Clang :: Analysis/switch-case.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/switch-case.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/switch-case.c 1. parser at end of file 2. While analyzing stack: #0 Calling testExhaustiveSwitch 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/switch-case.c:225:5: Error evaluating statement #0 0x0000ffff780cacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff780c9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff780cb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8100b800 (linux-vdso.so.1+0x800) #4 0x0000ffff7ffccd64 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff7ffccd64 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff7ffccd64 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff7ffccd64 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffff7ffccd64 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffff7ffccd64 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffff7ff780bc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffff7ff780bc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffff7ff780bc clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffff7ff8ce94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffff7ff8ce94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffff7ff8ce94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffff7ff8ce94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffff7ff8ce94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffff7ff8ce94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffff7ff8ce94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffff7ff8ce94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffff7ff8ce94 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffff7ff8d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff7ff8d310 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffff7ff8d5dc clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffff7ff8d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffff7ff8d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffff7ff8d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffff7ff8d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffff7ff8d764 clang::ento::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 0x0000ffff8025787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff8025787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff8025787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffff8025787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffff8025787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffff802587e8 llvm::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 0x0000ffff802587e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffff802587e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffff8025cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffff8025cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffff8025cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffff8025cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffff8025cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffff7e6b1e58 __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 0x0000ffff7e6b1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffff7e6b1e58 void clang::finalize>, 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 0x0000ffff7e6b1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffff7fd77ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffff7fd2fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffff7fd2fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffff7fd2fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffff7fdb610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaac56b59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaac56b94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaac56baac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaac56b1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffff7732098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffff77320a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaac56b20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/switch-case.c.script: line 1: 1829228 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/switch-case.c -- ******************** Testing: 0. FAIL: Clang :: Analysis/symbol-reaper-lambda.cpp (1173 of 18953) ******************** TEST 'Clang :: Analysis/symbol-reaper-lambda.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-reaper-lambda.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-reaper-lambda.cpp 1. parser at end of file #0 0x0000ffff90edacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff90ed9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff90edb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff99e15800 (linux-vdso.so.1+0x800) #4 0x0000ffff98d8cc54 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff98d8cc54 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff98d8cc54 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff98d8cc54 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff98d8cc54 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff98d8cc54 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff98d8cc54 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff98d8cc54 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 0x0000ffff98d8d578 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 0x0000ffff98d9d5a4 clang::ento::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 0x0000ffff98d9d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #15 0x0000ffff98d9d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #16 0x0000ffff98d9d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #17 0x0000ffff98d9d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #18 0x0000ffff98d9d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #19 0x0000ffff9906787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffff9906787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffff9906787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #22 0x0000ffff9906787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #23 0x0000ffff9906787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #24 0x0000ffff990687e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #25 0x0000ffff990687e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #26 0x0000ffff990687e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #27 0x0000ffff9906cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #28 0x0000ffff9906cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #29 0x0000ffff9906cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #30 0x0000ffff9906cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #31 0x0000ffff9906cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #32 0x0000ffff974c1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #33 0x0000ffff974c1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #34 0x0000ffff974c1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #35 0x0000ffff974c1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #36 0x0000ffff98b87ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #37 0x0000ffff98b3fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #38 0x0000ffff98b3fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #39 0x0000ffff98b3fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #40 0x0000ffff98bc610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #41 0x0000aaaad98d59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #42 0x0000aaaad98d94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #43 0x0000aaaad98daac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #44 0x0000aaaad98d1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #45 0x0000ffff9013098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #46 0x0000ffff90130a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #47 0x0000aaaad98d20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/symbol-reaper-lambda.cpp.script: line 1: 1829243 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/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.c (1174 of 18953) ******************** TEST 'Clang :: Analysis/symbol-reaper.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.ExprInspection -Wno-pointer-to-int-cast -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-reaper.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.ExprInspection -Wno-pointer-to-int-cast -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-reaper.c 1. parser at end of file 2. While analyzing stack: #0 Calling test_double_dereference_of_implicit_value 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-reaper.c:148:3: Error evaluating statement #0 0x0000ffff904eacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff904e9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff904eb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9942e800 (linux-vdso.so.1+0x800) #4 0x0000ffff984bc670 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff984bc670 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff984bc670 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff984bc670 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff984bc670 llvm::ImmutableSet>::ImmutableSet(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:971:38 #9 0x0000ffff984bc670 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 0x0000ffff984bc670 get<(anonymous namespace)::MarkedSymbols> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff984bc670 (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 0x0000ffff9837d814 void expandGraphWithCheckers<(anonymous namespace)::CheckDeadSymbolsContext>((anonymous namespace)::CheckDeadSymbolsContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #13 0x0000ffff98397fe8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x0000ffff98397fe8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x0000ffff98397fe8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #16 0x0000ffff98397fe8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #17 0x0000ffff98397fe8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #18 0x0000ffff98397fe8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #19 0x0000ffff98397fe8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1080:48 #20 0x0000ffff983ace94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #21 0x0000ffff983ace94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #22 0x0000ffff983ace94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #23 0x0000ffff983ace94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #24 0x0000ffff983ace94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #25 0x0000ffff983ace94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #26 0x0000ffff983ace94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #27 0x0000ffff983ace94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #28 0x0000ffff983ace94 clang::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 0x0000ffff983ad1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff983ad41c clang::ento::CoreEngine::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 0x0000ffff983ad764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #32 0x0000ffff983ad764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #33 0x0000ffff983ad764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #34 0x0000ffff983ad764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #35 0x0000ffff983ad764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #36 0x0000ffff9867787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffff9867787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffff9867787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #39 0x0000ffff9867787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #40 0x0000ffff9867787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #41 0x0000ffff986787e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #42 0x0000ffff986787e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #43 0x0000ffff986787e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #44 0x0000ffff9867cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #45 0x0000ffff9867cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #46 0x0000ffff9867cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #47 0x0000ffff9867cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #48 0x0000ffff9867cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #49 0x0000ffff96ad1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #50 0x0000ffff96ad1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #51 0x0000ffff96ad1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #52 0x0000ffff96ad1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #53 0x0000ffff98197ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #54 0x0000ffff9814fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #55 0x0000ffff9814fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #56 0x0000ffff9814fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #57 0x0000ffff981d610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #58 0x0000aaaacade59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #59 0x0000aaaacade94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #60 0x0000aaaacadeaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #61 0x0000aaaacade1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #62 0x0000ffff8f74098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #63 0x0000ffff8f740a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #64 0x0000aaaacade20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/symbol-reaper.c.script: line 1: 1829245 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.ExprInspection -Wno-pointer-to-int-cast -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-reaper.c -- ******************** Testing: 0. FAIL: Clang :: Analysis/symbol-escape.cpp (1175 of 18953) ******************** TEST 'Clang :: Analysis/symbol-escape.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus.NewDeleteLeaks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-escape.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus.NewDeleteLeaks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-escape.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling indirect_escape_in_bitwise_op() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-escape.cpp:23:12: Error evaluating New Allocator Call #0 0x0000ffff89c7acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff89c79100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff89c7b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff92bbf800 (linux-vdso.so.1+0x800) #4 0x0000ffff91ed3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff91ed3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff91ed3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff91ed3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff91ed3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff91ed3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff91ed3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff91ed3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff91b80c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff91b80c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff91b80c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff91b80c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff91b81ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff91b81ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff91b81ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff91b81ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff91b94770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff91b94770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff91b94770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff91b95cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff91b95cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff91b95cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff91b95190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff91b95190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff91b95190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff91ba17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff91ba17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff91ba17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff91bab074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff91bab074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff91bab074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff91b0f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff91b0f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff91b0f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff91b0f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff91b0fbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff91b0fbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff91b0fbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff91b39b98 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #43 0x0000ffff91b39b98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #44 0x0000ffff91b39b98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffff91b39b98 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #46 0x0000ffff91b39b98 clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #47 0x0000ffff91b39fac llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #48 0x0000ffff91b39fac llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #49 0x0000ffff91b39fac clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #50 0x0000ffff91b39fac clang::ento::CoreEngine::enqueue(clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:613:23 #51 0x0000ffff91b39fac clang::ento::ExprEngine::ProcessNewAllocator(clang::CXXNewExpr const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1326:0 #52 0x0000ffff91b3d22c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:984:0 #53 0x0000ffff91b3d310 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #54 0x0000ffff91b3d5dc clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #55 0x0000ffff91b3d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #56 0x0000ffff91b3d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #57 0x0000ffff91b3d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #58 0x0000ffff91b3d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #59 0x0000ffff91b3d764 clang::ento::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 0x0000ffff91e0787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #61 0x0000ffff91e0787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #62 0x0000ffff91e0787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #63 0x0000ffff91e0787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #64 0x0000ffff91e0787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #65 0x0000ffff91e087e8 llvm::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 0x0000ffff91e087e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #67 0x0000ffff91e087e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #68 0x0000ffff91e0cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #69 0x0000ffff91e0cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #70 0x0000ffff91e0cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #71 0x0000ffff91e0cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #72 0x0000ffff91e0cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #73 0x0000ffff90261e58 __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 0x0000ffff90261e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #75 0x0000ffff90261e58 void clang::finalize>, 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 0x0000ffff90261e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #77 0x0000ffff91927ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #78 0x0000ffff918dfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #79 0x0000ffff918dfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #80 0x0000ffff918dfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #81 0x0000ffff9196610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #82 0x0000aaaab68859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #83 0x0000aaaab68894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #84 0x0000aaaab688aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #85 0x0000aaaab6881fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #86 0x0000ffff88ed098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #87 0x0000ffff88ed0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #88 0x0000aaaab68820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/symbol-escape.cpp.script: line 1: 1829238 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus.NewDeleteLeaks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-escape.cpp -- ******************** Testing: 0. FAIL: Clang :: Analysis/symbol-reaper.cpp (1176 of 18953) ******************** TEST 'Clang :: Analysis/symbol-reaper.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-reaper.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-reaper.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling test_dead_region_with_live_subregion_in_environment::test_B(B) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-reaper.cpp:48:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-reaper.cpp:48:7: Error evaluating statement #0 0x0000ffffb4d1acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb4d19100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb4d1b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffbdc5a800 (linux-vdso.so.1+0x800) #4 0x0000ffffbcf73688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffbcf73688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffbcf73688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffbcf73688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffbcf73688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffbcf73688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffbcf73688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffbcf73688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffbcc20c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffbcc20c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffbcc20c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffbcc20c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffbcc21ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffbcc21ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffbcc21ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffbcc21ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffbcc34770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffbcc34770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffbcc34770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffbcc35cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffbcc35cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffbcc35cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffbcc35190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffbcc35190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffbcc35190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffbcc417d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffbcc417d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffbcc417d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffbcc4b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffbcc4b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffbcc4b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffbcbaf6d8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffbcbaf6d8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffbcbaf6d8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffbcbaf6d8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffbd09d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffbd09d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffbd09d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffbcbc2a0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffbcbc2a0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffbcbc2a0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffffbcbdccac llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffffbcbdccac llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffffbcbdccac llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffffbcbdccac clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffffbcbdccac clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffffbcbdcf08 clang::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 0x0000ffffbcbdd1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffbcbdd41c clang::ento::CoreEngine::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 0x0000ffffbcbdd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffbcbdd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffbcbdd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffbcbdd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffbcbdd764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffbcea787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffbcea787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffbcea787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffbcea787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffbcea787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffbcea87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffbcea87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffbcea87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffbceacde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffbceacde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffbceacde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffbceacde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffbceacde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffbb301e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffbb301e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffbb301e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffbb301e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffbc9c7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffbc97fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffbc97fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffbc97fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffbca0610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaac2cf59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaac2cf94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaac2cfaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaac2cf1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffb3f7098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffb3f70a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaac2cf20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/symbol-reaper.cpp.script: line 1: 1829270 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-reaper.cpp -- ******************** Testing: 0. FAIL: Clang :: Analysis/symbol-simplification-assertion.c (1177 of 18953) ******************** TEST 'Clang :: Analysis/symbol-simplification-assertion.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-assertion.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=true -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-assertion.c -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=true -verify 1. parser at end of file 2. While analyzing stack: #0 Calling test 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-assertion.c:18:3 : Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-assertion.c:18:3 : Error evaluating statement #0 0x0000ffff76d0acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff76d09100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff76d0b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff7fc44800 (linux-vdso.so.1+0x800) #4 0x0000ffff7ec11074 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff7ec11074 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff7ec11074 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff7ec11074 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff7ec11074 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff7ec11074 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff7ec11074 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff7ec11074 markDisequal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2507:0 #12 0x0000ffff7ec11074 markDisequal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2494:0 #13 0x0000ffff7ec11074 markDisequal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2487:0 #14 0x0000ffff7ec11074 trackDisequality /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2155:0 #15 0x0000ffff7ec11074 assignSymSymExprToRangeSet /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2241:0 #16 0x0000ffff7ec11074 assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:0 #17 0x0000ffff7ec11074 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:0 #18 0x0000ffff7ec11074 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:0 #19 0x0000ffff7ec11074 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:0 #20 0x0000ffff7ec11074 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #21 0x0000ffff7ec11074 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #22 0x0000ffff7ec11940 llvm::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 0x0000ffff7ec11940 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #24 0x0000ffff7ec11940 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x0000ffff7ec11940 (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:0 #26 0x0000ffff7ec2591c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff7ec2591c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff7ec2591c 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 0x0000ffff7ec25190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffff7ec25190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffff7ec25190 clang::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 0x0000ffff7ec317d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #33 0x0000ffff7ec317d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #34 0x0000ffff7ec317d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #35 0x0000ffff7ec3b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #36 0x0000ffff7ec3b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #37 0x0000ffff7ec3b074 clang::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 0x0000ffff7eb9f6d8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #39 0x0000ffff7eb9f6d8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #40 0x0000ffff7eb9f6d8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #41 0x0000ffff7eb9f6d8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #42 0x0000ffff7f08d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #43 0x0000ffff7f08d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #44 0x0000ffff7f08d3d4 clang::ento::ProgramState::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 0x0000ffff7ebb2a0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #46 0x0000ffff7ebb2a0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #47 0x0000ffff7ebb2a0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #48 0x0000ffff7ebcccac llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #49 0x0000ffff7ebcccac llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #50 0x0000ffff7ebcccac llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #51 0x0000ffff7ebcccac clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #52 0x0000ffff7ebcccac clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #53 0x0000ffff7ebccf08 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #54 0x0000ffff7ebcd1f0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #55 0x0000ffff7ebcd41c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #56 0x0000ffff7ebcd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #57 0x0000ffff7ebcd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #58 0x0000ffff7ebcd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #59 0x0000ffff7ebcd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #60 0x0000ffff7ebcd764 clang::ento::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 0x0000ffff7ee9787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #62 0x0000ffff7ee9787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #63 0x0000ffff7ee9787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #64 0x0000ffff7ee9787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #65 0x0000ffff7ee9787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #66 0x0000ffff7ee987e8 llvm::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 0x0000ffff7ee987e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #68 0x0000ffff7ee987e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #69 0x0000ffff7ee9cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #70 0x0000ffff7ee9cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #71 0x0000ffff7ee9cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #72 0x0000ffff7ee9cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #73 0x0000ffff7ee9cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #74 0x0000ffff7d2f1e58 __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 0x0000ffff7d2f1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #76 0x0000ffff7d2f1e58 void clang::finalize>, 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 0x0000ffff7d2f1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #78 0x0000ffff7e9b7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #79 0x0000ffff7e96fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #80 0x0000ffff7e96fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #81 0x0000ffff7e96fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #82 0x0000ffff7e9f610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #83 0x0000aaaae2d759f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #84 0x0000aaaae2d794b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #85 0x0000aaaae2d7aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #86 0x0000aaaae2d71fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #87 0x0000ffff75f6098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #88 0x0000ffff75f60a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #89 0x0000aaaae2d720b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/symbol-simplification-assertion.c.script: line 1: 1829269 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-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 (1178 of 18953) ******************** TEST 'Clang :: Analysis/symbol-simplification-disequality-info.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-disequality-info.cpp -analyzer-checker=core -analyzer-checker=debug.ExprInspection 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-disequality-info.cpp -- Exit Code: 1 Command Output (stderr): -- /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-disequality-info.cpp:15:12: error: CHECK: expected string not found in input // CHECK: "disequality_info": [ ^ :1:1: note: scanning from here PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. ^ :3:367: note: possible intended match here 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-disequality-info.cpp -analyzer-checker=core -analyzer-checker=debug.ExprInspection ^ Input file: Check file: /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-disequality-info.cpp -dump-input=help explains the following input dump. Input was: <<<<<< 1: PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. check:15'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found 2: Stack dump: check:15'0 ~~~~~~~~~~~~ 3: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-disequality-info.cpp -analyzer-checker=core -analyzer-checker=debug.ExprInspection check:15'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ check:15'1 ? possible intended match 4: 1. parser at end of file check:15'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5: 2. While analyzing stack: check:15'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6: #0 Calling test(int, int, int, int) check:15'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7: 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-disequality-info.cpp:12:7: Error evaluating statement check:15'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 8: 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-disequality-info.cpp:12:7: Error evaluating statement check:15'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0. FAIL: Clang :: Analysis/symbol-simplification-bo-div.c (1179 of 18953) ******************** TEST 'Clang :: Analysis/symbol-simplification-bo-div.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-bo-div.c -triple x86_64-pc-linux-gnu -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-bo-div.c -triple x86_64-pc-linux-gnu -verify 1. parser at end of file 2. While analyzing stack: #0 Calling c 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-bo-div.c:11:13: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-bo-div.c:11:13: Error evaluating statement #0 0x0000ffffa173acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa1739100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa173b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffaa67e800 (linux-vdso.so.1+0x800) #4 0x0000ffffa9993688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa9993688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa9993688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa9993688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa9993688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa9993688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa9993688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa9993688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa9640c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa9640c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa9640c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa9640c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa9641ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa9641ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa9641ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa9641ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa965591c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa965591c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa965591c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffffa9655bf0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa9655bf0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa9655bf0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffffa9655190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa9655190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa9655190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa96617d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa96617d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa96617d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa966b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa966b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa966b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa95cf72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa95cf72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa95cf72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa95cf72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa96efe48 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:9 #40 0x0000ffffa96efe48 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:21 #41 0x0000ffffa96efe48 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:44 #42 0x0000ffffa96efe48 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:25 #43 0x0000ffffa96efe48 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:44 #44 0x0000ffffa96efe48 checkPreStmt /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DivZeroChecker.cpp:99:11 #45 0x0000ffffa96efe48 void clang::ento::check::PreStmt::_checkStmt<(anonymous namespace)::DivZeroChecker>(void*, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:85:45 #46 0x0000ffffa95b8078 expandGraphWithCheckers<(anonymous namespace)::CheckStmtContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #47 0x0000ffffa95b8078 clang::ento::CheckerManager::runCheckersForStmt(bool, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::Stmt const*, clang::ento::ExprEngine&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:190:0 #48 0x0000ffffa95efdb8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #49 0x0000ffffa95efdb8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #50 0x0000ffffa95efdb8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #51 0x0000ffffa95efdb8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #52 0x0000ffffa95efdb8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #53 0x0000ffffa95efdb8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #54 0x0000ffffa95efdb8 clang::ento::ExprEngine::VisitBinaryOperator(clang::BinaryOperator const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:50:0 #55 0x0000ffffa95fcbd8 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2103:0 #56 0x0000ffffa95fcf08 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #57 0x0000ffffa95fd1f0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #58 0x0000ffffa95fd41c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #59 0x0000ffffa95fd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffa95fd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffa95fd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #62 0x0000ffffa95fd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #63 0x0000ffffa95fd764 clang::ento::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 0x0000ffffa98c787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #65 0x0000ffffa98c787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #66 0x0000ffffa98c787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #67 0x0000ffffa98c787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #68 0x0000ffffa98c787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #69 0x0000ffffa98c87e8 llvm::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 0x0000ffffa98c87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #71 0x0000ffffa98c87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #72 0x0000ffffa98ccde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #73 0x0000ffffa98ccde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #74 0x0000ffffa98ccde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #75 0x0000ffffa98ccde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #76 0x0000ffffa98ccde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #77 0x0000ffffa7d21e58 __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 0x0000ffffa7d21e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #79 0x0000ffffa7d21e58 void clang::finalize>, 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 0x0000ffffa7d21e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #81 0x0000ffffa93e7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #82 0x0000ffffa939fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #83 0x0000ffffa939fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #84 0x0000ffffa939fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #85 0x0000ffffa942610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #86 0x0000aaaae2ce59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #87 0x0000aaaae2ce94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #88 0x0000aaaae2ceaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #89 0x0000aaaae2ce1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #90 0x0000ffffa099098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #91 0x0000ffffa0990a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #92 0x0000aaaae2ce20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/symbol-simplification-bo-div.c.script: line 1: 1829276 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-bo-div.c -triple x86_64-pc-linux-gnu -verify -- ******************** Testing: 0. FAIL: Clang :: Analysis/symbol-simplification-fixpoint-two-iterations.cpp (1183 of 18953) ******************** TEST 'Clang :: Analysis/symbol-simplification-fixpoint-two-iterations.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-fixpoint-two-iterations.cpp -analyzer-checker=core -analyzer-checker=debug.ExprInspection 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-fixpoint-two-iterations.cpp -- Exit Code: 1 Command Output (stderr): -- /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-fixpoint-two-iterations.cpp:17:12: error: CHECK: expected string not found in input // CHECK: "constraints": [ ^ :1:1: note: scanning from here PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. ^ :3:251: note: possible intended match here 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-fixpoint-two-iterations.cpp -analyzer-checker=core -analyzer-checker=debug.ExprInspection ^ Input file: Check file: /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-fixpoint-two-iterations.cpp -dump-input=help explains the following input dump. Input was: <<<<<< 1: PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. check:17'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found 2: Stack dump: check:17'0 ~~~~~~~~~~~~ 3: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-fixpoint-two-iterations.cpp -analyzer-checker=core -analyzer-checker=debug.ExprInspection check:17'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ check:17'1 ? possible intended match 4: 1. parser at end of file check:17'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5: 2. While analyzing stack: check:17'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6: #0 Calling test(int, int, int, int) check:17'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7: 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-fixpoint-two-iterations.cpp:12:7: Error evaluating statement check:17'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 8: 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-fixpoint-two-iterations.cpp:12:7: Error evaluating statement check:17'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0. FAIL: Clang :: Analysis/symbol-simplification-fixpoint-iteration-unreachable-code.cpp (1184 of 18953) ******************** TEST 'Clang :: Analysis/symbol-simplification-fixpoint-iteration-unreachable-code.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-fixpoint-iteration-unreachable-code.cpp -analyzer-checker=core -analyzer-checker=debug.ExprInspection -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-fixpoint-iteration-unreachable-code.cpp -analyzer-checker=core -analyzer-checker=debug.ExprInspection -verify 1. parser at end of file 2. While analyzing stack: #0 Calling test_true_range_contradiction(int, unsigned int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-fixpoint-iteration-unreachable-code.cpp:47:9: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-fixpoint-iteration-unreachable-code.cpp:47:9: Error evaluating statement #0 0x0000ffff78c8acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff78c89100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff78c8b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff81bc3800 (linux-vdso.so.1+0x800) #4 0x0000ffff80ee3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff80ee3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff80ee3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff80ee3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff80ee3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff80ee3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff80ee3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff80ee3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff80b90c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff80b90c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff80b90c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff80b90c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff80b91940 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff80b91940 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff80b91940 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff80b91940 (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:0 #20 0x0000ffff80ba591c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff80ba591c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff80ba591c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffff80ba5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff80ba5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff80ba5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #26 0x0000ffff80bb17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #27 0x0000ffff80bb17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #28 0x0000ffff80bb17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #29 0x0000ffff80bbb074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #30 0x0000ffff80bbb074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x0000ffff80bbb074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #32 0x0000ffff80b1f6d8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #33 0x0000ffff80b1f6d8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #34 0x0000ffff80b1f6d8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #35 0x0000ffff80b1f6d8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #36 0x0000ffff8100d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffff8100d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffff8100d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #39 0x0000ffff80b32a0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #40 0x0000ffff80b32a0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #41 0x0000ffff80b32a0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #42 0x0000ffff80b4ccac llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #43 0x0000ffff80b4ccac llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #44 0x0000ffff80b4ccac llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #45 0x0000ffff80b4ccac clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #46 0x0000ffff80b4ccac clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #47 0x0000ffff80b4cf08 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #48 0x0000ffff80b4d1f0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #49 0x0000ffff80b4d41c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #50 0x0000ffff80b4d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #51 0x0000ffff80b4d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #52 0x0000ffff80b4d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #53 0x0000ffff80b4d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #54 0x0000ffff80b4d764 clang::ento::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 0x0000ffff80e1787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #56 0x0000ffff80e1787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #57 0x0000ffff80e1787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #58 0x0000ffff80e1787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #59 0x0000ffff80e1787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #60 0x0000ffff80e187e8 llvm::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 0x0000ffff80e187e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #62 0x0000ffff80e187e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #63 0x0000ffff80e1cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #64 0x0000ffff80e1cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #65 0x0000ffff80e1cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #66 0x0000ffff80e1cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #67 0x0000ffff80e1cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #68 0x0000ffff7f271e58 __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 0x0000ffff7f271e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #70 0x0000ffff7f271e58 void clang::finalize>, 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 0x0000ffff7f271e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #72 0x0000ffff80937ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #73 0x0000ffff808efc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #74 0x0000ffff808efc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #75 0x0000ffff808efc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #76 0x0000ffff8097610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #77 0x0000aaaaaaf159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #78 0x0000aaaaaaf194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #79 0x0000aaaaaaf1aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #80 0x0000aaaaaaf11fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #81 0x0000ffff77ee098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #82 0x0000ffff77ee0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #83 0x0000aaaaaaf120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/symbol-simplification-fixpoint-iteration-unreachable-code.cpp.script: line 1: 1829305 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-fixpoint-iteration-unreachable-code.cpp -analyzer-checker=core -analyzer-checker=debug.ExprInspection -verify -- ******************** Testing: 0. FAIL: Clang :: Analysis/symbol-simplification-fixpoint-one-iteration.cpp (1185 of 18953) ******************** TEST 'Clang :: Analysis/symbol-simplification-fixpoint-one-iteration.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-fixpoint-one-iteration.cpp -analyzer-checker=core -analyzer-checker=debug.ExprInspection 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-fixpoint-one-iteration.cpp -- Exit Code: 1 Command Output (stderr): -- /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-fixpoint-one-iteration.cpp:15:12: error: CHECK: expected string not found in input // CHECK: "constraints": [ ^ :1:1: note: scanning from here PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. ^ :3:251: note: possible intended match here 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-fixpoint-one-iteration.cpp -analyzer-checker=core -analyzer-checker=debug.ExprInspection ^ Input file: Check file: /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-fixpoint-one-iteration.cpp -dump-input=help explains the following input dump. Input was: <<<<<< 1: PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. check:15'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found 2: Stack dump: check:15'0 ~~~~~~~~~~~~ 3: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-fixpoint-one-iteration.cpp -analyzer-checker=core -analyzer-checker=debug.ExprInspection check:15'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ check:15'1 ? possible intended match 4: 1. parser at end of file check:15'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5: 2. While analyzing stack: check:15'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6: #0 Calling test(int, int, int) check:15'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7: 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-fixpoint-one-iteration.cpp:12:7: Error evaluating statement check:15'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 8: 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-fixpoint-one-iteration.cpp:12:7: Error evaluating statement check:15'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0. FAIL: Clang :: Analysis/symbol-simplification-nonloc-loc.cpp (1186 of 18953) ******************** TEST 'Clang :: Analysis/symbol-simplification-nonloc-loc.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-nonloc-loc.cpp -triple x86_64-pc-linux-gnu -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-nonloc-loc.cpp -triple x86_64-pc-linux-gnu -verify 1. parser at end of file 2. While analyzing stack: #0 Calling loc_OP_nonloc(int *, class (lambda at /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-nonloc-loc.cpp:57:20)) at line 57 #1 Calling instantiate_tests_for_loc_OP_nonloc(int *) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-nonloc-loc.cpp:29:7: Error evaluating branch #0 0x0000ffff9933acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff99339100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9933b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa2273800 (linux-vdso.so.1+0x800) #4 0x0000ffffa1593688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa1593688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa1593688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa1593688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa1593688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa1593688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa1593688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa1593688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa1240c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa1240c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa1240c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa1240c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa1241ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa1241ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa1241ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa1241ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa1254770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa1254770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa1254770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa1255cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa1255cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa1255cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa1255190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa1255190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa1255190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa12617d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa12617d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa12617d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa126b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa126b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa126b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa11cf72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa11cf72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa11cf72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa11cf72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa16bd3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa16bd3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa16bd3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffa11e58c8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffffa11e58c8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffffa11e58c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffffa11e58c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffffa11e58c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffffa11e58c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffffa11e58c8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffffa11e58c8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffffa11e58c8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffffa11e58c8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffffa11e5e30 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffffa11fd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffa11fd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffa11fd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffa11fd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffa11fd764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffa14c787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffa14c787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffa14c787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffa14c787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffa14c787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffa14c87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffa14c87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffa14c87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffa14ccde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffa14ccde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffa14ccde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffa14ccde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffa14ccde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff9f921e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff9f921e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff9f921e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff9f921e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffa0fe7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffa0f9fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffa0f9fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffa0f9fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffa102610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaaafa059f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaaafa094b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaaafa0aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaaafa01fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff9859098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff98590a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaaafa020b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/symbol-simplification-nonloc-loc.cpp.script: line 1: 1829323 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-nonloc-loc.cpp -triple x86_64-pc-linux-gnu -verify -- ******************** Testing: 0. FAIL: Clang :: Analysis/symbol-simplification-reassume.cpp (1187 of 18953) ******************** TEST 'Clang :: Analysis/symbol-simplification-reassume.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-reassume.cpp -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-reassume.cpp -analyzer-checker=core -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -verify 1. parser at end of file 2. While analyzing stack: #0 Calling test_reassume_inclusive_range(int, int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-reassume.cpp:30:20: Error evaluating statement #0 0x0000ffffb1c9acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb1c99100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb1c9b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffbabde800 (linux-vdso.so.1+0x800) #4 0x0000ffffb9b9cd64 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb9b9cd64 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb9b9cd64 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb9b9cd64 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffffb9b9cd64 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffffb9b9cd64 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffffb9b480bc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffffb9b480bc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffffb9b480bc clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffffb9b5ce94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffffb9b5ce94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffffb9b5ce94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffffb9b5ce94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffffb9b5ce94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffffb9b5ce94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffffb9b5ce94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffffb9b5ce94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffffb9b5ce94 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffffb9b5d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffb9b5d310 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffffb9b5d5dc clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffffb9b5d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffffb9b5d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffffb9b5d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffffb9b5d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffffb9b5d764 clang::ento::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 0x0000ffffb9e2787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffffb9e2787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffffb9e2787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffffb9e2787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffffb9e2787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffffb9e287e8 llvm::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 0x0000ffffb9e287e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffffb9e287e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffffb9e2cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffffb9e2cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffffb9e2cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffffb9e2cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffffb9e2cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffffb8281e58 __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 0x0000ffffb8281e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffffb8281e58 void clang::finalize>, 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 0x0000ffffb8281e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffffb9947ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffffb98ffc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffffb98ffc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffffb98ffc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffffb998610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaab31159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaab31194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaab311aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaab3111fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffffb0ef098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffffb0ef0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaab31120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/symbol-simplification-reassume.cpp.script: line 1: 1829343 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-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-symplify-results-in-dead-symbol.cpp (1188 of 18953) ******************** TEST 'Clang :: Analysis/symbol-simplification-symplify-results-in-dead-symbol.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-symplify-results-in-dead-symbol.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-symplify-results-in-dead-symbol.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling f(unsigned int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-symplify-results-in-dead-symbol.cpp:8:3 : Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/symbol-simplification-symplify-results-in-dead-symbol.cpp:8:3 : Error evaluating statement #0 0x0000ffff8e51acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8e519100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8e51b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff97451800 (linux-vdso.so.1+0x800) #4 0x0000ffff9641a80c retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff9641a80c retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff9641a80c retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff9641a80c IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff9641a80c ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff9641a80c MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff9641a80c get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff9641a80c (anonymous namespace)::EquivalenceClass::mergeImpl(clang::ento::RangeSet::Factory&, llvm::IntrusiveRefCntPtr, llvm::ImmutableSet>, (anonymous namespace)::EquivalenceClass, llvm::ImmutableSet>) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2361:0 #12 0x0000ffff9641c73c llvm::IntrusiveRefCntPtrInfo>>::release(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:351:0 #13 0x0000ffff9641c73c llvm::IntrusiveRefCntPtr>>::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #14 0x0000ffff9641c73c llvm::IntrusiveRefCntPtr>>::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #15 0x0000ffff9641c73c llvm::ImmutableSet>::~ImmutableSet() /usr/include/llvm/ADT/ImmutableSet.h:957:0 #16 0x0000ffff9641c73c (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 0x0000ffff964212b0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #18 0x0000ffff964212b0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff964212b0 merge /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2309:0 #20 0x0000ffff964212b0 trackEquality /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2160:0 #21 0x0000ffff964212b0 assignSymSymExprToRangeSet /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2238:0 #22 0x0000ffff964212b0 assignSymSymExprImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:0 #23 0x0000ffff964212b0 assignImpl /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def:41:0 #24 0x0000ffff964212b0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1988:0 #25 0x0000ffff964212b0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2111:0 #26 0x0000ffff964212b0 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #27 0x0000ffff964212b0 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #28 0x0000ffff96421940 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #29 0x0000ffff96421940 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #30 0x0000ffff96421940 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x0000ffff96421940 (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:0 #32 0x0000ffff9643591c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #33 0x0000ffff9643591c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #34 0x0000ffff9643591c 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 0x0000ffff96435190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff96435190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff96435190 clang::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 0x0000ffff964417d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #39 0x0000ffff964417d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #40 0x0000ffff964417d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #41 0x0000ffff9644b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #42 0x0000ffff9644b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #43 0x0000ffff9644b074 clang::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 0x0000ffff963af6d8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #45 0x0000ffff963af6d8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #46 0x0000ffff963af6d8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #47 0x0000ffff963af6d8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #48 0x0000ffff9689d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #49 0x0000ffff9689d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #50 0x0000ffff9689d3d4 clang::ento::ProgramState::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 0x0000ffff963c2a0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #52 0x0000ffff963c2a0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #53 0x0000ffff963c2a0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #54 0x0000ffff963dccac llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #55 0x0000ffff963dccac llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #56 0x0000ffff963dccac llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #57 0x0000ffff963dccac clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #58 0x0000ffff963dccac clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #59 0x0000ffff963dcf08 clang::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 0x0000ffff963dd1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff963dd41c clang::ento::CoreEngine::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 0x0000ffff963dd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #63 0x0000ffff963dd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #64 0x0000ffff963dd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #65 0x0000ffff963dd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #66 0x0000ffff963dd764 clang::ento::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 0x0000ffff966a787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #68 0x0000ffff966a787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #69 0x0000ffff966a787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #70 0x0000ffff966a787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #71 0x0000ffff966a787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #72 0x0000ffff966a87e8 llvm::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 0x0000ffff966a87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #74 0x0000ffff966a87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #75 0x0000ffff966acde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #76 0x0000ffff966acde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #77 0x0000ffff966acde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #78 0x0000ffff966acde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #79 0x0000ffff966acde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #80 0x0000ffff94b01e58 __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 0x0000ffff94b01e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #82 0x0000ffff94b01e58 void clang::finalize>, 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 0x0000ffff94b01e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #84 0x0000ffff961c7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #85 0x0000ffff9617fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #86 0x0000ffff9617fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #87 0x0000ffff9617fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #88 0x0000ffff9620610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #89 0x0000aaaacc9159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #90 0x0000aaaacc9194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #91 0x0000aaaacc91aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #92 0x0000aaaacc911fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #93 0x0000ffff8d77098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #94 0x0000ffff8d770a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #95 0x0000aaaacc9120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/symbol-simplification-symplify-results-in-dead-symbol.cpp.script: line 1: 1829346 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/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 (1190 of 18953) ******************** TEST 'Clang :: Analysis/taint-diagnostic-visitor.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-checker=alpha.security.taint,core,alpha.security.ArrayBoundV2 -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/taint-diagnostic-visitor.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-checker=alpha.security.taint,core,alpha.security.ArrayBoundV2 -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/taint-diagnostic-visitor.c 1. parser at end of file 2. While analyzing stack: #0 Calling multipleTaintedArgs 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/taint-diagnostic-visitor.c:110:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/taint-diagnostic-visitor.c:110:3: Error evaluating statement #0 0x0000ffff9634acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff96349100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9634b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9f28a800 (linux-vdso.so.1+0x800) #4 0x0000ffff9e599c08 llvm::ImutAVLTree>>>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9e599c08 llvm::IntrusiveRefCntPtrInfo>>>>::retain(llvm::ImutAVLTree>>>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9e599c08 llvm::IntrusiveRefCntPtr>>>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9e599c08 llvm::IntrusiveRefCntPtr>>>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>>>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9e599c08 llvm::ImmutableMap>, llvm::ImutKeyValueInfo>>>::ImmutableMap(llvm::ImutAVLTree>>> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9e599c08 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 0x0000ffff9e599c08 get<(anonymous namespace)::TaintArgsOnPostVisit> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff9e599c08 (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 0x0000ffff9e1c9524 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #13 0x0000ffff9e1c9524 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #14 0x0000ffff9e1c9524 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #15 0x0000ffff9e1c9524 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #16 0x0000ffff9e1c9524 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #17 0x0000ffff9e2298b8 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #18 0x0000ffff9e2298b8 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #19 0x0000ffff9e2298b8 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #20 0x0000ffff9e2298b8 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #21 0x0000ffff9e2298b8 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #22 0x0000ffff9e2298b8 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #23 0x0000ffff9e22a144 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #24 0x0000ffff9e20bea0 clang::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 0x0000ffff9e20bea0 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #26 0x0000ffff9e20cf08 clang::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 0x0000ffff9e20d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff9e20d41c clang::ento::CoreEngine::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 0x0000ffff9e20d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #30 0x0000ffff9e20d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #31 0x0000ffff9e20d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #32 0x0000ffff9e20d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #33 0x0000ffff9e20d764 clang::ento::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 0x0000ffff9e4d787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #35 0x0000ffff9e4d787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #36 0x0000ffff9e4d787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #37 0x0000ffff9e4d787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #38 0x0000ffff9e4d787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #39 0x0000ffff9e4d87e8 llvm::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 0x0000ffff9e4d87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #41 0x0000ffff9e4d87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #42 0x0000ffff9e4dcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #43 0x0000ffff9e4dcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #44 0x0000ffff9e4dcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #45 0x0000ffff9e4dcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #46 0x0000ffff9e4dcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #47 0x0000ffff9c931e58 __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 0x0000ffff9c931e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #49 0x0000ffff9c931e58 void clang::finalize>, 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 0x0000ffff9c931e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #51 0x0000ffff9dff7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #52 0x0000ffff9dfafc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #53 0x0000ffff9dfafc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #54 0x0000ffff9dfafc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #55 0x0000ffff9e03610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #56 0x0000aaaad89159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #57 0x0000aaaad89194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #58 0x0000aaaad891aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #59 0x0000aaaad8911fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #60 0x0000ffff955a098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #61 0x0000ffff955a0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #62 0x0000aaaad89120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/taint-diagnostic-visitor.c.script: line 1: 1829359 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-checker=alpha.security.taint,core,alpha.security.ArrayBoundV2 -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/taint-diagnostic-visitor.c -- ******************** Testing: 0. FAIL: Clang :: Analysis/taint-dumps.c (1191 of 18953) ******************** TEST 'Clang :: Analysis/taint-dumps.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.security.taint -analyzer-checker=debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/taint-dumps.c 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/taint-dumps.c -- Exit Code: 1 Command Output (stderr): -- /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/taint-dumps.c:8:11: error: CHECK: expected string not found in input // CHECK: Tainted symbols: ^ :1:1: note: scanning from here PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. ^ :6:18: note: possible intended match here #0 Calling test_taint_dumps ^ Input file: Check file: /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/taint-dumps.c -dump-input=help explains the following input dump. Input was: <<<<<< 1: PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. check:8'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found 2: Stack dump: check:8'0 ~~~~~~~~~~~~ 3: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.security.taint -analyzer-checker=debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/taint-dumps.c check:8'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4: 1. parser at end of file check:8'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5: 2. While analyzing stack: check:8'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6: #0 Calling test_taint_dumps check:8'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ check:8'1 ? possible intended match 7: 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/taint-dumps.c:11:11: Error evaluating statement check:8'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 8: 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/taint-dumps.c:11:11: Error evaluating statement check:8'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 9: #0 0x0000ffffa270acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) check:8'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10: #1 0x0000ffffa2709100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) check:8'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 11: #2 0x0000ffffa270b388 (/usr/lib64/libLLVM-17.so+0x9bb388) check:8'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0. FAIL: Clang :: Analysis/taint-generic.cpp (1193 of 18953) ******************** TEST 'Clang :: Analysis/taint-generic.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.security.taint,core,alpha.security.ArrayBoundV2 -analyzer-config alpha.security.taint.TaintPropagation:Config=/builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Inputs/taint-generic-config.yaml -Wno-format-security -verify -std=c++11 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/taint-generic.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.security.taint,core,alpha.security.ArrayBoundV2 -analyzer-config alpha.security.taint.TaintPropagation:Config=/builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Inputs/taint-generic-config.yaml -Wno-format-security -verify -std=c++11 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/taint-generic.cpp 1. parser at end of file #0 0x0000ffff9730acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff97309100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9730b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa0242800 (linux-vdso.so.1+0x800) #4 0x0000ffff9f1bcc54 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff9f1bcc54 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff9f1bcc54 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff9f1bcc54 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff9f1bcc54 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff9f1bcc54 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff9f1bcc54 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff9f1bcc54 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 0x0000ffff9f1bd578 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 0x0000ffff9f1cd5a4 clang::ento::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 0x0000ffff9f1cd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #15 0x0000ffff9f1cd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #16 0x0000ffff9f1cd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #17 0x0000ffff9f1cd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #18 0x0000ffff9f1cd764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #19 0x0000ffff9f49787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffff9f49787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffff9f49787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #22 0x0000ffff9f49787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #23 0x0000ffff9f49787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #24 0x0000ffff9f4987e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #25 0x0000ffff9f4987e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #26 0x0000ffff9f4987e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #27 0x0000ffff9f49cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #28 0x0000ffff9f49cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #29 0x0000ffff9f49cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #30 0x0000ffff9f49cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #31 0x0000ffff9f49cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #32 0x0000ffff9d8f1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #33 0x0000ffff9d8f1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #34 0x0000ffff9d8f1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #35 0x0000ffff9d8f1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #36 0x0000ffff9efb7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #37 0x0000ffff9ef6fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #38 0x0000ffff9ef6fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #39 0x0000ffff9ef6fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #40 0x0000ffff9eff610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #41 0x0000aaaad12c59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #42 0x0000aaaad12c94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #43 0x0000aaaad12caac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #44 0x0000aaaad12c1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #45 0x0000ffff9656098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #46 0x0000ffff96560a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #47 0x0000aaaad12c20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/taint-generic.cpp.script: line 1: 1829383 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.security.taint,core,alpha.security.ArrayBoundV2 -analyzer-config alpha.security.taint.TaintPropagation:Config=/builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Inputs/taint-generic-config.yaml -Wno-format-security -verify -std=c++11 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/taint-generic.cpp -- ******************** Testing: 0. FAIL: Clang :: Analysis/taint-tester.cpp (1194 of 18953) ******************** TEST 'Clang :: Analysis/taint-tester.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.security.taint,debug.TaintTest /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/taint-tester.cpp -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.security.taint,debug.TaintTest /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/taint-tester.cpp -verify 1. parser at end of file #0 0x0000ffff7bccacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7bcc9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7bccb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff84c02800 (linux-vdso.so.1+0x800) #4 0x0000ffff83b7cc54 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff83b7cc54 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff83b7cc54 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff83b7cc54 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff83b7cc54 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff83b7cc54 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff83b7cc54 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff83b7cc54 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 0x0000ffff83b7d578 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 0x0000ffff83b8d5a4 clang::ento::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 0x0000ffff83b8d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #15 0x0000ffff83b8d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #16 0x0000ffff83b8d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #17 0x0000ffff83b8d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #18 0x0000ffff83b8d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #19 0x0000ffff83e5787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffff83e5787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffff83e5787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #22 0x0000ffff83e5787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #23 0x0000ffff83e5787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #24 0x0000ffff83e587e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #25 0x0000ffff83e587e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #26 0x0000ffff83e587e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #27 0x0000ffff83e5cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #28 0x0000ffff83e5cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #29 0x0000ffff83e5cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #30 0x0000ffff83e5cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #31 0x0000ffff83e5cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #32 0x0000ffff822b1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #33 0x0000ffff822b1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #34 0x0000ffff822b1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #35 0x0000ffff822b1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #36 0x0000ffff83977ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #37 0x0000ffff8392fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #38 0x0000ffff8392fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #39 0x0000ffff8392fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #40 0x0000ffff839b610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #41 0x0000aaaae6ca59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #42 0x0000aaaae6ca94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #43 0x0000aaaae6caaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #44 0x0000aaaae6ca1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #45 0x0000ffff7af2098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #46 0x0000ffff7af20a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #47 0x0000aaaae6ca20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/taint-tester.cpp.script: line 1: 1829400 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=alpha.security.taint,debug.TaintTest /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/taint-tester.cpp -verify -- ******************** Testing: 0. FAIL: Clang :: Analysis/taint-generic.c (1195 of 18953) ******************** TEST 'Clang :: Analysis/taint-generic.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-format-security -Wno-pointer-to-int-cast -Wno-incompatible-library-redeclaration -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/taint-generic.c -analyzer-checker=alpha.security.taint -analyzer-checker=core -analyzer-checker=alpha.security.ArrayBoundV2 -analyzer-checker=debug.ExprInspection -analyzer-config alpha.security.taint.TaintPropagation:Config=/builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Inputs/taint-generic-config.yaml : 'RUN: at line 10'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-format-security -Wno-pointer-to-int-cast -Wno-incompatible-library-redeclaration -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/taint-generic.c -DFILE_IS_STRUCT -analyzer-checker=alpha.security.taint -analyzer-checker=core -analyzer-checker=alpha.security.ArrayBoundV2 -analyzer-checker=debug.ExprInspection -analyzer-config alpha.security.taint.TaintPropagation:Config=/builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Inputs/taint-generic-config.yaml : 'RUN: at line 20'; not /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-pointer-to-int-cast -Wno-incompatible-library-redeclaration -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/taint-generic.c -analyzer-checker=alpha.security.taint -analyzer-checker=debug.ExprInspection -analyzer-config alpha.security.taint.TaintPropagation:Config=justguessit 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/taint-generic.c -check-prefix=CHECK-INVALID-FILE : 'RUN: at line 33'; not /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-incompatible-library-redeclaration -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/taint-generic.c -analyzer-checker=alpha.security.taint -analyzer-checker=debug.ExprInspection -analyzer-config alpha.security.taint.TaintPropagation:Config=/builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Inputs/taint-generic-config-ill-formed.yaml 2>&1 | /usr/bin/FileCheck -DMSG='Invalid argument' /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/taint-generic.c -check-prefix=CHECK-ILL-FORMED : 'RUN: at line 45'; not /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-incompatible-library-redeclaration -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/taint-generic.c -analyzer-checker=alpha.security.taint -analyzer-checker=debug.ExprInspection -analyzer-config alpha.security.taint.TaintPropagation:Config=/builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Inputs/taint-generic-config-invalid-arg.yaml 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/taint-generic.c -check-prefix=CHECK-INVALID-ARG -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-format-security -Wno-pointer-to-int-cast -Wno-incompatible-library-redeclaration -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/taint-generic.c -analyzer-checker=alpha.security.taint -analyzer-checker=core -analyzer-checker=alpha.security.ArrayBoundV2 -analyzer-checker=debug.ExprInspection -analyzer-config alpha.security.taint.TaintPropagation:Config=/builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Inputs/taint-generic-config.yaml 1. parser at end of file 2. While analyzing stack: #0 Calling testProctitle2 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/taint-generic.c:1102:15: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/taint-generic.c:1102:15: Error evaluating statement #0 0x0000ffff9295acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff92959100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9295b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9b89d800 (linux-vdso.so.1+0x800) #4 0x0000ffff9aba9c08 llvm::ImutAVLTree>>>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9aba9c08 llvm::IntrusiveRefCntPtrInfo>>>>::retain(llvm::ImutAVLTree>>>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9aba9c08 llvm::IntrusiveRefCntPtr>>>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9aba9c08 llvm::IntrusiveRefCntPtr>>>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>>>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9aba9c08 llvm::ImmutableMap>, llvm::ImutKeyValueInfo>>>::ImmutableMap(llvm::ImutAVLTree>>> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9aba9c08 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 0x0000ffff9aba9c08 get<(anonymous namespace)::TaintArgsOnPostVisit> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff9aba9c08 (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 0x0000ffff9a7d9524 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #13 0x0000ffff9a7d9524 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #14 0x0000ffff9a7d9524 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #15 0x0000ffff9a7d9524 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #16 0x0000ffff9a7d9524 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #17 0x0000ffff9a8398b8 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #18 0x0000ffff9a8398b8 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #19 0x0000ffff9a8398b8 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #20 0x0000ffff9a8398b8 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #21 0x0000ffff9a8398b8 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #22 0x0000ffff9a8398b8 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #23 0x0000ffff9a83a144 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #24 0x0000ffff9a81bea0 clang::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 0x0000ffff9a81bea0 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #26 0x0000ffff9a81cf08 clang::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 0x0000ffff9a81d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff9a81d41c clang::ento::CoreEngine::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 0x0000ffff9a81d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #30 0x0000ffff9a81d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #31 0x0000ffff9a81d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #32 0x0000ffff9a81d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #33 0x0000ffff9a81d764 clang::ento::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 0x0000ffff9aae787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #35 0x0000ffff9aae787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #36 0x0000ffff9aae787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #37 0x0000ffff9aae787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #38 0x0000ffff9aae787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #39 0x0000ffff9aae87e8 llvm::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 0x0000ffff9aae87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #41 0x0000ffff9aae87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #42 0x0000ffff9aaecde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #43 0x0000ffff9aaecde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #44 0x0000ffff9aaecde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #45 0x0000ffff9aaecde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #46 0x0000ffff9aaecde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #47 0x0000ffff98f41e58 __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 0x0000ffff98f41e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #49 0x0000ffff98f41e58 void clang::finalize>, 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 0x0000ffff98f41e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #51 0x0000ffff9a607ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #52 0x0000ffff9a5bfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #53 0x0000ffff9a5bfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #54 0x0000ffff9a5bfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #55 0x0000ffff9a64610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #56 0x0000aaaacb6759f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #57 0x0000aaaacb6794b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #58 0x0000aaaacb67aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #59 0x0000aaaacb671fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #60 0x0000ffff91bb098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #61 0x0000ffff91bb0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #62 0x0000aaaacb6720b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/taint-generic.c.script: line 5: 1829385 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-format-security -Wno-pointer-to-int-cast -Wno-incompatible-library-redeclaration -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/taint-generic.c -analyzer-checker=alpha.security.taint -analyzer-checker=core -analyzer-checker=alpha.security.ArrayBoundV2 -analyzer-checker=debug.ExprInspection -analyzer-config alpha.security.taint.TaintPropagation:Config=/builddir/build/BUILD/clang-17.0.6.src/test/Analysis/Inputs/taint-generic-config.yaml -- ******************** Testing: 0. FAIL: Clang :: Analysis/taint-tester.c (1196 of 18953) ******************** TEST 'Clang :: Analysis/taint-tester.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-int-to-pointer-cast -analyzer-checker=alpha.security.taint,debug.TaintTest /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/taint-tester.c -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-int-to-pointer-cast -analyzer-checker=alpha.security.taint,debug.TaintTest /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/taint-tester.c -verify 1. parser at end of file 2. While analyzing stack: #0 Calling noCrashTest 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/taint-tester.c:196:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/taint-tester.c:196:7: Error evaluating statement #0 0x0000ffff9d7bacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff9d7b9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9d7bb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa66fa800 (linux-vdso.so.1+0x800) #4 0x0000ffffa5a13688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa5a13688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa5a13688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa5a13688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa5a13688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa5a13688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa5a13688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa5a13688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa56c0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa56c0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa56c0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa56c0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa56c1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa56c1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa56c1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa56c1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa56d4770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa56d4770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa56d4770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa56d5cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa56d5cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa56d5cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa56d5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa56d5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa56d5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa56e17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa56e17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa56e17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa56eb074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa56eb074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa56eb074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa564f6d8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa564f6d8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa564f6d8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa564f6d8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffa5b3d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa5b3d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa5b3d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffa5662a0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffa5662a0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffa5662a0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffffa567ccac llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffffa567ccac llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffffa567ccac llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffffa567ccac clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffffa567ccac clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffffa567cf08 clang::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 0x0000ffffa567d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffa567d41c clang::ento::CoreEngine::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 0x0000ffffa567d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffa567d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffa567d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffa567d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffa567d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffa594787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffa594787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffa594787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffa594787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffa594787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffa59487e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffa59487e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffa59487e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffa594cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffa594cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffa594cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffa594cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffa594cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffa3da1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffa3da1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffa3da1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffa3da1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffa5467ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffa541fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffa541fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffa541fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffa54a610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaab88d59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaab88d94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaab88daac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaab88d1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff9ca1098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff9ca10a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaab88d20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/taint-tester.c.script: line 1: 1829393 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-int-to-pointer-cast -analyzer-checker=alpha.security.taint,debug.TaintTest /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/taint-tester.c -verify -- ******************** Testing: 0. FAIL: Clang :: Analysis/temp-obj-dtors-option.cpp (1197 of 18953) ******************** TEST 'Clang :: Analysis/temp-obj-dtors-option.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config c++-temp-dtor-inlining=false -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/temp-obj-dtors-option.cpp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config c++-temp-dtor-inlining=true -DINLINE -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/temp-obj-dtors-option.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config c++-temp-dtor-inlining=false -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/temp-obj-dtors-option.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling foo() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/temp-obj-dtors-option.cpp:15:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/temp-obj-dtors-option.cpp:15:3: Error evaluating statement #0 0x0000ffff7e5dacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7e5d9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7e5db388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff87514800 (linux-vdso.so.1+0x800) #4 0x0000ffff8648e6a4 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffff8648e6a4 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff8648e6a4 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff8648e6a4 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff8648e6a4 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff8648e6a4 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff8648e6a4 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff8648e6a4 llvm::IntrusiveRefCntPtr clang::ento::ProgramStateManager::set<(anonymous namespace)::ObjectsUnderConstruction>(llvm::IntrusiveRefCntPtr, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::key_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::value_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::context_type) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:652:0 #12 0x0000ffff8648ea94 llvm::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 0x0000ffff8648ea94 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #14 0x0000ffff8648ea94 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #15 0x0000ffff8648ea94 set<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:876:0 #16 0x0000ffff8648ea94 clang::ento::ExprEngine::addObjectUnderConstruction(llvm::IntrusiveRefCntPtr, clang::ConstructionContextItem const&, clang::LocationContext const*, clang::ento::SVal) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:599:0 #17 0x0000ffff8648efac llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #18 0x0000ffff8648efac llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #19 0x0000ffff8648efac clang::ento::ExprEngine::updateObjectsUnderConstruction(clang::ento::SVal, clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:486:0 #20 0x0000ffff86496a00 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #21 0x0000ffff86496a00 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #22 0x0000ffff86496a00 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 0x0000ffff86496a00 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 0x0000ffff8649be5c clang::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 0x0000ffff8649be5c clang::ento::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 0x0000ffff8649cf08 clang::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 0x0000ffff8649d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8649d41c clang::ento::CoreEngine::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 0x0000ffff8649d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #30 0x0000ffff8649d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #31 0x0000ffff8649d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #32 0x0000ffff8649d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #33 0x0000ffff8649d764 clang::ento::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 0x0000ffff8676787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #35 0x0000ffff8676787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #36 0x0000ffff8676787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #37 0x0000ffff8676787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #38 0x0000ffff8676787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #39 0x0000ffff867687e8 llvm::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 0x0000ffff867687e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #41 0x0000ffff867687e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #42 0x0000ffff8676cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #43 0x0000ffff8676cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #44 0x0000ffff8676cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #45 0x0000ffff8676cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #46 0x0000ffff8676cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #47 0x0000ffff84bc1e58 __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 0x0000ffff84bc1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #49 0x0000ffff84bc1e58 void clang::finalize>, 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 0x0000ffff84bc1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #51 0x0000ffff86287ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #52 0x0000ffff8623fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #53 0x0000ffff8623fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #54 0x0000ffff8623fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #55 0x0000ffff862c610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #56 0x0000aaaad25759f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #57 0x0000aaaad25794b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #58 0x0000aaaad257aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #59 0x0000aaaad2571fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #60 0x0000ffff7d83098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #61 0x0000ffff7d830a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #62 0x0000aaaad25720b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/temp-obj-dtors-option.cpp.script: line 2: 1829424 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config c++-temp-dtor-inlining=false -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/temp-obj-dtors-option.cpp -- ******************** Testing: 0. FAIL: Clang :: Analysis/templates.cpp (1198 of 18953) ******************** TEST 'Clang :: Analysis/templates.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -fblocks -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/templates.cpp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -fblocks -analyzer-config c++-template-inlining=false -DNO_INLINE -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/templates.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -fblocks -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/templates.cpp 1. parser at end of file #0 0x0000ffffab5cacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffab5c9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffab5cb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb450c800 (linux-vdso.so.1+0x800) #4 0x0000ffffb347cc54 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffb347cc54 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffb347cc54 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffb347cc54 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffb347cc54 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffb347cc54 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffb347cc54 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffb347cc54 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 0x0000ffffb347d578 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 0x0000ffffb348d5a4 clang::ento::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 0x0000ffffb348d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #15 0x0000ffffb348d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #16 0x0000ffffb348d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #17 0x0000ffffb348d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #18 0x0000ffffb348d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #19 0x0000ffffb375787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffffb375787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffffb375787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #22 0x0000ffffb375787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #23 0x0000ffffb375787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #24 0x0000ffffb37587e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #25 0x0000ffffb37587e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #26 0x0000ffffb37587e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #27 0x0000ffffb375cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #28 0x0000ffffb375cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #29 0x0000ffffb375cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #30 0x0000ffffb375cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #31 0x0000ffffb375cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #32 0x0000ffffb1bb1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #33 0x0000ffffb1bb1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #34 0x0000ffffb1bb1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #35 0x0000ffffb1bb1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #36 0x0000ffffb3277ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #37 0x0000ffffb322fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #38 0x0000ffffb322fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #39 0x0000ffffb322fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #40 0x0000ffffb32b610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #41 0x0000aaaae91e59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #42 0x0000aaaae91e94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #43 0x0000aaaae91eaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #44 0x0000aaaae91e1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #45 0x0000ffffaa82098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #46 0x0000ffffaa820a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #47 0x0000aaaae91e20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/templates.cpp.script: line 2: 1829442 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -fblocks -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/templates.cpp -- ******************** Testing: 0. FAIL: Clang :: Analysis/template-param-objects.cpp (1199 of 18953) ******************** TEST 'Clang :: Analysis/template-param-objects.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -std=c++20 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/template-param-objects.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -std=c++20 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/template-param-objects.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling stable_addresses() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/template-param-objects.cpp:29:23: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/template-param-objects.cpp:29:23: Error evaluating statement #0 0x0000ffff85e3acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff85e39100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff85e3b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8ed7d800 (linux-vdso.so.1+0x800) #4 0x0000ffff8dce8434 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8dce8434 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8dce8434 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8dce8434 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8dce8434 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8dce8434 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff8dce8434 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:0 #11 0x0000ffff8dce8434 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 0x0000ffff8dd192b0 clang::ento::ExprEngine::finishArgumentConstruction(llvm::IntrusiveRefCntPtr, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:640:59 #13 0x0000ffff8dd19454 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #14 0x0000ffff8dd19454 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #15 0x0000ffff8dd19454 clang::ento::ExprEngine::finishArgumentConstruction(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:657:72 #16 0x0000ffff8dcf6164 clang::ento::ExprEngine::handleConstructor(clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:832:0 #17 0x0000ffff8dcfbe5c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #18 0x0000ffff8dcfbe5c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2158:0 #19 0x0000ffff8dcfcf08 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #20 0x0000ffff8dcfd1f0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #21 0x0000ffff8dcfd41c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #22 0x0000ffff8dcfd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #23 0x0000ffff8dcfd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #24 0x0000ffff8dcfd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #25 0x0000ffff8dcfd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #26 0x0000ffff8dcfd764 clang::ento::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 0x0000ffff8dfc787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x0000ffff8dfc787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x0000ffff8dfc787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #30 0x0000ffff8dfc787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #31 0x0000ffff8dfc787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #32 0x0000ffff8dfc87e8 llvm::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 0x0000ffff8dfc87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #34 0x0000ffff8dfc87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #35 0x0000ffff8dfccde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x0000ffff8dfccde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x0000ffff8dfccde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #38 0x0000ffff8dfccde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #39 0x0000ffff8dfccde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #40 0x0000ffff8c421e58 __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 0x0000ffff8c421e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #42 0x0000ffff8c421e58 void clang::finalize>, 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 0x0000ffff8c421e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #44 0x0000ffff8dae7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #45 0x0000ffff8da9fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #46 0x0000ffff8da9fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #47 0x0000ffff8da9fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #48 0x0000ffff8db2610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #49 0x0000aaaadd7159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #50 0x0000aaaadd7194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #51 0x0000aaaadd71aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #52 0x0000aaaadd711fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #53 0x0000ffff8509098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #54 0x0000ffff85090a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #55 0x0000aaaadd7120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/template-param-objects.cpp.script: line 1: 1829431 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -std=c++20 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/template-param-objects.cpp -- ******************** Testing: 0. FAIL: Clang :: Analysis/temporaries-callback-order.cpp (1201 of 18953) ******************** TEST 'Clang :: Analysis/temporaries-callback-order.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-checker=debug.AnalysisOrder -analyzer-config debug.AnalysisOrder:Bind=true -analyzer-config debug.AnalysisOrder:RegionChanges=true /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/temporaries-callback-order.cpp 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/temporaries-callback-order.cpp -- Exit Code: 1 Command Output (stderr): -- /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/temporaries-callback-order.cpp:30:15: error: CHECK-NOT: excluded string found in input // CHECK-NOT: Bind ^ :6:317: note: found here 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-checker=debug.AnalysisOrder -analyzer-config debug.AnalysisOrder:Bind=true -analyzer-config debug.AnalysisOrder:RegionChanges=true /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/temporaries-callback-order.cpp ^~~~ /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/temporaries-callback-order.cpp:31:15: error: CHECK-NOT: excluded string found in input // CHECK-NOT: RegionChanges ^ :6:364: note: found here 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-checker=debug.AnalysisOrder -analyzer-config debug.AnalysisOrder:Bind=true -analyzer-config debug.AnalysisOrder:RegionChanges=true /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/temporaries-callback-order.cpp ^~~~~~~~~~~~~ Input file: Check file: /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/temporaries-callback-order.cpp -dump-input=help explains the following input dump. Input was: <<<<<< 1: Bind 2: RegionChanges 3: RegionChanges 4: PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. 5: Stack dump: 6: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-checker=debug.AnalysisOrder -analyzer-config debug.AnalysisOrder:Bind=true -analyzer-config debug.AnalysisOrder:RegionChanges=true /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/temporaries-callback-order.cpp not:30 !~~~ error: no match expected not:31 !~~~~~~~~~~~~ error: no match expected 7: 1. parser at end of file 8: 2. While analyzing stack: 9: #0 Calling Sub::Sub() at line 12 10: #1 Calling testTemporaries() 11: 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/temporaries-callback-order.cpp:6:8: Error evaluating statement . . . >>>>>> -- ******************** Testing: 0. FAIL: Clang :: Analysis/temporaries.mm (1202 of 18953) ******************** TEST 'Clang :: Analysis/temporaries.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker core,cplusplus -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/temporaries.mm -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker core,cplusplus -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/temporaries.mm 1. parser at end of file 2. While analyzing stack: #0 Calling testNilReceiverCleanup() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/temporaries.mm:28:13: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/temporaries.mm:28:13: Error evaluating statement #0 0x0000ffff92aeacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff92ae9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff92aeb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9ba2e800 (linux-vdso.so.1+0x800) #4 0x0000ffff9a99e6a4 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffff9a99e6a4 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff9a99e6a4 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff9a99e6a4 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff9a99e6a4 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff9a99e6a4 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff9a99e6a4 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff9a99e6a4 llvm::IntrusiveRefCntPtr clang::ento::ProgramStateManager::set<(anonymous namespace)::ObjectsUnderConstruction>(llvm::IntrusiveRefCntPtr, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::key_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::value_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::context_type) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:652:0 #12 0x0000ffff9a99ea94 llvm::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 0x0000ffff9a99ea94 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #14 0x0000ffff9a99ea94 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #15 0x0000ffff9a99ea94 set<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:876:0 #16 0x0000ffff9a99ea94 clang::ento::ExprEngine::addObjectUnderConstruction(llvm::IntrusiveRefCntPtr, clang::ConstructionContextItem const&, clang::LocationContext const*, clang::ento::SVal) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:599:0 #17 0x0000ffff9a99eec8 llvm::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 0x0000ffff9a99eec8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #19 0x0000ffff9a99eec8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #20 0x0000ffff9a99eec8 clang::ento::ExprEngine::updateObjectsUnderConstruction(clang::ento::SVal, clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:507:0 #21 0x0000ffff9a99f108 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #22 0x0000ffff9a99f108 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #23 0x0000ffff9a99f108 clang::ento::ExprEngine::updateObjectsUnderConstruction(clang::ento::SVal, clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:459:0 #24 0x0000ffff9a9a6a00 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #25 0x0000ffff9a9a6a00 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #26 0x0000ffff9a9a6a00 clang::ento::ExprEngine::handleConstructionContext(clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::ento::NodeBuilderContext const*, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions&, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:753:0 #27 0x0000ffff9a9a6a00 clang::ento::ExprEngine::handleConstructor(clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:665:0 #28 0x0000ffff9a9abe5c clang::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 0x0000ffff9a9abe5c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2158:0 #30 0x0000ffff9a9acf08 clang::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 0x0000ffff9a9ad1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff9a9ad41c clang::ento::CoreEngine::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 0x0000ffff9a9ad764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #34 0x0000ffff9a9ad764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #35 0x0000ffff9a9ad764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #36 0x0000ffff9a9ad764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #37 0x0000ffff9a9ad764 clang::ento::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 0x0000ffff9ac7787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #39 0x0000ffff9ac7787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #40 0x0000ffff9ac7787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #41 0x0000ffff9ac7787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #42 0x0000ffff9ac7787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #43 0x0000ffff9ac787e8 llvm::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 0x0000ffff9ac787e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #45 0x0000ffff9ac787e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #46 0x0000ffff9ac7cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #47 0x0000ffff9ac7cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #48 0x0000ffff9ac7cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #49 0x0000ffff9ac7cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #50 0x0000ffff9ac7cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #51 0x0000ffff990d1e58 __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 0x0000ffff990d1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #53 0x0000ffff990d1e58 void clang::finalize>, 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 0x0000ffff990d1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #55 0x0000ffff9a797ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #56 0x0000ffff9a74fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #57 0x0000ffff9a74fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #58 0x0000ffff9a74fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #59 0x0000ffff9a7d610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #60 0x0000aaaacaa259f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #61 0x0000aaaacaa294b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #62 0x0000aaaacaa2aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #63 0x0000aaaacaa21fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #64 0x0000ffff91d4098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #65 0x0000ffff91d40a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #66 0x0000aaaacaa220b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/temporaries.mm.script: line 1: 1829470 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker core,cplusplus -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/temporaries.mm -- ******************** Testing: 0. FAIL: Clang :: Analysis/temporaries.cpp (1203 of 18953) ******************** TEST 'Clang :: Analysis/temporaries.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core,cplusplus -analyzer-checker debug.ExprInspection -Wno-non-pod-varargs -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/temporaries.cpp -std=c++03 -analyzer-config cfg-temporary-dtors=false : 'RUN: at line 6'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core,cplusplus -analyzer-checker debug.ExprInspection -Wno-non-pod-varargs -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/temporaries.cpp -std=c++11 -analyzer-config cfg-temporary-dtors=false : 'RUN: at line 11'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core,cplusplus -analyzer-checker debug.ExprInspection -Wno-non-pod-varargs -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/temporaries.cpp -std=c++11 -analyzer-config cfg-temporary-dtors=true -DTEMPORARY_DTORS : 'RUN: at line 17'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core,cplusplus -analyzer-checker debug.ExprInspection -Wno-non-pod-varargs -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/temporaries.cpp -std=c++17 -analyzer-config cfg-temporary-dtors=true -DTEMPORARY_DTORS -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core,cplusplus -analyzer-checker debug.ExprInspection -Wno-non-pod-varargs -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/temporaries.cpp -std=c++03 -analyzer-config cfg-temporary-dtors=false 1. parser at end of file 2. While analyzing stack: #0 Calling return_from_top_frame::bar3(int) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/temporaries.cpp:1223:10: Error evaluating branch #0 0x0000ffffb41eacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb41e9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb41eb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffbd125800 (linux-vdso.so.1+0x800) #4 0x0000ffffbc443688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffbc443688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffbc443688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffbc443688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffbc443688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffbc443688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffbc443688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffbc443688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffbc0f0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffbc0f0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffbc0f0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffbc0f0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffbc0f1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffbc0f1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffbc0f1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffbc0f1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffbc104770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffbc104770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffbc104770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffbc105cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffbc105cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffbc105cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffbc105190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffbc105190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffbc105190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffbc1117d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffbc1117d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffbc1117d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffbc11b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffbc11b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffbc11b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffbc07f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffbc07f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffbc07f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffbc07f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffbc56d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffbc56d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffbc56d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffbc0958c8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffffbc0958c8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffffbc0958c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffffbc0958c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffffbc0958c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffffbc0958c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffffbc0958c8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffffbc0958c8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffffbc0958c8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffffbc0958c8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffffbc095e30 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffffbc0ad764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffbc0ad764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffbc0ad764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffbc0ad764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffbc0ad764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffbc37787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffbc37787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffbc37787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffbc37787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffbc37787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffbc3787e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffbc3787e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffbc3787e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffbc37cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffbc37cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffbc37cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffbc37cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffbc37cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffba7d1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffba7d1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffba7d1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffba7d1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffbbe97ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffbbe4fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffbbe4fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffbbe4fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffbbed610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaab86d59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaab86d94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaab86daac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaab86d1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffb344098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffb3440a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaab86d20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/temporaries.cpp.script: line 4: 1829464 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core,cplusplus -analyzer-checker debug.ExprInspection -Wno-non-pod-varargs -analyzer-config eagerly-assume=false -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/temporaries.cpp -std=c++03 -analyzer-config cfg-temporary-dtors=false -- ******************** Testing: 0. FAIL: Clang :: Analysis/test-after-div-zero.c (1204 of 18953) ******************** TEST 'Clang :: Analysis/test-after-div-zero.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c99 -Dbool=_Bool -analyzer-checker=core,alpha.core.TestAfterDivZero -analyzer-output=text -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/test-after-div-zero.c : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -x c++ -analyzer-checker=core,alpha.core.TestAfterDivZero -analyzer-output=text -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/test-after-div-zero.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c99 -Dbool=_Bool -analyzer-checker=core,alpha.core.TestAfterDivZero -analyzer-output=text -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/test-after-div-zero.c 1. parser at end of file 2. While analyzing stack: #0 Calling ok_inline 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/test-after-div-zero.c:201:9: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/test-after-div-zero.c:201:9: Error evaluating statement #0 0x0000ffff7e7facd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7e7f9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7e7fb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff87732800 (linux-vdso.so.1+0x800) #4 0x0000ffff86a53688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff86a53688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff86a53688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff86a53688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff86a53688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff86a53688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff86a53688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff86a53688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff86700c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff86700c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff86700c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff86700c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff86701ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff86701ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff86701ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff86701ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff8671591c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff8671591c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff8671591c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffff86715bf0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff86715bf0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff86715bf0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffff86715190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff86715190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff86715190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff867217d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff867217d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff867217d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8672b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8672b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8672b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8668f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8668f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8668f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8668f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff8668fbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8668fbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8668fbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff86919748 llvm::IntrusiveRefCntPtr::operator bool() const /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:201:43 #43 0x0000ffff86919748 isZero /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/TestAfterDivZeroChecker.cpp:142:45 #44 0x0000ffff86919748 checkPreStmt /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/TestAfterDivZeroChecker.cpp:205:16 #45 0x0000ffff86919748 void clang::ento::check::PreStmt::_checkStmt<(anonymous namespace)::TestAfterDivZeroChecker>(void*, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:85:45 #46 0x0000ffff86678078 expandGraphWithCheckers<(anonymous namespace)::CheckStmtContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #47 0x0000ffff86678078 clang::ento::CheckerManager::runCheckersForStmt(bool, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::Stmt const*, clang::ento::ExprEngine&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:190:0 #48 0x0000ffff866afdb8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #49 0x0000ffff866afdb8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #50 0x0000ffff866afdb8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #51 0x0000ffff866afdb8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #52 0x0000ffff866afdb8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #53 0x0000ffff866afdb8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #54 0x0000ffff866afdb8 clang::ento::ExprEngine::VisitBinaryOperator(clang::BinaryOperator const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:50:0 #55 0x0000ffff866bcbd8 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2103:0 #56 0x0000ffff866bcf08 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #57 0x0000ffff866bd1f0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #58 0x0000ffff866bd41c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #59 0x0000ffff866bd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff866bd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff866bd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #62 0x0000ffff866bd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #63 0x0000ffff866bd764 clang::ento::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 0x0000ffff8698787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #65 0x0000ffff8698787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #66 0x0000ffff8698787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #67 0x0000ffff8698787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #68 0x0000ffff8698787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #69 0x0000ffff869887e8 llvm::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 0x0000ffff869887e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #71 0x0000ffff869887e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #72 0x0000ffff8698cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #73 0x0000ffff8698cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #74 0x0000ffff8698cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #75 0x0000ffff8698cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #76 0x0000ffff8698cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #77 0x0000ffff84de1e58 __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 0x0000ffff84de1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #79 0x0000ffff84de1e58 void clang::finalize>, 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 0x0000ffff84de1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #81 0x0000ffff864a7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #82 0x0000ffff8645fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #83 0x0000ffff8645fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #84 0x0000ffff8645fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #85 0x0000ffff864e610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #86 0x0000aaaad62459f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #87 0x0000aaaad62494b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #88 0x0000aaaad624aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #89 0x0000aaaad6241fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #90 0x0000ffff7da5098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #91 0x0000ffff7da50a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #92 0x0000aaaad62420b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/test-after-div-zero.c.script: line 2: 1829478 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c99 -Dbool=_Bool -analyzer-checker=core,alpha.core.TestAfterDivZero -analyzer-output=text -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/test-after-div-zero.c -- ******************** Testing: 0. FAIL: Clang :: Analysis/test-include-cpp.cpp (1205 of 18953) ******************** TEST 'Clang :: Analysis/test-include-cpp.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/test-include-cpp.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/test-include-cpp.cpp 1. parser at end of file #0 0x0000ffff7e1aacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7e1a9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7e1ab388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff870e7800 (linux-vdso.so.1+0x800) #4 0x0000ffff86403688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff86403688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff86403688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff86403688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff86403688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff86403688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff86403688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff86403688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff860b0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff860b0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff860b0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff860b0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff860b1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff860b1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff860b1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff860b1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff860c4770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff860c4770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff860c4770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff860c5cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff860c5cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff860c5cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff860c5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff860c5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff860c5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff860d17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff860d17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff860d17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff860db074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff860db074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff860db074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8603f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8603f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8603f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8603f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff8603fbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8603fbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8603fbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff860131c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff860131c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff860131c0 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff8604fb5c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff8604fb5c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff8604fb5c clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:42 #48 0x0000ffff8606daa8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff8606daa8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff8606daa8 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff8633787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff8633787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff8633787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff8633787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff8633787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff863387e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffff863387e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff863387e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff8633cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff8633cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff8633cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff8633cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff8633cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff84791e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffff84791e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff84791e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffff84791e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff85e57ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff85e0fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff85e0fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff85e0fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff85e9610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaac9f359f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaac9f394b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaac9f3aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaac9f31fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff7d40098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff7d400a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaac9f320b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/test-include-cpp.cpp.script: line 1: 1829485 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/test-include-cpp.cpp -- ******************** Testing: 0. FAIL: Clang :: Analysis/test-objc-non-nil-return-value-checker.m (1208 of 18953) ******************** TEST 'Clang :: Analysis/test-objc-non-nil-return-value-checker.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=osx.cocoa.NonNilReturnValue,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/test-objc-non-nil-return-value-checker.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=osx.cocoa.NonNilReturnValue,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/test-objc-non-nil-return-value-checker.m 1. parser at end of file 2. While analyzing stack: #0 Calling assumeThatNSArrayObjectAtIndexedSubscriptIsNeverNull 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/test-objc-non-nil-return-value-checker.m:49:23: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/test-objc-non-nil-return-value-checker.m:49:23: Error evaluating statement #0 0x0000ffffa975acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa9759100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa975b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb2696800 (linux-vdso.so.1+0x800) #4 0x0000ffffb19b3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb19b3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb19b3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb19b3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb19b3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb19b3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb19b3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb19b3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb1660c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb1660c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb1660c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb1660c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb1661ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb1661ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb1661ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb1661ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb1674770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb1674770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb1674770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb1675cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb1675cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb1675cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb1675190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb1675190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb1675190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb16817d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb16817d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb16817d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb168b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb168b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb168b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb15ef72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb15ef72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb15ef72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb15ef72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb1add3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb1add3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb1add3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffb165171c std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #43 0x0000ffffb165171c std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #44 0x0000ffffb165171c std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #45 0x0000ffffb165171c std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #46 0x0000ffffb165171c std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #47 0x0000ffffb165171c clang::ento::ExprEngine::VisitObjCMessage(clang::ObjCMessageExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineObjC.cpp:192:0 #48 0x0000ffffb161ba38 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #49 0x0000ffffb161ba38 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2309:0 #50 0x0000ffffb161cf08 clang::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 0x0000ffffb161d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffb161d41c clang::ento::CoreEngine::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 0x0000ffffb161d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffb161d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffb161d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffb161d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffb161d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffb18e787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffb18e787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffb18e787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffb18e787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffb18e787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffb18e87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffb18e87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffb18e87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffb18ecde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffb18ecde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffb18ecde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffb18ecde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffb18ecde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffafd41e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffafd41e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffafd41e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffafd41e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffb1407ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffb13bfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffb13bfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffb13bfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffb144610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaac01059f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaac01094b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaac010aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaac0101fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffa89b098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffa89b0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaac01020b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/test-objc-non-nil-return-value-checker.m.script: line 1: 1829513 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=osx.cocoa.NonNilReturnValue,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/test-objc-non-nil-return-value-checker.m -- ******************** Testing: 0. FAIL: Clang :: Analysis/this-pointer.cpp (1209 of 18953) ******************** TEST 'Clang :: Analysis/this-pointer.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config widen-loops=true -analyzer-disable-retry-exhausted -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/this-pointer.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config widen-loops=true -analyzer-disable-retry-exhausted -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/this-pointer.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling this_pointer_after_loop_widen::E::E() at line 84 #1 Calling this_pointer_after_loop_widen::test_chained_method_call() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/this-pointer.cpp:72:13: Error evaluating statement #0 0x0000ffff82d4acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff82d49100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff82d4b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8bc8e800 (linux-vdso.so.1+0x800) #4 0x0000ffff8abf7db8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff8abf7db8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff8abf7db8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff8abf7db8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff8abf7db8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff8abf7db8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff8abf7db8 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff8abf7db8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1059:61 #12 0x0000ffff8ac0ce94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffff8ac0ce94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffff8ac0ce94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffff8ac0ce94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffff8ac0ce94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffff8ac0ce94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffff8ac0ce94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffff8ac0ce94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffff8ac0ce94 clang::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 0x0000ffff8ac0d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8ac0d310 clang::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 0x0000ffff8ac0d5dc clang::ento::CoreEngine::dispatchWorkItem(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 0x0000ffff8ac0d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x0000ffff8ac0d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x0000ffff8ac0d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #27 0x0000ffff8ac0d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #28 0x0000ffff8ac0d764 clang::ento::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 0x0000ffff8aed787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffff8aed787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffff8aed787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #32 0x0000ffff8aed787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #33 0x0000ffff8aed787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #34 0x0000ffff8aed87e8 llvm::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 0x0000ffff8aed87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x0000ffff8aed87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #37 0x0000ffff8aedcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x0000ffff8aedcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x0000ffff8aedcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x0000ffff8aedcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x0000ffff8aedcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x0000ffff89331e58 __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 0x0000ffff89331e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x0000ffff89331e58 void clang::finalize>, 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 0x0000ffff89331e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x0000ffff8a9f7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #47 0x0000ffff8a9afc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #48 0x0000ffff8a9afc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #49 0x0000ffff8a9afc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #50 0x0000ffff8aa3610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #51 0x0000aaaae3dd59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x0000aaaae3dd94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x0000aaaae3ddaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x0000aaaae3dd1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x0000ffff81fa098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #56 0x0000ffff81fa0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #57 0x0000aaaae3dd20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/this-pointer.cpp.script: line 1: 1829522 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -analyzer-config widen-loops=true -analyzer-disable-retry-exhausted -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/this-pointer.cpp -- ******************** Testing: 0. FAIL: Clang :: Analysis/test-variably-modified-types.c (1210 of 18953) ******************** TEST 'Clang :: Analysis/test-variably-modified-types.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyze-function=testVariablyModifiedTypes -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/test-variably-modified-types.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyze-function=testVariablyModifiedTypes -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/test-variably-modified-types.c 1. parser at end of file 2. While analyzing stack: #0 Calling getArraySize at line 11 #1 Calling testVariablyModifiedTypes 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/test-variably-modified-types.c:5:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/test-variably-modified-types.c:5:7: Error evaluating statement #0 0x0000ffffa9c4acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa9c49100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa9c4b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb2b8b800 (linux-vdso.so.1+0x800) #4 0x0000ffffb1ea3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb1ea3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb1ea3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb1ea3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb1ea3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb1ea3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb1ea3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb1ea3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb1b50c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb1b50c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb1b50c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb1b50c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb1b51ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb1b51ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb1b51ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb1b51ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb1b64770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb1b64770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb1b64770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb1b65cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb1b65cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb1b65cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb1b65190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb1b65190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb1b65190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb1b717d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb1b717d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb1b717d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb1b7b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb1b7b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb1b7b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb1adf6d8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb1adf6d8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb1adf6d8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb1adf6d8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffb1fcd3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb1fcd3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb1fcd3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffb1af2a0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffb1af2a0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffb1af2a0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffffb1b0ccac llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffffb1b0ccac llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffffb1b0ccac llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffffb1b0ccac clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffffb1b0ccac clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffffb1b0cf08 clang::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 0x0000ffffb1b0d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffb1b0d41c clang::ento::CoreEngine::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 0x0000ffffb1b0d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffb1b0d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffb1b0d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffb1b0d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffb1b0d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffb1dd787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffb1dd787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffb1dd787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffb1dd787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffb1dd787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffb1dd87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffb1dd87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffb1dd87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffb1ddcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffb1ddcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffb1ddcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffb1ddcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffb1ddcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffb0231e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffb0231e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffb0231e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffb0231e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffb18f7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffb18afc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffb18afc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffb18afc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffb193610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaaea0e59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaaea0e94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaaea0eaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaaea0e1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffa8ea098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffa8ea0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaaea0e20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/test-variably-modified-types.c.script: line 1: 1829518 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyze-function=testVariablyModifiedTypes -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/test-variably-modified-types.c -- ******************** Testing: 0. FAIL: Clang :: Analysis/track-control-dependency-conditions.cpp (1212 of 18953) ******************** TEST 'Clang :: Analysis/track-control-dependency-conditions.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/track-control-dependency-conditions.cpp -std=c++17 -verify=expected,tracking -analyzer-config track-conditions=true -analyzer-output=text -analyzer-checker=core : 'RUN: at line 7'; not /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++17 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/track-control-dependency-conditions.cpp -analyzer-checker=core -analyzer-config track-conditions=false -analyzer-config track-conditions-debug=true 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/track-control-dependency-conditions.cpp -check-prefix=CHECK-INVALID-DEBUG : 'RUN: at line 17'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/track-control-dependency-conditions.cpp -std=c++17 -verify=expected,tracking,debug -analyzer-config track-conditions=true -analyzer-config track-conditions-debug=true -analyzer-output=text -analyzer-checker=core : 'RUN: at line 24'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/track-control-dependency-conditions.cpp -std=c++17 -verify -analyzer-output=text -analyzer-config track-conditions=false -analyzer-checker=core -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/track-control-dependency-conditions.cpp -std=c++17 -verify=expected,tracking -analyzer-config track-conditions=true -analyzer-output=text -analyzer-checker=core 1. parser at end of file 2. While analyzing stack: #0 Calling operator_call_in_condition_point::f(int *) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/track-control-dependency-conditions.cpp:1006:7: Error evaluating statement #0 0x0000ffff88f8acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff88f89100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff88f8b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff91ec4800 (linux-vdso.so.1+0x800) #4 0x0000ffff90e37db8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff90e37db8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff90e37db8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff90e37db8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff90e37db8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff90e37db8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff90e37db8 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff90e37db8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1059:61 #12 0x0000ffff90e4ce94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffff90e4ce94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffff90e4ce94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffff90e4ce94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffff90e4ce94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffff90e4ce94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffff90e4ce94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffff90e4ce94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffff90e4ce94 clang::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 0x0000ffff90e4d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff90e4d41c clang::ento::CoreEngine::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 0x0000ffff90e4d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #24 0x0000ffff90e4d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #25 0x0000ffff90e4d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #26 0x0000ffff90e4d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #27 0x0000ffff90e4d764 clang::ento::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 0x0000ffff9111787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #29 0x0000ffff9111787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #30 0x0000ffff9111787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #31 0x0000ffff9111787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #32 0x0000ffff9111787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #33 0x0000ffff911187e8 llvm::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 0x0000ffff911187e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #35 0x0000ffff911187e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #36 0x0000ffff9111cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #37 0x0000ffff9111cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #38 0x0000ffff9111cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #39 0x0000ffff9111cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #40 0x0000ffff9111cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #41 0x0000ffff8f571e58 __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 0x0000ffff8f571e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #43 0x0000ffff8f571e58 void clang::finalize>, 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 0x0000ffff8f571e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #45 0x0000ffff90c37ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #46 0x0000ffff90befc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #47 0x0000ffff90befc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #48 0x0000ffff90befc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #49 0x0000ffff90c7610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #50 0x0000aaaadf6e59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #51 0x0000aaaadf6e94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #52 0x0000aaaadf6eaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #53 0x0000aaaadf6e1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #54 0x0000ffff881e098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #55 0x0000ffff881e0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #56 0x0000aaaadf6e20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/track-control-dependency-conditions.cpp.script: line 4: 1829526 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/track-control-dependency-conditions.cpp -std=c++17 -verify=expected,tracking -analyzer-config track-conditions=true -analyzer-output=text -analyzer-checker=core -- ******************** Testing: 0. FAIL: Clang :: Analysis/test-separate-retaincount.cpp (1213 of 18953) ******************** TEST 'Clang :: Analysis/test-separate-retaincount.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -verify=no-retain-count /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/test-separate-retaincount.cpp -analyzer-checker=core,osx -analyzer-disable-checker osx.cocoa.RetainCount : 'RUN: at line 5'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -verify=no-os-object /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/test-separate-retaincount.cpp -analyzer-checker=core,osx -analyzer-disable-checker osx.OSObjectRetainCount -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -verify=no-retain-count /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/test-separate-retaincount.cpp -analyzer-checker=core,osx -analyzer-disable-checker osx.cocoa.RetainCount 1. parser at end of file 2. While analyzing stack: #0 Calling osobject_overrelease() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/test-separate-retaincount.cpp:27:17: Error evaluating New Allocator Call #0 0x0000ffff7e53acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7e539100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7e53b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8747b800 (linux-vdso.so.1+0x800) #4 0x0000ffff86793688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff86793688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff86793688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff86793688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff86793688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff86793688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff86793688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff86793688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff86440c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff86440c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff86440c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff86440c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff86441ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff86441ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff86441ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff86441ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff86454770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff86454770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff86454770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff86455cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff86455cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff86455cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff86455190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff86455190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff86455190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff864617d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff864617d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff864617d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8646b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8646b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8646b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff863cf72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff863cf72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff863cf72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff863cf72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff863cfbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff863cfbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff863cfbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff863f9b98 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #43 0x0000ffff863f9b98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #44 0x0000ffff863f9b98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffff863f9b98 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #46 0x0000ffff863f9b98 clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #47 0x0000ffff863f9fac llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #48 0x0000ffff863f9fac llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #49 0x0000ffff863f9fac clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #50 0x0000ffff863f9fac clang::ento::CoreEngine::enqueue(clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:613:23 #51 0x0000ffff863f9fac clang::ento::ExprEngine::ProcessNewAllocator(clang::CXXNewExpr const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1326:0 #52 0x0000ffff863fd22c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:984:0 #53 0x0000ffff863fd310 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #54 0x0000ffff863fd5dc clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #55 0x0000ffff863fd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #56 0x0000ffff863fd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #57 0x0000ffff863fd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #58 0x0000ffff863fd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #59 0x0000ffff863fd764 clang::ento::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 0x0000ffff866c787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #61 0x0000ffff866c787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #62 0x0000ffff866c787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #63 0x0000ffff866c787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #64 0x0000ffff866c787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #65 0x0000ffff866c87e8 llvm::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 0x0000ffff866c87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #67 0x0000ffff866c87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #68 0x0000ffff866ccde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #69 0x0000ffff866ccde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #70 0x0000ffff866ccde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #71 0x0000ffff866ccde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #72 0x0000ffff866ccde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #73 0x0000ffff84b21e58 __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 0x0000ffff84b21e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #75 0x0000ffff84b21e58 void clang::finalize>, 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 0x0000ffff84b21e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #77 0x0000ffff861e7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #78 0x0000ffff8619fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #79 0x0000ffff8619fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #80 0x0000ffff8619fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #81 0x0000ffff8622610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #82 0x0000aaaae5a759f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #83 0x0000aaaae5a794b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #84 0x0000aaaae5a7aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #85 0x0000aaaae5a71fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #86 0x0000ffff7d79098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #87 0x0000ffff7d790a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #88 0x0000aaaae5a720b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/test-separate-retaincount.cpp.script: line 2: 1829512 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -verify=no-retain-count /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/test-separate-retaincount.cpp -analyzer-checker=core,osx -analyzer-disable-checker osx.cocoa.RetainCount -- ******************** Testing: 0. FAIL: Clang :: Analysis/traversal-algorithm.mm (1215 of 18953) ******************** TEST 'Clang :: Analysis/traversal-algorithm.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.DumpTraversal -analyzer-max-loop 4 -std=c++11 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/traversal-algorithm.mm | /usr/bin/FileCheck -check-prefix=DFS /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/traversal-algorithm.mm -- Exit Code: 2 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=debug.DumpTraversal -analyzer-max-loop 4 -std=c++11 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/traversal-algorithm.mm 1. parser at end of file 2. While analyzing stack: #0 Calling testLoops(id) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/traversal-algorithm.mm:27:10: Error evaluating branch #0 0x0000ffff9628acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff96289100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9628b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9f1c4800 (linux-vdso.so.1+0x800) #4 0x0000ffff9e4e3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9e4e3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9e4e3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9e4e3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff9e4e3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff9e4e3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff9e4e3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff9e4e3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff9e190c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff9e190c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff9e190c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff9e190c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff9e191ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff9e191ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff9e191ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff9e191ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff9e1a4770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff9e1a4770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff9e1a4770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff9e1a5cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff9e1a5cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff9e1a5cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff9e1a5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff9e1a5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff9e1a5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff9e1b17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff9e1b17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff9e1b17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9e1bb074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9e1bb074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9e1bb074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9e11f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9e11f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9e11f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9e11f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff9e60d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff9e60d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff9e60d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff9e1358c8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffff9e1358c8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffff9e1358c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffff9e1358c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffff9e1358c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffff9e1358c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffff9e1358c8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffff9e1358c8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffff9e1358c8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffff9e1358c8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffff9e135e30 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffff9e14d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff9e14d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff9e14d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff9e14d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff9e14d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff9e41787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff9e41787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff9e41787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff9e41787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff9e41787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff9e4187e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff9e4187e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff9e4187e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff9e41cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff9e41cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff9e41cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff9e41cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff9e41cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff9c871e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff9c871e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff9c871e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff9c871e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff9df37ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff9deefc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff9deefc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff9deefc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff9df7610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaad3ea59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaad3ea94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaad3eaaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaad3ea1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff954e098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff954e0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaad3ea20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) 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/track-control-dependency-conditions.m (1216 of 18953) ******************** TEST 'Clang :: Analysis/track-control-dependency-conditions.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core,nullability -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/track-control-dependency-conditions.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core,nullability -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/track-control-dependency-conditions.m 1. parser at end of file #0 0x0000ffff9f7eacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff9f7e9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9f7eb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa8721800 (linux-vdso.so.1+0x800) #4 0x0000ffffa7a43688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa7a43688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa7a43688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa7a43688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa7a43688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa7a43688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa7a43688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa7a43688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa76f0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa76f0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa76f0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa76f0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa76f1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa76f1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa76f1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa76f1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa7704770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa7704770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa7704770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa7705cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa7705cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa7705cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa7705190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa7705190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa7705190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa77117d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa77117d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa77117d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa771b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa771b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa771b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa767f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa767f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa767f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa767f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa767fbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa767fbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa767fbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffa76531c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffa76531c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffa76531c0 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffa768fba8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffa768fba8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffa768fba8 clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:296:38 #48 0x0000ffffa76adaa8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffa76adaa8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffa76adaa8 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffa797787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffa797787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffa797787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffa797787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffa797787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffa79787e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffffa79787e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffa79787e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffa797cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffa797cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffa797cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffa797cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffa797cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffa5dd1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffffa5dd1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffa5dd1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffffa5dd1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffa7497ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffa744fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffa744fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffa744fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffa74d610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaaada859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaaada894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaaada8aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaaada81fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff9ea4098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff9ea40a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaaada820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/track-control-dependency-conditions.m.script: line 1: 1829542 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -w -analyzer-checker=core,nullability -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/track-control-dependency-conditions.m -- ******************** Testing: 0. FAIL: Clang :: Analysis/traversal-path-unification.c (1219 of 18953) ******************** TEST 'Clang :: Analysis/traversal-path-unification.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.DumpTraversal /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/traversal-path-unification.c | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/traversal-path-unification.c : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.DumpTraversal -DUSE_EXPR /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/traversal-path-unification.c | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/traversal-path-unification.c -- Exit Code: 2 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.DumpTraversal /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/traversal-path-unification.c 1. parser at end of file 2. While analyzing stack: #0 Calling testRemoveDeadBindings 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/traversal-path-unification.c:17:7 : Error evaluating branch #0 0x0000ffffaac1acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffaac19100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffaac1b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb3b5a800 (linux-vdso.so.1+0x800) #4 0x0000ffffb2e73688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb2e73688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb2e73688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb2e73688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb2e73688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb2e73688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb2e73688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb2e73688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb2b20c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb2b20c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb2b20c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb2b20c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb2b21ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb2b21ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb2b21ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb2b21ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb2b3591c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb2b3591c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb2b3591c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffffb2b35bf0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb2b35bf0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb2b35bf0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffffb2b35190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb2b35190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb2b35190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb2b417d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb2b417d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb2b417d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb2b4b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb2b4b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb2b4b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb2aaf72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb2aaf72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb2aaf72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb2aaf72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb2f9d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb2f9d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb2f9d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffb2ac58c8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffffb2ac58c8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffffb2ac58c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffffb2ac58c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffffb2ac58c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffffb2ac58c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffffb2ac58c8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffffb2ac58c8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffffb2ac58c8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffffb2ac58c8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffffb2ac5e30 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffffb2add764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffb2add764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffb2add764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffb2add764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffb2add764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffb2da787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffb2da787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffb2da787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffb2da787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffb2da787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffb2da87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffb2da87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffb2da87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffb2dacde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffb2dacde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffb2dacde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffb2dacde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffb2dacde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffb1201e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffb1201e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffb1201e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffb1201e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffb28c7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffb287fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffb287fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffb287fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffb290610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaac5b659f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaac5b694b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaac5b6aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaac5b61fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffa9e7098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffa9e70a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaac5b620b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) FileCheck error: '' is empty. FileCheck command line: /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/traversal-path-unification.c -- ******************** Testing: 0. FAIL: Clang :: Analysis/trivial-copy-struct.cpp (1222 of 18953) ******************** TEST 'Clang :: Analysis/trivial-copy-struct.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/trivial-copy-struct.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/trivial-copy-struct.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling Wrapper::Wrapper() at line 89 #1 Calling nestedLazyCompoundVal(List *) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/trivial-copy-struct.cpp:81:8: Error evaluating statement #0 0x0000ffff9775acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff97759100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9775b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa069a800 (linux-vdso.so.1+0x800) #4 0x0000ffff9f607db8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff9f607db8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff9f607db8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff9f607db8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff9f607db8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff9f607db8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff9f607db8 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff9f607db8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1059:61 #12 0x0000ffff9f61ce94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffff9f61ce94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffff9f61ce94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffff9f61ce94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffff9f61ce94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffff9f61ce94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffff9f61ce94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffff9f61ce94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffff9f61ce94 clang::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 0x0000ffff9f61d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff9f61d310 clang::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 0x0000ffff9f61d5dc clang::ento::CoreEngine::dispatchWorkItem(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 0x0000ffff9f61d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x0000ffff9f61d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x0000ffff9f61d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #27 0x0000ffff9f61d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #28 0x0000ffff9f61d764 clang::ento::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 0x0000ffff9f8e787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffff9f8e787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffff9f8e787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #32 0x0000ffff9f8e787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #33 0x0000ffff9f8e787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #34 0x0000ffff9f8e87e8 llvm::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 0x0000ffff9f8e87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x0000ffff9f8e87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #37 0x0000ffff9f8ecde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x0000ffff9f8ecde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x0000ffff9f8ecde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x0000ffff9f8ecde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x0000ffff9f8ecde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x0000ffff9dd41e58 __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 0x0000ffff9dd41e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x0000ffff9dd41e58 void clang::finalize>, 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 0x0000ffff9dd41e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x0000ffff9f407ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #47 0x0000ffff9f3bfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #48 0x0000ffff9f3bfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #49 0x0000ffff9f3bfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #50 0x0000ffff9f44610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #51 0x0000aaaaba2d59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x0000aaaaba2d94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x0000aaaaba2daac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x0000aaaaba2d1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x0000ffff969b098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #56 0x0000ffff969b0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #57 0x0000aaaaba2d20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/trivial-copy-struct.cpp.script: line 1: 1829597 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/trivial-copy-struct.cpp -- ******************** Testing: 0. FAIL: Clang :: Analysis/trustnonnullchecker_test.mm (1223 of 18953) ******************** TEST 'Clang :: Analysis/trustnonnullchecker_test.mm' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -analyze -analyzer-checker=core,nullability,apiModeling -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/trustnonnullchecker_test.mm -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -analyze -analyzer-checker=core,nullability,apiModeling -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/trustnonnullchecker_test.mm 1. parser at end of file #0 0x0000ffff8e8cacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8e8c9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8e8cb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9780a800 (linux-vdso.so.1+0x800) #4 0x0000ffff9677cc54 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff9677cc54 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff9677cc54 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff9677cc54 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff9677cc54 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff9677cc54 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff9677cc54 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff9677cc54 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 0x0000ffff9677d578 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 0x0000ffff9678d5a4 clang::ento::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 0x0000ffff9678d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #15 0x0000ffff9678d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #16 0x0000ffff9678d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #17 0x0000ffff9678d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #18 0x0000ffff9678d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #19 0x0000ffff96a5787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffff96a5787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffff96a5787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #22 0x0000ffff96a5787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #23 0x0000ffff96a5787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #24 0x0000ffff96a587e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #25 0x0000ffff96a587e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #26 0x0000ffff96a587e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #27 0x0000ffff96a5cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #28 0x0000ffff96a5cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #29 0x0000ffff96a5cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #30 0x0000ffff96a5cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #31 0x0000ffff96a5cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #32 0x0000ffff94eb1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #33 0x0000ffff94eb1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #34 0x0000ffff94eb1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #35 0x0000ffff94eb1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #36 0x0000ffff96577ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #37 0x0000ffff9652fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #38 0x0000ffff9652fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #39 0x0000ffff9652fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #40 0x0000ffff965b610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #41 0x0000aaaad3c859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #42 0x0000aaaad3c894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #43 0x0000aaaad3c8aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #44 0x0000aaaad3c81fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #45 0x0000ffff8db2098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #46 0x0000ffff8db20a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #47 0x0000aaaad3c820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/trustnonnullchecker_test.mm.script: line 1: 1829591 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -fblocks -analyze -analyzer-checker=core,nullability,apiModeling -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/trustnonnullchecker_test.mm -- ******************** Testing: 0. FAIL: Clang :: Analysis/unary-sym-expr-no-crash.c (1224 of 18953) ******************** TEST 'Clang :: Analysis/unary-sym-expr-no-crash.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unary-sym-expr-no-crash.c -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -analyzer-config support-symbolic-integer-casts=false -verify : 'RUN: at line 7'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unary-sym-expr-no-crash.c -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -analyzer-config support-symbolic-integer-casts=true -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unary-sym-expr-no-crash.c -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -analyzer-config support-symbolic-integer-casts=false -verify 1. parser at end of file 2. While analyzing stack: #0 Calling crash #0 0x0000ffff97e1acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff97e19100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff97e1b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa0d58800 (linux-vdso.so.1+0x800) #4 0x0000ffff9fd1cd64 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9fd1cd64 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9fd1cd64 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9fd1cd64 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffff9fd1cd64 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffff9fd1cd64 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffff9fcc80bc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffff9fcc80bc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffff9fcc80bc clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffff9fcf3a8c llvm::SaveAndRestore::~SaveAndRestore() /usr/include/llvm/Support/SaveAndRestore.h:29:25 #14 0x0000ffff9fcf3a8c clang::ento::ExprEngine::removeDeadOnEndOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:187:1 #15 0x0000ffff9fccd0e8 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:0 #16 0x0000ffff9fccd0e8 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:0 #17 0x0000ffff9fccd0e8 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:0 #18 0x0000ffff9fccd0e8 clang::ento::ExprEngine::processEndOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ReturnStmt const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2951:0 #19 0x0000ffff9fccd578 clang::ento::CoreEngine::HandleBlockEdge(clang::BlockEdge const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:288:0 #20 0x0000ffff9fcdd5a4 clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:188:0 #21 0x0000ffff9fcdd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #22 0x0000ffff9fcdd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #23 0x0000ffff9fcdd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #24 0x0000ffff9fcdd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #25 0x0000ffff9fcdd764 clang::ento::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 0x0000ffff9ffa787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff9ffa787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff9ffa787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #29 0x0000ffff9ffa787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #30 0x0000ffff9ffa787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #31 0x0000ffff9ffa87e8 llvm::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 0x0000ffff9ffa87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #33 0x0000ffff9ffa87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #34 0x0000ffff9ffacde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #35 0x0000ffff9ffacde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #36 0x0000ffff9ffacde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #37 0x0000ffff9ffacde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #38 0x0000ffff9ffacde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #39 0x0000ffff9e401e58 __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 0x0000ffff9e401e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #41 0x0000ffff9e401e58 void clang::finalize>, 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 0x0000ffff9e401e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #43 0x0000ffff9fac7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #44 0x0000ffff9fa7fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #45 0x0000ffff9fa7fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #46 0x0000ffff9fa7fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #47 0x0000ffff9fb0610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #48 0x0000aaaae6f659f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #49 0x0000aaaae6f694b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #50 0x0000aaaae6f6aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #51 0x0000aaaae6f61fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #52 0x0000ffff9707098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #53 0x0000ffff97070a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #54 0x0000aaaae6f620b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/unary-sym-expr-no-crash.c.script: line 2: 1829603 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unary-sym-expr-no-crash.c -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -analyzer-config support-symbolic-integer-casts=false -verify -- ******************** Testing: 0. FAIL: Clang :: Analysis/unary-sym-expr.c (1225 of 18953) ******************** TEST 'Clang :: Analysis/unary-sym-expr.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unary-sym-expr.c -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unary-sym-expr.c -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -verify 1. parser at end of file 2. While analyzing stack: #0 Calling test_fp 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unary-sym-expr.c:42:7: Error evaluating branch #0 0x0000ffff90aeacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff90ae9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff90aeb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff99a28800 (linux-vdso.so.1+0x800) #4 0x0000ffff98d43688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff98d43688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff98d43688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff98d43688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff98d43688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff98d43688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff98d43688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff98d43688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff989f0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff989f0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff989f0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff989f0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff989f1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff989f1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff989f1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff989f1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff98a04770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff98a04770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff98a04770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff98a05cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff98a05cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff98a05cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff98a05190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff98a05190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff98a05190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff98a117d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff98a117d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff98a117d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff98a1b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff98a1b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff98a1b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9897f6d8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9897f6d8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9897f6d8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9897f6d8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff98e6d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff98e6d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff98e6d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff989958c8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffff989958c8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffff989958c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffff989958c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffff989958c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffff989958c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffff989958c8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffff989958c8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffff989958c8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffff989958c8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffff98995e30 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffff989ad764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff989ad764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff989ad764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff989ad764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff989ad764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff98c7787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff98c7787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff98c7787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff98c7787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff98c7787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff98c787e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff98c787e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff98c787e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff98c7cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff98c7cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff98c7cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff98c7cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff98c7cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff970d1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff970d1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff970d1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff970d1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff98797ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff9874fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff9874fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff9874fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff987d610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaad3cb59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaad3cb94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaad3cbaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaad3cb1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff8fd4098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff8fd40a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaad3cb20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/unary-sym-expr.c.script: line 1: 1829608 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unary-sym-expr.c -analyzer-checker=core,debug.ExprInspection -analyzer-config eagerly-assume=false -verify -- ******************** Testing: 0. FAIL: Clang :: Analysis/undef-buffers.c (1226 of 18953) ******************** TEST 'Clang :: Analysis/undef-buffers.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/undef-buffers.c -analyzer-checker=core -analyzer-checker=unix -analyzer-checker=core.uninitialized -analyzer-config unix.DynamicMemoryModeling:Optimistic=true -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/undef-buffers.c -analyzer-checker=core -analyzer-checker=unix -analyzer-checker=core.uninitialized -analyzer-config unix.DynamicMemoryModeling:Optimistic=true 1. parser at end of file 2. While analyzing stack: #0 Calling heapBased2 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/undef-buffers.c:43:15: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/undef-buffers.c:43:15: Error evaluating statement #0 0x0000ffff97eeacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff97ee9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff97eeb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa0e27800 (linux-vdso.so.1+0x800) #4 0x0000ffffa0129f20 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa0129f20 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa0129f20 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa0129f20 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa0129f20 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa0129f20 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa0129f20 get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa0129f20 (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 0x0000ffff9ff383d0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x0000ffff9ff383d0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x0000ffff9ff383d0 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 0x0000ffff9fd4c2f8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #16 0x0000ffff9fd4c2f8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #17 0x0000ffff9fd4c2f8 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool)>::operator()(llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:0 #18 0x0000ffff9fd4c2f8 clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:0 #19 0x0000ffff9fe11844 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffff9fe11844 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffff9fe11844 clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:78 #22 0x0000ffff9fe11844 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:53 #23 0x0000ffff9fe1b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x0000ffff9fe1b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x0000ffff9fe1b074 clang::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 0x0000ffff9fd7f818 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff9fd7f818 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff9fd7f818 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #29 0x0000ffff9fd7f818 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:68:21 #30 0x0000ffffa026d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffffa026d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffffa026d3d4 clang::ento::ProgramState::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 0x0000ffff9ff444b0 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x0000ffff9ff444b0 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x0000ffff9ff444b0 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x0000ffff9ff444b0 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x0000ffff9ff444b0 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x0000ffff9ff444b0 (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 0x0000ffff9ff44900 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #40 0x0000ffff9ff44900 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #41 0x0000ffff9ff44900 (anonymous namespace)::MallocChecker::checkBasicAlloc(clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1217:0 #42 0x0000ffff9ff50e00 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #43 0x0000ffff9ff50e00 void clang::ento::check::PostCall::_checkCall<(anonymous namespace)::MallocChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:183:0 #44 0x0000ffff9fd69524 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #45 0x0000ffff9fd69524 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x0000ffff9fd69524 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #47 0x0000ffff9fd69524 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #48 0x0000ffff9fd69524 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #49 0x0000ffff9fdc98b8 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #50 0x0000ffff9fdc98b8 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #51 0x0000ffff9fdc98b8 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #52 0x0000ffff9fdc98b8 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #53 0x0000ffff9fdc98b8 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #54 0x0000ffff9fdc98b8 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #55 0x0000ffff9fdca144 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #56 0x0000ffff9fdabea0 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #57 0x0000ffff9fdabea0 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #58 0x0000ffff9fdacf08 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #59 0x0000ffff9fdad1f0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #60 0x0000ffff9fdad41c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #61 0x0000ffff9fdad764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #62 0x0000ffff9fdad764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #63 0x0000ffff9fdad764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #64 0x0000ffff9fdad764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #65 0x0000ffff9fdad764 clang::ento::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 0x0000ffffa007787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #67 0x0000ffffa007787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #68 0x0000ffffa007787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #69 0x0000ffffa007787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #70 0x0000ffffa007787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #71 0x0000ffffa00787e8 llvm::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 0x0000ffffa00787e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #73 0x0000ffffa00787e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #74 0x0000ffffa007cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #75 0x0000ffffa007cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #76 0x0000ffffa007cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #77 0x0000ffffa007cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #78 0x0000ffffa007cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #79 0x0000ffff9e4d1e58 __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 0x0000ffff9e4d1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #81 0x0000ffff9e4d1e58 void clang::finalize>, 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 0x0000ffff9e4d1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #83 0x0000ffff9fb97ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #84 0x0000ffff9fb4fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #85 0x0000ffff9fb4fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #86 0x0000ffff9fb4fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #87 0x0000ffff9fbd610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #88 0x0000aaaacf3859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #89 0x0000aaaacf3894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #90 0x0000aaaacf38aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #91 0x0000aaaacf381fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #92 0x0000ffff9714098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #93 0x0000ffff97140a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #94 0x0000aaaacf3820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/undef-buffers.c.script: line 1: 1829606 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/undef-buffers.c -analyzer-checker=core -analyzer-checker=unix -analyzer-checker=core.uninitialized -analyzer-config unix.DynamicMemoryModeling:Optimistic=true -- ******************** Testing: 0. FAIL: Clang :: Analysis/uninit-bug-first-iteration-init.c (1228 of 18953) ******************** TEST 'Clang :: Analysis/uninit-bug-first-iteration-init.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-bug-first-iteration-init.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-bug-first-iteration-init.c 1. parser at end of file 2. While analyzing stack: #0 Calling bar 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-bug-first-iteration-init.c:26:10: Error evaluating statement #0 0x0000ffffa1f2acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa1f29100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa1f2b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffaae6f800 (linux-vdso.so.1+0x800) #4 0x0000ffffa9e2cd64 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa9e2cd64 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa9e2cd64 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa9e2cd64 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffffa9e2cd64 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffffa9e2cd64 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffffa9dd80bc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffffa9dd80bc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffffa9dd80bc clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffffa9dece94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffffa9dece94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffffa9dece94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffffa9dece94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffffa9dece94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffffa9dece94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffffa9dece94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffffa9dece94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffffa9dece94 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffffa9ded1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffa9ded310 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffffa9ded5dc clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffffa9ded764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffffa9ded764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffffa9ded764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffffa9ded764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffffa9ded764 clang::ento::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 0x0000ffffaa0b787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffffaa0b787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffffaa0b787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffffaa0b787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffffaa0b787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffffaa0b87e8 llvm::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 0x0000ffffaa0b87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffffaa0b87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffffaa0bcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffffaa0bcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffffaa0bcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffffaa0bcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffffaa0bcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffffa8511e58 __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 0x0000ffffa8511e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffffa8511e58 void clang::finalize>, 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 0x0000ffffa8511e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffffa9bd7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffffa9b8fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffffa9b8fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffffa9b8fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffffa9c1610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaae8a059f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaae8a094b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaae8a0aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaae8a01fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffffa118098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffffa1180a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaae8a020b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/uninit-bug-first-iteration-init.c.script: line 1: 1829645 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-bug-first-iteration-init.c -- ******************** Testing: 0. FAIL: Clang :: Analysis/unified-sources/UnifiedSource-1.cpp (1229 of 18953) ******************** TEST 'Clang :: Analysis/unified-sources/UnifiedSource-1.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unified-sources/UnifiedSource-1.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unified-sources/UnifiedSource-1.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling testContainerMethodInHeaderFile(ContainerInHeaderFile) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unified-sources/source1.cpp:14:10: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unified-sources/source1.cpp:14:10: Error evaluating statement #0 0x0000ffff7877acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff78779100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7877b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff816b0800 (linux-vdso.so.1+0x800) #4 0x0000ffff8065a900 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffff8065a900 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff8065a900 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff8065a900 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff8065a900 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff8065a900 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff8065a900 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x0000ffff8065a900 getConstraint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1055:37 #12 0x0000ffff8065a900 (anonymous namespace)::getConstraint(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1060:23 #13 0x0000ffff8065a9dc (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 0x0000ffff806a1ba8 (anonymous namespace)::SimpleSValBuilder::simplifySValOnce(llvm::IntrusiveRefCntPtr, clang::ento::SVal)::Simplifier::VisitSymbolData(clang::ento::SymbolData const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1259:54 #15 0x0000ffff80aba8a4 VisitNonLocSymbolVal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1365:0 #16 0x0000ffff80aba8a4 Visit /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.def:67:0 #17 0x0000ffff80aba8a4 (anonymous namespace)::SimpleSValBuilder::simplifySValOnce(llvm::IntrusiveRefCntPtr, clang::ento::SVal) (.constprop.0.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1371:0 #18 0x0000ffff80695484 simplifyUntilFixpoint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1194:40 #19 0x0000ffff80695484 (anonymous namespace)::SimpleSValBuilder::simplifySVal(llvm::IntrusiveRefCntPtr, clang::ento::SVal) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1203:31 #20 0x0000ffff806ac350 (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:417:0 #21 0x0000ffff806a21c8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #22 0x0000ffff806a21c8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #23 0x0000ffff806a21c8 clang::ento::SValBuilder::evalBinOp(llvm::IntrusiveRefCntPtr, clang::BinaryOperatorKind, clang::ento::SVal, clang::ento::SVal, clang::QualType) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SValBuilder.cpp:531:21 #24 0x0000ffff80630550 clang::ento::ExprEngine::evalBinOp(llvm::IntrusiveRefCntPtr, clang::BinaryOperatorKind, clang::ento::SVal, clang::ento::SVal, clang::QualType) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:611:33 #25 0x0000ffff80630550 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 #26 0x0000ffff8063cbd8 clang::ento::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 #27 0x0000ffff8063cf08 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #28 0x0000ffff8063d1f0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #29 0x0000ffff8063d41c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #30 0x0000ffff8063d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #31 0x0000ffff8063d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #32 0x0000ffff8063d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #33 0x0000ffff8063d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #34 0x0000ffff8063d764 clang::ento::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 0x0000ffff8090787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8090787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8090787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #38 0x0000ffff8090787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #39 0x0000ffff8090787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #40 0x0000ffff809087e8 llvm::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 0x0000ffff809087e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #42 0x0000ffff809087e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #43 0x0000ffff8090cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #44 0x0000ffff8090cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #45 0x0000ffff8090cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #46 0x0000ffff8090cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #47 0x0000ffff8090cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #48 0x0000ffff7ed61e58 __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 0x0000ffff7ed61e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #50 0x0000ffff7ed61e58 void clang::finalize>, 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 0x0000ffff7ed61e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #52 0x0000ffff80427ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #53 0x0000ffff803dfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #54 0x0000ffff803dfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #55 0x0000ffff803dfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #56 0x0000ffff8046610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #57 0x0000aaaac89f59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #58 0x0000aaaac89f94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #59 0x0000aaaac89faac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #60 0x0000aaaac89f1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #61 0x0000ffff779d098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #62 0x0000ffff779d0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #63 0x0000aaaac89f20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/unified-sources/Output/UnifiedSource-1.cpp.script: line 1: 1829636 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/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 (1230 of 18953) ******************** TEST 'Clang :: Analysis/unified-sources/source1.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unified-sources/source1.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unified-sources/source1.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling testContainerMethodInHeaderFile(ContainerInHeaderFile) 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unified-sources/source1.cpp:14:10: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unified-sources/source1.cpp:14:10: Error evaluating statement #0 0x0000ffff7be6acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7be69100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7be6b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff84daa800 (linux-vdso.so.1+0x800) #4 0x0000ffff840c3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff840c3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff840c3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff840c3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff840c3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff840c3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff840c3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff840c3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff83d70c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff83d70c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff83d70c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff83d70c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff83d71ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff83d71ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff83d71ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff83d71ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff83d8591c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff83d8591c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff83d8591c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffff83d85bf0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff83d85bf0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff83d85bf0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffff83d85190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff83d85190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff83d85190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff83d917d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff83d917d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff83d917d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff83d9b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff83d9b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff83d9b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff83cff72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff83cff72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff83cff72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff83cff72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff83e1fe48 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:9 #40 0x0000ffff83e1fe48 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:21 #41 0x0000ffff83e1fe48 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:44 #42 0x0000ffff83e1fe48 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:25 #43 0x0000ffff83e1fe48 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:44 #44 0x0000ffff83e1fe48 checkPreStmt /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DivZeroChecker.cpp:99:11 #45 0x0000ffff83e1fe48 void clang::ento::check::PreStmt::_checkStmt<(anonymous namespace)::DivZeroChecker>(void*, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:85:45 #46 0x0000ffff83ce8078 expandGraphWithCheckers<(anonymous namespace)::CheckStmtContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #47 0x0000ffff83ce8078 clang::ento::CheckerManager::runCheckersForStmt(bool, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::Stmt const*, clang::ento::ExprEngine&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:190:0 #48 0x0000ffff83d1fdb8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #49 0x0000ffff83d1fdb8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #50 0x0000ffff83d1fdb8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #51 0x0000ffff83d1fdb8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #52 0x0000ffff83d1fdb8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #53 0x0000ffff83d1fdb8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #54 0x0000ffff83d1fdb8 clang::ento::ExprEngine::VisitBinaryOperator(clang::BinaryOperator const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:50:0 #55 0x0000ffff83d2cbd8 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2103:0 #56 0x0000ffff83d2cf08 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #57 0x0000ffff83d2d1f0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #58 0x0000ffff83d2d41c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #59 0x0000ffff83d2d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff83d2d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff83d2d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #62 0x0000ffff83d2d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #63 0x0000ffff83d2d764 clang::ento::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 0x0000ffff83ff787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #65 0x0000ffff83ff787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #66 0x0000ffff83ff787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #67 0x0000ffff83ff787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #68 0x0000ffff83ff787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #69 0x0000ffff83ff87e8 llvm::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 0x0000ffff83ff87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #71 0x0000ffff83ff87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #72 0x0000ffff83ffcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #73 0x0000ffff83ffcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #74 0x0000ffff83ffcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #75 0x0000ffff83ffcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #76 0x0000ffff83ffcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #77 0x0000ffff82451e58 __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 0x0000ffff82451e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #79 0x0000ffff82451e58 void clang::finalize>, 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 0x0000ffff82451e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #81 0x0000ffff83b17ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #82 0x0000ffff83acfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #83 0x0000ffff83acfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #84 0x0000ffff83acfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #85 0x0000ffff83b5610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #86 0x0000aaaaabca59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #87 0x0000aaaaabca94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #88 0x0000aaaaabcaaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #89 0x0000aaaaabca1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #90 0x0000ffff7b0c098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #91 0x0000ffff7b0c0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #92 0x0000aaaaabca20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/unified-sources/Output/source1.cpp.script: line 1: 1829635 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unified-sources/source1.cpp -- ******************** Testing: 0. FAIL: Clang :: Analysis/uninit-exhaustive-switch-bug.c (1231 of 18953) ******************** TEST 'Clang :: Analysis/uninit-exhaustive-switch-bug.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-exhaustive-switch-bug.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-exhaustive-switch-bug.c 1. parser at end of file #0 0x0000ffff7bb0acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7bb09100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7bb0b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff84a46800 (linux-vdso.so.1+0x800) #4 0x0000ffff83d63688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff83d63688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff83d63688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff83d63688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff83d63688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff83d63688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff83d63688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff83d63688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff83a10c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff83a10c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff83a10c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff83a10c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff83a12ce8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff83a12ce8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff83a12ce8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff83a12ce8 (anonymous namespace)::RangeConstraintManager::assumeSymWithinInclusiveRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3224:0 #20 0x0000ffff83a24e58 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff83a24e58 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff83a24e58 clang::ento::RangedConstraintManager::assumeSymInclusiveRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:129:64 #23 0x0000ffff83a253b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff83a253b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff83a253b4 clang::ento::SimpleConstraintManager::assumeInclusiveRangeInternal(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:118:67 #26 0x0000ffff8399fd48 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8399fd48 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8399fd48 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:105:75 #29 0x0000ffff8399fd48 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeInclusiveRangeDual(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #30 0x0000ffff839b61e8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff839b61e8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff839b61e8 clang::ento::ProgramState::assumeInclusiveRange(clang::ento::DefinedOrUnknownSVal, llvm::APSInt const&, llvm::APSInt const&) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:746:43 #33 0x0000ffff839b61e8 clang::ento::ExprEngine::processSwitch(clang::ento::SwitchNodeBuilder&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3004:42 #34 0x0000ffff839bdbbc clang::ento::CoreEngine::HandleBlockExit(clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:422:0 #35 0x0000ffff839cd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x0000ffff839cd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x0000ffff839cd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #38 0x0000ffff839cd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #39 0x0000ffff839cd764 clang::ento::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 0x0000ffff83c9787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #41 0x0000ffff83c9787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #42 0x0000ffff83c9787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #43 0x0000ffff83c9787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #44 0x0000ffff83c9787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #45 0x0000ffff83c987e8 llvm::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 0x0000ffff83c987e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #47 0x0000ffff83c987e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #48 0x0000ffff83c9cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #49 0x0000ffff83c9cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #50 0x0000ffff83c9cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #51 0x0000ffff83c9cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #52 0x0000ffff83c9cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #53 0x0000ffff820f1e58 __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 0x0000ffff820f1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #55 0x0000ffff820f1e58 void clang::finalize>, 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 0x0000ffff820f1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #57 0x0000ffff837b7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #58 0x0000ffff8376fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #59 0x0000ffff8376fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #60 0x0000ffff8376fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #61 0x0000ffff837f610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #62 0x0000aaaab29f59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #63 0x0000aaaab29f94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #64 0x0000aaaab29faac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #65 0x0000aaaab29f1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #66 0x0000ffff7ad6098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #67 0x0000ffff7ad60a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #68 0x0000aaaab29f20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/uninit-exhaustive-switch-bug.c.script: line 1: 1829669 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/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 (1232 of 18953) ******************** TEST 'Clang :: Analysis/uninit-const.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-const.cpp -analyzer-checker=core -analyzer-checker=cplusplus.NewDelete -analyzer-config core.CallAndMessage:ArgPointeeInitializedness=true : 'RUN: at line 6'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-const.cpp -DTEST_INLINABLE_ALLOCATORS -analyzer-checker=core -analyzer-checker=cplusplus.NewDelete -analyzer-config core.CallAndMessage:ArgPointeeInitializedness=true -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-const.cpp -analyzer-checker=core -analyzer-checker=cplusplus.NewDelete -analyzer-config core.CallAndMessage:ArgPointeeInitializedness=true 1. parser at end of file 2. While analyzing stack: #0 Calling f8() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-const.cpp:50:9: Error evaluating New Allocator Call #0 0x0000ffff87bdacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff87bd9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff87bdb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff90b1b800 (linux-vdso.so.1+0x800) #4 0x0000ffff8fe33688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8fe33688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8fe33688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8fe33688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8fe33688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8fe33688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff8fe33688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff8fe33688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8fae0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8fae0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8fae0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8fae0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8fae1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8fae1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8fae1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8fae1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff8faf4770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff8faf4770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff8faf4770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff8faf5cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff8faf5cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff8faf5cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff8faf5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8faf5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8faf5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff8fb017d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff8fb017d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff8fb017d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8fb0b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8fb0b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8fb0b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8fa6f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8fa6f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8fa6f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8fa6f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff8fa6fbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8fa6fbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8fa6fbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff8fa99b98 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #43 0x0000ffff8fa99b98 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #44 0x0000ffff8fa99b98 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #45 0x0000ffff8fa99b98 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #46 0x0000ffff8fa99b98 clang::ento::ExprEngine::VisitCXXNewAllocatorCall(clang::CXXNewExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:980:0 #47 0x0000ffff8fa99fac llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:45 #48 0x0000ffff8fa99fac llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:25 #49 0x0000ffff8fa99fac clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:39 #50 0x0000ffff8fa99fac clang::ento::CoreEngine::enqueue(clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:613:23 #51 0x0000ffff8fa99fac clang::ento::ExprEngine::ProcessNewAllocator(clang::CXXNewExpr const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1326:0 #52 0x0000ffff8fa9d22c clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:984:0 #53 0x0000ffff8fa9d41c clang::ento::CoreEngine::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 0x0000ffff8fa9d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #55 0x0000ffff8fa9d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #56 0x0000ffff8fa9d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #57 0x0000ffff8fa9d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #58 0x0000ffff8fa9d764 clang::ento::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 0x0000ffff8fd6787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #60 0x0000ffff8fd6787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #61 0x0000ffff8fd6787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #62 0x0000ffff8fd6787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #63 0x0000ffff8fd6787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #64 0x0000ffff8fd687e8 llvm::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 0x0000ffff8fd687e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #66 0x0000ffff8fd687e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #67 0x0000ffff8fd6cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x0000ffff8fd6cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x0000ffff8fd6cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #70 0x0000ffff8fd6cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #71 0x0000ffff8fd6cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #72 0x0000ffff8e1c1e58 __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 0x0000ffff8e1c1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #74 0x0000ffff8e1c1e58 void clang::finalize>, 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 0x0000ffff8e1c1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #76 0x0000ffff8f887ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #77 0x0000ffff8f83fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #78 0x0000ffff8f83fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #79 0x0000ffff8f83fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #80 0x0000ffff8f8c610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #81 0x0000aaaae0ca59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #82 0x0000aaaae0ca94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #83 0x0000aaaae0caaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #84 0x0000aaaae0ca1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #85 0x0000ffff86e3098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #86 0x0000ffff86e30a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #87 0x0000aaaae0ca20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/uninit-const.cpp.script: line 2: 1829667 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-const.cpp -analyzer-checker=core -analyzer-checker=cplusplus.NewDelete -analyzer-config core.CallAndMessage:ArgPointeeInitializedness=true -- ******************** Testing: 0. FAIL: Clang :: Analysis/uninit-const.c (1234 of 18953) ******************** TEST 'Clang :: Analysis/uninit-const.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-const.c -analyzer-checker=core -analyzer-checker=unix.Malloc -analyzer-checker=debug.ExprInspection -analyzer-config core.CallAndMessage:ArgPointeeInitializedness=true -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-const.c -analyzer-checker=core -analyzer-checker=unix.Malloc -analyzer-checker=debug.ExprInspection -analyzer-config core.CallAndMessage:ArgPointeeInitializedness=true 1. parser at end of file 2. While analyzing stack: #0 Calling f_malloc_2 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-const.c:173:16: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-const.c:173:16: Error evaluating statement #0 0x0000ffff8cc0acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8cc09100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8cc0b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff95b45800 (linux-vdso.so.1+0x800) #4 0x0000ffff94e49f20 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff94e49f20 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff94e49f20 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff94e49f20 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff94e49f20 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff94e49f20 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff94e49f20 get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff94e49f20 (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 0x0000ffff94c583d0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x0000ffff94c583d0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x0000ffff94c583d0 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 0x0000ffff94a6c2f8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #16 0x0000ffff94a6c2f8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #17 0x0000ffff94a6c2f8 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool)>::operator()(llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:0 #18 0x0000ffff94a6c2f8 clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:0 #19 0x0000ffff94b31844 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffff94b31844 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffff94b31844 clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:78 #22 0x0000ffff94b31844 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:53 #23 0x0000ffff94b3b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x0000ffff94b3b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x0000ffff94b3b074 clang::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 0x0000ffff94a9f818 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff94a9f818 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff94a9f818 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #29 0x0000ffff94a9f818 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:68:21 #30 0x0000ffff94f8d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff94f8d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff94f8d3d4 clang::ento::ProgramState::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 0x0000ffff94c644b0 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x0000ffff94c644b0 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x0000ffff94c644b0 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x0000ffff94c644b0 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x0000ffff94c644b0 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x0000ffff94c644b0 (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 0x0000ffff94c64900 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #40 0x0000ffff94c64900 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #41 0x0000ffff94c64900 (anonymous namespace)::MallocChecker::checkBasicAlloc(clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1217:0 #42 0x0000ffff94c70e00 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #43 0x0000ffff94c70e00 void clang::ento::check::PostCall::_checkCall<(anonymous namespace)::MallocChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:183:0 #44 0x0000ffff94a89524 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #45 0x0000ffff94a89524 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x0000ffff94a89524 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #47 0x0000ffff94a89524 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #48 0x0000ffff94a89524 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #49 0x0000ffff94ae98b8 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #50 0x0000ffff94ae98b8 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #51 0x0000ffff94ae98b8 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #52 0x0000ffff94ae98b8 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #53 0x0000ffff94ae98b8 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #54 0x0000ffff94ae98b8 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #55 0x0000ffff94aea144 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #56 0x0000ffff94acbea0 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #57 0x0000ffff94acbea0 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #58 0x0000ffff94accf08 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #59 0x0000ffff94acd1f0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #60 0x0000ffff94acd41c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #61 0x0000ffff94acd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #62 0x0000ffff94acd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #63 0x0000ffff94acd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #64 0x0000ffff94acd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #65 0x0000ffff94acd764 clang::ento::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 0x0000ffff94d9787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #67 0x0000ffff94d9787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #68 0x0000ffff94d9787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #69 0x0000ffff94d9787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #70 0x0000ffff94d9787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #71 0x0000ffff94d987e8 llvm::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 0x0000ffff94d987e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #73 0x0000ffff94d987e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #74 0x0000ffff94d9cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #75 0x0000ffff94d9cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #76 0x0000ffff94d9cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #77 0x0000ffff94d9cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #78 0x0000ffff94d9cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #79 0x0000ffff931f1e58 __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 0x0000ffff931f1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #81 0x0000ffff931f1e58 void clang::finalize>, 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 0x0000ffff931f1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #83 0x0000ffff948b7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #84 0x0000ffff9486fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #85 0x0000ffff9486fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #86 0x0000ffff9486fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #87 0x0000ffff948f610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #88 0x0000aaaae1e759f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #89 0x0000aaaae1e794b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #90 0x0000aaaae1e7aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #91 0x0000aaaae1e71fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #92 0x0000ffff8be6098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #93 0x0000ffff8be60a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #94 0x0000aaaae1e720b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/uninit-const.c.script: line 1: 1829661 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-const.c -analyzer-checker=core -analyzer-checker=unix.Malloc -analyzer-checker=debug.ExprInspection -analyzer-config core.CallAndMessage:ArgPointeeInitializedness=true -- ******************** Testing: 0. FAIL: Clang :: Analysis/uninit-ps-rdar6145427.m (1235 of 18953) ******************** TEST 'Clang :: Analysis/uninit-ps-rdar6145427.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-ps-rdar6145427.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-ps-rdar6145427.m 1. parser at end of file 2. While analyzing stack: #0 Calling main 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-ps-rdar6145427.m:34:31: Error evaluating statement #0 0x0000ffffb367acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb3679100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb367b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffbc5bc800 (linux-vdso.so.1+0x800) #4 0x0000ffffbb57cd64 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffbb57cd64 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffbb57cd64 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffbb57cd64 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffffbb57cd64 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffffbb57cd64 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffffbb5280bc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffffbb5280bc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffffbb5280bc clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffffbb53ce94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffffbb53ce94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffffbb53ce94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffffbb53ce94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffffbb53ce94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffffbb53ce94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffffbb53ce94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffffbb53ce94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffffbb53ce94 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffffbb53d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffbb53d310 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffffbb53d5dc clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffffbb53d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffffbb53d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffffbb53d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffffbb53d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffffbb53d764 clang::ento::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 0x0000ffffbb80787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffffbb80787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffffbb80787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffffbb80787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffffbb80787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffffbb8087e8 llvm::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 0x0000ffffbb8087e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffffbb8087e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffffbb80cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffffbb80cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffffbb80cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffffbb80cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffffbb80cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffffb9c61e58 __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 0x0000ffffb9c61e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffffb9c61e58 void clang::finalize>, 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 0x0000ffffb9c61e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffffbb327ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffffbb2dfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffffbb2dfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffffbb2dfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffffbb36610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaacfcf59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaacfcf94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaacfcfaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaacfcf1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffffb28d098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffffb28d0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaacfcf20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/uninit-ps-rdar6145427.m.script: line 1: 1829686 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-ps-rdar6145427.m -- ******************** Testing: 0. FAIL: Clang :: Analysis/uninit-structured-binding-array.cpp (1236 of 18953) ******************** TEST 'Clang :: Analysis/uninit-structured-binding-array.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -std=c++17 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-structured-binding-array.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -std=c++17 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-structured-binding-array.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling SUD::SUD() at line 377 #1 Calling non_pod_user_defined_val_syntax_2() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-structured-binding-array.cpp:355:3: Error evaluating statement #0 0x0000ffffa604acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa6049100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa604b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffaef87800 (linux-vdso.so.1+0x800) #4 0x0000ffffadef7db8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffadef7db8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffadef7db8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffadef7db8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffadef7db8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffadef7db8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffadef7db8 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffadef7db8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1059:61 #12 0x0000ffffadf0ce94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffffadf0ce94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffffadf0ce94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffffadf0ce94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffffadf0ce94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffffadf0ce94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffffadf0ce94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffffadf0ce94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffffadf0ce94 clang::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 0x0000ffffadf0d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffadf0d310 clang::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 0x0000ffffadf0d5dc clang::ento::CoreEngine::dispatchWorkItem(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 0x0000ffffadf0d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x0000ffffadf0d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x0000ffffadf0d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #27 0x0000ffffadf0d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #28 0x0000ffffadf0d764 clang::ento::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 0x0000ffffae1d787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffffae1d787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffffae1d787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #32 0x0000ffffae1d787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #33 0x0000ffffae1d787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #34 0x0000ffffae1d87e8 llvm::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 0x0000ffffae1d87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x0000ffffae1d87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #37 0x0000ffffae1dcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x0000ffffae1dcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x0000ffffae1dcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x0000ffffae1dcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x0000ffffae1dcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x0000ffffac631e58 __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 0x0000ffffac631e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x0000ffffac631e58 void clang::finalize>, 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 0x0000ffffac631e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x0000ffffadcf7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #47 0x0000ffffadcafc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #48 0x0000ffffadcafc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #49 0x0000ffffadcafc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #50 0x0000ffffadd3610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #51 0x0000aaaacd3d59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x0000aaaacd3d94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x0000aaaacd3daac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x0000aaaacd3d1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x0000ffffa52a098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #56 0x0000ffffa52a0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #57 0x0000aaaacd3d20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/uninit-structured-binding-array.cpp.script: line 1: 1829697 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -std=c++17 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-structured-binding-array.cpp -- ******************** Testing: 0. FAIL: Clang :: Analysis/uninit-structured-binding-struct.cpp (1237 of 18953) ******************** TEST 'Clang :: Analysis/uninit-structured-binding-struct.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -std=c++17 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-structured-binding-struct.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -std=c++17 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-structured-binding-struct.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling s3::s3() at line 106 #1 Calling i() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-structured-binding-struct.cpp:84:8: Error evaluating statement #0 0x0000ffffac3eacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffac3e9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffac3eb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb532c800 (linux-vdso.so.1+0x800) #4 0x0000ffffb4297db8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffb4297db8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffb4297db8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffb4297db8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffb4297db8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffb4297db8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffb4297db8 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffb4297db8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1059:61 #12 0x0000ffffb42ace94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffffb42ace94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffffb42ace94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffffb42ace94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffffb42ace94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffffb42ace94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffffb42ace94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffffb42ace94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffffb42ace94 clang::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 0x0000ffffb42ad1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffb42ad310 clang::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 0x0000ffffb42ad5dc clang::ento::CoreEngine::dispatchWorkItem(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 0x0000ffffb42ad764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x0000ffffb42ad764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x0000ffffb42ad764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #27 0x0000ffffb42ad764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #28 0x0000ffffb42ad764 clang::ento::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 0x0000ffffb457787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffffb457787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffffb457787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #32 0x0000ffffb457787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #33 0x0000ffffb457787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #34 0x0000ffffb45787e8 llvm::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 0x0000ffffb45787e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x0000ffffb45787e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #37 0x0000ffffb457cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x0000ffffb457cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x0000ffffb457cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x0000ffffb457cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x0000ffffb457cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x0000ffffb29d1e58 __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 0x0000ffffb29d1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x0000ffffb29d1e58 void clang::finalize>, 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 0x0000ffffb29d1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x0000ffffb4097ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #47 0x0000ffffb404fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #48 0x0000ffffb404fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #49 0x0000ffffb404fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #50 0x0000ffffb40d610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #51 0x0000aaaabe3e59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x0000aaaabe3e94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x0000aaaabe3eaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x0000aaaabe3e1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x0000ffffab64098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #56 0x0000ffffab640a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #57 0x0000aaaabe3e20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/uninit-structured-binding-struct.cpp.script: line 1: 1829710 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -std=c++17 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-structured-binding-struct.cpp -- ******************** Testing: 0. FAIL: Clang :: Analysis/uninit-structured-binding-tuple.cpp (1238 of 18953) ******************** TEST 'Clang :: Analysis/uninit-structured-binding-tuple.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-ignored-reference-qualifiers -analyzer-checker=core,debug.ExprInspection -std=c++17 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-structured-binding-tuple.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-ignored-reference-qualifiers -analyzer-checker=core,debug.ExprInspection -std=c++17 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-structured-binding-tuple.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling syntax_3() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-structured-binding-tuple.cpp:573:8: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-structured-binding-tuple.cpp:573:8: Error evaluating statement #0 0x0000ffff9ecdacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff9ecd9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9ecdb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa7c1f800 (linux-vdso.so.1+0x800) #4 0x0000ffffa6b88434 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa6b88434 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa6b88434 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa6b88434 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa6b88434 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa6b88434 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa6b88434 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:0 #11 0x0000ffffa6b88434 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 0x0000ffffa6bb92b0 clang::ento::ExprEngine::finishArgumentConstruction(llvm::IntrusiveRefCntPtr, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:640:59 #13 0x0000ffffa6bb9454 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #14 0x0000ffffa6bb9454 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #15 0x0000ffffa6bb9454 clang::ento::ExprEngine::finishArgumentConstruction(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:657:72 #16 0x0000ffffa6b96164 clang::ento::ExprEngine::handleConstructor(clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:832:0 #17 0x0000ffffa6b9be5c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #18 0x0000ffffa6b9be5c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2158:0 #19 0x0000ffffa6b9cf08 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #20 0x0000ffffa6b9d1f0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #21 0x0000ffffa6b9d41c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #22 0x0000ffffa6b9d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #23 0x0000ffffa6b9d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #24 0x0000ffffa6b9d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #25 0x0000ffffa6b9d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #26 0x0000ffffa6b9d764 clang::ento::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 0x0000ffffa6e6787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x0000ffffa6e6787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x0000ffffa6e6787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #30 0x0000ffffa6e6787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #31 0x0000ffffa6e6787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #32 0x0000ffffa6e687e8 llvm::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 0x0000ffffa6e687e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #34 0x0000ffffa6e687e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #35 0x0000ffffa6e6cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x0000ffffa6e6cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x0000ffffa6e6cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #38 0x0000ffffa6e6cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #39 0x0000ffffa6e6cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #40 0x0000ffffa52c1e58 __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 0x0000ffffa52c1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #42 0x0000ffffa52c1e58 void clang::finalize>, 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 0x0000ffffa52c1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #44 0x0000ffffa6987ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #45 0x0000ffffa693fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #46 0x0000ffffa693fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #47 0x0000ffffa693fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #48 0x0000ffffa69c610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #49 0x0000aaaae4b159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #50 0x0000aaaae4b194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #51 0x0000aaaae4b1aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #52 0x0000aaaae4b11fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #53 0x0000ffff9df3098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #54 0x0000ffff9df30a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #55 0x0000aaaae4b120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/uninit-structured-binding-tuple.cpp.script: line 1: 1829716 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -Wno-ignored-reference-qualifiers -analyzer-checker=core,debug.ExprInspection -std=c++17 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-structured-binding-tuple.cpp -- ******************** Testing: 0. FAIL: Clang :: Analysis/uninit-val-const-likeness.c (1239 of 18953) ******************** TEST 'Clang :: Analysis/uninit-val-const-likeness.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-val-const-likeness.c -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-val-const-likeness.c -verify 1. parser at end of file 2. While analyzing stack: #0 Calling create4 at line 69 #1 Calling work4 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-val-const-likeness.c:63:23: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-val-const-likeness.c:63:23: Error evaluating statement #0 0x0000ffff8f07acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8f079100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8f07b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff97fbf800 (linux-vdso.so.1+0x800) #4 0x0000ffff972d3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff972d3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff972d3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff972d3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff972d3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff972d3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff972d3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff972d3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff96f80c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff96f80c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff96f80c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff96f80c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff96f81ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff96f81ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff96f81ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff96f81ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff96f94770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff96f94770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff96f94770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff96f95cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff96f95cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff96f95cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff96f95190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff96f95190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff96f95190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff96fa17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff96fa17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff96fa17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff96fab074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff96fab074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff96fab074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff96f0f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff96f0f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff96f0f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff96f0f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff973fd3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff973fd3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff973fd3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff9702eee0 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffff9702eee0 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffff9702eee0 checkLocation /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp:257:61 #45 0x0000ffff9702eee0 void clang::ento::check::Location::_checkLocation<(anonymous namespace)::DereferenceChecker>(void*, clang::ento::SVal const&, bool, clang::Stmt const*, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:199:46 #46 0x0000ffff96ef99b8 void expandGraphWithCheckers<(anonymous namespace)::CheckLocationContext>((anonymous namespace)::CheckLocationContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #47 0x0000ffff96f22270 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:60 #48 0x0000ffff96f22270 clang::ento::ExprEngine::evalLocation(clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::Stmt const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3710:19 #49 0x0000ffff96f224ac llvm::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 0x0000ffff96f224ac llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:41 #51 0x0000ffff96f224ac llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x0000ffff96f224ac clang::ento::ExprEngine::evalLoad(clang::ento::ExplodedNodeSet&, clang::Expr const*, clang::Expr const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, clang::ProgramPointTag const*, clang::QualType) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3653:15 #53 0x0000ffff96f32170 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #54 0x0000ffff96f32170 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #55 0x0000ffff96f32170 clang::ento::ExprEngine::VisitCast(clang::CastExpr const*, clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:292:0 #56 0x0000ffff96f3b884 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #57 0x0000ffff96f3b884 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #58 0x0000ffff96f3b884 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2258:0 #59 0x0000ffff96f3cf08 clang::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 0x0000ffff96f3d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff96f3d41c clang::ento::CoreEngine::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 0x0000ffff96f3d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #63 0x0000ffff96f3d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #64 0x0000ffff96f3d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #65 0x0000ffff96f3d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #66 0x0000ffff96f3d764 clang::ento::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 0x0000ffff9720787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #68 0x0000ffff9720787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #69 0x0000ffff9720787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #70 0x0000ffff9720787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #71 0x0000ffff9720787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #72 0x0000ffff972087e8 llvm::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 0x0000ffff972087e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #74 0x0000ffff972087e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #75 0x0000ffff9720cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #76 0x0000ffff9720cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #77 0x0000ffff9720cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #78 0x0000ffff9720cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #79 0x0000ffff9720cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #80 0x0000ffff95661e58 __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 0x0000ffff95661e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #82 0x0000ffff95661e58 void clang::finalize>, 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 0x0000ffff95661e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #84 0x0000ffff96d27ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #85 0x0000ffff96cdfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #86 0x0000ffff96cdfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #87 0x0000ffff96cdfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #88 0x0000ffff96d6610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #89 0x0000aaaaba6d59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #90 0x0000aaaaba6d94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #91 0x0000aaaaba6daac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #92 0x0000aaaaba6d1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #93 0x0000ffff8e2d098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #94 0x0000ffff8e2d0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #95 0x0000aaaaba6d20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/uninit-val-const-likeness.c.script: line 1: 1829723 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-val-const-likeness.c -verify -- ******************** Testing: 0. FAIL: Clang :: Analysis/uninit-vals.m (1240 of 18953) ******************** TEST 'Clang :: Analysis/uninit-vals.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-vals.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-vals.m 1. parser at end of file 2. While analyzing stack: #0 Calling testCopySmallStructIntoArgument 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-vals.m:342:17: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-vals.m:342:17: Error evaluating statement #0 0x0000ffff7bdbacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7bdb9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7bdbb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff84cfb800 (linux-vdso.so.1+0x800) #4 0x0000ffff83c9a900 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffff83c9a900 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff83c9a900 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff83c9a900 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff83c9a900 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff83c9a900 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff83c9a900 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x0000ffff83c9a900 getConstraint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1055:37 #12 0x0000ffff83c9a900 (anonymous namespace)::getConstraint(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1060:23 #13 0x0000ffff83c9a9dc (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 0x0000ffff83cae654 clang::ento::ProgramState::getSVal(clang::ento::Loc, clang::QualType) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:273:0 #15 0x0000ffff83c62664 clang::ento::ExprEngine::evalLoad(clang::ento::ExplodedNodeSet&, clang::Expr const*, clang::Expr const*, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr, clang::ento::SVal, clang::ProgramPointTag const*, clang::QualType) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3670:25 #16 0x0000ffff83c72170 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #17 0x0000ffff83c72170 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #18 0x0000ffff83c72170 clang::ento::ExprEngine::VisitCast(clang::CastExpr const*, clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:292:0 #19 0x0000ffff83c7b884 clang::ento::AnalysisManager::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:80:0 #20 0x0000ffff83c7b884 clang::ento::ExprEngine::getCheckerManager() const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:213:0 #21 0x0000ffff83c7b884 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2258:0 #22 0x0000ffff83c7cf08 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #23 0x0000ffff83c7d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff83c7d41c clang::ento::CoreEngine::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 0x0000ffff83c7d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffff83c7d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffff83c7d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffff83c7d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffff83c7d764 clang::ento::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 0x0000ffff83f4787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff83f4787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff83f4787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffff83f4787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffff83f4787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffff83f487e8 llvm::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 0x0000ffff83f487e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffff83f487e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffff83f4cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffff83f4cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffff83f4cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffff83f4cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffff83f4cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffff823a1e58 __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 0x0000ffff823a1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffff823a1e58 void clang::finalize>, 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 0x0000ffff823a1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffff83a67ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffff83a1fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffff83a1fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffff83a1fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffff83aa610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaac1a959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaac1a994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaac1a9aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaac1a91fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffff7b01098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffff7b010a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaac1a920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/uninit-vals.m.script: line 1: 1829748 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.Malloc,debug.ExprInspection -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-vals.m -- ******************** Testing: 0. FAIL: Clang :: Analysis/uninit-vals.cpp (1241 of 18953) ******************** TEST 'Clang :: Analysis/uninit-vals.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core.builtin -verify -DCHECK_FOR_CRASH /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-vals.cpp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -verify -analyzer-output=text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-vals.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core.builtin -verify -DCHECK_FOR_CRASH /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-vals.cpp 1. parser at end of file 2. While analyzing stack: #0 Calling PerformTrivialCopyForUndefs::C::C() at line 22 #1 Calling PerformTrivialCopyForUndefs::foo() 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-vals.cpp:17:8: Error evaluating statement #0 0x0000ffff7a34acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7a349100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7a34b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff83282800 (linux-vdso.so.1+0x800) #4 0x0000ffff821f7db8 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff821f7db8 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff821f7db8 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff821f7db8 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff821f7db8 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff821f7db8 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff821f7db8 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff821f7db8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1059:61 #12 0x0000ffff8220ce94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #13 0x0000ffff8220ce94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #14 0x0000ffff8220ce94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #15 0x0000ffff8220ce94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #16 0x0000ffff8220ce94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #17 0x0000ffff8220ce94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #18 0x0000ffff8220ce94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #19 0x0000ffff8220ce94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #20 0x0000ffff8220ce94 clang::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 0x0000ffff8220d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8220d310 clang::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 0x0000ffff8220d5dc clang::ento::CoreEngine::dispatchWorkItem(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 0x0000ffff8220d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x0000ffff8220d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x0000ffff8220d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #27 0x0000ffff8220d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #28 0x0000ffff8220d764 clang::ento::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 0x0000ffff824d787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffff824d787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffff824d787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #32 0x0000ffff824d787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #33 0x0000ffff824d787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #34 0x0000ffff824d87e8 llvm::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 0x0000ffff824d87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x0000ffff824d87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #37 0x0000ffff824dcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x0000ffff824dcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x0000ffff824dcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x0000ffff824dcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x0000ffff824dcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x0000ffff80931e58 __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 0x0000ffff80931e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x0000ffff80931e58 void clang::finalize>, 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 0x0000ffff80931e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x0000ffff81ff7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #47 0x0000ffff81fafc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #48 0x0000ffff81fafc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #49 0x0000ffff81fafc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #50 0x0000ffff8203610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #51 0x0000aaaae33359f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x0000aaaae33394b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x0000aaaae333aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x0000aaaae3331fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x0000ffff795a098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #56 0x0000ffff795a0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #57 0x0000aaaae33320b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/uninit-vals.cpp.script: line 2: 1829749 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core.builtin -verify -DCHECK_FOR_CRASH /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-vals.cpp -- ******************** Testing: 0. FAIL: Clang :: Analysis/uninit-vals.c (1242 of 18953) ******************** TEST 'Clang :: Analysis/uninit-vals.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -fblocks -verify -analyzer-output=text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-vals.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -fblocks -verify -analyzer-output=text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-vals.c 1. parser at end of file 2. While analyzing stack: #0 Calling pr_4630 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-vals.c:106:7: Error evaluating branch #0 0x0000ffff8252acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff82529100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8252b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8b467800 (linux-vdso.so.1+0x800) #4 0x0000ffff8a783688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8a783688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8a783688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8a783688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff8a783688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff8a783688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff8a783688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff8a783688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff8a430c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff8a430c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff8a430c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff8a430c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff8a431ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff8a431ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff8a431ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff8a431ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff8a44591c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff8a44591c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff8a44591c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffff8a445bf0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff8a445bf0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff8a445bf0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffff8a445190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff8a445190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff8a445190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff8a4517d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff8a4517d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff8a4517d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8a45b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8a45b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8a45b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8a3bf72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8a3bf72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8a3bf72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8a3bf72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff8a8ad3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8a8ad3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8a8ad3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff8a3d58c8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffff8a3d58c8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffff8a3d58c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffff8a3d58c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffff8a3d58c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffff8a3d58c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffff8a3d58c8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffff8a3d58c8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffff8a3d58c8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffff8a3d58c8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffff8a3d5e30 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffff8a3ed764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff8a3ed764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff8a3ed764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff8a3ed764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff8a3ed764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff8a6b787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff8a6b787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff8a6b787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff8a6b787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff8a6b787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff8a6b87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff8a6b87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff8a6b87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff8a6bcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff8a6bcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff8a6bcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff8a6bcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff8a6bcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff88b11e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff88b11e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff88b11e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff88b11e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff8a1d7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff8a18fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff8a18fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff8a18fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff8a21610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaae48659f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaae48694b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaae486aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaae4861fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff8178098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff81780a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaae48620b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/uninit-vals.c.script: line 1: 1829744 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -fblocks -verify -analyzer-output=text /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/uninit-vals.c -- ******************** Testing: 0. FAIL: Clang :: Analysis/unions.cpp (1245 of 18953) ******************** TEST 'Clang :: Analysis/unions.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core,unix.Malloc,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unions.cpp -analyzer-config eagerly-assume=false -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core,unix.Malloc,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unions.cpp -analyzer-config eagerly-assume=false -verify 1. parser at end of file #0 0x0000ffffa4cfacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa4cf9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa4cfb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffadc3f800 (linux-vdso.so.1+0x800) #4 0x0000ffffacbacc54 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffacbacc54 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffacbacc54 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffacbacc54 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffacbacc54 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffacbacc54 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffacbacc54 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffacbacc54 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 0x0000ffffacbad578 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 0x0000ffffacbbd5a4 clang::ento::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 0x0000ffffacbbd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #15 0x0000ffffacbbd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #16 0x0000ffffacbbd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #17 0x0000ffffacbbd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #18 0x0000ffffacbbd764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #19 0x0000fffface8787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000fffface8787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000fffface8787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #22 0x0000fffface8787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #23 0x0000fffface8787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #24 0x0000fffface887e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #25 0x0000fffface887e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #26 0x0000fffface887e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #27 0x0000fffface8cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #28 0x0000fffface8cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #29 0x0000fffface8cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #30 0x0000fffface8cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #31 0x0000fffface8cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #32 0x0000ffffab2e1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #33 0x0000ffffab2e1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #34 0x0000ffffab2e1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #35 0x0000ffffab2e1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #36 0x0000ffffac9a7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #37 0x0000ffffac95fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #38 0x0000ffffac95fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #39 0x0000ffffac95fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #40 0x0000ffffac9e610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #41 0x0000aaaac05759f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #42 0x0000aaaac05794b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #43 0x0000aaaac057aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #44 0x0000aaaac0571fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #45 0x0000ffffa3f5098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #46 0x0000ffffa3f50a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #47 0x0000aaaac05720b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/unions.cpp.script: line 1: 1829768 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -std=c++14 -analyzer-checker=core,unix.Malloc,debug.ExprInspection /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unions.cpp -analyzer-config eagerly-assume=false -verify -- ******************** Testing: 0. FAIL: Clang :: Analysis/unions-region.m (1246 of 18953) ******************** TEST 'Clang :: Analysis/unions-region.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unions-region.m -verify -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unions-region.m -verify 1. parser at end of file 2. While analyzing stack: #0 Calling testA 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unions-region.m:25:7: Error evaluating branch #0 0x0000ffff7c3dacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7c3d9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7c3db388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff85315800 (linux-vdso.so.1+0x800) #4 0x0000ffff84633688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff84633688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff84633688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff84633688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff84633688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff84633688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff84633688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff84633688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff842e0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff842e0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff842e0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff842e0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff842e1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff842e1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff842e1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff842e1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff842f591c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff842f591c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff842f591c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffff842f5bf0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff842f5bf0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff842f5bf0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffff842f5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff842f5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff842f5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff843017d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff843017d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff843017d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8430b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8430b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8430b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8426f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8426f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8426f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8426f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff8475d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8475d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8475d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff842858c8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffff842858c8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffff842858c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffff842858c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffff842858c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffff842858c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffff842858c8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffff842858c8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffff842858c8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffff842858c8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffff84285e30 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffff8429d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff8429d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff8429d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff8429d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff8429d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff8456787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff8456787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff8456787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff8456787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff8456787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff845687e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff845687e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff845687e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff8456cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff8456cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff8456cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff8456cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff8456cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff829c1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff829c1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff829c1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff829c1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff84087ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff8403fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff8403fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff8403fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff840c610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaacab159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaacab194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaacab1aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaacab11fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff7b63098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff7b630a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaacab120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/unions-region.m.script: line 1: 1829764 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unions-region.m -verify -- ******************** Testing: 0. FAIL: Clang :: Analysis/unix-api.c (1247 of 18953) ******************** TEST 'Clang :: Analysis/unix-api.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.API -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unix-api.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.API -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unix-api.c 1. parser at end of file 2. While analyzing stack: #0 Calling open_6 #0 0x0000ffffb5afacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb5af9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb5afb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffbea3d800 (linux-vdso.so.1+0x800) #4 0x0000ffffbd9fcd64 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffbd9fcd64 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffbd9fcd64 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffbd9fcd64 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffffbd9fcd64 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffffbd9fcd64 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffffbd9a80bc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffffbd9a80bc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffffbd9a80bc clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffffbd9d3a8c llvm::SaveAndRestore::~SaveAndRestore() /usr/include/llvm/Support/SaveAndRestore.h:29:25 #14 0x0000ffffbd9d3a8c clang::ento::ExprEngine::removeDeadOnEndOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:187:1 #15 0x0000ffffbd9ad0e8 llvm::SmallVectorTemplateCommon::begin() /usr/include/llvm/ADT/SmallVector.h:270:0 #16 0x0000ffffbd9ad0e8 llvm::SetVector, llvm::DenseSet>, 4u>::begin() /usr/include/llvm/ADT/SetVector.h:104:0 #17 0x0000ffffbd9ad0e8 clang::ento::ExplodedNodeSet::begin() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:491:0 #18 0x0000ffffbd9ad0e8 clang::ento::ExprEngine::processEndOfFunction(clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ReturnStmt const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2951:0 #19 0x0000ffffbd9ad578 clang::ento::CoreEngine::HandleBlockEdge(clang::BlockEdge const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:288:0 #20 0x0000ffffbd9bd5a4 clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:188:0 #21 0x0000ffffbd9bd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #22 0x0000ffffbd9bd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #23 0x0000ffffbd9bd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #24 0x0000ffffbd9bd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #25 0x0000ffffbd9bd764 clang::ento::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 0x0000ffffbdc8787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffbdc8787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffbdc8787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #29 0x0000ffffbdc8787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #30 0x0000ffffbdc8787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #31 0x0000ffffbdc887e8 llvm::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 0x0000ffffbdc887e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #33 0x0000ffffbdc887e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #34 0x0000ffffbdc8cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #35 0x0000ffffbdc8cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #36 0x0000ffffbdc8cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #37 0x0000ffffbdc8cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #38 0x0000ffffbdc8cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #39 0x0000ffffbc0e1e58 __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 0x0000ffffbc0e1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #41 0x0000ffffbc0e1e58 void clang::finalize>, 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 0x0000ffffbc0e1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #43 0x0000ffffbd7a7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #44 0x0000ffffbd75fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #45 0x0000ffffbd75fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #46 0x0000ffffbd75fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #47 0x0000ffffbd7e610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #48 0x0000aaaabadd59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #49 0x0000aaaabadd94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #50 0x0000aaaabaddaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #51 0x0000aaaabadd1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #52 0x0000ffffb4d5098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #53 0x0000ffffb4d50a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #54 0x0000aaaabadd20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/unix-api.c.script: line 1: 1829782 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.API -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unix-api.c -- ******************** Testing: 0. FAIL: Clang :: Analysis/unix-api.cpp (1248 of 18953) ******************** TEST 'Clang :: Analysis/unix-api.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.API -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unix-api.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.API -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unix-api.cpp 1. parser at end of file #0 0x0000ffff7bf0acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7bf09100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7bf0b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff84e4d800 (linux-vdso.so.1+0x800) #4 0x0000ffff83dbcc54 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff83dbcc54 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff83dbcc54 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff83dbcc54 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff83dbcc54 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff83dbcc54 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff83dbcc54 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff83dbcc54 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 0x0000ffff83dbd578 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 0x0000ffff83dcd5a4 clang::ento::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 0x0000ffff83dcd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #15 0x0000ffff83dcd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #16 0x0000ffff83dcd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #17 0x0000ffff83dcd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #18 0x0000ffff83dcd764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #19 0x0000ffff8409787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffff8409787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffff8409787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #22 0x0000ffff8409787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #23 0x0000ffff8409787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #24 0x0000ffff840987e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #25 0x0000ffff840987e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #26 0x0000ffff840987e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #27 0x0000ffff8409cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #28 0x0000ffff8409cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #29 0x0000ffff8409cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #30 0x0000ffff8409cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #31 0x0000ffff8409cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #32 0x0000ffff824f1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #33 0x0000ffff824f1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #34 0x0000ffff824f1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #35 0x0000ffff824f1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #36 0x0000ffff83bb7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #37 0x0000ffff83b6fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #38 0x0000ffff83b6fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #39 0x0000ffff83b6fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #40 0x0000ffff83bf610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #41 0x0000aaaad20e59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #42 0x0000aaaad20e94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #43 0x0000aaaad20eaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #44 0x0000aaaad20e1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #45 0x0000ffff7b16098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #46 0x0000ffff7b160a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #47 0x0000aaaad20e20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/unix-api.cpp.script: line 1: 1829789 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,unix.API -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unix-api.cpp -- ******************** Testing: 0. FAIL: Clang :: Analysis/unix-fns.c (1249 of 18953) ******************** TEST 'Clang :: Analysis/unix-fns.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,unix.API,osx.API,optin.portability /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unix-fns.c -analyzer-output=plist -analyzer-config faux-bodies=true -fblocks -verify -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/unix-fns.c.tmp.plist : 'RUN: at line 2'; grep -Ev '^[[:space:]]*.* version .*[[:space:]]*$|^[[:space:]]*/.*[[:space:]]*$|^[[:space:]]*.:.*[[:space:]]*$' parser at end of file 2. While analyzing stack: #0 Calling anonymous code at line Invoking block defined at line 223 #1 Calling dispatch_sync at line 223 #2 Calling test_dispatch_sync 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unix-fns.c:225:8: Error evaluating statement #0 0x0000ffffb456acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb4569100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb456b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffbd4a2800 (linux-vdso.so.1+0x800) #4 0x0000ffffbc46cd64 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffbc46cd64 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffbc46cd64 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffbc46cd64 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffffbc46cd64 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffffbc46cd64 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffffbc4180bc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffffbc4180bc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffffbc4180bc clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffffbc42ce94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffffbc42ce94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffffbc42ce94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffffbc42ce94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffffbc42ce94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffffbc42ce94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffffbc42ce94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffffbc42ce94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffffbc42ce94 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffffbc42d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffbc42d310 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffffbc42d5dc clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffffbc42d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffffbc42d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffffbc42d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffffbc42d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffffbc42d764 clang::ento::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 0x0000ffffbc6f787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffffbc6f787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffffbc6f787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffffbc6f787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffffbc6f787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffffbc6f87e8 llvm::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 0x0000ffffbc6f87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffffbc6f87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffffbc6fcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffffbc6fcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffffbc6fcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffffbc6fcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffffbc6fcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffffbab51e58 __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 0x0000ffffbab51e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffffbab51e58 void clang::finalize>, 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 0x0000ffffbab51e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffffbc217ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffffbc1cfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffffbc1cfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffffbc1cfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffffbc25610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaada6f59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaada6f94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaada6faac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaada6f1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffffb37c098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffffb37c0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaada6f20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/unix-fns.c.script: line 5: 1829798 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,unix.API,osx.API,optin.portability /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unix-fns.c -analyzer-output=plist -analyzer-config faux-bodies=true -fblocks -verify -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/unix-fns.c.tmp.plist -- ******************** Testing: 0. FAIL: Clang :: Analysis/unreachable-code-path.c (1250 of 18953) ******************** TEST 'Clang :: Analysis/unreachable-code-path.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,deadcode.DeadStores,alpha.deadcode.UnreachableCode -verify -Wno-unused-value /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unreachable-code-path.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,deadcode.DeadStores,alpha.deadcode.UnreachableCode -verify -Wno-unused-value /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unreachable-code-path.c 1. parser at end of file #0 0x0000ffff9c99acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff9c999100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9c99b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa58d0800 (linux-vdso.so.1+0x800) #4 0x0000ffffa487a900 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffffa487a900 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffa487a900 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffa487a900 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffa487a900 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffa487a900 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffa487a900 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:40 #11 0x0000ffffa487a900 getConstraint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1055:37 #12 0x0000ffffa487a900 (anonymous namespace)::getConstraint(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:1060:23 #13 0x0000ffffa487a9dc (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 0x0000ffffa48c1ba8 (anonymous namespace)::SimpleSValBuilder::simplifySValOnce(llvm::IntrusiveRefCntPtr, clang::ento::SVal)::Simplifier::VisitSymbolData(clang::ento::SymbolData const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1259:54 #15 0x0000ffffa4cda8a4 VisitNonLocSymbolVal /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1365:0 #16 0x0000ffffa4cda8a4 Visit /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.def:67:0 #17 0x0000ffffa4cda8a4 (anonymous namespace)::SimpleSValBuilder::simplifySValOnce(llvm::IntrusiveRefCntPtr, clang::ento::SVal) (.constprop.0.isra.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1371:0 #18 0x0000ffffa48b5484 simplifyUntilFixpoint /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1194:40 #19 0x0000ffffa48b5484 (anonymous namespace)::SimpleSValBuilder::simplifySVal(llvm::IntrusiveRefCntPtr, clang::ento::SVal) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:1203:31 #20 0x0000ffffa48b4a58 clang::ento::simplifyToSVal(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:237:26 #21 0x0000ffffa48b4b5c clang::ento::simplify(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:241:38 #22 0x0000ffffa48b4c9c clang::ento::RangedConstraintManager::assumeSymInclusiveRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:105:17 #23 0x0000ffffa48b53b4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa48b53b4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa48b53b4 clang::ento::SimpleConstraintManager::assumeInclusiveRangeInternal(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:118:67 #26 0x0000ffffa482fd48 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa482fd48 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa482fd48 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:105:75 #29 0x0000ffffa482fd48 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeInclusiveRangeDual(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, llvm::APSInt const&, llvm::APSInt const&)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #30 0x0000ffffa48461e8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffffa48461e8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffffa48461e8 clang::ento::ProgramState::assumeInclusiveRange(clang::ento::DefinedOrUnknownSVal, llvm::APSInt const&, llvm::APSInt const&) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:746:43 #33 0x0000ffffa48461e8 clang::ento::ExprEngine::processSwitch(clang::ento::SwitchNodeBuilder&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3004:42 #34 0x0000ffffa484dbbc clang::ento::CoreEngine::HandleBlockExit(clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:422:0 #35 0x0000ffffa485d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #36 0x0000ffffa485d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #37 0x0000ffffa485d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #38 0x0000ffffa485d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #39 0x0000ffffa485d764 clang::ento::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 0x0000ffffa4b2787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #41 0x0000ffffa4b2787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #42 0x0000ffffa4b2787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #43 0x0000ffffa4b2787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #44 0x0000ffffa4b2787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #45 0x0000ffffa4b287e8 llvm::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 0x0000ffffa4b287e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #47 0x0000ffffa4b287e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #48 0x0000ffffa4b2cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #49 0x0000ffffa4b2cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #50 0x0000ffffa4b2cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #51 0x0000ffffa4b2cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #52 0x0000ffffa4b2cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #53 0x0000ffffa2f81e58 __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 0x0000ffffa2f81e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #55 0x0000ffffa2f81e58 void clang::finalize>, 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 0x0000ffffa2f81e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #57 0x0000ffffa4647ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #58 0x0000ffffa45ffc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #59 0x0000ffffa45ffc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #60 0x0000ffffa45ffc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #61 0x0000ffffa468610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #62 0x0000aaaad07359f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #63 0x0000aaaad07394b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #64 0x0000aaaad073aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #65 0x0000aaaad0731fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #66 0x0000ffff9bbf098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #67 0x0000ffff9bbf0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #68 0x0000aaaad07320b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/unreachable-code-path.c.script: line 1: 1829820 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,deadcode.DeadStores,alpha.deadcode.UnreachableCode -verify -Wno-unused-value /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/unreachable-code-path.c -- ******************** Testing: 0. FAIL: Clang :: Analysis/valist-as-lazycompound.c (1251 of 18953) ******************** TEST 'Clang :: Analysis/valist-as-lazycompound.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple gcc-linaro-arm-linux-gnueabihf -analyzer-checker=core,valist.Uninitialized,valist.CopyToSelf -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/valist-as-lazycompound.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple gcc-linaro-arm-linux-gnueabihf -analyzer-checker=core,valist.Uninitialized,valist.CopyToSelf -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/valist-as-lazycompound.c 1. parser at end of file 2. While analyzing stack: #0 Calling _dprintf 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/valist-as-lazycompound.c:19:9: Error evaluating statement #0 0x0000ffff84d1acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff84d19100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff84d1b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8dc5e800 (linux-vdso.so.1+0x800) #4 0x0000ffff8ce47040 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff8ce47040 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff8ce47040 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff8ce47040 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff8ce47040 llvm::ImmutableSet>::ImmutableSet(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:971:38 #9 0x0000ffff8ce47040 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 0x0000ffff8ce47040 get<(anonymous namespace)::InitializedVALists> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff8ce47040 (anonymous namespace)::ValistChecker::checkDeadSymbols(clang::ento::SymbolReaper&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ValistChecker.cpp:206:72 #12 0x0000ffff8cbad814 void expandGraphWithCheckers<(anonymous namespace)::CheckDeadSymbolsContext>((anonymous namespace)::CheckDeadSymbolsContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #13 0x0000ffff8cbc7fe8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x0000ffff8cbc7fe8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x0000ffff8cbc7fe8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #16 0x0000ffff8cbc7fe8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #17 0x0000ffff8cbc7fe8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #18 0x0000ffff8cbc7fe8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #19 0x0000ffff8cbc7fe8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1080:48 #20 0x0000ffff8cbdce94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #21 0x0000ffff8cbdce94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #22 0x0000ffff8cbdce94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #23 0x0000ffff8cbdce94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #24 0x0000ffff8cbdce94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #25 0x0000ffff8cbdce94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #26 0x0000ffff8cbdce94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #27 0x0000ffff8cbdce94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #28 0x0000ffff8cbdce94 clang::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 0x0000ffff8cbdd1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8cbdd41c clang::ento::CoreEngine::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 0x0000ffff8cbdd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #32 0x0000ffff8cbdd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #33 0x0000ffff8cbdd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #34 0x0000ffff8cbdd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #35 0x0000ffff8cbdd764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #36 0x0000ffff8cea787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffff8cea787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffff8cea787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #39 0x0000ffff8cea787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #40 0x0000ffff8cea787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #41 0x0000ffff8cea87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #42 0x0000ffff8cea87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #43 0x0000ffff8cea87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #44 0x0000ffff8ceacde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #45 0x0000ffff8ceacde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #46 0x0000ffff8ceacde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #47 0x0000ffff8ceacde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #48 0x0000ffff8ceacde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #49 0x0000ffff8b301e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #50 0x0000ffff8b301e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #51 0x0000ffff8b301e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #52 0x0000ffff8b301e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #53 0x0000ffff8c9c7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #54 0x0000ffff8c97fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #55 0x0000ffff8c97fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #56 0x0000ffff8c97fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #57 0x0000ffff8ca0610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #58 0x0000aaaad7cc59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #59 0x0000aaaad7cc94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #60 0x0000aaaad7ccaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #61 0x0000aaaad7cc1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #62 0x0000ffff83f7098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #63 0x0000ffff83f70a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #64 0x0000aaaad7cc20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/valist-as-lazycompound.c.script: line 1: 1829831 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple gcc-linaro-arm-linux-gnueabihf -analyzer-checker=core,valist.Uninitialized,valist.CopyToSelf -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/valist-as-lazycompound.c -- ******************** Testing: 0. FAIL: Clang :: Analysis/valist-uninitialized-no-undef.c (1252 of 18953) ******************** TEST 'Clang :: Analysis/valist-uninitialized-no-undef.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-pc-linux-gnu -analyzer-checker=core,valist.Uninitialized,valist.CopyToSelf -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/valist-uninitialized-no-undef.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-pc-linux-gnu -analyzer-checker=core,valist.Uninitialized,valist.CopyToSelf -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/valist-uninitialized-no-undef.c 1. parser at end of file 2. While analyzing stack: #0 Calling call_vsprintf_bad 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/valist-uninitialized-no-undef.c:45:3 : Error evaluating statement #0 0x0000ffffaeb2acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffaeb29100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffaeb2b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb7a6f800 (linux-vdso.so.1+0x800) #4 0x0000ffffb6c57040 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffb6c57040 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffb6c57040 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffb6c57040 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffb6c57040 llvm::ImmutableSet>::ImmutableSet(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:971:38 #9 0x0000ffffb6c57040 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 0x0000ffffb6c57040 get<(anonymous namespace)::InitializedVALists> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffb6c57040 (anonymous namespace)::ValistChecker::checkDeadSymbols(clang::ento::SymbolReaper&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ValistChecker.cpp:206:72 #12 0x0000ffffb69bd814 void expandGraphWithCheckers<(anonymous namespace)::CheckDeadSymbolsContext>((anonymous namespace)::CheckDeadSymbolsContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #13 0x0000ffffb69d7fe8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x0000ffffb69d7fe8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x0000ffffb69d7fe8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #16 0x0000ffffb69d7fe8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #17 0x0000ffffb69d7fe8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #18 0x0000ffffb69d7fe8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #19 0x0000ffffb69d7fe8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1080:48 #20 0x0000ffffb69ece94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #21 0x0000ffffb69ece94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #22 0x0000ffffb69ece94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #23 0x0000ffffb69ece94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #24 0x0000ffffb69ece94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #25 0x0000ffffb69ece94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #26 0x0000ffffb69ece94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #27 0x0000ffffb69ece94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #28 0x0000ffffb69ece94 clang::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 0x0000ffffb69ed1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffb69ed41c clang::ento::CoreEngine::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 0x0000ffffb69ed764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #32 0x0000ffffb69ed764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #33 0x0000ffffb69ed764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #34 0x0000ffffb69ed764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #35 0x0000ffffb69ed764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #36 0x0000ffffb6cb787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffffb6cb787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffffb6cb787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #39 0x0000ffffb6cb787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #40 0x0000ffffb6cb787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #41 0x0000ffffb6cb87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #42 0x0000ffffb6cb87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #43 0x0000ffffb6cb87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #44 0x0000ffffb6cbcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #45 0x0000ffffb6cbcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #46 0x0000ffffb6cbcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #47 0x0000ffffb6cbcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #48 0x0000ffffb6cbcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #49 0x0000ffffb5111e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #50 0x0000ffffb5111e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #51 0x0000ffffb5111e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #52 0x0000ffffb5111e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #53 0x0000ffffb67d7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #54 0x0000ffffb678fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #55 0x0000ffffb678fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #56 0x0000ffffb678fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #57 0x0000ffffb681610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #58 0x0000aaaade2159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #59 0x0000aaaade2194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #60 0x0000aaaade21aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #61 0x0000aaaade211fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #62 0x0000ffffadd8098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #63 0x0000ffffadd80a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #64 0x0000aaaade2120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/valist-uninitialized-no-undef.c.script: line 1: 1829837 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-pc-linux-gnu -analyzer-checker=core,valist.Uninitialized,valist.CopyToSelf -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/valist-uninitialized-no-undef.c -- ******************** Testing: 0. FAIL: Clang :: Analysis/valist-uninitialized.c (1253 of 18953) ******************** TEST 'Clang :: Analysis/valist-uninitialized.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple hexagon-unknown-linux -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/valist-uninitialized.c -analyzer-checker=core,valist.Uninitialized,valist.CopyToSelf -analyzer-disable-checker=core.CallAndMessage -analyzer-output=text : 'RUN: at line 6'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-pc-linux-gnu -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/valist-uninitialized.c -analyzer-checker=core,valist.Uninitialized,valist.CopyToSelf -analyzer-disable-checker=core.CallAndMessage -analyzer-output=text : 'RUN: at line 11'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-pc-linux-gnu /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/valist-uninitialized.c -analyzer-checker=core,valist.Uninitialized -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple hexagon-unknown-linux -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/valist-uninitialized.c -analyzer-checker=core,valist.Uninitialized,valist.CopyToSelf -analyzer-disable-checker=core.CallAndMessage -analyzer-output=text 1. parser at end of file 2. While analyzing stack: #0 Calling va_copy_test 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/valist-uninitialized.c:187:3 : Error evaluating statement #0 0x0000ffff772dacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff772d9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff772db388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff80210800 (linux-vdso.so.1+0x800) #4 0x0000ffff7f407040 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff7f407040 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff7f407040 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff7f407040 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff7f407040 llvm::ImmutableSet>::ImmutableSet(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:971:38 #9 0x0000ffff7f407040 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 0x0000ffff7f407040 get<(anonymous namespace)::InitializedVALists> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff7f407040 (anonymous namespace)::ValistChecker::checkDeadSymbols(clang::ento::SymbolReaper&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ValistChecker.cpp:206:72 #12 0x0000ffff7f16d814 void expandGraphWithCheckers<(anonymous namespace)::CheckDeadSymbolsContext>((anonymous namespace)::CheckDeadSymbolsContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #13 0x0000ffff7f187fe8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x0000ffff7f187fe8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x0000ffff7f187fe8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #16 0x0000ffff7f187fe8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #17 0x0000ffff7f187fe8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #18 0x0000ffff7f187fe8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #19 0x0000ffff7f187fe8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1080:48 #20 0x0000ffff7f19ce94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #21 0x0000ffff7f19ce94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #22 0x0000ffff7f19ce94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #23 0x0000ffff7f19ce94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #24 0x0000ffff7f19ce94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #25 0x0000ffff7f19ce94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #26 0x0000ffff7f19ce94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #27 0x0000ffff7f19ce94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #28 0x0000ffff7f19ce94 clang::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 0x0000ffff7f19d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff7f19d41c clang::ento::CoreEngine::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 0x0000ffff7f19d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #32 0x0000ffff7f19d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #33 0x0000ffff7f19d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #34 0x0000ffff7f19d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #35 0x0000ffff7f19d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #36 0x0000ffff7f46787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffff7f46787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffff7f46787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #39 0x0000ffff7f46787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #40 0x0000ffff7f46787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #41 0x0000ffff7f4687e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #42 0x0000ffff7f4687e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #43 0x0000ffff7f4687e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #44 0x0000ffff7f46cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #45 0x0000ffff7f46cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #46 0x0000ffff7f46cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #47 0x0000ffff7f46cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #48 0x0000ffff7f46cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #49 0x0000ffff7d8c1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #50 0x0000ffff7d8c1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #51 0x0000ffff7d8c1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #52 0x0000ffff7d8c1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #53 0x0000ffff7ef87ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #54 0x0000ffff7ef3fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #55 0x0000ffff7ef3fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #56 0x0000ffff7ef3fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #57 0x0000ffff7efc610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #58 0x0000aaaab50e59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #59 0x0000aaaab50e94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #60 0x0000aaaab50eaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #61 0x0000aaaab50e1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #62 0x0000ffff7653098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #63 0x0000ffff76530a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #64 0x0000aaaab50e20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/valist-uninitialized.c.script: line 3: 1829840 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple hexagon-unknown-linux -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/valist-uninitialized.c -analyzer-checker=core,valist.Uninitialized,valist.CopyToSelf -analyzer-disable-checker=core.CallAndMessage -analyzer-output=text -- ******************** Testing: 0. FAIL: Clang :: Analysis/use-after-move.cpp (1254 of 18953) ******************** TEST 'Clang :: Analysis/use-after-move.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=cplusplus.Move /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/use-after-move.cpp -std=c++11 -analyzer-output=text -analyzer-config eagerly-assume=false -analyzer-config exploration_strategy=unexplored_first_queue -analyzer-checker core,cplusplus.SmartPtrModeling,debug.ExprInspection -verify=expected,peaceful,non-aggressive : 'RUN: at line 6'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=cplusplus.Move /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/use-after-move.cpp -std=c++11 -analyzer-output=text -analyzer-config eagerly-assume=false -analyzer-config exploration_strategy=dfs -DDFS -analyzer-checker core,cplusplus.SmartPtrModeling,debug.ExprInspection -verify=expected,peaceful,non-aggressive : 'RUN: at line 11'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=cplusplus.Move /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/use-after-move.cpp -std=c++11 -analyzer-output=text -analyzer-config eagerly-assume=false -analyzer-config exploration_strategy=unexplored_first_queue -analyzer-config cplusplus.Move:WarnOn=KnownsOnly -analyzer-checker core,cplusplus.SmartPtrModeling,debug.ExprInspection -verify=expected,non-aggressive : 'RUN: at line 17'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=cplusplus.Move -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/use-after-move.cpp -std=c++11 -analyzer-output=text -analyzer-config eagerly-assume=false -analyzer-config exploration_strategy=dfs -DDFS -analyzer-config cplusplus.Move:WarnOn=KnownsOnly -analyzer-checker core,cplusplus.SmartPtrModeling,debug.ExprInspection -verify=expected,non-aggressive : 'RUN: at line 23'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=cplusplus.Move /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/use-after-move.cpp -std=c++11 -analyzer-output=text -analyzer-config eagerly-assume=false -analyzer-config exploration_strategy=unexplored_first_queue -analyzer-config cplusplus.Move:WarnOn=All -analyzer-checker core,cplusplus.SmartPtrModeling,debug.ExprInspection -verify=expected,peaceful,aggressive : 'RUN: at line 29'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=cplusplus.Move /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/use-after-move.cpp -std=c++11 -analyzer-output=text -analyzer-config eagerly-assume=false -analyzer-config exploration_strategy=dfs -DDFS -analyzer-config cplusplus.Move:WarnOn=All -analyzer-checker core,cplusplus.SmartPtrModeling,debug.ExprInspection -verify=expected,peaceful,aggressive : 'RUN: at line 36'; not /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/use-after-move.cpp -analyzer-checker=core -analyzer-checker=cplusplus.Move -analyzer-config cplusplus.Move:WarnOn="a bunch of things" 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/use-after-move.cpp -check-prefix=CHECK-MOVE-INVALID-VALUE : 'RUN: at line 48'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=cplusplus.Move /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/use-after-move.cpp -std=c++11 -analyzer-output=text -analyzer-config eagerly-assume=false -analyzer-config exploration_strategy=dfs -DDFS -analyzer-config cplusplus.Move:WarnOn=All -DAGGRESSIVE_DFS -analyzer-checker core,cplusplus.SmartPtrModeling,debug.ExprInspection -verify=expected,peaceful,aggressive /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/use-after-move.cpp 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/use-after-move.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=cplusplus.Move /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/use-after-move.cpp -std=c++11 -analyzer-output=text -analyzer-config eagerly-assume=false -analyzer-config exploration_strategy=unexplored_first_queue -analyzer-checker core,cplusplus.SmartPtrModeling,debug.ExprInspection -verify=expected,peaceful,non-aggressive 1. parser at end of file #0 0x0000ffff98deacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff98de9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff98deb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa1d2d800 (linux-vdso.so.1+0x800) #4 0x0000ffffa1043688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa1043688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa1043688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa1043688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa1043688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa1043688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa1043688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa1043688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa0cf0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa0cf0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa0cf0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa0cf0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa0cf1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa0cf1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa0cf1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa0cf1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa0d04770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa0d04770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa0d04770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa0d05cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa0d05cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa0d05cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa0d05190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa0d05190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa0d05190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa0d117d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa0d117d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa0d117d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa0d1b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa0d1b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa0d1b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa0c7f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa0c7f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa0c7f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa0c7f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffa0c7fbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa0c7fbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa0c7fbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffa0c531c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffa0c531c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffa0c531c0 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffa0c8fb5c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffa0c8fb5c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffa0c8fb5c clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:42 #48 0x0000ffffa0cadaa8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffa0cadaa8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffa0cadaa8 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffa0f7787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffa0f7787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffa0f7787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffa0f7787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffa0f7787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffa0f787e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffffa0f787e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffa0f787e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffa0f7cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffa0f7cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffa0f7cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffa0f7cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffa0f7cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff9f3d1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffff9f3d1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff9f3d1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffff9f3d1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffa0a97ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffa0a4fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffa0a4fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffa0a4fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffa0ad610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaad4f659f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaad4f694b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaad4f6aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaad4f61fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffff9804098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffff98040a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaad4f620b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/use-after-move.cpp.script: line 8: 1829838 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=cplusplus.Move /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/use-after-move.cpp -std=c++11 -analyzer-output=text -analyzer-config eagerly-assume=false -analyzer-config exploration_strategy=unexplored_first_queue -analyzer-checker core,cplusplus.SmartPtrModeling,debug.ExprInspection -verify=expected,peaceful,non-aggressive -- ******************** Testing: 0. FAIL: Clang :: Analysis/variadic-method-types.m (1255 of 18953) ******************** TEST 'Clang :: Analysis/variadic-method-types.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,osx.cocoa.VariadicMethodTypes -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/variadic-method-types.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,osx.cocoa.VariadicMethodTypes -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/variadic-method-types.m 1. parser at end of file 2. While analyzing stack: #0 Calling test_rdar9273215 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/variadic-method-types.m:98:10: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/variadic-method-types.m:98:10: Error evaluating statement #0 0x0000ffff8174acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff81749100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8174b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8a68f800 (linux-vdso.so.1+0x800) #4 0x0000ffff899a3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff899a3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff899a3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff899a3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff899a3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff899a3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff899a3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff899a3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff89650c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff89650c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff89650c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff89650c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff89651ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff89651ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff89651ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff89651ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff89664770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff89664770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff89664770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff89665cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff89665cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff89665cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff89665190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff89665190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff89665190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff896717d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff896717d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff896717d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8967b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8967b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8967b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff895df72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff895df72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff895df72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff895df72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff89acd3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff89acd3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff89acd3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff8964171c std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #43 0x0000ffff8964171c std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #44 0x0000ffff8964171c std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #45 0x0000ffff8964171c std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #46 0x0000ffff8964171c std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #47 0x0000ffff8964171c clang::ento::ExprEngine::VisitObjCMessage(clang::ObjCMessageExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineObjC.cpp:192:0 #48 0x0000ffff8960ba38 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #49 0x0000ffff8960ba38 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2309:0 #50 0x0000ffff8960cf08 clang::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 0x0000ffff8960d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8960d41c clang::ento::CoreEngine::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 0x0000ffff8960d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff8960d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff8960d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff8960d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff8960d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff898d787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff898d787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff898d787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff898d787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff898d787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff898d87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff898d87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff898d87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff898dcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff898dcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff898dcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff898dcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff898dcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff87d31e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff87d31e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff87d31e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff87d31e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff893f7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff893afc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff893afc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff893afc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff8943610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaac35059f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaac35094b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaac350aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaac3501fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff809a098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff809a0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaac35020b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/variadic-method-types.m.script: line 1: 1829860 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-apple-darwin10 -analyzer-checker=core,osx.cocoa.VariadicMethodTypes -fblocks -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/variadic-method-types.m -- ******************** Testing: 0. FAIL: Clang :: Analysis/valist-unterminated.c (1256 of 18953) ******************** TEST 'Clang :: Analysis/valist-unterminated.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple hexagon-unknown-linux -analyzer-checker=core,valist.Unterminated,valist.CopyToSelf -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/valist-unterminated.c : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-pc-linux-gnu -analyzer-checker=core,valist.Unterminated,valist.CopyToSelf -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/valist-unterminated.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple hexagon-unknown-linux -analyzer-checker=core,valist.Unterminated,valist.CopyToSelf -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/valist-unterminated.c 1. parser at end of file 2. While analyzing stack: #0 Calling castingOk 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/valist-unterminated.c:153:3 : Error evaluating statement #0 0x0000ffffacc9acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffacc99100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffacc9b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb5bd0800 (linux-vdso.so.1+0x800) #4 0x0000ffffb4dc7040 llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffb4dc7040 llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffb4dc7040 llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffb4dc7040 llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffb4dc7040 llvm::ImmutableSet>::ImmutableSet(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:971:38 #9 0x0000ffffb4dc7040 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 0x0000ffffb4dc7040 get<(anonymous namespace)::InitializedVALists> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffb4dc7040 (anonymous namespace)::ValistChecker::checkDeadSymbols(clang::ento::SymbolReaper&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/ValistChecker.cpp:206:72 #12 0x0000ffffb4b2d814 void expandGraphWithCheckers<(anonymous namespace)::CheckDeadSymbolsContext>((anonymous namespace)::CheckDeadSymbolsContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #13 0x0000ffffb4b47fe8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x0000ffffb4b47fe8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x0000ffffb4b47fe8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #16 0x0000ffffb4b47fe8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #17 0x0000ffffb4b47fe8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #18 0x0000ffffb4b47fe8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #19 0x0000ffffb4b47fe8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1080:48 #20 0x0000ffffb4b5ce94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #21 0x0000ffffb4b5ce94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #22 0x0000ffffb4b5ce94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #23 0x0000ffffb4b5ce94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #24 0x0000ffffb4b5ce94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #25 0x0000ffffb4b5ce94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #26 0x0000ffffb4b5ce94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #27 0x0000ffffb4b5ce94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #28 0x0000ffffb4b5ce94 clang::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 0x0000ffffb4b5d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffb4b5d41c clang::ento::CoreEngine::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 0x0000ffffb4b5d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #32 0x0000ffffb4b5d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #33 0x0000ffffb4b5d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #34 0x0000ffffb4b5d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #35 0x0000ffffb4b5d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #36 0x0000ffffb4e2787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffffb4e2787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffffb4e2787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #39 0x0000ffffb4e2787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #40 0x0000ffffb4e2787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #41 0x0000ffffb4e287e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #42 0x0000ffffb4e287e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #43 0x0000ffffb4e287e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #44 0x0000ffffb4e2cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #45 0x0000ffffb4e2cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #46 0x0000ffffb4e2cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #47 0x0000ffffb4e2cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #48 0x0000ffffb4e2cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #49 0x0000ffffb3281e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #50 0x0000ffffb3281e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #51 0x0000ffffb3281e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #52 0x0000ffffb3281e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #53 0x0000ffffb4947ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #54 0x0000ffffb48ffc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #55 0x0000ffffb48ffc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #56 0x0000ffffb48ffc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #57 0x0000ffffb498610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #58 0x0000aaaabd3559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #59 0x0000aaaabd3594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #60 0x0000aaaabd35aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #61 0x0000aaaabd351fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #62 0x0000ffffabef098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #63 0x0000ffffabef0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #64 0x0000aaaabd3520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/valist-unterminated.c.script: line 2: 1829858 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple hexagon-unknown-linux -analyzer-checker=core,valist.Unterminated,valist.CopyToSelf -analyzer-output=text -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/valist-unterminated.c -- ******************** Testing: 0. FAIL: Clang :: Analysis/vector.m (1258 of 18953) ******************** TEST 'Clang :: Analysis/vector.m' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/vector.m -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/vector.m 1. parser at end of file 2. While analyzing stack: #0 Calling myfunc 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/vector.m:56:16: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/vector.m:56:16: Error evaluating statement #0 0x0000ffffa985acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa9859100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa985b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb2793800 (linux-vdso.so.1+0x800) #4 0x0000ffffb1ab3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb1ab3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb1ab3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb1ab3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb1ab3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb1ab3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb1ab3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb1ab3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb1760c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb1760c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb1760c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb1760c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb1761ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb1761ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb1761ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb1761ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb1774770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb1774770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb1774770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb1775cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb1775cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb1775cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb1775190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb1775190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb1775190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb17817d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb17817d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb17817d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb178b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb178b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb178b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb16ef72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb16ef72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb16ef72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb16ef72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb1bdd3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb1bdd3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb1bdd3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffb175171c std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #43 0x0000ffffb175171c std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #44 0x0000ffffb175171c std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #45 0x0000ffffb175171c std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #46 0x0000ffffb175171c std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #47 0x0000ffffb175171c clang::ento::ExprEngine::VisitObjCMessage(clang::ObjCMessageExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineObjC.cpp:192:0 #48 0x0000ffffb171ba38 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #49 0x0000ffffb171ba38 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2309:0 #50 0x0000ffffb171cf08 clang::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 0x0000ffffb171d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffb171d41c clang::ento::CoreEngine::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 0x0000ffffb171d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffb171d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffb171d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffb171d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffb171d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffb19e787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffb19e787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffb19e787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffb19e787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffb19e787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffb19e87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffb19e87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffb19e87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffb19ecde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffb19ecde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffb19ecde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffb19ecde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffb19ecde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffffafe41e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffffafe41e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffffafe41e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffffafe41e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffb1507ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffb14bfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffb14bfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffb14bfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffb154610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaad86059f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaad86094b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaad860aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaad8601fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffffa8ab098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffffa8ab0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaad86020b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/vector.m.script: line 1: 1829873 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/vector.m -- ******************** Testing: 0. FAIL: Clang :: Analysis/virtualcall-plist.cpp (1259 of 18953) ******************** TEST 'Clang :: Analysis/virtualcall-plist.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus -analyzer-output=plist -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/virtualcall-plist.cpp.tmp.plist -w -verify=pure /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/virtualcall-plist.cpp : 'RUN: at line 3'; cat /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/virtualcall-plist.cpp.tmp.plist | /usr/bin/FileCheck --check-prefixes=PURE /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/virtualcall-plist.cpp : 'RUN: at line 4'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,optin.cplusplus -analyzer-output=plist -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/virtualcall-plist.cpp.tmp.plist -w -verify=impure /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/virtualcall-plist.cpp : 'RUN: at line 6'; cat /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/virtualcall-plist.cpp.tmp.plist | /usr/bin/FileCheck --check-prefixes=IMPURE /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/virtualcall-plist.cpp : 'RUN: at line 7'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus,optin.cplusplus -analyzer-output=plist -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/virtualcall-plist.cpp.tmp.plist -w -verify=pure,impure /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/virtualcall-plist.cpp : 'RUN: at line 9'; cat /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/virtualcall-plist.cpp.tmp.plist | /usr/bin/FileCheck --check-prefixes=PURE,IMPURE /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/virtualcall-plist.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus -analyzer-output=plist -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/virtualcall-plist.cpp.tmp.plist -w -verify=pure /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/virtualcall-plist.cpp 1. parser at end of file #0 0x0000ffffaeaeacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffaeae9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffaeaeb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb7a23800 (linux-vdso.so.1+0x800) #4 0x0000ffffb6d43688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb6d43688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb6d43688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb6d43688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb6d43688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb6d43688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb6d43688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb6d43688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb69f0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb69f0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb69f0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb69f0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb69f1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb69f1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb69f1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb69f1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb6a04770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb6a04770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb6a04770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffb6a05cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb6a05cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb6a05cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffb6a05190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb6a05190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb6a05190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb6a117d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb6a117d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb6a117d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb6a1b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb6a1b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb6a1b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb697f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb697f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb697f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb697f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb697fbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb697fbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb697fbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffb69531c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffb69531c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffb69531c0 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffb698fb5c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffb698fb5c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffb698fb5c clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:42 #48 0x0000ffffb69adaa8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffb69adaa8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffb69adaa8 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffb6c7787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffb6c7787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffb6c7787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffb6c7787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffb6c7787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffb6c787e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffffb6c787e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffb6c787e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffb6c7cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffb6c7cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffb6c7cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffb6c7cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffb6c7cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffb50d1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffffb50d1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffb50d1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffffb50d1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffb6797ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffb674fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffb674fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffb674fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffb67d610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaada4e59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaada4e94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaada4eaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaada4e1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffffadd4098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffffadd40a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaada4e20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/virtualcall-plist.cpp.script: line 6: 1829910 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus -analyzer-output=plist -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/virtualcall-plist.cpp.tmp.plist -w -verify=pure /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/virtualcall-plist.cpp -- ******************** Testing: 0. FAIL: Clang :: Analysis/virtualcall.cpp (1260 of 18953) ******************** TEST 'Clang :: Analysis/virtualcall.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,optin.cplusplus.VirtualCall -analyzer-checker=debug.ExprInspection -std=c++11 -verify=impure /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/virtualcall.cpp : 'RUN: at line 5'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus.PureVirtualCall -analyzer-checker=debug.ExprInspection -std=c++11 -verify=pure -std=c++11 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/virtualcall.cpp : 'RUN: at line 9'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,optin.cplusplus.VirtualCall -analyzer-config optin.cplusplus.VirtualCall:PureOnly=true -analyzer-checker=debug.ExprInspection -std=c++11 -verify=none /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/virtualcall.cpp : 'RUN: at line 15'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus.PureVirtualCall -analyzer-checker=optin.cplusplus.VirtualCall -analyzer-checker=debug.ExprInspection -std=c++11 -verify=pure,impure -std=c++11 /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/virtualcall.cpp : 'RUN: at line 20'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,cplusplus.PureVirtualCall -analyzer-checker=optin.cplusplus.VirtualCall -analyzer-config optin.cplusplus.VirtualCall:PureOnly=true -analyzer-checker=debug.ExprInspection -std=c++11 -verify=pure /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/virtualcall.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,optin.cplusplus.VirtualCall -analyzer-checker=debug.ExprInspection -std=c++11 -verify=impure /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/virtualcall.cpp 1. parser at end of file #0 0x0000ffffa5f0acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa5f09100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa5f0b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffaee48800 (linux-vdso.so.1+0x800) #4 0x0000ffffae163688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffae163688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffae163688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffae163688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffae163688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffae163688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffae163688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffae163688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffade10c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffade10c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffade10c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffade10c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffade11ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffade11ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffade11ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffade11ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffade24770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffade24770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffade24770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffade25cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffade25cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffade25cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffade25190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffade25190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffade25190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffade317d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffade317d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffade317d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffade3b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffade3b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffade3b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffadd9f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffadd9f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffadd9f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffadd9f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffadd9fbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffadd9fbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffadd9fbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffadd731c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffadd731c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffadd731c0 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffaddafb5c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffaddafb5c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffaddafb5c clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:42 #48 0x0000ffffaddcdaa8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffaddcdaa8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffaddcdaa8 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffae09787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffae09787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffae09787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffae09787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffae09787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffae0987e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffffae0987e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffae0987e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffae09cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffae09cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffae09cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffae09cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffae09cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffac4f1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffffac4f1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffac4f1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffffac4f1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffadbb7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffadb6fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffadb6fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffadb6fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffadbf610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #73 0x0000aaaabec959f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #74 0x0000aaaabec994b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #75 0x0000aaaabec9aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #76 0x0000aaaabec91fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #77 0x0000ffffa516098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #78 0x0000ffffa5160a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #79 0x0000aaaabec920b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/virtualcall.cpp.script: line 5: 1829913 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,optin.cplusplus.VirtualCall -analyzer-checker=debug.ExprInspection -std=c++11 -verify=impure /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/virtualcall.cpp -- ******************** Testing: 0. FAIL: Clang :: Analysis/vla-overflow.c (1264 of 18953) ******************** TEST 'Clang :: Analysis/vla-overflow.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-pc-linux-gnu -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/vla-overflow.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-pc-linux-gnu -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/vla-overflow.c 1. parser at end of file 2. While analyzing stack: #0 Calling check_VLA_overflow_sizeof 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/vla-overflow.c:7:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/vla-overflow.c:7:7: Error evaluating statement #0 0x0000ffff98d5acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff98d59100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff98d5b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa1c91800 (linux-vdso.so.1+0x800) #4 0x0000ffffa0fb3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa0fb3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa0fb3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa0fb3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa0fb3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa0fb3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa0fb3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffa0fb3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffa0c60c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffa0c60c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffa0c60c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffa0c60c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffa0c61ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffa0c61ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffa0c61ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffa0c61ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffa0c74770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffa0c74770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffa0c74770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffa0c75cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffa0c75cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffa0c75cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffa0c75190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffa0c75190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffa0c75190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffa0c817d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffa0c817d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffa0c817d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffa0c8b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffa0c8b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffa0c8b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffa0bef6d8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffa0bef6d8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffa0bef6d8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffa0bef6d8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffffa10dd3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffa10dd3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffa10dd3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffa0c02a0c llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffa0c02a0c std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffa0c02a0c clang::ento::ExprEngine::evalEagerlyAssumeBinOpBifurcation(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet&, clang::Expr const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3746:59 #45 0x0000ffffa0c1ccac llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #46 0x0000ffffa0c1ccac llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #47 0x0000ffffa0c1ccac llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #48 0x0000ffffa0c1ccac clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #49 0x0000ffffa0c1ccac clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2374:0 #50 0x0000ffffa0c1cf08 clang::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 0x0000ffffa0c1d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffa0c1d41c clang::ento::CoreEngine::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 0x0000ffffa0c1d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffa0c1d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffa0c1d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffffa0c1d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffffa0c1d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffffa0ee787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffffa0ee787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffffa0ee787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffffa0ee787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffffa0ee787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffffa0ee87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffffa0ee87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffffa0ee87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffffa0eecde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffa0eecde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffa0eecde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffffa0eecde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffffa0eecde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff9f341e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff9f341e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff9f341e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff9f341e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffffa0a07ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffffa09bfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffffa09bfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffffa09bfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffffa0a4610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaaaf0359f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaaaf0394b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaaaf03aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaaaf031fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff97fb098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff97fb0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaaaf0320b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/vla-overflow.c.script: line 1: 1829922 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-pc-linux-gnu -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/vla-overflow.c -- ******************** Testing: 0. FAIL: Clang :: Analysis/virtualcall-fixits.cpp (1267 of 18953) ******************** TEST 'Clang :: Analysis/virtualcall-fixits.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,optin.cplusplus.VirtualCall -analyzer-config optin.cplusplus.VirtualCall:ShowFixIts=true /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/virtualcall-fixits.cpp 2>&1 | /usr/bin/FileCheck -check-prefix=TEXT /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/virtualcall-fixits.cpp : 'RUN: at line 5'; "/usr/bin/python3.11" /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/check-analyzer-fixit.py /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/virtualcall-fixits.cpp /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/virtualcall-fixits.cpp.tmp -analyzer-checker=core,optin.cplusplus.VirtualCall -analyzer-config optin.cplusplus.VirtualCall:ShowFixIts=true -analyzer-output=plist -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/virtualcall-fixits.cpp.tmp.plist : 'RUN: at line 9'; cat /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/virtualcall-fixits.cpp.tmp.plist | /usr/bin/FileCheck -check-prefix=PLIST /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/virtualcall-fixits.cpp -- Exit Code: 1 Command Output (stderr): -- /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/virtualcall-fixits.cpp:23:10: error: TEXT: expected string not found in input // TEXT: warning: Call to virtual method 'S::foo' during construction ^ :1:1: note: scanning from here PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. ^ :1:130: note: possible intended match here PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. ^ Input file: Check file: /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/virtualcall-fixits.cpp -dump-input=help explains the following input dump. Input was: <<<<<< 1: PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. check:23'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found check:23'1 ? possible intended match 2: Stack dump: check:23'0 ~~~~~~~~~~~~ 3: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,optin.cplusplus.VirtualCall -analyzer-config optin.cplusplus.VirtualCall:ShowFixIts=true /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/virtualcall-fixits.cpp check:23'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4: 1. parser at end of file check:23'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5: #0 0x0000ffff7ad2acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) check:23'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6: #1 0x0000ffff7ad29100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) check:23'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0. FAIL: Clang :: Analysis/vfork.c (1268 of 18953) ******************** TEST 'Clang :: Analysis/vfork.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,security.insecureAPI.vfork,unix.Vfork -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/vfork.c : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,security.insecureAPI.vfork,unix.Vfork -verify -x c++ /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/vfork.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,security.insecureAPI.vfork,unix.Vfork -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/vfork.c 1. parser at end of file 2. While analyzing stack: #0 Calling f5 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/vfork.c:131:7: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/vfork.c:131:7: Error evaluating statement #0 0x0000ffffb5d3acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb5d39100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffb5d3b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffbec72800 (linux-vdso.so.1+0x800) #4 0x0000ffffbdf93688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffbdf93688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffbdf93688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffbdf93688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffbdf93688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffbdf93688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffbdf93688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffbdf93688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffbdc40c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffbdc40c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffbdc40c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffbdc40c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffbdc41ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffbdc41ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffbdc41ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffbdc41ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffbdc5591c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffbdc5591c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffbdc5591c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffffbdc55bf0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffbdc55bf0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffbdc55bf0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffffbdc55190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffbdc55190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffbdc55190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffbdc617d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffbdc617d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffbdc617d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffbdc6b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffbdc6b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffbdc6b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffbdbcf72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffbdbcf72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffbdbcf72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffbdbcf72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffbe0bd3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffbe0bd3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffbe0bd3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffbde65ed4 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:9 #43 0x0000ffffbde65ed4 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:21 #44 0x0000ffffbde65ed4 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:44 #45 0x0000ffffbde65ed4 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:25 #46 0x0000ffffbde65ed4 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:44 #47 0x0000ffffbde65ed4 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/VforkChecker.cpp:178:11 #48 0x0000ffffbde65ed4 void clang::ento::check::PostCall::_checkCall<(anonymous namespace)::VforkChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:183:46 #49 0x0000ffffbdbb9524 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #50 0x0000ffffbdbb9524 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #51 0x0000ffffbdbb9524 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #52 0x0000ffffbdbb9524 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #53 0x0000ffffbdbb9524 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #54 0x0000ffffbdc198b8 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #55 0x0000ffffbdc198b8 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #56 0x0000ffffbdc198b8 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #57 0x0000ffffbdc198b8 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #58 0x0000ffffbdc198b8 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #59 0x0000ffffbdc198b8 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #60 0x0000ffffbdc1a144 clang::ento::ExprEngine::VisitCallExpr(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 0x0000ffffbdbfbea0 clang::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 0x0000ffffbdbfbea0 clang::ento::ExprEngine::Visit(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 0x0000ffffbdbfcf08 clang::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 0x0000ffffbdbfd1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffbdbfd41c clang::ento::CoreEngine::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 0x0000ffffbdbfd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffffbdbfd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffffbdbfd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #69 0x0000ffffbdbfd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #70 0x0000ffffbdbfd764 clang::ento::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 0x0000ffffbdec787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #72 0x0000ffffbdec787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #73 0x0000ffffbdec787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #74 0x0000ffffbdec787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #75 0x0000ffffbdec787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #76 0x0000ffffbdec87e8 llvm::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 0x0000ffffbdec87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #78 0x0000ffffbdec87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #79 0x0000ffffbdeccde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #80 0x0000ffffbdeccde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #81 0x0000ffffbdeccde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #82 0x0000ffffbdeccde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #83 0x0000ffffbdeccde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #84 0x0000ffffbc321e58 __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 0x0000ffffbc321e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #86 0x0000ffffbc321e58 void clang::finalize>, 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 0x0000ffffbc321e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #88 0x0000ffffbd9e7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #89 0x0000ffffbd99fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #90 0x0000ffffbd99fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #91 0x0000ffffbd99fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #92 0x0000ffffbda2610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #93 0x0000aaaad63d59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #94 0x0000aaaad63d94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #95 0x0000aaaad63daac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #96 0x0000aaaad63d1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #97 0x0000ffffb4f9098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #98 0x0000ffffb4f90a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #99 0x0000aaaad63d20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/vfork.c.script: line 2: 1829899 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,security.insecureAPI.vfork,unix.Vfork -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/vfork.c -- ******************** Testing: 0. FAIL: Clang :: Analysis/weak-functions.c (1290 of 18953) ******************** TEST 'Clang :: Analysis/weak-functions.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core,debug.ExprInspection,unix.Malloc,unix.cstring,alpha.unix.cstring,unix.API,osx.API,osx.cocoa.RetainCount -Wno-null-dereference -Wno-tautological-compare -fblocks -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/weak-functions.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core,debug.ExprInspection,unix.Malloc,unix.cstring,alpha.unix.cstring,unix.API,osx.API,osx.cocoa.RetainCount -Wno-null-dereference -Wno-tautological-compare -fblocks -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/weak-functions.c 1. parser at end of file 2. While analyzing stack: #0 Calling CFGetRuleViolation 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/weak-functions.c:118:22: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/weak-functions.c:118:22: Error evaluating statement #0 0x0000ffffaddcacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffaddc9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffaddcb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb6d04800 (linux-vdso.so.1+0x800) #4 0x0000ffffb6023688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb6023688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb6023688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb6023688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb6023688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb6023688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffb6023688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb6023688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffb5cd0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffb5cd0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffb5cd0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffb5cd0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffb5cd1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffb5cd1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffb5cd1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffb5cd1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffb5ce591c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffb5ce591c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffb5ce591c clang::ento::RangedConstraintManager::assumeSymUnsupported(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:149:46 #23 0x0000ffffb5ce5bf0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffb5ce5bf0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffb5ce5bf0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:98:53 #26 0x0000ffffb5ce5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffb5ce5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffb5ce5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffb5cf17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffb5cf17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffb5cf17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffb5cfb074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffb5cfb074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffb5cfb074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffb5c5f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffb5c5f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffb5c5f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffb5c5f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffb614d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffb614d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffb614d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffb5d34578 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:54 #43 0x0000ffffb5d34578 std::enable_if<__assignable, llvm::IntrusiveRefCntPtr>(), std::tuple&, llvm::IntrusiveRefCntPtr&>&>::type std::tuple&, llvm::IntrusiveRefCntPtr&>::operator=, llvm::IntrusiveRefCntPtr>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/tuple:1325:40 #44 0x0000ffffb5d34578 checkFunctionPointerCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CallAndMessageChecker.cpp:390:79 #45 0x0000ffffb5d34578 checkPreCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/CallAndMessageChecker.cpp:546:37 #46 0x0000ffffb5d34578 void clang::ento::check::PreCall::_checkCall<(anonymous namespace)::CallAndMessageChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:168:45 #47 0x0000ffffb5c49524 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #48 0x0000ffffb5c49524 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #49 0x0000ffffb5c49524 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #50 0x0000ffffb5c49524 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #51 0x0000ffffb5c49524 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #52 0x0000ffffb5ca97a0 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #53 0x0000ffffb5ca97a0 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #54 0x0000ffffb5ca97a0 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #55 0x0000ffffb5ca97a0 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #56 0x0000ffffb5ca97a0 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #57 0x0000ffffb5ca97a0 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #58 0x0000ffffb5ca97a0 clang::ento::ExprEngine::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 0x0000ffffb5caa144 clang::ento::ExprEngine::VisitCallExpr(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 0x0000ffffb5c8bea0 clang::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 0x0000ffffb5c8bea0 clang::ento::ExprEngine::Visit(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 0x0000ffffb5c8cf08 clang::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 0x0000ffffb5c8d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffb5c8d41c clang::ento::CoreEngine::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 0x0000ffffb5c8d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #66 0x0000ffffb5c8d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #67 0x0000ffffb5c8d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #68 0x0000ffffb5c8d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #69 0x0000ffffb5c8d764 clang::ento::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 0x0000ffffb5f5787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #71 0x0000ffffb5f5787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #72 0x0000ffffb5f5787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #73 0x0000ffffb5f5787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #74 0x0000ffffb5f5787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #75 0x0000ffffb5f587e8 llvm::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 0x0000ffffb5f587e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #77 0x0000ffffb5f587e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #78 0x0000ffffb5f5cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #79 0x0000ffffb5f5cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #80 0x0000ffffb5f5cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #81 0x0000ffffb5f5cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #82 0x0000ffffb5f5cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #83 0x0000ffffb43b1e58 __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 0x0000ffffb43b1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #85 0x0000ffffb43b1e58 void clang::finalize>, 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 0x0000ffffb43b1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #87 0x0000ffffb5a77ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #88 0x0000ffffb5a2fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #89 0x0000ffffb5a2fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #90 0x0000ffffb5a2fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #91 0x0000ffffb5ab610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #92 0x0000aaaabf7e59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #93 0x0000aaaabf7e94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #94 0x0000aaaabf7eaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #95 0x0000aaaabf7e1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #96 0x0000ffffad02098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #97 0x0000ffffad020a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #98 0x0000aaaabf7e20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/weak-functions.c.script: line 1: 1829942 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,alpha.core,debug.ExprInspection,unix.Malloc,unix.cstring,alpha.unix.cstring,unix.API,osx.API,osx.cocoa.RetainCount -Wno-null-dereference -Wno-tautological-compare -fblocks -verify -analyzer-config eagerly-assume=false /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/weak-functions.c -- ******************** Testing: 0. FAIL: Clang :: Analysis/vla.c (1291 of 18953) ******************** TEST 'Clang :: Analysis/vla.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-checker=debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/vla.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-checker=debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/vla.c 1. parser at end of file 2. While analyzing stack: #0 Calling b 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/vla.c:149:5: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/vla.c:149:5: Error evaluating statement #0 0x0000ffffa49aacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa49a9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa49ab388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffad8ea800 (linux-vdso.so.1+0x800) #4 0x0000ffffacc03688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffacc03688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffacc03688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffacc03688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffacc03688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffacc03688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffacc03688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffacc03688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffac8b0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffac8b0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffac8b0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffac8b0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffac8b1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffac8b1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffac8b1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffac8b1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffac8c4770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffac8c4770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffac8c4770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffac8c5cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffac8c5cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffac8c5cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffac8c5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffac8c5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffac8c5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffac8d17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffac8d17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffac8d17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffac8db074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffac8db074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffac8db074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffac83f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffac83f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffac83f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffac83f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffacd2d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffacd2d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffacd2d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffffacbe5c5c std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #43 0x0000ffffacbe5c5c std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #44 0x0000ffffacbe5c5c std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #45 0x0000ffffacbe5c5c std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #46 0x0000ffffacbe5c5c std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #47 0x0000ffffacbe5c5c checkVLAIndexSize /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/VLASizeChecker.cpp:175:0 #48 0x0000ffffacbe5c5c (anonymous namespace)::VLASizeChecker::checkVLA(clang::ento::CheckerContext&, llvm::IntrusiveRefCntPtr, clang::VariableArrayType const*, clang::ento::SVal&) const (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/VLASizeChecker.cpp:83:0 #49 0x0000ffffacad6198 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #50 0x0000ffffacad6198 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #51 0x0000ffffacad6198 checkPreStmt /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/VLASizeChecker.cpp:297:44 #52 0x0000ffffacad6198 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 0x0000ffffac828078 expandGraphWithCheckers<(anonymous namespace)::CheckStmtContext> /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:0 #54 0x0000ffffac828078 clang::ento::CheckerManager::runCheckersForStmt(bool, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::Stmt const*, clang::ento::ExprEngine&, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:190:0 #55 0x0000ffffac85decc llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #56 0x0000ffffac85decc llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #57 0x0000ffffac85decc llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #58 0x0000ffffac85decc llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #59 0x0000ffffac85decc llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #60 0x0000ffffac85decc clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #61 0x0000ffffac85decc 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 0x0000ffffac86c81c clang::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 0x0000ffffac86c81c clang::ento::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 0x0000ffffac86cf08 clang::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 0x0000ffffac86d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffac86d41c clang::ento::CoreEngine::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 0x0000ffffac86d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #68 0x0000ffffac86d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #69 0x0000ffffac86d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #70 0x0000ffffac86d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #71 0x0000ffffac86d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #72 0x0000ffffacb3787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #73 0x0000ffffacb3787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #74 0x0000ffffacb3787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #75 0x0000ffffacb3787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #76 0x0000ffffacb3787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #77 0x0000ffffacb387e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #78 0x0000ffffacb387e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #79 0x0000ffffacb387e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #80 0x0000ffffacb3cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #81 0x0000ffffacb3cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #82 0x0000ffffacb3cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #83 0x0000ffffacb3cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #84 0x0000ffffacb3cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #85 0x0000ffffaaf91e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #86 0x0000ffffaaf91e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #87 0x0000ffffaaf91e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #88 0x0000ffffaaf91e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #89 0x0000ffffac657ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #90 0x0000ffffac60fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #91 0x0000ffffac60fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #92 0x0000ffffac60fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #93 0x0000ffffac69610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #94 0x0000aaaaad3859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #95 0x0000aaaaad3894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #96 0x0000aaaaad38aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #97 0x0000aaaaad381fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #98 0x0000ffffa3c0098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #99 0x0000ffffa3c00a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #100 0x0000aaaaad3820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/vla.c.script: line 1: 1829938 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-checker=debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/vla.c -- ******************** Testing: 0. FAIL: Clang :: Analysis/wstring.c (1305 of 18953) ******************** TEST 'Clang :: Analysis/wstring.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/wstring.c -analyzer-checker=core -analyzer-checker=unix.cstring -analyzer-checker=alpha.unix.cstring -analyzer-disable-checker=alpha.unix.cstring.UninitializedRead -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false : 'RUN: at line 9'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/wstring.c -DUSE_BUILTINS -analyzer-checker=core -analyzer-checker=unix.cstring -analyzer-checker=alpha.unix.cstring -analyzer-disable-checker=alpha.unix.cstring.UninitializedRead -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/wstring.c -analyzer-checker=core -analyzer-checker=unix.cstring -analyzer-checker=alpha.unix.cstring -analyzer-disable-checker=alpha.unix.cstring.UninitializedRead -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false 1. parser at end of file 2. While analyzing stack: #0 Calling wmemcpy_wcslen 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/wstring.c:635:3: Error evaluating statement 4. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/wstring.c:635:3: Error evaluating statement #0 0x0000ffffae73acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffae739100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffae73b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb7671800 (linux-vdso.so.1+0x800) #4 0x0000ffffb697bb3c llvm::ImutAVLTree>::retain() /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb697bb3c llvm::IntrusiveRefCntPtrInfo>>::retain(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb697bb3c llvm::IntrusiveRefCntPtr>>::retain() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb697bb3c llvm::IntrusiveRefCntPtr>>::IntrusiveRefCntPtr(llvm::ImutAVLTree>*) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffb697bb3c llvm::ImmutableMap>::ImmutableMap(llvm::ImutAVLTree> const*) /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffb697bb3c 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 0x0000ffffb697bb3c get<(anonymous namespace)::CStringLength> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffb697bb3c (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 0x0000ffffb6690be8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x0000ffffb6690be8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x0000ffffb6690be8 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 0x0000ffffb659c044 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #16 0x0000ffffb659c044 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #17 0x0000ffffb659c044 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, llvm::DenseSet> const*, llvm::ArrayRef, llvm::ArrayRef, clang::LocationContext const*, clang::ento::CallEvent const*)>::operator()(llvm::IntrusiveRefCntPtr, llvm::DenseSet> const*, llvm::ArrayRef, llvm::ArrayRef, clang::LocationContext const*, clang::ento::CallEvent const*) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:0 #18 0x0000ffffb659c044 clang::ento::CheckerManager::runCheckersForRegionChanges(llvm::IntrusiveRefCntPtr, llvm::DenseSet> const*, llvm::ArrayRef, llvm::ArrayRef, clang::LocationContext const*, clang::ento::CallEvent const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:608:0 #19 0x0000ffffb662cbdc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #20 0x0000ffffb662cbdc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #21 0x0000ffffb662cbdc 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 0x0000ffffb662cbdc 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 0x0000ffffb662cbdc 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 0x0000ffffb65e6e90 llvm::IntrusiveRefCntPtr::get() const /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:200:27 #25 0x0000ffffb65e6e90 bool llvm::operator==(llvm::IntrusiveRefCntPtr const&, llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:233:26 #26 0x0000ffffb65e6e90 clang::ento::ExprEngine::processPointerEscapedOnBind(llvm::IntrusiveRefCntPtr, llvm::ArrayRef>, clang::LocationContext const*, clang::ento::PointerEscapeKind, clang::ento::CallEvent const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3496:17 #27 0x0000ffffb65e72e4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #28 0x0000ffffb65e72e4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #29 0x0000ffffb65e72e4 clang::ento::ExprEngine::processPointerEscapedOnBind(llvm::IntrusiveRefCntPtr, clang::ento::SVal, clang::ento::SVal, clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3512:45 #30 0x0000ffffb65e7560 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #31 0x0000ffffb65e7560 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #32 0x0000ffffb65e7560 clang::ento::ExprEngine::evalBind(clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::SVal, clang::ento::SVal, bool, clang::ProgramPoint const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:3590:65 #33 0x0000ffffb65ee0d4 clang::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 0x0000ffffb65ee0d4 clang::ento::ExprEngine::VisitDeclStmt(clang::DeclStmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineC.cpp:627:0 #35 0x0000ffffb65fc81c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #36 0x0000ffffb65fc81c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2239:0 #37 0x0000ffffb65fcf08 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #38 0x0000ffffb65fd1f0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #39 0x0000ffffb65fd41c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #40 0x0000ffffb65fd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #41 0x0000ffffb65fd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #42 0x0000ffffb65fd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #43 0x0000ffffb65fd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #44 0x0000ffffb65fd764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #45 0x0000ffffb68c787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #46 0x0000ffffb68c787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #47 0x0000ffffb68c787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #48 0x0000ffffb68c787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #49 0x0000ffffb68c787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #50 0x0000ffffb68c87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #51 0x0000ffffb68c87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #52 0x0000ffffb68c87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #53 0x0000ffffb68ccde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffffb68ccde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffffb68ccde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #56 0x0000ffffb68ccde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #57 0x0000ffffb68ccde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #58 0x0000ffffb4d21e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #59 0x0000ffffb4d21e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #60 0x0000ffffb4d21e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #61 0x0000ffffb4d21e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #62 0x0000ffffb63e7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #63 0x0000ffffb639fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #64 0x0000ffffb639fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #65 0x0000ffffb639fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #66 0x0000ffffb642610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #67 0x0000aaaabc8559f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #68 0x0000aaaabc8594b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #69 0x0000aaaabc85aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #70 0x0000aaaabc851fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #71 0x0000ffffad99098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #72 0x0000ffffad990a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #73 0x0000aaaabc8520b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/wstring.c.script: line 2: 1829952 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/wstring.c -analyzer-checker=core -analyzer-checker=unix.cstring -analyzer-checker=alpha.unix.cstring -analyzer-disable-checker=alpha.unix.cstring.UninitializedRead -analyzer-checker=debug.ExprInspection -analyzer-config eagerly-assume=false -- ******************** Testing: 0. FAIL: Clang :: Analysis/zero-size-non-pod-array.cpp (1316 of 18953) ******************** TEST 'Clang :: Analysis/zero-size-non-pod-array.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/zero-size-non-pod-array.cpp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -std=c++17 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/zero-size-non-pod-array.cpp -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/zero-size-non-pod-array.cpp 1. parser at end of file #0 0x0000ffff9f05acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff9f059100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff9f05b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa7f96800 (linux-vdso.so.1+0x800) #4 0x0000ffffa6f0cc54 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffffa6f0cc54 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffffa6f0cc54 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffffa6f0cc54 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffffa6f0cc54 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffffa6f0cc54 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffffa6f0cc54 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffffa6f0cc54 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 0x0000ffffa6f0d578 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 0x0000ffffa6f1d5a4 clang::ento::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 0x0000ffffa6f1d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #15 0x0000ffffa6f1d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #16 0x0000ffffa6f1d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #17 0x0000ffffa6f1d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #18 0x0000ffffa6f1d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #19 0x0000ffffa71e787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffffa71e787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffffa71e787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #22 0x0000ffffa71e787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #23 0x0000ffffa71e787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #24 0x0000ffffa71e87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #25 0x0000ffffa71e87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #26 0x0000ffffa71e87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #27 0x0000ffffa71ecde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #28 0x0000ffffa71ecde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #29 0x0000ffffa71ecde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #30 0x0000ffffa71ecde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #31 0x0000ffffa71ecde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #32 0x0000ffffa5641e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #33 0x0000ffffa5641e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #34 0x0000ffffa5641e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #35 0x0000ffffa5641e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #36 0x0000ffffa6d07ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #37 0x0000ffffa6cbfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #38 0x0000ffffa6cbfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #39 0x0000ffffa6cbfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #40 0x0000ffffa6d4610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #41 0x0000aaaacd3d59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #42 0x0000aaaacd3d94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #43 0x0000aaaacd3daac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #44 0x0000aaaacd3d1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #45 0x0000ffff9e2b098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #46 0x0000ffff9e2b0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #47 0x0000aaaacd3d20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/zero-size-non-pod-array.cpp.script: line 2: 1829993 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core,debug.ExprInspection -std=c++11 -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/zero-size-non-pod-array.cpp -- ******************** Testing: 0. FAIL: Clang :: Analysis/zero-operands.c (1317 of 18953) ******************** TEST 'Clang :: Analysis/zero-operands.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-checker=debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/zero-operands.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-checker=debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/zero-operands.c 1. parser at end of file 2. While analyzing stack: #0 Calling test_0_divisible 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/zero-operands.c:44:3: Error evaluating statement #0 0x0000ffff7d38acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7d389100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7d38b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff862ca800 (linux-vdso.so.1+0x800) #4 0x0000ffff8528cd64 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8528cd64 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8528cd64 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8528cd64 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffff8528cd64 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffff8528cd64 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffff852380bc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffff852380bc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffff852380bc clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffff8524ce94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffff8524ce94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffff8524ce94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffff8524ce94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffff8524ce94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffff8524ce94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffff8524ce94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffff8524ce94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffff8524ce94 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffff8524d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8524d41c clang::ento::CoreEngine::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 0x0000ffff8524d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #25 0x0000ffff8524d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #26 0x0000ffff8524d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #27 0x0000ffff8524d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #28 0x0000ffff8524d764 clang::ento::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 0x0000ffff8551787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #30 0x0000ffff8551787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #31 0x0000ffff8551787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #32 0x0000ffff8551787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #33 0x0000ffff8551787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #34 0x0000ffff855187e8 llvm::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 0x0000ffff855187e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #36 0x0000ffff855187e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #37 0x0000ffff8551cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #38 0x0000ffff8551cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #39 0x0000ffff8551cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #40 0x0000ffff8551cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #41 0x0000ffff8551cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #42 0x0000ffff83971e58 __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 0x0000ffff83971e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #44 0x0000ffff83971e58 void clang::finalize>, 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 0x0000ffff83971e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #46 0x0000ffff85037ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #47 0x0000ffff84fefc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #48 0x0000ffff84fefc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #49 0x0000ffff84fefc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #50 0x0000ffff8507610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #51 0x0000aaaad28a59f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #52 0x0000aaaad28a94b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #53 0x0000aaaad28aaac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #54 0x0000aaaad28a1fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #55 0x0000ffff7c5e098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #56 0x0000ffff7c5e0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #57 0x0000aaaad28a20b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/Output/zero-operands.c.script: line 1: 1829986 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -analyzer-checker=core -analyzer-checker=debug.ExprInspection -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/zero-operands.c -- ******************** Testing: 0. FAIL: Clang :: Analysis/z3/apsint.c (1322 of 18953) ******************** TEST 'Clang :: Analysis/z3/apsint.c' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-unknown-linux-gnu -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/z3/apsint.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-unknown-linux-gnu -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/z3/apsint.c 1. parser at end of file 2. While analyzing stack: #0 Calling c 3. /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/z3/apsint.c:14:9: Error evaluating branch #0 0x0000ffff8c7facd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8c7f9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8c7fb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff95736800 (linux-vdso.so.1+0x800) #4 0x0000ffff94a53688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff94a53688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff94a53688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff94a53688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff94a53688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff94a53688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff94a53688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff94a53688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff94700c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff94700c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff94700c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff94700c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff94701940 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff94701940 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff94701940 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff94701940 (anonymous namespace)::RangeConstraintManager::assumeSymNE(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3042:0 #20 0x0000ffff94714770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff94714770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff94714770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff94715cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff94715cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff94715cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff94715190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff94715190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff94715190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff947217d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff947217d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff947217d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9472b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9472b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9472b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff9468f6d8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff9468f6d8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff9468f6d8 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff9468f6d8 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:65:19 #39 0x0000ffff94b7d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff94b7d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff94b7d3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff946a58c8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffff946a58c8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffff946a58c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffff946a58c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffff946a58c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffff946a58c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffff946a58c8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffff946a58c8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffff946a58c8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffff946a58c8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffff946a5e30 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffff946bd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff946bd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff946bd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff946bd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff946bd764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff9498787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff9498787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff9498787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff9498787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff9498787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff949887e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff949887e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff949887e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff9498cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff9498cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff9498cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff9498cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff9498cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff92de1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff92de1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff92de1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff92de1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff944a7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff9445fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff9445fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff9445fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff944e610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #80 0x0000aaaae68859f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #81 0x0000aaaae68894b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #82 0x0000aaaae688aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #83 0x0000aaaae6881fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #84 0x0000ffff8ba5098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #85 0x0000ffff8ba50a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #86 0x0000aaaae68820b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Analysis/z3/Output/apsint.c.script: line 1: 1829983 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-constraints=range -setup-static-analyzer -triple x86_64-unknown-linux-gnu -analyzer-checker=core -verify /builddir/build/BUILD/clang-17.0.6.src/test/Analysis/z3/apsint.c -- ******************** Testing: 0.. 10.. 20.. 30.. 40. FAIL: Clang :: Coverage/html-diagnostics.c (8983 of 18953) ******************** TEST 'Clang :: Coverage/html-diagnostics.c' FAILED ******************** Script: -- : 'RUN: at line 1'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Coverage/Output/html-diagnostics.c.tmp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-output=html -analyzer-checker=core -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Coverage/Output/html-diagnostics.c.tmp /builddir/build/BUILD/clang-17.0.6.src/test/Coverage/html-diagnostics.c : 'RUN: at line 3'; find /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Coverage/Output/html-diagnostics.c.tmp -name "*.html" -exec cat "{}" ";" | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Coverage/html-diagnostics.c : 'RUN: at line 5'; rm -rf /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Coverage/Output/html-diagnostics.c.tmp : 'RUN: at line 6'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-output=html-single-file -analyzer-checker=core -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Coverage/Output/html-diagnostics.c.tmp /builddir/build/BUILD/clang-17.0.6.src/test/Coverage/html-diagnostics.c : 'RUN: at line 7'; find /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Coverage/Output/html-diagnostics.c.tmp -name "*.html" -exec cat "{}" ";" | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Coverage/html-diagnostics.c -- Exit Code: 139 Command Output (stderr): -- PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-output=html -analyzer-checker=core -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Coverage/Output/html-diagnostics.c.tmp /builddir/build/BUILD/clang-17.0.6.src/test/Coverage/html-diagnostics.c 1. parser at end of file 2. While analyzing stack: #0 Calling f0 3. /builddir/build/BUILD/clang-17.0.6.src/test/Coverage/html-diagnostics.c:28:8: Error evaluating statement #0 0x0000ffff8549acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff85499100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff8549b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8e3d3800 (linux-vdso.so.1+0x800) #4 0x0000ffff8d39cd64 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff8d39cd64 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff8d39cd64 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff8d39cd64 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffff8d39cd64 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffff8d39cd64 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffff8d3480bc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffff8d3480bc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffff8d3480bc clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffff8d35ce94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffff8d35ce94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffff8d35ce94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffff8d35ce94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffff8d35ce94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffff8d35ce94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffff8d35ce94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffff8d35ce94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffff8d35ce94 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffff8d35d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8d35d310 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffff8d35d5dc clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffff8d35d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffff8d35d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffff8d35d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffff8d35d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffff8d35d764 clang::ento::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 0x0000ffff8d62787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff8d62787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff8d62787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffff8d62787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffff8d62787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffff8d6287e8 llvm::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 0x0000ffff8d6287e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffff8d6287e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffff8d62cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffff8d62cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffff8d62cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffff8d62cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffff8d62cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffff8ba81e58 __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 0x0000ffff8ba81e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffff8ba81e58 void clang::finalize>, 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 0x0000ffff8ba81e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffff8d147ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffff8d0ffc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffff8d0ffc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffff8d0ffc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffff8d18610c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /builddir/build/BUILD/clang-17.0.6.src/lib/FrontendTool/ExecuteCompilerInvocation.cpp:272:38 #52 0x0000aaaad55159f0 cc1_main(llvm::ArrayRef, char const*, void*) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/cc1_main.cpp:249:40 #53 0x0000aaaad55194b8 ExecuteCC1Tool(llvm::SmallVectorImpl&, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:366:20 #54 0x0000aaaad551aac8 clang_main(int, char**, llvm::ToolContext const&) /builddir/build/BUILD/clang-17.0.6.src/tools/driver/driver.cpp:407:26 #55 0x0000aaaad5511fe8 main /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/driver/clang-driver.cpp:16:1 #56 0x0000ffff846f098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #57 0x0000ffff846f0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #58 0x0000aaaad55120b0 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang+0x120b0) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Coverage/Output/html-diagnostics.c.script: line 6: 1870262 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang -cc1 -internal-isystem /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/lib64/clang/17/include -nostdsysteminc -analyze -analyzer-output=html -analyzer-checker=core -o /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Coverage/Output/html-diagnostics.c.tmp /builddir/build/BUILD/clang-17.0.6.src/test/Coverage/html-diagnostics.c -- ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90 FAIL: Clang :: Tooling/clang-check-analyze-save-temps.cpp (17680 of 18953) ******************** TEST 'Clang :: Tooling/clang-check-analyze-save-temps.cpp' FAILED ******************** Script: -- : 'RUN: at line 4'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-check -analyze /builddir/build/BUILD/clang-17.0.6.src/test/Tooling/clang-check-analyze-save-temps.cpp -- -save-temps -c -Xclang -verify : 'RUN: at line 9'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-check -analyze /builddir/build/BUILD/clang-17.0.6.src/test/Tooling/clang-check-analyze-save-temps.cpp -- -fsyntax-only -c -fsyntax-only -Xclang -verify 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Tooling/clang-check-analyze-save-temps.cpp --allow-empty -- Exit Code: 139 Command Output (stderr): -- #0 0x0000ffff7e54acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7e5490c8 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b90c8) #2 0x0000ffff7e54b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8748e800 (linux-vdso.so.1+0x800) #4 0x0000ffff867a3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff867a3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff867a3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff867a3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff867a3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff867a3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff867a3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff867a3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff86450c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff86450c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff86450c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff86450c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff86451ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff86451ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff86451ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff86451ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff86464770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff86464770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff86464770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff86465cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff86465cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff86465cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff86465190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff86465190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff86465190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff864717d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff864717d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff864717d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8647b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8647b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8647b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff863df72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff863df72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff863df72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff863df72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff868cd3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff868cd3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff868cd3d4 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal) const (.isra.0) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:721:52 #42 0x0000ffff863f58c8 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr&&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:177:48 #43 0x0000ffff863f58c8 std::pair, llvm::IntrusiveRefCntPtr>::pair(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/bits/stl_pair.h:196:17 #44 0x0000ffff863f58c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Storage, llvm::IntrusiveRefCntPtr>, false>::_Storage, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:244:8 #45 0x0000ffff863f58c8 std::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>::_Optional_payload_base, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:126:4 #46 0x0000ffff863f58c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, true, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:397:42 #47 0x0000ffff863f58c8 std::_Optional_payload, llvm::IntrusiveRefCntPtr>, false, false, false>::_Optional_payload, llvm::IntrusiveRefCntPtr>>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:431:57 #48 0x0000ffff863f58c8 std::_Optional_base, llvm::IntrusiveRefCntPtr>, false, false>::_Optional_base, llvm::IntrusiveRefCntPtr>, false>(std::in_place_t, std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:521:4 #49 0x0000ffff863f58c8 std::optional, llvm::IntrusiveRefCntPtr>>::optional, llvm::IntrusiveRefCntPtr>, true>(std::pair, llvm::IntrusiveRefCntPtr>&&) /usr/include/c++/12/optional:749:47 #50 0x0000ffff863f58c8 assumeCondition /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2730:25 #51 0x0000ffff863f58c8 clang::ento::ExprEngine::processBranch(clang::Stmt const*, clang::ento::NodeBuilderContext&, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::CFGBlock const*, clang::CFGBlock const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2776:79 #52 0x0000ffff863f5e30 clang::ento::CoreEngine::HandleBranch(clang::Stmt const*, clang::Stmt const*, clang::CFGBlock const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:461:10 #53 0x0000ffff8640d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #54 0x0000ffff8640d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #55 0x0000ffff8640d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #56 0x0000ffff8640d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #57 0x0000ffff8640d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #58 0x0000ffff866d787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #59 0x0000ffff866d787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #60 0x0000ffff866d787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #61 0x0000ffff866d787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #62 0x0000ffff866d787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #63 0x0000ffff866d87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #64 0x0000ffff866d87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #65 0x0000ffff866d87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #66 0x0000ffff866dcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #67 0x0000ffff866dcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #68 0x0000ffff866dcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #69 0x0000ffff866dcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #70 0x0000ffff866dcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #71 0x0000ffff84b31e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #72 0x0000ffff84b31e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #73 0x0000ffff84b31e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #74 0x0000ffff84b31e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #75 0x0000ffff861f7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #76 0x0000ffff861afc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #77 0x0000ffff861afc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #78 0x0000ffff861afc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #79 0x0000ffff8635e114 std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:16 #80 0x0000ffff8635e114 std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:12 #81 0x0000ffff8635e114 clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:53 #82 0x0000ffff8635e114 clang::tooling::FrontendActionFactory::runInvocation(std::shared_ptr, clang::FileManager*, std::shared_ptr, clang::DiagnosticConsumer*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:462:24 #83 0x0000ffff8635c8b8 clang::tooling::ToolInvocation::runInvocation(char const*, clang::driver::Compilation*, std::shared_ptr, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:435:31 #84 0x0000ffff8635d468 clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:23 #85 0x0000ffff8635f4bc clang::tooling::ClangTool::run(clang::tooling::ToolAction*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:612:7 #86 0x0000aaaabfe21148 main /builddir/build/BUILD/clang-17.0.6.src/tools/clang-check/ClangCheck.cpp:259:18 #87 0x0000ffff7d7a098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #88 0x0000ffff7d7a0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #89 0x0000aaaabfe21970 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-check+0x11970) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test/Tooling/Output/clang-check-analyze-save-temps.cpp.script: line 2: 1952487 Segmentation fault (core dumped) /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-check -analyze /builddir/build/BUILD/clang-17.0.6.src/test/Tooling/clang-check-analyze-save-temps.cpp -- -save-temps -c -Xclang -verify -- ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90 FAIL: Clang :: Tooling/clang-check-analyzer.cpp (17682 of 18953) ******************** TEST 'Clang :: Tooling/clang-check-analyzer.cpp' FAILED ******************** Script: -- : 'RUN: at line 1'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-check -analyze "/builddir/build/BUILD/clang-17.0.6.src/test/Tooling/clang-check-analyzer.cpp" -- -c 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Tooling/clang-check-analyzer.cpp : 'RUN: at line 2'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-check -analyze "/builddir/build/BUILD/clang-17.0.6.src/test/Tooling/clang-check-analyzer.cpp" -- -c -flto -Wa,--noexecstack 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Tooling/clang-check-analyzer.cpp : 'RUN: at line 3'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-check -analyze "/builddir/build/BUILD/clang-17.0.6.src/test/Tooling/clang-check-analyzer.cpp" -- -c -no-integrated-as -flto=thin 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Tooling/clang-check-analyzer.cpp : 'RUN: at line 4'; /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-check -analyze "/builddir/build/BUILD/clang-17.0.6.src/test/Tooling/clang-check-analyzer.cpp" -- -c -flto=full 2>&1 | /usr/bin/FileCheck /builddir/build/BUILD/clang-17.0.6.src/test/Tooling/clang-check-analyzer.cpp -- Exit Code: 1 Command Output (stderr): -- /builddir/build/BUILD/clang-17.0.6.src/test/Tooling/clang-check-analyzer.cpp:6:11: error: CHECK: expected string not found in input // CHECK: Dereference of null pointer ^ :1:1: note: scanning from here #0 0x0000ffffa4dbacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) ^ :12:206: note: possible intended match here #11 0x0000ffffad013688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(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 0x0000ffffa4dbacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) check:6'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found 2: #1 0x0000ffffa4db90c8 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b90c8) check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3: #2 0x0000ffffa4dbb388 (/usr/lib64/libLLVM-17.so+0x9bb388) check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4: #3 0x0000ffffadcf4800 (linux-vdso.so.1+0x800) check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5: #4 0x0000ffffad013688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6: #5 0x0000ffffad013688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7: #6 0x0000ffffad013688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 8: #7 0x0000ffffad013688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 9: #8 0x0000ffffad013688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 10: #9 0x0000ffffad013688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 11: #10 0x0000ffffad013688 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 0x0000ffffad013688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(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 0x0000ffffaccc0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 14: #13 0x0000ffffaccc0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 15: #14 0x0000ffffaccc0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 16: #15 0x0000ffffaccc0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 17: #16 0x0000ffffaccc1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 check:6'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ . . . >>>>>> -- ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90. FAIL: Clang Tools :: clang-tidy/infrastructure/temporaries.cpp (18489 of 18953) ******************** 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 0x0000ffff7d6cacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7d6c9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff7d6cb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8660b800 (linux-vdso.so.1+0x800) #4 0x0000ffff8557e6a4 retain /usr/include/llvm/ADT/ImmutableSet.h:318:21 #5 0x0000ffff8557e6a4 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff8557e6a4 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff8557e6a4 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff8557e6a4 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff8557e6a4 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff8557e6a4 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff8557e6a4 llvm::IntrusiveRefCntPtr clang::ento::ProgramStateManager::set<(anonymous namespace)::ObjectsUnderConstruction>(llvm::IntrusiveRefCntPtr, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::key_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::value_type, clang::ento::ProgramStateTrait<(anonymous namespace)::ObjectsUnderConstruction>::context_type) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:652:0 #12 0x0000ffff8557ea94 llvm::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 0x0000ffff8557ea94 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #14 0x0000ffff8557ea94 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #15 0x0000ffff8557ea94 set<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:876:0 #16 0x0000ffff8557ea94 clang::ento::ExprEngine::addObjectUnderConstruction(llvm::IntrusiveRefCntPtr, clang::ConstructionContextItem const&, clang::LocationContext const*, clang::ento::SVal) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:599:0 #17 0x0000ffff8557efac llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #18 0x0000ffff8557efac llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #19 0x0000ffff8557efac clang::ento::ExprEngine::updateObjectsUnderConstruction(clang::ento::SVal, clang::Expr const*, llvm::IntrusiveRefCntPtr, clang::LocationContext const*, clang::ConstructionContext const*, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:486:0 #20 0x0000ffff85586a00 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #21 0x0000ffff85586a00 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #22 0x0000ffff85586a00 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 0x0000ffff85586a00 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 0x0000ffff8558be5c clang::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 0x0000ffff8558be5c clang::ento::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 0x0000ffff8558cf08 clang::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 0x0000ffff8558d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8558d41c clang::ento::CoreEngine::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 0x0000ffff8558d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #30 0x0000ffff8558d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #31 0x0000ffff8558d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #32 0x0000ffff8558d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #33 0x0000ffff8558d764 clang::ento::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 0x0000ffff8585787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #35 0x0000ffff8585787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #36 0x0000ffff8585787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #37 0x0000ffff8585787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #38 0x0000ffff8585787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #39 0x0000ffff858587e8 llvm::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 0x0000ffff858587e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #41 0x0000ffff858587e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #42 0x0000ffff8585cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #43 0x0000ffff8585cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #44 0x0000ffff8585cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #45 0x0000ffff8585cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #46 0x0000ffff8585cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #47 0x0000ffff8536d44c clang::MultiplexConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/MultiplexConsumer.cpp:297:25 #48 0x0000ffff83cb1e58 __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 0x0000ffff83cb1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #50 0x0000ffff83cb1e58 void clang::finalize>, 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 0x0000ffff83cb1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #52 0x0000ffff85377ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #53 0x0000ffff8532fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #54 0x0000ffff8532fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #55 0x0000ffff8532fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #56 0x0000ffff854de114 std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:16 #57 0x0000ffff854de114 std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:12 #58 0x0000ffff854de114 clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:53 #59 0x0000ffff854de114 clang::tooling::FrontendActionFactory::runInvocation(std::shared_ptr, clang::FileManager*, std::shared_ptr, clang::DiagnosticConsumer*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:462:24 #60 0x0000aaaae7a268ec std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:6 #61 0x0000aaaae7a268ec std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:7 #62 0x0000aaaae7a268ec std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:11 #63 0x0000aaaae7a268ec clang::tidy::runClangTidy(clang::tidy::ClangTidyContext&, clang::tooling::CompilationDatabase const&, llvm::ArrayRef, std::allocator>>, llvm::IntrusiveRefCntPtr, bool, bool, llvm::StringRef)::ActionFactory::runInvocation(std::shared_ptr, clang::FileManager*, std::shared_ptr, clang::DiagnosticConsumer*) /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/ClangTidy.cpp:564:50 #64 0x0000ffff854dc8b8 clang::tooling::ToolInvocation::runInvocation(char const*, clang::driver::Compilation*, std::shared_ptr, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:435:31 #65 0x0000ffff854dd468 clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:23 #66 0x0000ffff854df4bc clang::tooling::ClangTool::run(clang::tooling::ToolAction*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:612:7 #67 0x0000aaaae7a4172c ~ActionFactory /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/ClangTidy.cpp:549:9 #68 0x0000aaaae7a4172c clang::tidy::runClangTidy(clang::tidy::ClangTidyContext&, clang::tooling::CompilationDatabase const&, llvm::ArrayRef, std::allocator>>, llvm::IntrusiveRefCntPtr, bool, bool, llvm::StringRef) /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/ClangTidy.cpp:587:1 #69 0x0000aaaae71304fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #70 0x0000aaaae71304fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #71 0x0000aaaae71304fc clang::tidy::clangTidyMain(int, char const**) /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/tool/ClangTidyMain.cpp:665:63 #72 0x0000ffff7c87098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #73 0x0000ffff7c870a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #74 0x0000aaaae711ef30 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tidy+0x53ef30) FileCheck error: '' is empty. FileCheck command line: FileCheck /builddir/build/BUILD/clang-tools-extra-17.0.6.src/test/clang-tidy/infrastructure/temporaries.cpp -- ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90. FAIL: Clang Tools :: clang-tidy/infrastructure/static-analyzer.cpp (18491 of 18953) ******************** 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 0x0000ffffa220acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa2209100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffffa220b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffab14b800 (linux-vdso.so.1+0x800) #4 0x0000ffffaa449f20 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffaa449f20 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffaa449f20 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffaa449f20 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffaa449f20 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffaa449f20 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffaa449f20 get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffaa449f20 (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 0x0000ffffaa2583d0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #13 0x0000ffffaa2583d0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #14 0x0000ffffaa2583d0 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 0x0000ffffaa06c2f8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #16 0x0000ffffaa06c2f8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #17 0x0000ffffaa06c2f8 clang::ento::CheckerFn (llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool)>::operator()(llvm::IntrusiveRefCntPtr, clang::ento::SVal const&, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/CheckerManager.h:72:0 #18 0x0000ffffaa06c2f8 clang::ento::CheckerManager::runCheckersForEvalAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:644:0 #19 0x0000ffffaa131844 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #20 0x0000ffffaa131844 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #21 0x0000ffffaa131844 clang::ento::ExprEngine::processAssume(llvm::IntrusiveRefCntPtr, clang::ento::SVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:669:78 #22 0x0000ffffaa131844 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:49:53 #23 0x0000ffffaa13b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #24 0x0000ffffaa13b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #25 0x0000ffffaa13b074 clang::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 0x0000ffffaa09f818 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffaa09f818 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffaa09f818 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #29 0x0000ffffaa09f818 std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:68:21 #30 0x0000ffffaa58d3d4 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffffaa58d3d4 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffffaa58d3d4 clang::ento::ProgramState::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 0x0000ffffaa2644b0 std::_Head_base<1ul, llvm::IntrusiveRefCntPtr&, false>::_Head_base(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:193:0 #34 0x0000ffffaa2644b0 std::_Tuple_impl<1ul, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:435:0 #35 0x0000ffffaa2644b0 std::_Tuple_impl<0ul, llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&>::_Tuple_impl(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:284:0 #36 0x0000ffffaa2644b0 std::tuple&, llvm::IntrusiveRefCntPtr&>::tuple(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1065:0 #37 0x0000ffffaa2644b0 std::tuple&, llvm::IntrusiveRefCntPtr&> std::tie, llvm::IntrusiveRefCntPtr>(llvm::IntrusiveRefCntPtr&, llvm::IntrusiveRefCntPtr&) /usr/include/c++/12/tuple:1745:0 #38 0x0000ffffaa2644b0 (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 0x0000ffffaa264900 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:0 #40 0x0000ffffaa264900 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #41 0x0000ffffaa264900 (anonymous namespace)::MallocChecker::checkBasicAlloc(clang::ento::CallEvent const&, clang::ento::CheckerContext&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1217:0 #42 0x0000ffffaa270e00 checkPostCall /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Checkers/MallocChecker.cpp:1475:0 #43 0x0000ffffaa270e00 void clang::ento::check::PostCall::_checkCall<(anonymous namespace)::MallocChecker>(void*, clang::ento::CallEvent const&, clang::ento::CheckerContext&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/Checker.h:183:0 #44 0x0000ffffaa089524 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #45 0x0000ffffaa089524 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #46 0x0000ffffaa089524 clang::ento::CallEventRef::~CallEventRef() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:82:0 #47 0x0000ffffaa089524 runChecker /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:289:0 #48 0x0000ffffaa089524 void expandGraphWithCheckers<(anonymous namespace)::CheckCallContext>((anonymous namespace)::CheckCallContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:137:0 #49 0x0000ffffaa0e98b8 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:48 #50 0x0000ffffaa0e98b8 llvm::SmallVectorTemplateCommon, void>::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:67 #51 0x0000ffffaa0e98b8 llvm::SmallVectorTemplateBase, true>::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:75 #52 0x0000ffffaa0e98b8 llvm::SmallVectorImpl>::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:37 #53 0x0000ffffaa0e98b8 llvm::SmallVector, 8u>::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:39 #54 0x0000ffffaa0e98b8 clang::ento::ExprEngine::evalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:709:41 #55 0x0000ffffaa0ea144 clang::ento::ExprEngine::VisitCallExpr(clang::CallExpr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:617:26 #56 0x0000ffffaa0cbea0 clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #57 0x0000ffffaa0cbea0 clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2138:0 #58 0x0000ffffaa0ccf08 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1132:0 #59 0x0000ffffaa0cd1f0 clang::ento::ExprEngine::processCFGElement(clang::CFGElement, clang::ento::ExplodedNode*, unsigned int, clang::ento::NodeBuilderContext*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:977:0 #60 0x0000ffffaa0cd41c clang::ento::CoreEngine::HandlePostStmt(clang::CFGBlock const*, unsigned int, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:498:0 #61 0x0000ffffaa0cd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #62 0x0000ffffaa0cd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #63 0x0000ffffaa0cd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #64 0x0000ffffaa0cd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #65 0x0000ffffaa0cd764 clang::ento::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 0x0000ffffaa39787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #67 0x0000ffffaa39787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #68 0x0000ffffaa39787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #69 0x0000ffffaa39787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #70 0x0000ffffaa39787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #71 0x0000ffffaa3987e8 llvm::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 0x0000ffffaa3987e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #73 0x0000ffffaa3987e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #74 0x0000ffffaa39cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #75 0x0000ffffaa39cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #76 0x0000ffffaa39cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #77 0x0000ffffaa39cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #78 0x0000ffffaa39cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #79 0x0000ffffa9ead44c clang::MultiplexConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/MultiplexConsumer.cpp:297:25 #80 0x0000ffffa87f1e58 __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 0x0000ffffa87f1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #82 0x0000ffffa87f1e58 void clang::finalize>, 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 0x0000ffffa87f1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #84 0x0000ffffa9eb7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #85 0x0000ffffa9e6fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #86 0x0000ffffa9e6fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #87 0x0000ffffa9e6fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #88 0x0000ffffaa01e114 std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:16 #89 0x0000ffffaa01e114 std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:12 #90 0x0000ffffaa01e114 clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:53 #91 0x0000ffffaa01e114 clang::tooling::FrontendActionFactory::runInvocation(std::shared_ptr, clang::FileManager*, std::shared_ptr, clang::DiagnosticConsumer*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:462:24 #92 0x0000aaaab09668ec std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:6 #93 0x0000aaaab09668ec std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:7 #94 0x0000aaaab09668ec std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:11 #95 0x0000aaaab09668ec clang::tidy::runClangTidy(clang::tidy::ClangTidyContext&, clang::tooling::CompilationDatabase const&, llvm::ArrayRef, std::allocator>>, llvm::IntrusiveRefCntPtr, bool, bool, llvm::StringRef)::ActionFactory::runInvocation(std::shared_ptr, clang::FileManager*, std::shared_ptr, clang::DiagnosticConsumer*) /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/ClangTidy.cpp:564:50 #96 0x0000ffffaa01c8b8 clang::tooling::ToolInvocation::runInvocation(char const*, clang::driver::Compilation*, std::shared_ptr, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:435:31 #97 0x0000ffffaa01d468 clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:23 #98 0x0000ffffaa01f4bc clang::tooling::ClangTool::run(clang::tooling::ToolAction*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:612:7 #99 0x0000aaaab098172c ~ActionFactory /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/ClangTidy.cpp:549:9 #100 0x0000aaaab098172c clang::tidy::runClangTidy(clang::tidy::ClangTidyContext&, clang::tooling::CompilationDatabase const&, llvm::ArrayRef, std::allocator>>, llvm::IntrusiveRefCntPtr, bool, bool, llvm::StringRef) /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/ClangTidy.cpp:587:1 #101 0x0000aaaab00704fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #102 0x0000aaaab00704fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #103 0x0000aaaab00704fc clang::tidy::clangTidyMain(int, char const**) /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/tool/ClangTidyMain.cpp:665:63 #104 0x0000ffffa13b098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #105 0x0000ffffa13b0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #106 0x0000aaaab005ef30 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tidy+0x53ef30) FileCheck error: '' is empty. FileCheck command line: FileCheck /builddir/build/BUILD/clang-tools-extra-17.0.6.src/test/clang-tidy/infrastructure/static-analyzer.cpp -- ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90. FAIL: Clang Tools :: clang-tidy/infrastructure/static-analyzer-config.cpp (18492 of 18953) ******************** 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 0x0000ffff878bacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff878b9100 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b9100) #2 0x0000ffff878bb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff907fd800 (linux-vdso.so.1+0x800) #4 0x0000ffff8f91a8c0 retain /usr/include/llvm/ADT/ImmutableSet.h:318:19 #5 0x0000ffff8f91a8c0 retain /usr/include/llvm/ADT/ImmutableSet.h:350:65 #6 0x0000ffff8f91a8c0 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:40 #7 0x0000ffff8f91a8c0 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:49 #8 0x0000ffff8f91a8c0 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:44 #9 0x0000ffff8f91a8c0 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:35 #10 0x0000ffff8f91a8c0 get<(anonymous namespace)::RegionState> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:84 #11 0x0000ffff8f91a8c0 (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 0x0000ffff8f74d814 void expandGraphWithCheckers<(anonymous namespace)::CheckDeadSymbolsContext>((anonymous namespace)::CheckDeadSymbolsContext, clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CheckerManager.cpp:136:5 #13 0x0000ffff8f767fe8 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #14 0x0000ffff8f767fe8 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #15 0x0000ffff8f767fe8 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:3 #16 0x0000ffff8f767fe8 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:7 #17 0x0000ffff8f767fe8 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:7 #18 0x0000ffff8f767fe8 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:7 #19 0x0000ffff8f767fe8 clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1080:48 #20 0x0000ffff8f77ce94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #21 0x0000ffff8f77ce94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #22 0x0000ffff8f77ce94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #23 0x0000ffff8f77ce94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #24 0x0000ffff8f77ce94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #25 0x0000ffff8f77ce94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #26 0x0000ffff8f77ce94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #27 0x0000ffff8f77ce94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #28 0x0000ffff8f77ce94 clang::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 0x0000ffff8f77d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff8f77d41c clang::ento::CoreEngine::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 0x0000ffff8f77d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #32 0x0000ffff8f77d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #33 0x0000ffff8f77d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #34 0x0000ffff8f77d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #35 0x0000ffff8f77d764 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:163:0 #36 0x0000ffff8fa4787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #37 0x0000ffff8fa4787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #38 0x0000ffff8fa4787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #39 0x0000ffff8fa4787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #40 0x0000ffff8fa4787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #41 0x0000ffff8fa487e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #42 0x0000ffff8fa487e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #43 0x0000ffff8fa487e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #44 0x0000ffff8fa4cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #45 0x0000ffff8fa4cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #46 0x0000ffff8fa4cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #47 0x0000ffff8fa4cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #48 0x0000ffff8fa4cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #49 0x0000ffff8f55d44c clang::MultiplexConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/MultiplexConsumer.cpp:297:25 #50 0x0000ffff8dea1e58 __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 0x0000ffff8dea1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #52 0x0000ffff8dea1e58 void clang::finalize>, 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 0x0000ffff8dea1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #54 0x0000ffff8f567ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #55 0x0000ffff8f51fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #56 0x0000ffff8f51fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #57 0x0000ffff8f51fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #58 0x0000ffff8f6ce114 std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:16 #59 0x0000ffff8f6ce114 std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:12 #60 0x0000ffff8f6ce114 clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:53 #61 0x0000ffff8f6ce114 clang::tooling::FrontendActionFactory::runInvocation(std::shared_ptr, clang::FileManager*, std::shared_ptr, clang::DiagnosticConsumer*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:462:24 #62 0x0000aaaae87d68ec std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count() /usr/include/c++/12/bits/shared_ptr_base.h:1070:6 #63 0x0000aaaae87d68ec std::__shared_ptr::~__shared_ptr() /usr/include/c++/12/bits/shared_ptr_base.h:1524:7 #64 0x0000aaaae87d68ec std::shared_ptr::~shared_ptr() /usr/include/c++/12/bits/shared_ptr.h:175:11 #65 0x0000aaaae87d68ec clang::tidy::runClangTidy(clang::tidy::ClangTidyContext&, clang::tooling::CompilationDatabase const&, llvm::ArrayRef, std::allocator>>, llvm::IntrusiveRefCntPtr, bool, bool, llvm::StringRef)::ActionFactory::runInvocation(std::shared_ptr, clang::FileManager*, std::shared_ptr, clang::DiagnosticConsumer*) /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/ClangTidy.cpp:564:50 #66 0x0000ffff8f6cc8b8 clang::tooling::ToolInvocation::runInvocation(char const*, clang::driver::Compilation*, std::shared_ptr, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:435:31 #67 0x0000ffff8f6cd468 clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:23 #68 0x0000ffff8f6cf4bc clang::tooling::ClangTool::run(clang::tooling::ToolAction*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:612:7 #69 0x0000aaaae87f172c ~ActionFactory /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/ClangTidy.cpp:549:9 #70 0x0000aaaae87f172c clang::tidy::runClangTidy(clang::tidy::ClangTidyContext&, clang::tooling::CompilationDatabase const&, llvm::ArrayRef, std::allocator>>, llvm::IntrusiveRefCntPtr, bool, bool, llvm::StringRef) /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/ClangTidy.cpp:587:1 #71 0x0000aaaae7ee04fc llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #72 0x0000aaaae7ee04fc llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #73 0x0000aaaae7ee04fc clang::tidy::clangTidyMain(int, char const**) /builddir/build/BUILD/clang-tools-extra-17.0.6.src/clang-tidy/tool/ClangTidyMain.cpp:665:63 #74 0x0000ffff86a6098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #75 0x0000ffff86a60a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #76 0x0000aaaae7ecef30 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/bin/clang-tidy+0x53ef30) FileCheck error: '' is empty. FileCheck command line: FileCheck /builddir/build/BUILD/clang-tools-extra-17.0.6.src/test/clang-tidy/infrastructure/static-analyzer-config.cpp -- ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. FAIL: Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/10/12 (18676 of 18953) ******************** TEST 'Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/10/12' FAILED ******************** Script(shard): -- GTEST_OUTPUT=json:/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-1821091-10-12.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=12 GTEST_SHARD_INDEX=10 /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests -- Note: This is test shard 11 of 12. [==========] Running 29 tests from 15 test suites. [----------] Global test environment set-up. [----------] 1 test from RangeSetTest/0, where TypeParam = signed char [ RUN ] RangeSetTest/0.RangeSetPointIntersectTest [ OK ] RangeSetTest/0.RangeSetPointIntersectTest (3 ms) [----------] 1 test from RangeSetTest/0 (3 ms total) [----------] 1 test from RangeSetTest/1, where TypeParam = unsigned char [ RUN ] RangeSetTest/1.RangeSetAddTest [ OK ] RangeSetTest/1.RangeSetAddTest (1 ms) [----------] 1 test from RangeSetTest/1 (2 ms total) [----------] 1 test from RangeSetTest/3, where TypeParam = unsigned short [ RUN ] RangeSetTest/3.RangeSetPointIntersectTest [ OK ] RangeSetTest/3.RangeSetPointIntersectTest (1 ms) [----------] 1 test from RangeSetTest/3 (2 ms total) [----------] 1 test from RangeSetTest/4, where TypeParam = int [ RUN ] RangeSetTest/4.RangeSetAddTest [ OK ] RangeSetTest/4.RangeSetAddTest (1 ms) [----------] 1 test from RangeSetTest/4 (1 ms total) [----------] 1 test from RangeSetTest/6, where TypeParam = long [ RUN ] RangeSetTest/6.RangeSetPointIntersectTest [ OK ] RangeSetTest/6.RangeSetPointIntersectTest (2 ms) [----------] 1 test from RangeSetTest/6 (2 ms total) [----------] 1 test from RangeSetTest/7, where TypeParam = unsigned long [ RUN ] RangeSetTest/7.RangeSetAddTest [ OK ] RangeSetTest/7.RangeSetAddTest (2 ms) [----------] 1 test from RangeSetTest/7 (2 ms total) [----------] 1 test from RangeSetCastToPromotionTest/1, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToPromotionTest/1.Test [ OK ] RangeSetCastToPromotionTest/1.Test (2 ms) [----------] 1 test from RangeSetCastToPromotionTest/1 (2 ms total) [----------] 1 test from RangeSetCastToTruncationTest/1, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToTruncationTest/1.Test [ OK ] RangeSetCastToTruncationTest/1.Test (2 ms) [----------] 1 test from RangeSetCastToTruncationTest/1 (2 ms total) [----------] 1 test from RangeSetCastToConversionTest/1, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToConversionTest/1.Test [ OK ] RangeSetCastToConversionTest/1.Test (2 ms) [----------] 1 test from RangeSetCastToConversionTest/1 (2 ms total) [----------] 1 test from RangeSetCastToPromotionConversionTest/5, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToPromotionConversionTest/5.Test [ OK ] RangeSetCastToPromotionConversionTest/5.Test (2 ms) [----------] 1 test from RangeSetCastToPromotionConversionTest/5 (2 ms total) [----------] 1 test from RangeSetCastToTruncationConversionTest/5, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToTruncationConversionTest/5.Test [ OK ] RangeSetCastToTruncationConversionTest/5.Test (2 ms) [----------] 1 test from RangeSetCastToTruncationConversionTest/5 (2 ms total) [----------] 1 test from FalsePositiveRefutationBRVisitorTestBase [ RUN ] FalsePositiveRefutationBRVisitorTestBase.UnSatAtErrorNodeDueToRefinedConstraintNoReport [ SKIPPED ] FalsePositiveRefutationBRVisitorTestBase.UnSatAtErrorNodeDueToRefinedConstraintNoReport (0 ms) [----------] 1 test from FalsePositiveRefutationBRVisitorTestBase (0 ms total) [----------] 1 test from CallDescription [ RUN ] CallDescription.SkipAnonimousNamespaces [ OK ] CallDescription.SkipAnonimousNamespaces (3 ms) [----------] 1 test from CallDescription (3 ms total) [----------] 1 test from StaticAnalyzerOptions [ RUN ] StaticAnalyzerOptions.SubCheckerOptions [ OK ] StaticAnalyzerOptions.SubCheckerOptions (0 ms) [----------] 1 test from StaticAnalyzerOptions (0 ms total) [----------] 15 tests from SValTests/SValTest [ RUN ] SValTests/SValTest.GetConstType/11 [ OK ] SValTests/SValTest.GetConstType/11 (1 ms) [ RUN ] SValTests/SValTest.GetLocAsIntType/2 [ OK ] SValTests/SValTest.GetLocAsIntType/2 (2 ms) [ RUN ] SValTests/SValTest.GetLocAsIntType/14 [ OK ] SValTests/SValTest.GetLocAsIntType/14 (1 ms) [ RUN ] SValTests/SValTest.GetSymExprType/5 [ OK ] SValTests/SValTest.GetSymExprType/5 (1 ms) [ RUN ] SValTests/SValTest.GetSymExprType/17 [ OK ] SValTests/SValTest.GetSymExprType/17 (1 ms) [ RUN ] SValTests/SValTest.GetPointerType/8 [ OK ] SValTests/SValTest.GetPointerType/8 (2 ms) [ RUN ] SValTests/SValTest.GetPointerType/20 [ OK ] SValTests/SValTest.GetPointerType/20 (1 ms) [ RUN ] SValTests/SValTest.GetCompoundType/11 [ OK ] SValTests/SValTest.GetCompoundType/11 (2 ms) [ RUN ] SValTests/SValTest.GetStringType/2 [ OK ] SValTests/SValTest.GetStringType/2 (2 ms) [ RUN ] SValTests/SValTest.GetStringType/14 [ OK ] SValTests/SValTest.GetStringType/14 (2 ms) [ RUN ] SValTests/SValTest.GetThisType/5 #0 0x0000ffffadf6acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffadf690c8 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b90c8) #2 0x0000ffffadf6b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffb6eac800 (linux-vdso.so.1+0x800) #4 0x0000ffffb5e6cd64 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffb5e6cd64 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffb5e6cd64 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffb5e6cd64 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffffb5e6cd64 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffffb5e6cd64 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffffb5e180bc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffffb5e180bc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffffb5e180bc clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffffb5e2ce94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffffb5e2ce94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffffb5e2ce94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffffb5e2ce94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffffb5e2ce94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffffb5e2ce94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffffb5e2ce94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffffb5e2ce94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffffb5e2ce94 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffffb5e2d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffb5e2d310 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffffb5e2d5dc clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffffb5e2d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffffb5e2d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffffb5e2d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffffb5e2d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffffb5e2d764 clang::ento::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 0x0000ffffb60f787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffffb60f787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffffb60f787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffffb60f787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffffb60f787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffffb60f87e8 llvm::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 0x0000ffffb60f87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffffb60f87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffffb60fcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffffb60fcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffffb60fcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffffb60fcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffffb60fcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffffb4551e58 __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 0x0000ffffb4551e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffffb4551e58 void clang::finalize>, 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 0x0000ffffb4551e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffffb5c17ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffffb5bcfc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffffb5bcfc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffffb5bcfc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffffb5d7e114 std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:16 #52 0x0000ffffb5d7e114 std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:12 #53 0x0000ffffb5d7e114 clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:53 #54 0x0000ffffb5d7e114 clang::tooling::FrontendActionFactory::runInvocation(std::shared_ptr, clang::FileManager*, std::shared_ptr, clang::DiagnosticConsumer*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:462:24 #55 0x0000ffffb5d7c8b8 clang::tooling::ToolInvocation::runInvocation(char const*, clang::driver::Compilation*, std::shared_ptr, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:435:31 #56 0x0000ffffb5d7d468 clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:23 #57 0x0000ffffb5d7d9e8 clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, llvm::IntrusiveRefCntPtr, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:217:24 #58 0x0000ffffb5d7dd20 clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr, std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>> const&) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:243:31 #59 0x0000aaaacdbbe818 std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>>::~vector() /usr/include/c++/12/bits/stl_vector.h:730:15 #60 0x0000aaaacdbbe818 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:138:40 #61 0x0000aaaacdbbe818 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:147:42 #62 0x0000aaaacdbbe818 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 #63 0x0000aaaacdbe0578 testing::Test::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x110578) #64 0x0000aaaacdbe1ae8 testing::TestInfo::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x111ae8) #65 0x0000aaaacdbe2208 testing::TestSuite::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x112208) #66 0x0000aaaacdbed6c8 testing::internal::UnitTestImpl::RunAllTests() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x11d6c8) #67 0x0000aaaacdbecf88 testing::UnitTest::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x11cf88) #68 0x0000aaaacdbd9ca8 main (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x109ca8) #69 0x0000ffffad1c098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #70 0x0000ffffad1c0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #71 0x0000aaaacdb2ff70 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x5ff70) -- exit: -11 -- shard JSON output does not exist: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-1821091-10-12.json ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. FAIL: Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/1/12 (18677 of 18953) ******************** TEST 'Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/1/12' FAILED ******************** Script(shard): -- GTEST_OUTPUT=json:/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-1821091-1-12.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=12 GTEST_SHARD_INDEX=1 /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests -- Note: This is test shard 2 of 12. [==========] Running 30 tests from 14 test suites. [----------] Global test environment set-up. [----------] 1 test from SymbolReaper [ RUN ] SymbolReaper.SuperRegionLiveness [ OK ] SymbolReaper.SuperRegionLiveness (4 ms) [----------] 1 test from SymbolReaper (4 ms total) [----------] 1 test from RangeSetTest/0, where TypeParam = signed char [ RUN ] RangeSetTest/0.RangeSetContainsTest [ OK ] RangeSetTest/0.RangeSetContainsTest (2 ms) [----------] 1 test from RangeSetTest/0 (2 ms total) [----------] 1 test from RangeSetTest/2, where TypeParam = short [ RUN ] RangeSetTest/2.RangeSetNegateTest [ OK ] RangeSetTest/2.RangeSetNegateTest (2 ms) [----------] 1 test from RangeSetTest/2 (2 ms total) [----------] 1 test from RangeSetTest/3, where TypeParam = unsigned short [ RUN ] RangeSetTest/3.RangeSetContainsTest [ OK ] RangeSetTest/3.RangeSetContainsTest (2 ms) [----------] 1 test from RangeSetTest/3 (2 ms total) [----------] 1 test from RangeSetTest/5, where TypeParam = unsigned int [ RUN ] RangeSetTest/5.RangeSetNegateTest [ OK ] RangeSetTest/5.RangeSetNegateTest (2 ms) [----------] 1 test from RangeSetTest/5 (2 ms total) [----------] 1 test from RangeSetTest/6, where TypeParam = long [ RUN ] RangeSetTest/6.RangeSetContainsTest [ OK ] RangeSetTest/6.RangeSetContainsTest (2 ms) [----------] 1 test from RangeSetTest/6 (2 ms total) [----------] 1 test from RangeSetCastToNoopTest/0, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToNoopTest/0.RangeSetCastToNoopTest [ OK ] RangeSetCastToNoopTest/0.RangeSetCastToNoopTest (2 ms) [----------] 1 test from RangeSetCastToNoopTest/0 (2 ms total) [----------] 1 test from RangeSetCastToPromotionTest/4, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToPromotionTest/4.Test [ OK ] RangeSetCastToPromotionTest/4.Test (2 ms) [----------] 1 test from RangeSetCastToPromotionTest/4 (2 ms total) [----------] 1 test from RangeSetCastToTruncationTest/4, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToTruncationTest/4.Test [ OK ] RangeSetCastToTruncationTest/4.Test (2 ms) [----------] 1 test from RangeSetCastToTruncationTest/4 (2 ms total) [----------] 1 test from RangeSetCastToConversionTest/4, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToConversionTest/4.Test [ OK ] RangeSetCastToConversionTest/4.Test (1 ms) [----------] 1 test from RangeSetCastToConversionTest/4 (2 ms total) [----------] 1 test from RangeSetCastToPromotionConversionTest/8, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToPromotionConversionTest/8.Test [ OK ] RangeSetCastToPromotionConversionTest/8.Test (2 ms) [----------] 1 test from RangeSetCastToPromotionConversionTest/8 (2 ms total) [----------] 1 test from RangeSetCastToTruncationConversionTest/8, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToTruncationConversionTest/8.Test [ OK ] RangeSetCastToTruncationConversionTest/8.Test (1 ms) [----------] 1 test from RangeSetCastToTruncationConversionTest/8 (2 ms total) [----------] 2 tests from CallDescription [ RUN ] CallDescription.SimpleNameMatching [ OK ] CallDescription.SimpleNameMatching (2 ms) [ RUN ] CallDescription.AliasMultipleNamespaces [ OK ] CallDescription.AliasMultipleNamespaces (4 ms) [----------] 2 tests from CallDescription (6 ms total) [----------] 16 tests from SValTests/SValTest [ RUN ] SValTests/SValTest.GetConstType/2 [ OK ] SValTests/SValTest.GetConstType/2 (2 ms) [ RUN ] SValTests/SValTest.GetConstType/14 [ OK ] SValTests/SValTest.GetConstType/14 (2 ms) [ RUN ] SValTests/SValTest.GetLocAsIntType/5 [ OK ] SValTests/SValTest.GetLocAsIntType/5 (2 ms) [ RUN ] SValTests/SValTest.GetLocAsIntType/17 [ OK ] SValTests/SValTest.GetLocAsIntType/17 (2 ms) [ RUN ] SValTests/SValTest.GetSymExprType/8 [ OK ] SValTests/SValTest.GetSymExprType/8 (2 ms) [ RUN ] SValTests/SValTest.GetSymExprType/20 [ OK ] SValTests/SValTest.GetSymExprType/20 (1 ms) [ RUN ] SValTests/SValTest.GetPointerType/11 [ OK ] SValTests/SValTest.GetPointerType/11 (2 ms) [ RUN ] SValTests/SValTest.GetCompoundType/2 [ OK ] SValTests/SValTest.GetCompoundType/2 (2 ms) [ RUN ] SValTests/SValTest.GetCompoundType/14 #0 0x0000ffff8c54acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8c5490c8 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b90c8) #2 0x0000ffff8c54b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff9548f800 (linux-vdso.so.1+0x800) #4 0x0000ffff947a3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff947a3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff947a3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff947a3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff947a3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff947a3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff947a3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff947a3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff94450c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff94450c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff94450c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff94450c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff94451ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff94451ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff94451ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff94451ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff94464770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff94464770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff94464770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff94465cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff94465cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff94465cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff94465190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff94465190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff94465190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff944717d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff944717d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff944717d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff9447b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff9447b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff9447b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff943df72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff943df72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff943df72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff943df72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff943dfbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff943dfbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff943dfbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff943b31c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff943b31c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff943b31c0 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff943efb5c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff943efb5c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff943efb5c clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:42 #48 0x0000ffff9440daa8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff9440daa8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff9440daa8 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff946d787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff946d787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff946d787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff946d787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff946d787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff946d87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffff946d87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff946d87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff946dcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff946dcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff946dcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff946dcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff946dcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff92b31e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffff92b31e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff92b31e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffff92b31e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff941f7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff941afc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff941afc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff941afc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff9435e114 std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:16 #73 0x0000ffff9435e114 std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:12 #74 0x0000ffff9435e114 clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:53 #75 0x0000ffff9435e114 clang::tooling::FrontendActionFactory::runInvocation(std::shared_ptr, clang::FileManager*, std::shared_ptr, clang::DiagnosticConsumer*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:462:24 #76 0x0000ffff9435c8b8 clang::tooling::ToolInvocation::runInvocation(char const*, clang::driver::Compilation*, std::shared_ptr, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:435:31 #77 0x0000ffff9435d468 clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:23 #78 0x0000ffff9435d9e8 clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, llvm::IntrusiveRefCntPtr, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:217:24 #79 0x0000ffff9435dd20 clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr, std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>> const&) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:243:31 #80 0x0000aaaae935e198 std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>>::~vector() /usr/include/c++/12/bits/stl_vector.h:730:15 #81 0x0000aaaae935e198 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:138:40 #82 0x0000aaaae935e198 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:147:42 #83 0x0000aaaae935e198 clang::ento::(anonymous namespace)::SValTest_GetCompoundType_Test::TestBody() (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/SValTest.cpp:278:1 #84 0x0000aaaae9380578 testing::Test::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x110578) #85 0x0000aaaae9381ae8 testing::TestInfo::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x111ae8) #86 0x0000aaaae9382208 testing::TestSuite::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x112208) #87 0x0000aaaae938d6c8 testing::internal::UnitTestImpl::RunAllTests() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x11d6c8) #88 0x0000aaaae938cf88 testing::UnitTest::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x11cf88) #89 0x0000aaaae9379ca8 main (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x109ca8) #90 0x0000ffff8b7a098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #91 0x0000ffff8b7a0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #92 0x0000aaaae92cff70 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x5ff70) -- exit: -11 -- shard JSON output does not exist: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-1821091-1-12.json ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. FAIL: Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/2/12 (18678 of 18953) ******************** TEST 'Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/2/12' FAILED ******************** Script(shard): -- GTEST_OUTPUT=json:/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-1821091-2-12.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=12 GTEST_SHARD_INDEX=2 /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests -- Note: This is test shard 3 of 12. [==========] Running 30 tests from 14 test suites. [----------] Global test environment set-up. [----------] 1 test from Store [ RUN ] Store.VariableBind [ OK ] Store.VariableBind (3 ms) [----------] 1 test from Store (3 ms total) [----------] 1 test from RangeSetTest/0, where TypeParam = signed char [ RUN ] RangeSetTest/0.RangeSetAddTest [ OK ] RangeSetTest/0.RangeSetAddTest (2 ms) [----------] 1 test from RangeSetTest/0 (2 ms total) [----------] 1 test from RangeSetTest/2, where TypeParam = short [ RUN ] RangeSetTest/2.RangeSetPointIntersectTest [ OK ] RangeSetTest/2.RangeSetPointIntersectTest (2 ms) [----------] 1 test from RangeSetTest/2 (2 ms total) [----------] 1 test from RangeSetTest/3, where TypeParam = unsigned short [ RUN ] RangeSetTest/3.RangeSetAddTest [ OK ] RangeSetTest/3.RangeSetAddTest (2 ms) [----------] 1 test from RangeSetTest/3 (2 ms total) [----------] 1 test from RangeSetTest/5, where TypeParam = unsigned int [ RUN ] RangeSetTest/5.RangeSetPointIntersectTest [ OK ] RangeSetTest/5.RangeSetPointIntersectTest (2 ms) [----------] 1 test from RangeSetTest/5 (2 ms total) [----------] 1 test from RangeSetTest/6, where TypeParam = long [ RUN ] RangeSetTest/6.RangeSetAddTest [ OK ] RangeSetTest/6.RangeSetAddTest (2 ms) [----------] 1 test from RangeSetTest/6 (2 ms total) [----------] 1 test from RangeSetCastToNoopTest/1, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToNoopTest/1.RangeSetCastToNoopTest [ OK ] RangeSetCastToNoopTest/1.RangeSetCastToNoopTest (2 ms) [----------] 1 test from RangeSetCastToNoopTest/1 (2 ms total) [----------] 1 test from RangeSetCastToPromotionTest/5, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToPromotionTest/5.Test [ OK ] RangeSetCastToPromotionTest/5.Test (2 ms) [----------] 1 test from RangeSetCastToPromotionTest/5 (2 ms total) [----------] 1 test from RangeSetCastToTruncationTest/5, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToTruncationTest/5.Test [ OK ] RangeSetCastToTruncationTest/5.Test (2 ms) [----------] 1 test from RangeSetCastToTruncationTest/5 (2 ms total) [----------] 1 test from RangeSetCastToConversionTest/5, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToConversionTest/5.Test [ OK ] RangeSetCastToConversionTest/5.Test (2 ms) [----------] 1 test from RangeSetCastToConversionTest/5 (2 ms total) [----------] 1 test from RangeSetCastToPromotionConversionTest/9, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToPromotionConversionTest/9.Test [ OK ] RangeSetCastToPromotionConversionTest/9.Test (1 ms) [----------] 1 test from RangeSetCastToPromotionConversionTest/9 (2 ms total) [----------] 1 test from RangeSetCastToTruncationConversionTest/9, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToTruncationConversionTest/9.Test [ OK ] RangeSetCastToTruncationConversionTest/9.Test (1 ms) [----------] 1 test from RangeSetCastToTruncationConversionTest/9 (1 ms total) [----------] 2 tests from CallDescription [ RUN ] CallDescription.RequiredArguments [ OK ] CallDescription.RequiredArguments (2 ms) [ RUN ] CallDescription.NegativeMatchQualifiedNames [ OK ] CallDescription.NegativeMatchQualifiedNames (2 ms) [----------] 2 tests from CallDescription (4 ms total) [----------] 16 tests from SValTests/SValTest [ RUN ] SValTests/SValTest.GetConstType/3 [ OK ] SValTests/SValTest.GetConstType/3 (2 ms) [ RUN ] SValTests/SValTest.GetConstType/15 [ OK ] SValTests/SValTest.GetConstType/15 (2 ms) [ RUN ] SValTests/SValTest.GetLocAsIntType/6 [ OK ] SValTests/SValTest.GetLocAsIntType/6 (2 ms) [ RUN ] SValTests/SValTest.GetLocAsIntType/18 [ OK ] SValTests/SValTest.GetLocAsIntType/18 (2 ms) [ RUN ] SValTests/SValTest.GetSymExprType/9 [ OK ] SValTests/SValTest.GetSymExprType/9 (2 ms) [ RUN ] SValTests/SValTest.GetPointerType/0 [ OK ] SValTests/SValTest.GetPointerType/0 (2 ms) [ RUN ] SValTests/SValTest.GetPointerType/12 [ OK ] SValTests/SValTest.GetPointerType/12 (2 ms) [ RUN ] SValTests/SValTest.GetCompoundType/3 #0 0x0000ffff970eacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff970e90c8 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b90c8) #2 0x0000ffff970eb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffa0028800 (linux-vdso.so.1+0x800) #4 0x0000ffff9efecd64 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff9efecd64 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff9efecd64 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff9efecd64 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffff9efecd64 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffff9efecd64 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffff9ef980bc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffff9ef980bc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffff9ef980bc clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffff9eface94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffff9eface94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffff9eface94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffff9eface94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffff9eface94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffff9eface94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffff9eface94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffff9eface94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffff9eface94 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffff9efad1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff9efad310 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffff9efad5dc clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffff9efad764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffff9efad764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffff9efad764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffff9efad764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffff9efad764 clang::ento::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 0x0000ffff9f27787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff9f27787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff9f27787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffff9f27787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffff9f27787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffff9f2787e8 llvm::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 0x0000ffff9f2787e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffff9f2787e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffff9f27cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffff9f27cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffff9f27cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffff9f27cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffff9f27cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffff9d6d1e58 __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 0x0000ffff9d6d1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffff9d6d1e58 void clang::finalize>, 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 0x0000ffff9d6d1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffff9ed97ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffff9ed4fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffff9ed4fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffff9ed4fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffff9eefe114 std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:16 #52 0x0000ffff9eefe114 std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:12 #53 0x0000ffff9eefe114 clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:53 #54 0x0000ffff9eefe114 clang::tooling::FrontendActionFactory::runInvocation(std::shared_ptr, clang::FileManager*, std::shared_ptr, clang::DiagnosticConsumer*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:462:24 #55 0x0000ffff9eefc8b8 clang::tooling::ToolInvocation::runInvocation(char const*, clang::driver::Compilation*, std::shared_ptr, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:435:31 #56 0x0000ffff9eefd468 clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:23 #57 0x0000ffff9eefd9e8 clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, llvm::IntrusiveRefCntPtr, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:217:24 #58 0x0000ffff9eefdd20 clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr, std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>> const&) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:243:31 #59 0x0000aaaad66ce198 std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>>::~vector() /usr/include/c++/12/bits/stl_vector.h:730:15 #60 0x0000aaaad66ce198 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:138:40 #61 0x0000aaaad66ce198 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:147:42 #62 0x0000aaaad66ce198 clang::ento::(anonymous namespace)::SValTest_GetCompoundType_Test::TestBody() (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/SValTest.cpp:278:1 #63 0x0000aaaad66f0578 testing::Test::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x110578) #64 0x0000aaaad66f1ae8 testing::TestInfo::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x111ae8) #65 0x0000aaaad66f2208 testing::TestSuite::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x112208) #66 0x0000aaaad66fd6c8 testing::internal::UnitTestImpl::RunAllTests() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x11d6c8) #67 0x0000aaaad66fcf88 testing::UnitTest::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x11cf88) #68 0x0000aaaad66e9ca8 main (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x109ca8) #69 0x0000ffff9634098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #70 0x0000ffff96340a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #71 0x0000aaaad663ff70 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x5ff70) -- exit: -11 -- shard JSON output does not exist: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-1821091-2-12.json ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. FAIL: Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/0/12 (18679 of 18953) ******************** TEST 'Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/0/12' FAILED ******************** Script(shard): -- GTEST_OUTPUT=json:/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-1821091-0-12.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=12 GTEST_SHARD_INDEX=0 /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests -- Note: This is test shard 1 of 12. [==========] Running 30 tests from 15 test suites. [----------] Global test environment set-up. [----------] 1 test from TestReturnValueUnderConstructionChecker [ RUN ] TestReturnValueUnderConstructionChecker.ReturnValueUnderConstructionChecker #0 0x0000ffffa11cacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa11c90c8 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b90c8) #2 0x0000ffffa11cb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffaa107800 (linux-vdso.so.1+0x800) #4 0x0000ffffa9078434 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffa9078434 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffa9078434 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffa9078434 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffa9078434 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffa9078434 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffa9078434 get<(anonymous namespace)::ObjectsUnderConstruction> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:435:0 #11 0x0000ffffa9078434 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 0x0000ffffa9040f7c std::_Optional_base_impl>::_M_is_engaged() const /usr/include/c++/12/optional:471:0 #13 0x0000ffffa9040f7c std::optional::has_value() const /usr/include/c++/12/optional:988:0 #14 0x0000ffffa9040f7c clang::ento::CallEvent::isArgumentConstructedDirectly(unsigned int) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:431:0 #15 0x0000ffffa9040f7c addParameterValuesToBindings(clang::StackFrameContext const*, llvm::SmallVectorImpl>&, clang::ento::SValBuilder&, clang::ento::CallEvent const&, llvm::ArrayRef) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:478:0 #16 0x0000ffffa9041f7c clang::ento::AnyCXXConstructorCall::getCXXThisVal() const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:896:0 #17 0x0000ffffa9041f7c clang::ento::AnyCXXConstructorCall::getInitialStackFrameContents(clang::StackFrameContext const*, llvm::SmallVectorImpl>&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CallEvent.cpp:915:0 #18 0x0000ffffa9102cb0 llvm::SmallVectorTemplateCommon, void>::end() /usr/include/llvm/ADT/SmallVector.h:272:0 #19 0x0000ffffa9102cb0 clang::ento::StoreManager::enterStackFrame(void const*, clang::ento::CallEvent const&, clang::StackFrameContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/Store.cpp:54:0 #20 0x0000ffffa90bdef8 clang::ento::ProgramState::makeWithStore(clang::ento::StoreRef const&) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:434:27 #21 0x0000ffffa90bdef8 clang::ento::ProgramState::enterStackFrame(clang::ento::CallEvent const&, clang::StackFrameContext const*) const /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ProgramState.cpp:234:0 #22 0x0000ffffa90be0a8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #23 0x0000ffffa90be0a8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #24 0x0000ffffa90be0a8 clang::ento::ExprEngine::inlineCall(clang::ento::WorkList*, clang::ento::CallEvent const&, clang::Decl const*, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:561:0 #25 0x0000ffffa90c0b40 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #26 0x0000ffffa90c0b40 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #27 0x0000ffffa90c0b40 clang::ento::ExprEngine::ctuBifurcate(clang::ento::CallEvent const&, clang::Decl const*, clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:527:0 #28 0x0000ffffa90c156c llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #29 0x0000ffffa90c156c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #30 0x0000ffffa90c156c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #31 0x0000ffffa90c156c clang::ento::ExprEngine::defaultEvalCall(clang::ento::NodeBuilder&, clang::ento::ExplodedNode*, clang::ento::CallEvent const&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:1255:0 #32 0x0000ffffa9049fd8 clang::ento::CheckerManager::runCheckersForEvalCall(clang::ento::ExplodedNodeSet&, clang::ento::ExplodedNodeSet const&, clang::ento::CallEvent const&, clang::ento::ExprEngine&, clang::ento::EvalCallOptions const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:288:0 #33 0x0000ffffa9086028 llvm::SmallVectorTemplateCommon::isSmall() const /usr/include/llvm/ADT/SmallVector.h:146:0 #34 0x0000ffffa9086028 llvm::SmallVectorImpl::~SmallVectorImpl() /usr/include/llvm/ADT/SmallVector.h:610:0 #35 0x0000ffffa9086028 llvm::SmallVector::~SmallVector() /usr/include/llvm/ADT/SmallVector.h:1207:0 #36 0x0000ffffa9086028 llvm::SetVector, llvm::DenseSet>, 4u>::~SetVector() /usr/include/llvm/ADT/SetVector.h:57:0 #37 0x0000ffffa9086028 llvm::SmallSetVector::~SmallSetVector() /usr/include/llvm/ADT/SetVector.h:370:0 #38 0x0000ffffa9086028 clang::ento::ExplodedNodeSet::~ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:458:0 #39 0x0000ffffa9086028 clang::ento::ExprEngine::handleConstructor(clang::Expr const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:789:0 #40 0x0000ffffa908be5c clang::ento::NodeBuilder::addNodes(clang::ento::ExplodedNodeSet const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:339:0 #41 0x0000ffffa908be5c clang::ento::ExprEngine::Visit(clang::Stmt const*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:2158:0 #42 0x0000ffffa908cf08 clang::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 0x0000ffffa908d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffa908d41c clang::ento::CoreEngine::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 0x0000ffffa908d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #46 0x0000ffffa908d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #47 0x0000ffffa908d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #48 0x0000ffffa908d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #49 0x0000ffffa908d764 clang::ento::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 0x0000ffffa935787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #51 0x0000ffffa935787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #52 0x0000ffffa935787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #53 0x0000ffffa935787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #54 0x0000ffffa935787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #55 0x0000ffffa93587e8 llvm::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 0x0000ffffa93587e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #57 0x0000ffffa93587e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #58 0x0000ffffa935cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #59 0x0000ffffa935cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #60 0x0000ffffa935cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #61 0x0000ffffa935cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #62 0x0000ffffa935cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #63 0x0000ffffa77b1e58 __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 0x0000ffffa77b1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #65 0x0000ffffa77b1e58 void clang::finalize>, 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 0x0000ffffa77b1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #67 0x0000ffffa8e77ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #68 0x0000ffffa8e2fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #69 0x0000ffffa8e2fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #70 0x0000ffffa8e2fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #71 0x0000ffffa8fde114 std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:16 #72 0x0000ffffa8fde114 std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:12 #73 0x0000ffffa8fde114 clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:53 #74 0x0000ffffa8fde114 clang::tooling::FrontendActionFactory::runInvocation(std::shared_ptr, clang::FileManager*, std::shared_ptr, clang::DiagnosticConsumer*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:462:24 #75 0x0000ffffa8fdc8b8 clang::tooling::ToolInvocation::runInvocation(char const*, clang::driver::Compilation*, std::shared_ptr, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:435:31 #76 0x0000ffffa8fdd468 clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:23 #77 0x0000ffffa8fdd9e8 clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, llvm::IntrusiveRefCntPtr, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:217:24 #78 0x0000ffffa8fddd20 clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr, std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>> const&) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:243:31 #79 0x0000ffffa8fddec0 clang::tooling::runToolOnCode(std::unique_ptr>, llvm::Twine const&, llvm::Twine const&, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:179:31 #80 0x0000aaaab058da8c runCheckerOnCode /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:121:32 #81 0x0000aaaab058da8c bool clang::ento::runCheckerOnCode<&clang::ento::(anonymous namespace)::addTestReturnValueUnderConstructionChecker(clang::ento::AnalysisASTConsumer&, clang::AnalyzerOptions&)>(std::__cxx11::basic_string, std::allocator> const&) /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:128:34 #82 0x0000aaaab058eb08 clang::ento::(anonymous namespace)::TestReturnValueUnderConstructionChecker_ReturnValueUnderConstructionChecker_Test::TestBody() /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/TestReturnValueUnderConstruction.cpp:59:3 #83 0x0000aaaab05a0578 testing::Test::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x110578) #84 0x0000aaaab05a1ae8 testing::TestInfo::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x111ae8) #85 0x0000aaaab05a2208 testing::TestSuite::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x112208) #86 0x0000aaaab05ad6c8 testing::internal::UnitTestImpl::RunAllTests() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x11d6c8) #87 0x0000aaaab05acf88 testing::UnitTest::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x11cf88) #88 0x0000aaaab0599ca8 main (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x109ca8) #89 0x0000ffffa042098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #90 0x0000ffffa0420a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #91 0x0000aaaab04eff70 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x5ff70) -- exit: -11 -- shard JSON output does not exist: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-1821091-0-12.json ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. FAIL: Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/11/12 (18680 of 18953) ******************** TEST 'Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/11/12' FAILED ******************** Script(shard): -- GTEST_OUTPUT=json:/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-1821091-11-12.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=12 GTEST_SHARD_INDEX=11 /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests -- Note: This is test shard 12 of 12. [==========] Running 29 tests from 14 test suites. [----------] Global test environment set-up. [----------] 1 test from RangeSetTest/0, where TypeParam = signed char [ RUN ] RangeSetTest/0.RangeSetRangeIntersectTest [ OK ] RangeSetTest/0.RangeSetRangeIntersectTest (4 ms) [----------] 1 test from RangeSetTest/0 (4 ms total) [----------] 1 test from RangeSetTest/1, where TypeParam = unsigned char [ RUN ] RangeSetTest/1.RangeSetDeletePointTest [ OK ] RangeSetTest/1.RangeSetDeletePointTest (2 ms) [----------] 1 test from RangeSetTest/1 (2 ms total) [----------] 1 test from RangeSetTest/3, where TypeParam = unsigned short [ RUN ] RangeSetTest/3.RangeSetRangeIntersectTest [ OK ] RangeSetTest/3.RangeSetRangeIntersectTest (1 ms) [----------] 1 test from RangeSetTest/3 (2 ms total) [----------] 1 test from RangeSetTest/4, where TypeParam = int [ RUN ] RangeSetTest/4.RangeSetDeletePointTest [ OK ] RangeSetTest/4.RangeSetDeletePointTest (1 ms) [----------] 1 test from RangeSetTest/4 (1 ms total) [----------] 1 test from RangeSetTest/6, where TypeParam = long [ RUN ] RangeSetTest/6.RangeSetRangeIntersectTest [ OK ] RangeSetTest/6.RangeSetRangeIntersectTest (2 ms) [----------] 1 test from RangeSetTest/6 (2 ms total) [----------] 1 test from RangeSetTest/7, where TypeParam = unsigned long [ RUN ] RangeSetTest/7.RangeSetDeletePointTest [ OK ] RangeSetTest/7.RangeSetDeletePointTest (2 ms) [----------] 1 test from RangeSetTest/7 (2 ms total) [----------] 1 test from RangeSetCastToPromotionTest/2, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToPromotionTest/2.Test [ OK ] RangeSetCastToPromotionTest/2.Test (1 ms) [----------] 1 test from RangeSetCastToPromotionTest/2 (2 ms total) [----------] 1 test from RangeSetCastToTruncationTest/2, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToTruncationTest/2.Test [ OK ] RangeSetCastToTruncationTest/2.Test (2 ms) [----------] 1 test from RangeSetCastToTruncationTest/2 (2 ms total) [----------] 1 test from RangeSetCastToConversionTest/2, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToConversionTest/2.Test [ OK ] RangeSetCastToConversionTest/2.Test (2 ms) [----------] 1 test from RangeSetCastToConversionTest/2 (2 ms total) [----------] 1 test from RangeSetCastToPromotionConversionTest/6, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToPromotionConversionTest/6.Test [ OK ] RangeSetCastToPromotionConversionTest/6.Test (2 ms) [----------] 1 test from RangeSetCastToPromotionConversionTest/6 (2 ms total) [----------] 1 test from RangeSetCastToTruncationConversionTest/6, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToTruncationConversionTest/6.Test [ OK ] RangeSetCastToTruncationConversionTest/6.Test (2 ms) [----------] 1 test from RangeSetCastToTruncationConversionTest/6 (2 ms total) [----------] 1 test from EvalCall [ RUN ] EvalCall.DetectConflictingEvalCalls [ SKIPPED ] EvalCall.DetectConflictingEvalCalls (0 ms) [----------] 1 test from EvalCall (0 ms total) [----------] 1 test from CallDescription [ RUN ] CallDescription.AliasNames [ OK ] CallDescription.AliasNames (9 ms) [----------] 1 test from CallDescription (9 ms total) [----------] 16 tests from SValTests/SValTest [ RUN ] SValTests/SValTest.GetConstType/0 [ OK ] SValTests/SValTest.GetConstType/0 (2 ms) [ RUN ] SValTests/SValTest.GetConstType/12 [ OK ] SValTests/SValTest.GetConstType/12 (1 ms) [ RUN ] SValTests/SValTest.GetLocAsIntType/3 [ OK ] SValTests/SValTest.GetLocAsIntType/3 (2 ms) [ RUN ] SValTests/SValTest.GetLocAsIntType/15 [ OK ] SValTests/SValTest.GetLocAsIntType/15 (1 ms) [ RUN ] SValTests/SValTest.GetSymExprType/6 [ OK ] SValTests/SValTest.GetSymExprType/6 (2 ms) [ RUN ] SValTests/SValTest.GetSymExprType/18 [ OK ] SValTests/SValTest.GetSymExprType/18 (3 ms) [ RUN ] SValTests/SValTest.GetPointerType/9 [ OK ] SValTests/SValTest.GetPointerType/9 (2 ms) [ RUN ] SValTests/SValTest.GetCompoundType/0 #0 0x0000ffffb56dacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb56d90c8 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b90c8) #2 0x0000ffffb56db388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffbe610800 (linux-vdso.so.1+0x800) #4 0x0000ffffbd933688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffbd933688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffbd933688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffbd933688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffffbd933688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffffbd933688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffffbd933688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffffbd933688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffffbd5e0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffffbd5e0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffffbd5e0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffffbd5e0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffffbd5e1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffffbd5e1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffffbd5e1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffffbd5e1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffffbd5f4770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffffbd5f4770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffffbd5f4770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffffbd5f5cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffffbd5f5cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffffbd5f5cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffffbd5f5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffffbd5f5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffffbd5f5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffffbd6017d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffffbd6017d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffffbd6017d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffffbd60b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffffbd60b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffffbd60b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffffbd56f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffffbd56f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffffbd56f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffffbd56f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffffbd56fbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffffbd56fbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffffbd56fbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffffbd5431c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffffbd5431c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffffbd5431c0 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffffbd57fb5c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffffbd57fb5c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffffbd57fb5c clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:42 #48 0x0000ffffbd59daa8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffffbd59daa8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffffbd59daa8 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffffbd86787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffffbd86787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffffbd86787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffffbd86787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffffbd86787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffffbd8687e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffffbd8687e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffffbd8687e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffffbd86cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffffbd86cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffffbd86cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffffbd86cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffffbd86cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffffbbcc1e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffffbbcc1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffffbbcc1e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffffbbcc1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffffbd387ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffffbd33fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffffbd33fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffffbd33fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffffbd4ee114 std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:16 #73 0x0000ffffbd4ee114 std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:12 #74 0x0000ffffbd4ee114 clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:53 #75 0x0000ffffbd4ee114 clang::tooling::FrontendActionFactory::runInvocation(std::shared_ptr, clang::FileManager*, std::shared_ptr, clang::DiagnosticConsumer*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:462:24 #76 0x0000ffffbd4ec8b8 clang::tooling::ToolInvocation::runInvocation(char const*, clang::driver::Compilation*, std::shared_ptr, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:435:31 #77 0x0000ffffbd4ed468 clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:23 #78 0x0000ffffbd4ed9e8 clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, llvm::IntrusiveRefCntPtr, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:217:24 #79 0x0000ffffbd4edd20 clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr, std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>> const&) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:243:31 #80 0x0000aaaad82fe198 std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>>::~vector() /usr/include/c++/12/bits/stl_vector.h:730:15 #81 0x0000aaaad82fe198 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:138:40 #82 0x0000aaaad82fe198 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:147:42 #83 0x0000aaaad82fe198 clang::ento::(anonymous namespace)::SValTest_GetCompoundType_Test::TestBody() (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/SValTest.cpp:278:1 #84 0x0000aaaad8320578 testing::Test::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x110578) #85 0x0000aaaad8321ae8 testing::TestInfo::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x111ae8) #86 0x0000aaaad8322208 testing::TestSuite::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x112208) #87 0x0000aaaad832d6c8 testing::internal::UnitTestImpl::RunAllTests() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x11d6c8) #88 0x0000aaaad832cf88 testing::UnitTest::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x11cf88) #89 0x0000aaaad8319ca8 main (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x109ca8) #90 0x0000ffffb493098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #91 0x0000ffffb4930a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #92 0x0000aaaad826ff70 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x5ff70) -- exit: -11 -- shard JSON output does not exist: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-1821091-11-12.json ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. FAIL: Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/4/12 (18683 of 18953) ******************** TEST 'Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/4/12' FAILED ******************** Script(shard): -- GTEST_OUTPUT=json:/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-1821091-4-12.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=12 GTEST_SHARD_INDEX=4 /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests -- Note: This is test shard 5 of 12. [==========] Running 30 tests from 14 test suites. [----------] Global test environment set-up. [----------] 1 test from RegisterCustomCheckers [ RUN ] RegisterCustomCheckers.RegisterChecker RegisterChecker.cc:1:6: warning: Custom diagnostic description [test.CustomChecker] 1 | void f() {;} | ^ ~~~ 1 warning generated. [ OK ] RegisterCustomCheckers.RegisterChecker (4 ms) [----------] 1 test from RegisterCustomCheckers (4 ms total) [----------] 1 test from RangeSetTest/0, where TypeParam = signed char [ RUN ] RangeSetTest/0.RangeSetUniteTest [ OK ] RangeSetTest/0.RangeSetUniteTest (2 ms) [----------] 1 test from RangeSetTest/0 (2 ms total) [----------] 1 test from RangeSetTest/2, where TypeParam = short [ RUN ] RangeSetTest/2.RangeSetGenericIntersectTest [ OK ] RangeSetTest/2.RangeSetGenericIntersectTest (1 ms) [----------] 1 test from RangeSetTest/2 (1 ms total) [----------] 1 test from RangeSetTest/3, where TypeParam = unsigned short [ RUN ] RangeSetTest/3.RangeSetUniteTest [ OK ] RangeSetTest/3.RangeSetUniteTest (1 ms) [----------] 1 test from RangeSetTest/3 (1 ms total) [----------] 1 test from RangeSetTest/5, where TypeParam = unsigned int [ RUN ] RangeSetTest/5.RangeSetGenericIntersectTest [ OK ] RangeSetTest/5.RangeSetGenericIntersectTest (2 ms) [----------] 1 test from RangeSetTest/5 (2 ms total) [----------] 1 test from RangeSetTest/6, where TypeParam = long [ RUN ] RangeSetTest/6.RangeSetUniteTest [ OK ] RangeSetTest/6.RangeSetUniteTest (2 ms) [----------] 1 test from RangeSetTest/6 (2 ms total) [----------] 1 test from RangeSetCastToNoopTest/3, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToNoopTest/3.RangeSetCastToNoopTest [ OK ] RangeSetCastToNoopTest/3.RangeSetCastToNoopTest (2 ms) [----------] 1 test from RangeSetCastToNoopTest/3 (2 ms total) [----------] 1 test from RangeSetCastToPromotionTest/7, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToPromotionTest/7.Test [ OK ] RangeSetCastToPromotionTest/7.Test (2 ms) [----------] 1 test from RangeSetCastToPromotionTest/7 (2 ms total) [----------] 1 test from RangeSetCastToTruncationTest/7, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToTruncationTest/7.Test [ OK ] RangeSetCastToTruncationTest/7.Test (2 ms) [----------] 1 test from RangeSetCastToTruncationTest/7 (2 ms total) [----------] 1 test from RangeSetCastToConversionTest/7, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToConversionTest/7.Test [ OK ] RangeSetCastToConversionTest/7.Test (2 ms) [----------] 1 test from RangeSetCastToConversionTest/7 (2 ms total) [----------] 1 test from RangeSetCastToPromotionConversionTest/11, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToPromotionConversionTest/11.Test [ OK ] RangeSetCastToPromotionConversionTest/11.Test (1 ms) [----------] 1 test from RangeSetCastToPromotionConversionTest/11 (1 ms total) [----------] 1 test from RangeSetCastToTruncationConversionTest/11, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToTruncationConversionTest/11.Test [ OK ] RangeSetCastToTruncationConversionTest/11.Test (2 ms) [----------] 1 test from RangeSetCastToTruncationConversionTest/11 (2 ms total) [----------] 2 tests from CallDescription [ RUN ] CallDescription.QualifiedNames [ OK ] CallDescription.QualifiedNames (3 ms) [ RUN ] CallDescription.CheckCallExprMatching CheckCallExprMatching.cc:2:10: warning: CallEvent match [test.CallDescChecker] 2 | void bar(); | ^~~ 1 warning generated. CheckCallExprMatching.cc:2:10: warning: CallEvent match [test.CallDescChecker] 2 | void bar(); | ^~~ CheckCallExprMatching.cc:2:10: warning: CallExpr match [test.CallDescChecker] 2 | void bar(); | ^~~ 2 warnings generated. [ OK ] CallDescription.CheckCallExprMatching (6 ms) [----------] 2 tests from CallDescription (9 ms total) [----------] 16 tests from SValTests/SValTest [ RUN ] SValTests/SValTest.GetConstType/5 [ OK ] SValTests/SValTest.GetConstType/5 (2 ms) [ RUN ] SValTests/SValTest.GetConstType/17 [ OK ] SValTests/SValTest.GetConstType/17 (2 ms) [ RUN ] SValTests/SValTest.GetLocAsIntType/8 [ OK ] SValTests/SValTest.GetLocAsIntType/8 (1 ms) [ RUN ] SValTests/SValTest.GetLocAsIntType/20 [ OK ] SValTests/SValTest.GetLocAsIntType/20 (1 ms) [ RUN ] SValTests/SValTest.GetSymExprType/11 [ OK ] SValTests/SValTest.GetSymExprType/11 (2 ms) [ RUN ] SValTests/SValTest.GetPointerType/2 [ OK ] SValTests/SValTest.GetPointerType/2 (2 ms) [ RUN ] SValTests/SValTest.GetPointerType/14 [ OK ] SValTests/SValTest.GetPointerType/14 (2 ms) [ RUN ] SValTests/SValTest.GetCompoundType/5 [ OK ] SValTests/SValTest.GetCompoundType/5 (2 ms) [ RUN ] SValTests/SValTest.GetCompoundType/17 #0 0x0000ffffa6f9acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffa6f990c8 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b90c8) #2 0x0000ffffa6f9b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffafedf800 (linux-vdso.so.1+0x800) #4 0x0000ffffaee9cd64 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffaee9cd64 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffaee9cd64 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffaee9cd64 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffffaee9cd64 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffffaee9cd64 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffffaee480bc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffffaee480bc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffffaee480bc clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffffaee5ce94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffffaee5ce94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffffaee5ce94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffffaee5ce94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffffaee5ce94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffffaee5ce94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffffaee5ce94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffffaee5ce94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffffaee5ce94 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffffaee5d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffaee5d310 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffffaee5d5dc clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffffaee5d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffffaee5d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffffaee5d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffffaee5d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffffaee5d764 clang::ento::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 0x0000ffffaf12787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffffaf12787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffffaf12787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffffaf12787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffffaf12787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffffaf1287e8 llvm::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 0x0000ffffaf1287e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffffaf1287e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffffaf12cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffffaf12cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffffaf12cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffffaf12cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffffaf12cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffffad581e58 __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 0x0000ffffad581e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffffad581e58 void clang::finalize>, 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 0x0000ffffad581e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffffaec47ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffffaebffc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffffaebffc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffffaebffc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffffaedae114 std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:16 #52 0x0000ffffaedae114 std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:12 #53 0x0000ffffaedae114 clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:53 #54 0x0000ffffaedae114 clang::tooling::FrontendActionFactory::runInvocation(std::shared_ptr, clang::FileManager*, std::shared_ptr, clang::DiagnosticConsumer*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:462:24 #55 0x0000ffffaedac8b8 clang::tooling::ToolInvocation::runInvocation(char const*, clang::driver::Compilation*, std::shared_ptr, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:435:31 #56 0x0000ffffaedad468 clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:23 #57 0x0000ffffaedad9e8 clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, llvm::IntrusiveRefCntPtr, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:217:24 #58 0x0000ffffaedadd20 clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr, std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>> const&) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:243:31 #59 0x0000aaaaddf5e198 std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>>::~vector() /usr/include/c++/12/bits/stl_vector.h:730:15 #60 0x0000aaaaddf5e198 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:138:40 #61 0x0000aaaaddf5e198 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:147:42 #62 0x0000aaaaddf5e198 clang::ento::(anonymous namespace)::SValTest_GetCompoundType_Test::TestBody() (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/SValTest.cpp:278:1 #63 0x0000aaaaddf80578 testing::Test::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x110578) #64 0x0000aaaaddf81ae8 testing::TestInfo::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x111ae8) #65 0x0000aaaaddf82208 testing::TestSuite::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x112208) #66 0x0000aaaaddf8d6c8 testing::internal::UnitTestImpl::RunAllTests() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x11d6c8) #67 0x0000aaaaddf8cf88 testing::UnitTest::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x11cf88) #68 0x0000aaaaddf79ca8 main (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x109ca8) #69 0x0000ffffa61f098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #70 0x0000ffffa61f0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #71 0x0000aaaaddecff70 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x5ff70) -- exit: -11 -- shard JSON output does not exist: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-1821091-4-12.json ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. FAIL: Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/3/12 (18684 of 18953) ******************** TEST 'Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/3/12' FAILED ******************** Script(shard): -- GTEST_OUTPUT=json:/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-1821091-3-12.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=12 GTEST_SHARD_INDEX=3 /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests -- Note: This is test shard 4 of 12. [==========] Running 30 tests from 14 test suites. [----------] Global test environment set-up. [----------] 1 test from Store [ RUN ] Store.LiteralCompound [ OK ] Store.LiteralCompound (4 ms) [----------] 1 test from Store (4 ms total) [----------] 1 test from RangeSetTest/0, where TypeParam = signed char [ RUN ] RangeSetTest/0.RangeSetDeletePointTest [ OK ] RangeSetTest/0.RangeSetDeletePointTest (2 ms) [----------] 1 test from RangeSetTest/0 (2 ms total) [----------] 1 test from RangeSetTest/2, where TypeParam = short [ RUN ] RangeSetTest/2.RangeSetRangeIntersectTest [ OK ] RangeSetTest/2.RangeSetRangeIntersectTest (2 ms) [----------] 1 test from RangeSetTest/2 (2 ms total) [----------] 1 test from RangeSetTest/3, where TypeParam = unsigned short [ RUN ] RangeSetTest/3.RangeSetDeletePointTest [ OK ] RangeSetTest/3.RangeSetDeletePointTest (1 ms) [----------] 1 test from RangeSetTest/3 (2 ms total) [----------] 1 test from RangeSetTest/5, where TypeParam = unsigned int [ RUN ] RangeSetTest/5.RangeSetRangeIntersectTest [ OK ] RangeSetTest/5.RangeSetRangeIntersectTest (1 ms) [----------] 1 test from RangeSetTest/5 (1 ms total) [----------] 1 test from RangeSetTest/6, where TypeParam = long [ RUN ] RangeSetTest/6.RangeSetDeletePointTest [ OK ] RangeSetTest/6.RangeSetDeletePointTest (2 ms) [----------] 1 test from RangeSetTest/6 (2 ms total) [----------] 1 test from RangeSetCastToNoopTest/2, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToNoopTest/2.RangeSetCastToNoopTest [ OK ] RangeSetCastToNoopTest/2.RangeSetCastToNoopTest (2 ms) [----------] 1 test from RangeSetCastToNoopTest/2 (2 ms total) [----------] 1 test from RangeSetCastToPromotionTest/6, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToPromotionTest/6.Test [ OK ] RangeSetCastToPromotionTest/6.Test (2 ms) [----------] 1 test from RangeSetCastToPromotionTest/6 (2 ms total) [----------] 1 test from RangeSetCastToTruncationTest/6, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToTruncationTest/6.Test [ OK ] RangeSetCastToTruncationTest/6.Test (1 ms) [----------] 1 test from RangeSetCastToTruncationTest/6 (1 ms total) [----------] 1 test from RangeSetCastToConversionTest/6, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToConversionTest/6.Test [ OK ] RangeSetCastToConversionTest/6.Test (2 ms) [----------] 1 test from RangeSetCastToConversionTest/6 (2 ms total) [----------] 1 test from RangeSetCastToPromotionConversionTest/10, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToPromotionConversionTest/10.Test [ OK ] RangeSetCastToPromotionConversionTest/10.Test (2 ms) [----------] 1 test from RangeSetCastToPromotionConversionTest/10 (2 ms total) [----------] 1 test from RangeSetCastToTruncationConversionTest/10, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToTruncationConversionTest/10.Test [ OK ] RangeSetCastToTruncationConversionTest/10.Test (2 ms) [----------] 1 test from RangeSetCastToTruncationConversionTest/10 (2 ms total) [----------] 2 tests from CallDescription [ RUN ] CallDescription.LackOfRequiredArguments [ OK ] CallDescription.LackOfRequiredArguments (2 ms) [ RUN ] CallDescription.MatchBuiltins [ OK ] CallDescription.MatchBuiltins (10 ms) [----------] 2 tests from CallDescription (12 ms total) [----------] 16 tests from SValTests/SValTest [ RUN ] SValTests/SValTest.GetConstType/4 [ OK ] SValTests/SValTest.GetConstType/4 (2 ms) [ RUN ] SValTests/SValTest.GetConstType/16 [ OK ] SValTests/SValTest.GetConstType/16 (1 ms) [ RUN ] SValTests/SValTest.GetLocAsIntType/7 [ OK ] SValTests/SValTest.GetLocAsIntType/7 (3 ms) [ RUN ] SValTests/SValTest.GetLocAsIntType/19 [ OK ] SValTests/SValTest.GetLocAsIntType/19 (2 ms) [ RUN ] SValTests/SValTest.GetSymExprType/10 [ OK ] SValTests/SValTest.GetSymExprType/10 (2 ms) [ RUN ] SValTests/SValTest.GetPointerType/1 [ OK ] SValTests/SValTest.GetPointerType/1 (2 ms) [ RUN ] SValTests/SValTest.GetPointerType/13 [ OK ] SValTests/SValTest.GetPointerType/13 (3 ms) [ RUN ] SValTests/SValTest.GetCompoundType/4 #0 0x0000ffff7f39acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7f3990c8 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b90c8) #2 0x0000ffff7f39b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff882d7800 (linux-vdso.so.1+0x800) #4 0x0000ffff875f3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff875f3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff875f3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff875f3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff875f3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff875f3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff875f3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff875f3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff872a0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff872a0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff872a0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff872a0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff872a1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff872a1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff872a1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff872a1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff872b4770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff872b4770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff872b4770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff872b5cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff872b5cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff872b5cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff872b5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff872b5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff872b5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff872c17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff872c17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff872c17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff872cb074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff872cb074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff872cb074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff8722f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff8722f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff8722f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff8722f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff8722fbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff8722fbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff8722fbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff872031c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff872031c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff872031c0 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff8723fb5c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff8723fb5c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff8723fb5c clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:42 #48 0x0000ffff8725daa8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff8725daa8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff8725daa8 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff8752787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff8752787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff8752787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff8752787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff8752787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff875287e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffff875287e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff875287e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff8752cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff8752cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff8752cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff8752cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff8752cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff85981e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffff85981e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff85981e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffff85981e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff87047ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff86fffc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff86fffc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff86fffc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff871ae114 std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:16 #73 0x0000ffff871ae114 std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:12 #74 0x0000ffff871ae114 clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:53 #75 0x0000ffff871ae114 clang::tooling::FrontendActionFactory::runInvocation(std::shared_ptr, clang::FileManager*, std::shared_ptr, clang::DiagnosticConsumer*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:462:24 #76 0x0000ffff871ac8b8 clang::tooling::ToolInvocation::runInvocation(char const*, clang::driver::Compilation*, std::shared_ptr, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:435:31 #77 0x0000ffff871ad468 clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:23 #78 0x0000ffff871ad9e8 clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, llvm::IntrusiveRefCntPtr, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:217:24 #79 0x0000ffff871add20 clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr, std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>> const&) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:243:31 #80 0x0000aaaab34ae198 std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>>::~vector() /usr/include/c++/12/bits/stl_vector.h:730:15 #81 0x0000aaaab34ae198 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:138:40 #82 0x0000aaaab34ae198 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:147:42 #83 0x0000aaaab34ae198 clang::ento::(anonymous namespace)::SValTest_GetCompoundType_Test::TestBody() (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/SValTest.cpp:278:1 #84 0x0000aaaab34d0578 testing::Test::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x110578) #85 0x0000aaaab34d1ae8 testing::TestInfo::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x111ae8) #86 0x0000aaaab34d2208 testing::TestSuite::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x112208) #87 0x0000aaaab34dd6c8 testing::internal::UnitTestImpl::RunAllTests() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x11d6c8) #88 0x0000aaaab34dcf88 testing::UnitTest::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x11cf88) #89 0x0000aaaab34c9ca8 main (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x109ca8) #90 0x0000ffff7e5f098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #91 0x0000ffff7e5f0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #92 0x0000aaaab341ff70 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x5ff70) -- exit: -11 -- shard JSON output does not exist: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-1821091-3-12.json ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. FAIL: Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/5/12 (18687 of 18953) ******************** TEST 'Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/5/12' FAILED ******************** Script(shard): -- GTEST_OUTPUT=json:/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-1821091-5-12.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=12 GTEST_SHARD_INDEX=5 /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests -- Note: This is test shard 6 of 12. [==========] Running 30 tests from 15 test suites. [----------] Global test environment set-up. [----------] 1 test from RegisterCustomCheckers [ RUN ] RegisterCustomCheckers.CheckLocationIncDec CheckLocationIncDec.cc:1:6: warning: Custom diagnostic description [test.LocIncDecChecker] 1 | void f() { int *p; (*p)++; } | ^ ~~~~~~~~~~~~~~~~~~~ 1 warning generated. [ OK ] RegisterCustomCheckers.CheckLocationIncDec (5 ms) [----------] 1 test from RegisterCustomCheckers (5 ms total) [----------] 1 test from RangeSetTest/1, where TypeParam = unsigned char [ RUN ] RangeSetTest/1.RangeSetNegateTest [ OK ] RangeSetTest/1.RangeSetNegateTest (2 ms) [----------] 1 test from RangeSetTest/1 (2 ms total) [----------] 1 test from RangeSetTest/2, where TypeParam = short [ RUN ] RangeSetTest/2.RangeSetContainsTest [ OK ] RangeSetTest/2.RangeSetContainsTest (2 ms) [----------] 1 test from RangeSetTest/2 (2 ms total) [----------] 1 test from RangeSetTest/4, where TypeParam = int [ RUN ] RangeSetTest/4.RangeSetNegateTest [ OK ] RangeSetTest/4.RangeSetNegateTest (2 ms) [----------] 1 test from RangeSetTest/4 (2 ms total) [----------] 1 test from RangeSetTest/5, where TypeParam = unsigned int [ RUN ] RangeSetTest/5.RangeSetContainsTest [ OK ] RangeSetTest/5.RangeSetContainsTest (2 ms) [----------] 1 test from RangeSetTest/5 (2 ms total) [----------] 1 test from RangeSetTest/7, where TypeParam = unsigned long [ RUN ] RangeSetTest/7.RangeSetNegateTest [ OK ] RangeSetTest/7.RangeSetNegateTest (2 ms) [----------] 1 test from RangeSetTest/7 (2 ms total) [----------] 1 test from RangeSetCastToNoopTest/4, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToNoopTest/4.RangeSetCastToNoopTest [ OK ] RangeSetCastToNoopTest/4.RangeSetCastToNoopTest (2 ms) [----------] 1 test from RangeSetCastToNoopTest/4 (2 ms total) [----------] 1 test from RangeSetCastToPromotionTest/8, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToPromotionTest/8.Test [ OK ] RangeSetCastToPromotionTest/8.Test (2 ms) [----------] 1 test from RangeSetCastToPromotionTest/8 (2 ms total) [----------] 1 test from RangeSetCastToTruncationTest/8, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToTruncationTest/8.Test [ OK ] RangeSetCastToTruncationTest/8.Test (2 ms) [----------] 1 test from RangeSetCastToTruncationTest/8 (2 ms total) [----------] 1 test from RangeSetCastToPromotionConversionTest/0, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToPromotionConversionTest/0.Test [ OK ] RangeSetCastToPromotionConversionTest/0.Test (2 ms) [----------] 1 test from RangeSetCastToPromotionConversionTest/0 (2 ms total) [----------] 1 test from RangeSetCastToTruncationConversionTest/0, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToTruncationConversionTest/0.Test [ OK ] RangeSetCastToTruncationConversionTest/0.Test (2 ms) [----------] 1 test from RangeSetCastToTruncationConversionTest/0 (2 ms total) [----------] 1 test from ParamRegion [ RUN ] ParamRegion.ParamRegionTest [ OK ] ParamRegion.ParamRegionTest (5 ms) [----------] 1 test from ParamRegion (5 ms total) [----------] 1 test from CallDescription [ RUN ] CallDescription.MatchConstructor [ OK ] CallDescription.MatchConstructor (3 ms) [----------] 1 test from CallDescription (3 ms total) [----------] 1 test from BugReportInterestingness [ RUN ] BugReportInterestingness.Symbols input.cpp:15:7: warning: test bug [test.Interestingness] 15 | bug(A); | ^~~~~~ 1 warning generated. [ OK ] BugReportInterestingness.Symbols (3 ms) [----------] 1 test from BugReportInterestingness (3 ms total) [----------] 16 tests from SValTests/SValTest [ RUN ] SValTests/SValTest.GetConstType/6 [ OK ] SValTests/SValTest.GetConstType/6 (2 ms) [ RUN ] SValTests/SValTest.GetConstType/18 [ OK ] SValTests/SValTest.GetConstType/18 (2 ms) [ RUN ] SValTests/SValTest.GetLocAsIntType/9 [ OK ] SValTests/SValTest.GetLocAsIntType/9 (2 ms) [ RUN ] SValTests/SValTest.GetSymExprType/0 [ OK ] SValTests/SValTest.GetSymExprType/0 (1 ms) [ RUN ] SValTests/SValTest.GetSymExprType/12 [ OK ] SValTests/SValTest.GetSymExprType/12 (2 ms) [ RUN ] SValTests/SValTest.GetPointerType/3 [ OK ] SValTests/SValTest.GetPointerType/3 (2 ms) [ RUN ] SValTests/SValTest.GetPointerType/15 [ OK ] SValTests/SValTest.GetPointerType/15 (1 ms) [ RUN ] SValTests/SValTest.GetCompoundType/6 #0 0x0000ffff8ac4acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff8ac490c8 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b90c8) #2 0x0000ffff8ac4b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff93b8b800 (linux-vdso.so.1+0x800) #4 0x0000ffff92ea3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff92ea3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff92ea3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff92ea3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff92ea3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff92ea3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff92ea3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff92ea3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff92b50c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff92b50c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff92b50c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff92b50c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff92b51ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff92b51ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff92b51ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff92b51ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff92b64770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff92b64770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff92b64770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff92b65cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff92b65cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff92b65cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff92b65190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff92b65190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff92b65190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff92b717d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff92b717d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff92b717d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff92b7b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff92b7b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff92b7b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff92adf72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff92adf72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff92adf72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff92adf72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff92adfbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff92adfbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff92adfbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff92ab31c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff92ab31c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff92ab31c0 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff92aefb5c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff92aefb5c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff92aefb5c clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:42 #48 0x0000ffff92b0daa8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff92b0daa8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff92b0daa8 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff92dd787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff92dd787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff92dd787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff92dd787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff92dd787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff92dd87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffff92dd87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff92dd87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff92ddcde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff92ddcde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff92ddcde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff92ddcde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff92ddcde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff91231e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffff91231e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff91231e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffff91231e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff928f7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff928afc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff928afc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff928afc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff92a5e114 std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:16 #73 0x0000ffff92a5e114 std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:12 #74 0x0000ffff92a5e114 clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:53 #75 0x0000ffff92a5e114 clang::tooling::FrontendActionFactory::runInvocation(std::shared_ptr, clang::FileManager*, std::shared_ptr, clang::DiagnosticConsumer*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:462:24 #76 0x0000ffff92a5c8b8 clang::tooling::ToolInvocation::runInvocation(char const*, clang::driver::Compilation*, std::shared_ptr, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:435:31 #77 0x0000ffff92a5d468 clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:23 #78 0x0000ffff92a5d9e8 clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, llvm::IntrusiveRefCntPtr, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:217:24 #79 0x0000ffff92a5dd20 clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr, std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>> const&) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:243:31 #80 0x0000aaaae269e198 std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>>::~vector() /usr/include/c++/12/bits/stl_vector.h:730:15 #81 0x0000aaaae269e198 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:138:40 #82 0x0000aaaae269e198 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:147:42 #83 0x0000aaaae269e198 clang::ento::(anonymous namespace)::SValTest_GetCompoundType_Test::TestBody() (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/SValTest.cpp:278:1 #84 0x0000aaaae26c0578 testing::Test::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x110578) #85 0x0000aaaae26c1ae8 testing::TestInfo::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x111ae8) #86 0x0000aaaae26c2208 testing::TestSuite::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x112208) #87 0x0000aaaae26cd6c8 testing::internal::UnitTestImpl::RunAllTests() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x11d6c8) #88 0x0000aaaae26ccf88 testing::UnitTest::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x11cf88) #89 0x0000aaaae26b9ca8 main (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x109ca8) #90 0x0000ffff89ea098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #91 0x0000ffff89ea0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #92 0x0000aaaae260ff70 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x5ff70) -- exit: -11 -- shard JSON output does not exist: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-1821091-5-12.json ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. FAIL: Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/7/12 (18702 of 18953) ******************** TEST 'Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/7/12' FAILED ******************** Script(shard): -- GTEST_OUTPUT=json:/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-1821091-7-12.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=12 GTEST_SHARD_INDEX=7 /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests -- Note: This is test shard 8 of 12. [==========] Running 30 tests from 15 test suites. [----------] Global test environment set-up. [----------] 1 test from RegisterDeps [ RUN ] RegisterDeps.SimpleWeakDependency SimpleWeakDependency.cc:1:11: warning: test.WeakDep test.Dep test.RegistrationOrder [test.RegistrationOrder] 1 | void f() {int i;} | ^~~~~ 1 warning generated. SimpleWeakDependency.cc:1:11: warning: test.Dep test.RegistrationOrder test.WeakDep [test.RegistrationOrder] 1 | void f() {int i;} | ^~~~~ 1 warning generated. SimpleWeakDependency.cc:1:11: warning: test.Dep test.RegistrationOrder [test.RegistrationOrder] 1 | void f() {int i;} | ^~~~~ 1 warning generated. SimpleWeakDependency.cc:1:11: warning: test.Dep test.RegistrationOrder [test.RegistrationOrder] 1 | void f() {int i;} | ^~~~~ 1 warning generated. SimpleWeakDependency.cc:1:11: warning: test.WeakDep2 test.Dep test.RegistrationOrder [test.RegistrationOrder] 1 | void f() {int i;} | ^~~~~ 1 warning generated. SimpleWeakDependency.cc:1:11: warning: test.WeakDep2 test.WeakDep test.Dep test.RegistrationOrder [test.RegistrationOrder] 1 | void f() {int i;} | ^~~~~ 1 warning generated. [ OK ] RegisterDeps.SimpleWeakDependency (20 ms) [----------] 1 test from RegisterDeps (20 ms total) [----------] 1 test from RangeSetTest/1, where TypeParam = unsigned char [ RUN ] RangeSetTest/1.RangeSetRangeIntersectTest [ OK ] RangeSetTest/1.RangeSetRangeIntersectTest (2 ms) [----------] 1 test from RangeSetTest/1 (2 ms total) [----------] 1 test from RangeSetTest/2, where TypeParam = short [ RUN ] RangeSetTest/2.RangeSetDeletePointTest [ OK ] RangeSetTest/2.RangeSetDeletePointTest (2 ms) [----------] 1 test from RangeSetTest/2 (2 ms total) [----------] 1 test from RangeSetTest/4, where TypeParam = int [ RUN ] RangeSetTest/4.RangeSetRangeIntersectTest [ OK ] RangeSetTest/4.RangeSetRangeIntersectTest (2 ms) [----------] 1 test from RangeSetTest/4 (2 ms total) [----------] 1 test from RangeSetTest/5, where TypeParam = unsigned int [ RUN ] RangeSetTest/5.RangeSetDeletePointTest [ OK ] RangeSetTest/5.RangeSetDeletePointTest (2 ms) [----------] 1 test from RangeSetTest/5 (2 ms total) [----------] 1 test from RangeSetTest/7, where TypeParam = unsigned long [ RUN ] RangeSetTest/7.RangeSetRangeIntersectTest [ OK ] RangeSetTest/7.RangeSetRangeIntersectTest (2 ms) [----------] 1 test from RangeSetTest/7 (2 ms total) [----------] 1 test from RangeSetCastToNoopTest/6, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToNoopTest/6.RangeSetCastToNoopTest [ OK ] RangeSetCastToNoopTest/6.RangeSetCastToNoopTest (2 ms) [----------] 1 test from RangeSetCastToNoopTest/6 (2 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 RangeSetCastToTruncationTest/10, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToTruncationTest/10.Test [ OK ] RangeSetCastToTruncationTest/10.Test (2 ms) [----------] 1 test from RangeSetCastToTruncationTest/10 (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 RangeSetCastToTruncationConversionTest/2, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToTruncationConversionTest/2.Test [ OK ] RangeSetCastToTruncationConversionTest/2.Test (2 ms) [----------] 1 test from RangeSetCastToTruncationConversionTest/2 (2 ms total) [----------] 1 test from NoStateChangeFuncVisitor [ RUN ] NoStateChangeFuncVisitor.ThoroughFunctionAnalysis ThoroughFunctionAnalysis.cc:12:7: warning: error() called [test.StatefulChecker] 12 | error(); | ^~~~~~~ 1 warning generated. ThoroughFunctionAnalysis.cc:13:7: warning: error() called [test.StatefulChecker] 13 | error(); | ^~~~~~~ 1 warning generated. [ OK ] NoStateChangeFuncVisitor.ThoroughFunctionAnalysis (8 ms) [----------] 1 test from NoStateChangeFuncVisitor (8 ms total) [----------] 1 test from CallDescription [ RUN ] CallDescription.RejectOverQualifiedNames [ OK ] CallDescription.RejectOverQualifiedNames (3 ms) [----------] 1 test from CallDescription (3 ms total) [----------] 1 test from StaticAnalyzerOptions [ RUN ] StaticAnalyzerOptions.getRegisteredCheckers [ OK ] StaticAnalyzerOptions.getRegisteredCheckers (0 ms) [----------] 1 test from StaticAnalyzerOptions (0 ms total) [----------] 16 tests from SValTests/SValTest [ RUN ] SValTests/SValTest.GetConstType/8 [ OK ] SValTests/SValTest.GetConstType/8 (1 ms) [ RUN ] SValTests/SValTest.GetConstType/20 [ OK ] SValTests/SValTest.GetConstType/20 (2 ms) [ RUN ] SValTests/SValTest.GetLocAsIntType/11 [ OK ] SValTests/SValTest.GetLocAsIntType/11 (1 ms) [ RUN ] SValTests/SValTest.GetSymExprType/2 [ OK ] SValTests/SValTest.GetSymExprType/2 (2 ms) [ RUN ] SValTests/SValTest.GetSymExprType/14 [ OK ] SValTests/SValTest.GetSymExprType/14 (1 ms) [ RUN ] SValTests/SValTest.GetPointerType/5 [ OK ] SValTests/SValTest.GetPointerType/5 (3 ms) [ RUN ] SValTests/SValTest.GetPointerType/17 [ OK ] SValTests/SValTest.GetPointerType/17 (2 ms) [ RUN ] SValTests/SValTest.GetCompoundType/8 #0 0x0000ffffb510acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffffb51090c8 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b90c8) #2 0x0000ffffb510b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffffbe04e800 (linux-vdso.so.1+0x800) #4 0x0000ffffbd00cd64 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffffbd00cd64 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffffbd00cd64 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffffbd00cd64 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffffbd00cd64 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffffbd00cd64 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffffbcfb80bc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffffbcfb80bc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffffbcfb80bc clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffffbcfcce94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffffbcfcce94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffffbcfcce94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffffbcfcce94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffffbcfcce94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffffbcfcce94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffffbcfcce94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffffbcfcce94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffffbcfcce94 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffffbcfcd1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffffbcfcd310 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffffbcfcd5dc clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffffbcfcd764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffffbcfcd764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffffbcfcd764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffffbcfcd764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffffbcfcd764 clang::ento::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 0x0000ffffbd29787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffffbd29787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffffbd29787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffffbd29787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffffbd29787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffffbd2987e8 llvm::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 0x0000ffffbd2987e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffffbd2987e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffffbd29cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffffbd29cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffffbd29cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffffbd29cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffffbd29cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffffbb6f1e58 __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 0x0000ffffbb6f1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffffbb6f1e58 void clang::finalize>, 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 0x0000ffffbb6f1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffffbcdb7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffffbcd6fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffffbcd6fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffffbcd6fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffffbcf1e114 std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:16 #52 0x0000ffffbcf1e114 std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:12 #53 0x0000ffffbcf1e114 clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:53 #54 0x0000ffffbcf1e114 clang::tooling::FrontendActionFactory::runInvocation(std::shared_ptr, clang::FileManager*, std::shared_ptr, clang::DiagnosticConsumer*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:462:24 #55 0x0000ffffbcf1c8b8 clang::tooling::ToolInvocation::runInvocation(char const*, clang::driver::Compilation*, std::shared_ptr, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:435:31 #56 0x0000ffffbcf1d468 clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:23 #57 0x0000ffffbcf1d9e8 clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, llvm::IntrusiveRefCntPtr, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:217:24 #58 0x0000ffffbcf1dd20 clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr, std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>> const&) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:243:31 #59 0x0000aaaad681e198 std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>>::~vector() /usr/include/c++/12/bits/stl_vector.h:730:15 #60 0x0000aaaad681e198 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:138:40 #61 0x0000aaaad681e198 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:147:42 #62 0x0000aaaad681e198 clang::ento::(anonymous namespace)::SValTest_GetCompoundType_Test::TestBody() (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/SValTest.cpp:278:1 #63 0x0000aaaad6840578 testing::Test::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x110578) #64 0x0000aaaad6841ae8 testing::TestInfo::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x111ae8) #65 0x0000aaaad6842208 testing::TestSuite::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x112208) #66 0x0000aaaad684d6c8 testing::internal::UnitTestImpl::RunAllTests() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x11d6c8) #67 0x0000aaaad684cf88 testing::UnitTest::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x11cf88) #68 0x0000aaaad6839ca8 main (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x109ca8) #69 0x0000ffffb436098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #70 0x0000ffffb4360a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #71 0x0000aaaad678ff70 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x5ff70) -- exit: -11 -- shard JSON output does not exist: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-1821091-7-12.json ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. FAIL: Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/6/12 (18703 of 18953) ******************** TEST 'Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/6/12' FAILED ******************** Script(shard): -- GTEST_OUTPUT=json:/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-1821091-6-12.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=12 GTEST_SHARD_INDEX=6 /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests -- Note: This is test shard 7 of 12. [==========] Running 30 tests from 15 test suites. [----------] Global test environment set-up. [----------] 1 test from RegisterDeps [ RUN ] RegisterDeps.UnsatisfiedDependency UnsatisfiedDependency.cc:1:11: warning: test.RegistrationOrder [test.RegistrationOrder] 1 | void f() {int i;} | ^~~~~ 1 warning generated. [ OK ] RegisterDeps.UnsatisfiedDependency (5 ms) [----------] 1 test from RegisterDeps (5 ms total) [----------] 1 test from RangeSetTest/1, where TypeParam = unsigned char [ RUN ] RangeSetTest/1.RangeSetPointIntersectTest [ OK ] RangeSetTest/1.RangeSetPointIntersectTest (3 ms) [----------] 1 test from RangeSetTest/1 (3 ms total) [----------] 1 test from RangeSetTest/2, where TypeParam = short [ RUN ] RangeSetTest/2.RangeSetAddTest [ OK ] RangeSetTest/2.RangeSetAddTest (2 ms) [----------] 1 test from RangeSetTest/2 (2 ms total) [----------] 1 test from RangeSetTest/4, where TypeParam = int [ RUN ] RangeSetTest/4.RangeSetPointIntersectTest [ OK ] RangeSetTest/4.RangeSetPointIntersectTest (2 ms) [----------] 1 test from RangeSetTest/4 (2 ms total) [----------] 1 test from RangeSetTest/5, where TypeParam = unsigned int [ RUN ] RangeSetTest/5.RangeSetAddTest [ OK ] RangeSetTest/5.RangeSetAddTest (2 ms) [----------] 1 test from RangeSetTest/5 (2 ms total) [----------] 1 test from RangeSetTest/7, where TypeParam = unsigned long [ RUN ] RangeSetTest/7.RangeSetPointIntersectTest [ OK ] RangeSetTest/7.RangeSetPointIntersectTest (2 ms) [----------] 1 test from RangeSetTest/7 (2 ms total) [----------] 1 test from RangeSetCastToNoopTest/5, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToNoopTest/5.RangeSetCastToNoopTest [ OK ] RangeSetCastToNoopTest/5.RangeSetCastToNoopTest (2 ms) [----------] 1 test from RangeSetCastToNoopTest/5 (2 ms total) [----------] 1 test from RangeSetCastToPromotionTest/9, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToPromotionTest/9.Test [ OK ] RangeSetCastToPromotionTest/9.Test (2 ms) [----------] 1 test from RangeSetCastToPromotionTest/9 (2 ms total) [----------] 1 test from RangeSetCastToTruncationTest/9, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToTruncationTest/9.Test [ OK ] RangeSetCastToTruncationTest/9.Test (2 ms) [----------] 1 test from RangeSetCastToTruncationTest/9 (2 ms total) [----------] 1 test from RangeSetCastToPromotionConversionTest/1, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToPromotionConversionTest/1.Test [ OK ] RangeSetCastToPromotionConversionTest/1.Test (1 ms) [----------] 1 test from RangeSetCastToPromotionConversionTest/1 (2 ms total) [----------] 1 test from RangeSetCastToTruncationConversionTest/1, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToTruncationConversionTest/1.Test [ OK ] RangeSetCastToTruncationConversionTest/1.Test (1 ms) [----------] 1 test from RangeSetCastToTruncationConversionTest/1 (2 ms total) [----------] 1 test from NoStateChangeFuncVisitor [ RUN ] NoStateChangeFuncVisitor.NonThoroughFunctionAnalysis NonThoroughFunctionAnalysis.cc:12:7: warning: error() called [test.StatefulChecker] 12 | error(); | ^~~~~~~ 1 warning generated. NonThoroughFunctionAnalysis.cc:13:7: warning: error() called [test.StatefulChecker] 13 | error(); | ^~~~~~~ 1 warning generated. [ OK ] NoStateChangeFuncVisitor.NonThoroughFunctionAnalysis (8 ms) [----------] 1 test from NoStateChangeFuncVisitor (8 ms total) [----------] 1 test from CallDescription [ RUN ] CallDescription.MatchConversionOperator [ OK ] CallDescription.MatchConversionOperator (3 ms) [----------] 1 test from CallDescription (3 ms total) [----------] 1 test from getAPSIntTypeTest [ RUN ] getAPSIntTypeTest.APSIntTypeTests [ OK ] getAPSIntTypeTest.APSIntTypeTests (2 ms) [----------] 1 test from getAPSIntTypeTest (2 ms total) [----------] 16 tests from SValTests/SValTest [ RUN ] SValTests/SValTest.GetConstType/7 [ OK ] SValTests/SValTest.GetConstType/7 (2 ms) [ RUN ] SValTests/SValTest.GetConstType/19 [ OK ] SValTests/SValTest.GetConstType/19 (2 ms) [ RUN ] SValTests/SValTest.GetLocAsIntType/10 [ OK ] SValTests/SValTest.GetLocAsIntType/10 (2 ms) [ RUN ] SValTests/SValTest.GetSymExprType/1 [ OK ] SValTests/SValTest.GetSymExprType/1 (2 ms) [ RUN ] SValTests/SValTest.GetSymExprType/13 [ OK ] SValTests/SValTest.GetSymExprType/13 (2 ms) [ RUN ] SValTests/SValTest.GetPointerType/4 [ OK ] SValTests/SValTest.GetPointerType/4 (2 ms) [ RUN ] SValTests/SValTest.GetPointerType/16 [ OK ] SValTests/SValTest.GetPointerType/16 (2 ms) [ RUN ] SValTests/SValTest.GetCompoundType/7 #0 0x0000ffff886bacd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff886b90c8 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b90c8) #2 0x0000ffff886bb388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff915f8800 (linux-vdso.so.1+0x800) #4 0x0000ffff905bcd64 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff905bcd64 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff905bcd64 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff905bcd64 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #8 0x0000ffff905bcd64 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:63:0 #9 0x0000ffff905bcd64 (anonymous namespace)::RangeConstraintManager::removeDeadBindings(llvm::IntrusiveRefCntPtr, clang::ento::SymbolReaper&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2881:0 #10 0x0000ffff905680bc llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:204:8 #11 0x0000ffff905680bc llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #12 0x0000ffff905680bc clang::ento::ExprEngine::removeDead(clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&, clang::Stmt const*, clang::LocationContext const*, clang::Stmt const*, clang::ProgramPoint::Kind) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1092:74 #13 0x0000ffff9057ce94 llvm::SmallVectorBase::SmallVectorBase(void*, unsigned long) /usr/include/llvm/ADT/SmallVector.h:64:0 #14 0x0000ffff9057ce94 llvm::SmallVectorTemplateCommon::SmallVectorTemplateCommon(unsigned long) /usr/include/llvm/ADT/SmallVector.h:138:0 #15 0x0000ffff9057ce94 llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(unsigned long) /usr/include/llvm/ADT/SmallVector.h:491:0 #16 0x0000ffff9057ce94 llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) /usr/include/llvm/ADT/SmallVector.h:592:0 #17 0x0000ffff9057ce94 llvm::SmallVector::SmallVector() /usr/include/llvm/ADT/SmallVector.h:1202:0 #18 0x0000ffff9057ce94 llvm::SetVector, llvm::DenseSet>, 4u>::SetVector() /usr/include/llvm/ADT/SetVector.h:76:0 #19 0x0000ffff9057ce94 llvm::SmallSetVector::SmallSetVector() /usr/include/llvm/ADT/SetVector.h:372:0 #20 0x0000ffff9057ce94 clang::ento::ExplodedNodeSet::ExplodedNodeSet() /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:468:0 #21 0x0000ffff9057ce94 clang::ento::ExprEngine::ProcessStmt(clang::Stmt const*, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:1127:0 #22 0x0000ffff9057d1f0 clang::ento::ExprEngine::processCFGElement(clang::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 0x0000ffff9057d310 clang::ento::CoreEngine::HandleBlockEntrance(clang::BlockEntrance const&, clang::ento::ExplodedNode*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:322:0 #24 0x0000ffff9057d5dc clang::ento::CoreEngine::dispatchWorkItem(clang::ento::ExplodedNode*, clang::ProgramPoint, clang::ento::WorkListUnit const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:192:0 #25 0x0000ffff9057d764 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #26 0x0000ffff9057d764 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #27 0x0000ffff9057d764 std::unique_ptr>::operator->() const /usr/include/c++/12/bits/unique_ptr.h:455:0 #28 0x0000ffff9057d764 operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:140:0 #29 0x0000ffff9057d764 clang::ento::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 0x0000ffff9084787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #31 0x0000ffff9084787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #32 0x0000ffff9084787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #33 0x0000ffff9084787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #34 0x0000ffff9084787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #35 0x0000ffff908487e8 llvm::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 0x0000ffff908487e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #37 0x0000ffff908487e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #38 0x0000ffff9084cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #39 0x0000ffff9084cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #40 0x0000ffff9084cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #41 0x0000ffff9084cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #42 0x0000ffff9084cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #43 0x0000ffff8eca1e58 __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 0x0000ffff8eca1e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #45 0x0000ffff8eca1e58 void clang::finalize>, 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 0x0000ffff8eca1e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #47 0x0000ffff90367ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #48 0x0000ffff9031fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #49 0x0000ffff9031fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #50 0x0000ffff9031fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #51 0x0000ffff904ce114 std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:16 #52 0x0000ffff904ce114 std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:12 #53 0x0000ffff904ce114 clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:53 #54 0x0000ffff904ce114 clang::tooling::FrontendActionFactory::runInvocation(std::shared_ptr, clang::FileManager*, std::shared_ptr, clang::DiagnosticConsumer*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:462:24 #55 0x0000ffff904cc8b8 clang::tooling::ToolInvocation::runInvocation(char const*, clang::driver::Compilation*, std::shared_ptr, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:435:31 #56 0x0000ffff904cd468 clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:23 #57 0x0000ffff904cd9e8 clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, llvm::IntrusiveRefCntPtr, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:217:24 #58 0x0000ffff904cdd20 clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr, std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>> const&) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:243:31 #59 0x0000aaaac537e198 std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>>::~vector() /usr/include/c++/12/bits/stl_vector.h:730:15 #60 0x0000aaaac537e198 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:138:40 #61 0x0000aaaac537e198 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:147:42 #62 0x0000aaaac537e198 clang::ento::(anonymous namespace)::SValTest_GetCompoundType_Test::TestBody() (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/SValTest.cpp:278:1 #63 0x0000aaaac53a0578 testing::Test::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x110578) #64 0x0000aaaac53a1ae8 testing::TestInfo::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x111ae8) #65 0x0000aaaac53a2208 testing::TestSuite::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x112208) #66 0x0000aaaac53ad6c8 testing::internal::UnitTestImpl::RunAllTests() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x11d6c8) #67 0x0000aaaac53acf88 testing::UnitTest::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x11cf88) #68 0x0000aaaac5399ca8 main (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x109ca8) #69 0x0000ffff8791098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #70 0x0000ffff87910a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #71 0x0000aaaac52eff70 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x5ff70) -- exit: -11 -- shard JSON output does not exist: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-1821091-6-12.json ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. FAIL: Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/9/12 (18708 of 18953) ******************** TEST 'Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/9/12' FAILED ******************** Script(shard): -- GTEST_OUTPUT=json:/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-1821091-9-12.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=12 GTEST_SHARD_INDEX=9 /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests -- Note: This is test shard 10 of 12. [==========] Running 29 tests from 15 test suites. [----------] Global test environment set-up. [----------] 1 test from RangeSetTest/0, where TypeParam = signed char [ RUN ] RangeSetTest/0.RangeSetNegateTest [ OK ] RangeSetTest/0.RangeSetNegateTest (4 ms) [----------] 1 test from RangeSetTest/0 (4 ms total) [----------] 1 test from RangeSetTest/1, where TypeParam = unsigned char [ RUN ] RangeSetTest/1.RangeSetContainsTest [ OK ] RangeSetTest/1.RangeSetContainsTest (2 ms) [----------] 1 test from RangeSetTest/1 (2 ms total) [----------] 1 test from RangeSetTest/3, where TypeParam = unsigned short [ RUN ] RangeSetTest/3.RangeSetNegateTest [ OK ] RangeSetTest/3.RangeSetNegateTest (1 ms) [----------] 1 test from RangeSetTest/3 (2 ms total) [----------] 1 test from RangeSetTest/4, where TypeParam = int [ RUN ] RangeSetTest/4.RangeSetContainsTest [ OK ] RangeSetTest/4.RangeSetContainsTest (1 ms) [----------] 1 test from RangeSetTest/4 (2 ms total) [----------] 1 test from RangeSetTest/6, where TypeParam = long [ RUN ] RangeSetTest/6.RangeSetNegateTest [ OK ] RangeSetTest/6.RangeSetNegateTest (1 ms) [----------] 1 test from RangeSetTest/6 (1 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 RangeSetCastToPromotionTest/0, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToPromotionTest/0.Test [ OK ] RangeSetCastToPromotionTest/0.Test (2 ms) [----------] 1 test from RangeSetCastToPromotionTest/0 (2 ms total) [----------] 1 test from RangeSetCastToTruncationTest/0, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToTruncationTest/0.Test [ OK ] RangeSetCastToTruncationTest/0.Test (2 ms) [----------] 1 test from RangeSetCastToTruncationTest/0 (2 ms total) [----------] 1 test from RangeSetCastToConversionTest/0, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToConversionTest/0.Test [ OK ] RangeSetCastToConversionTest/0.Test (2 ms) [----------] 1 test from RangeSetCastToConversionTest/0 (2 ms total) [----------] 1 test from RangeSetCastToPromotionConversionTest/4, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToPromotionConversionTest/4.Test [ OK ] RangeSetCastToPromotionConversionTest/4.Test (2 ms) [----------] 1 test from RangeSetCastToPromotionConversionTest/4 (2 ms total) [----------] 1 test from RangeSetCastToTruncationConversionTest/4, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToTruncationConversionTest/4.Test [ OK ] RangeSetCastToTruncationConversionTest/4.Test (2 ms) [----------] 1 test from RangeSetCastToTruncationConversionTest/4 (2 ms total) [----------] 1 test from FalsePositiveRefutationBRVisitorTestBase [ RUN ] FalsePositiveRefutationBRVisitorTestBase.UnSatAtErrorNodeWithNewSymbolNoReport [ SKIPPED ] FalsePositiveRefutationBRVisitorTestBase.UnSatAtErrorNodeWithNewSymbolNoReport (0 ms) [----------] 1 test from FalsePositiveRefutationBRVisitorTestBase (0 ms total) [----------] 1 test from CallDescription [ RUN ] CallDescription.SkipTopInlineNamespaces [ OK ] CallDescription.SkipTopInlineNamespaces (4 ms) [----------] 1 test from CallDescription (4 ms total) [----------] 1 test from StaticAnalyzerOptions [ RUN ] StaticAnalyzerOptions.StringOptions [ OK ] StaticAnalyzerOptions.StringOptions (0 ms) [----------] 1 test from StaticAnalyzerOptions (0 ms total) [----------] 15 tests from SValTests/SValTest [ RUN ] SValTests/SValTest.GetConstType/10 [ OK ] SValTests/SValTest.GetConstType/10 (3 ms) [ RUN ] SValTests/SValTest.GetLocAsIntType/1 [ OK ] SValTests/SValTest.GetLocAsIntType/1 (2 ms) [ RUN ] SValTests/SValTest.GetLocAsIntType/13 [ OK ] SValTests/SValTest.GetLocAsIntType/13 (3 ms) [ RUN ] SValTests/SValTest.GetSymExprType/4 [ OK ] SValTests/SValTest.GetSymExprType/4 (1 ms) [ RUN ] SValTests/SValTest.GetSymExprType/16 [ OK ] SValTests/SValTest.GetSymExprType/16 (2 ms) [ RUN ] SValTests/SValTest.GetPointerType/7 [ OK ] SValTests/SValTest.GetPointerType/7 (2 ms) [ RUN ] SValTests/SValTest.GetPointerType/19 [ OK ] SValTests/SValTest.GetPointerType/19 (3 ms) [ RUN ] SValTests/SValTest.GetCompoundType/10 #0 0x0000ffff81b9acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff81b990c8 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b90c8) #2 0x0000ffff81b9b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8aad4800 (linux-vdso.so.1+0x800) #4 0x0000ffff89df3688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff89df3688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff89df3688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff89df3688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff89df3688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff89df3688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff89df3688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff89df3688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff89aa0c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff89aa0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff89aa0c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff89aa0c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff89aa1ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff89aa1ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff89aa1ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff89aa1ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff89ab4770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff89ab4770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff89ab4770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff89ab5cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff89ab5cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff89ab5cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff89ab5190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff89ab5190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff89ab5190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff89ac17d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff89ac17d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff89ac17d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff89acb074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff89acb074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff89acb074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff89a2f72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff89a2f72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff89a2f72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff89a2f72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff89a2fbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff89a2fbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff89a2fbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff89a031c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff89a031c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff89a031c0 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff89a3fb5c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff89a3fb5c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff89a3fb5c clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:42 #48 0x0000ffff89a5daa8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff89a5daa8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff89a5daa8 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff89d2787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff89d2787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff89d2787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff89d2787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff89d2787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff89d287e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffff89d287e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff89d287e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff89d2cde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff89d2cde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff89d2cde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff89d2cde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff89d2cde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff88181e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffff88181e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff88181e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffff88181e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff89847ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff897ffc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff897ffc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff897ffc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff899ae114 std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:16 #73 0x0000ffff899ae114 std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:12 #74 0x0000ffff899ae114 clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:53 #75 0x0000ffff899ae114 clang::tooling::FrontendActionFactory::runInvocation(std::shared_ptr, clang::FileManager*, std::shared_ptr, clang::DiagnosticConsumer*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:462:24 #76 0x0000ffff899ac8b8 clang::tooling::ToolInvocation::runInvocation(char const*, clang::driver::Compilation*, std::shared_ptr, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:435:31 #77 0x0000ffff899ad468 clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:23 #78 0x0000ffff899ad9e8 clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, llvm::IntrusiveRefCntPtr, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:217:24 #79 0x0000ffff899add20 clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr, std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>> const&) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:243:31 #80 0x0000aaaaddd9e198 std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>>::~vector() /usr/include/c++/12/bits/stl_vector.h:730:15 #81 0x0000aaaaddd9e198 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:138:40 #82 0x0000aaaaddd9e198 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:147:42 #83 0x0000aaaaddd9e198 clang::ento::(anonymous namespace)::SValTest_GetCompoundType_Test::TestBody() (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/SValTest.cpp:278:1 #84 0x0000aaaadddc0578 testing::Test::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x110578) #85 0x0000aaaadddc1ae8 testing::TestInfo::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x111ae8) #86 0x0000aaaadddc2208 testing::TestSuite::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x112208) #87 0x0000aaaadddcd6c8 testing::internal::UnitTestImpl::RunAllTests() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x11d6c8) #88 0x0000aaaadddccf88 testing::UnitTest::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x11cf88) #89 0x0000aaaadddb9ca8 main (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x109ca8) #90 0x0000ffff80df098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #91 0x0000ffff80df0a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #92 0x0000aaaaddd0ff70 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x5ff70) -- exit: -11 -- shard JSON output does not exist: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-1821091-9-12.json ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. FAIL: Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/8/12 (18709 of 18953) ******************** TEST 'Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/8/12' FAILED ******************** Script(shard): -- GTEST_OUTPUT=json:/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-1821091-8-12.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=12 GTEST_SHARD_INDEX=8 /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests -- Note: This is test shard 9 of 12. [==========] Running 29 tests from 15 test suites. [----------] Global test environment set-up. [----------] 1 test from RegisterDeps [ RUN ] RegisterDeps.DependencyInteraction DependencyInteraction.cc:1:11: warning: test.StrongDep test.WeakDep test.Dep test.RegistrationOrder [test.RegistrationOrder] 1 | void f() {int i;} | ^~~~~ 1 warning generated. DependencyInteraction.cc:1:11: warning: test.WeakDep test.StrongDep test.Dep test.RegistrationOrder [test.RegistrationOrder] 1 | void f() {int i;} | ^~~~~ 1 warning generated. DependencyInteraction.cc:1:11: warning: test.Dep test.RegistrationOrder test.StrongDep [test.RegistrationOrder] 1 | void f() {int i;} | ^~~~~ 1 warning generated. DependencyInteraction.cc:1:11: warning: test.Dep test.RegistrationOrder [test.RegistrationOrder] 1 | void f() {int i;} | ^~~~~ 1 warning generated. DependencyInteraction.cc:1:11: warning: test.Dep test.RegistrationOrder [test.RegistrationOrder] 1 | void f() {int i;} | ^~~~~ 1 warning generated. DependencyInteraction.cc:1:11: warning: test.StrongDep test.WeakDep test.Dep test.Dep2 test.RegistrationOrder [test.RegistrationOrder] 1 | void f() {int i;} | ^~~~~ 1 warning generated. [ OK ] RegisterDeps.DependencyInteraction (19 ms) [----------] 1 test from RegisterDeps (19 ms total) [----------] 1 test from RangeSetTest/1, where TypeParam = unsigned char [ RUN ] RangeSetTest/1.RangeSetGenericIntersectTest [ OK ] RangeSetTest/1.RangeSetGenericIntersectTest (2 ms) [----------] 1 test from RangeSetTest/1 (2 ms total) [----------] 1 test from RangeSetTest/2, where TypeParam = short [ RUN ] RangeSetTest/2.RangeSetUniteTest [ OK ] RangeSetTest/2.RangeSetUniteTest (2 ms) [----------] 1 test from RangeSetTest/2 (2 ms total) [----------] 1 test from RangeSetTest/4, where TypeParam = int [ RUN ] RangeSetTest/4.RangeSetGenericIntersectTest [ OK ] RangeSetTest/4.RangeSetGenericIntersectTest (2 ms) [----------] 1 test from RangeSetTest/4 (2 ms total) [----------] 1 test from RangeSetTest/5, where TypeParam = unsigned int [ RUN ] RangeSetTest/5.RangeSetUniteTest [ OK ] RangeSetTest/5.RangeSetUniteTest (2 ms) [----------] 1 test from RangeSetTest/5 (2 ms total) [----------] 1 test from RangeSetTest/7, where TypeParam = unsigned long [ RUN ] RangeSetTest/7.RangeSetGenericIntersectTest [ OK ] RangeSetTest/7.RangeSetGenericIntersectTest (2 ms) [----------] 1 test from RangeSetTest/7 (2 ms total) [----------] 1 test from RangeSetCastToNoopTest/7, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToNoopTest/7.RangeSetCastToNoopTest [ OK ] RangeSetCastToNoopTest/7.RangeSetCastToNoopTest (2 ms) [----------] 1 test from RangeSetCastToNoopTest/7 (2 ms total) [----------] 1 test from RangeSetCastToPromotionTest/11, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToPromotionTest/11.Test [ OK ] RangeSetCastToPromotionTest/11.Test (2 ms) [----------] 1 test from RangeSetCastToPromotionTest/11 (2 ms total) [----------] 1 test from RangeSetCastToTruncationTest/11, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToTruncationTest/11.Test [ OK ] RangeSetCastToTruncationTest/11.Test (2 ms) [----------] 1 test from RangeSetCastToTruncationTest/11 (2 ms total) [----------] 1 test from RangeSetCastToPromotionConversionTest/3, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToPromotionConversionTest/3.Test [ OK ] RangeSetCastToPromotionConversionTest/3.Test (2 ms) [----------] 1 test from RangeSetCastToPromotionConversionTest/3 (2 ms total) [----------] 1 test from RangeSetCastToTruncationConversionTest/3, where TypeParam = (anonymous namespace)::CastType [ RUN ] RangeSetCastToTruncationConversionTest/3.Test [ OK ] RangeSetCastToTruncationConversionTest/3.Test (2 ms) [----------] 1 test from RangeSetCastToTruncationConversionTest/3 (2 ms total) [----------] 1 test from FalsePositiveRefutationBRVisitorTestBase [ RUN ] FalsePositiveRefutationBRVisitorTestBase.UnSatInTheMiddleNoReport [ SKIPPED ] FalsePositiveRefutationBRVisitorTestBase.UnSatInTheMiddleNoReport (0 ms) [----------] 1 test from FalsePositiveRefutationBRVisitorTestBase (0 ms total) [----------] 1 test from CallDescription [ RUN ] CallDescription.DontSkipNonInlineNamespaces [ OK ] CallDescription.DontSkipNonInlineNamespaces (4 ms) [----------] 1 test from CallDescription (4 ms total) [----------] 1 test from StaticAnalyzerOptions [ RUN ] StaticAnalyzerOptions.SearchInParentPackageTests [ OK ] StaticAnalyzerOptions.SearchInParentPackageTests (0 ms) [----------] 1 test from StaticAnalyzerOptions (0 ms total) [----------] 15 tests from SValTests/SValTest [ RUN ] SValTests/SValTest.GetConstType/9 [ OK ] SValTests/SValTest.GetConstType/9 (2 ms) [ RUN ] SValTests/SValTest.GetLocAsIntType/0 [ OK ] SValTests/SValTest.GetLocAsIntType/0 (2 ms) [ RUN ] SValTests/SValTest.GetLocAsIntType/12 [ OK ] SValTests/SValTest.GetLocAsIntType/12 (2 ms) [ RUN ] SValTests/SValTest.GetSymExprType/3 [ OK ] SValTests/SValTest.GetSymExprType/3 (1 ms) [ RUN ] SValTests/SValTest.GetSymExprType/15 [ OK ] SValTests/SValTest.GetSymExprType/15 (2 ms) [ RUN ] SValTests/SValTest.GetPointerType/6 [ OK ] SValTests/SValTest.GetPointerType/6 (2 ms) [ RUN ] SValTests/SValTest.GetPointerType/18 [ OK ] SValTests/SValTest.GetPointerType/18 (3 ms) [ RUN ] SValTests/SValTest.GetCompoundType/9 #0 0x0000ffff7f91acd4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib64/libLLVM-17.so+0x9bacd4) #1 0x0000ffff7f9190c8 llvm::sys::RunSignalHandlers() (/usr/lib64/libLLVM-17.so+0x9b90c8) #2 0x0000ffff7f91b388 (/usr/lib64/libLLVM-17.so+0x9bb388) #3 0x0000ffff8885d800 (linux-vdso.so.1+0x800) #4 0x0000ffff87b73688 retain /usr/include/llvm/ADT/ImmutableSet.h:318:0 #5 0x0000ffff87b73688 retain /usr/include/llvm/ADT/ImmutableSet.h:350:0 #6 0x0000ffff87b73688 retain /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:219:0 #7 0x0000ffff87b73688 IntrusiveRefCntPtr /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:175:0 #8 0x0000ffff87b73688 ImmutableMap /usr/include/llvm/ADT/ImmutableMap.h:81:0 #9 0x0000ffff87b73688 MakeData /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h:158:0 #10 0x0000ffff87b73688 get<(anonymous namespace)::ConstraintRange> /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:428:0 #11 0x0000ffff87b73688 (anonymous namespace)::ConstraintAssignor::assignSymExprToConst(clang::ento::SymExpr const*, llvm::APSInt const&) (.constprop.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2196:0 #12 0x0000ffff87820c78 llvm::IntrusiveRefCntPtr::IntrusiveRefCntPtr(llvm::IntrusiveRefCntPtr const&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:176:0 #13 0x0000ffff87820c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2112:0 #14 0x0000ffff87820c78 assign /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2067:0 #15 0x0000ffff87820c78 (anonymous namespace)::RangeConstraintManager::setRange(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::ento::RangeSet) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3014:0 #16 0x0000ffff87821ba8 llvm::IntrusiveRefCntPtrInfo::release(clang::ento::ProgramState const*) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h:30:0 #17 0x0000ffff87821ba8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:224:0 #18 0x0000ffff87821ba8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #19 0x0000ffff87821ba8 (anonymous namespace)::RangeConstraintManager::assumeSymEQ(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, llvm::APSInt const&, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:3059:0 #20 0x0000ffff87834770 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #21 0x0000ffff87834770 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #22 0x0000ffff87834770 clang::ento::RangedConstraintManager::assumeSymRel(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, clang::BinaryOperatorKind, llvm::APSInt const&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:213:60 #23 0x0000ffff87835cc0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #24 0x0000ffff87835cc0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #25 0x0000ffff87835cc0 clang::ento::RangedConstraintManager::assumeSym(llvm::IntrusiveRefCntPtr, clang::ento::SymExpr const*, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp:46:71 #26 0x0000ffff87835190 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #27 0x0000ffff87835190 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #28 0x0000ffff87835190 clang::ento::SimpleConstraintManager::assumeAux(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:74:44 #29 0x0000ffff878417d0 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #30 0x0000ffff878417d0 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #31 0x0000ffff878417d0 clang::ento::SimpleConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::NonLoc, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:47:44 #32 0x0000ffff8784b074 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #33 0x0000ffff8784b074 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #34 0x0000ffff8784b074 clang::ento::SimpleConstraintManager::assumeInternal(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:42:0 #35 0x0000ffff877af72c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #36 0x0000ffff877af72c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #37 0x0000ffff877af72c operator() /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:95:50 #38 0x0000ffff877af72c std::pair, llvm::IntrusiveRefCntPtr> clang::ento::ConstraintManager::assumeDualImpl, clang::ento::DefinedSVal)::'lambda'(bool)>(llvm::IntrusiveRefCntPtr&, clang::ento::ConstraintManager::assumeDual(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal)::'lambda'(bool)&) (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:84:19 #39 0x0000ffff877afbf8 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #40 0x0000ffff877afbf8 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #41 0x0000ffff877afbf8 clang::ento::ConstraintManager::assume(llvm::IntrusiveRefCntPtr, clang::ento::DefinedSVal, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ConstraintManager.cpp:112:65 #42 0x0000ffff877831c0 llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:0 #43 0x0000ffff877831c0 llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:0 #44 0x0000ffff877831c0 clang::ento::ProgramState::assume(clang::ento::DefinedOrUnknownSVal, bool) const /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:712:0 #45 0x0000ffff877bfb5c llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:17 #46 0x0000ffff877bfb5c llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:9 #47 0x0000ffff877bfb5c clang::ento::ExprEngine::getInitialState(clang::LocationContext const*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/ExprEngine.cpp:311:42 #48 0x0000ffff877ddaa8 llvm::IntrusiveRefCntPtr::swap(llvm::IntrusiveRefCntPtr&) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:205:0 #49 0x0000ffff877ddaa8 llvm::IntrusiveRefCntPtr::operator=(llvm::IntrusiveRefCntPtr) /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:194:0 #50 0x0000ffff877ddaa8 clang::ento::CoreEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int, llvm::IntrusiveRefCntPtr) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Core/CoreEngine.cpp:115:0 #51 0x0000ffff87aa787c llvm::IntrusiveRefCntPtr::release() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:223:9 #52 0x0000ffff87aa787c llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr() /usr/include/llvm/ADT/IntrusiveRefCntPtr.h:191:34 #53 0x0000ffff87aa787c clang::ento::ExprEngine::ExecuteWorkList(clang::LocationContext const*, unsigned int) /builddir/build/BUILD/clang-17.0.6.src/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:190:34 #54 0x0000ffff87aa787c RunPathSensitiveChecks /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:727:22 #55 0x0000ffff87aa787c (anonymous namespace)::AnalysisConsumer::HandleCode(clang::Decl*, unsigned int, clang::ento::ExprEngine::InliningModes, llvm::DenseSet>*) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:697:27 #56 0x0000ffff87aa87e8 llvm::DenseMapBase, llvm::detail::DenseSetPair>, clang::Decl const*, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair>::begin() /usr/include/llvm/ADT/DenseMap.h:78:0 #57 0x0000ffff87aa87e8 llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair>, llvm::DenseMapInfo>::begin() /usr/include/llvm/ADT/DenseSet.h:173:0 #58 0x0000ffff87aa87e8 (anonymous namespace)::AnalysisConsumer::HandleDeclsCallGraph(unsigned int) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:490:31 #59 0x0000ffff87aacde0 std::__uniq_ptr_impl>::_M_ptr() const /usr/include/c++/12/bits/unique_ptr.h:191:0 #60 0x0000ffff87aacde0 std::unique_ptr>::get() const /usr/include/c++/12/bits/unique_ptr.h:462:0 #61 0x0000ffff87aacde0 std::unique_ptr>::operator*() const /usr/include/c++/12/bits/unique_ptr.h:445:0 #62 0x0000ffff87aacde0 runAnalysisOnTranslationUnit /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:560:0 #63 0x0000ffff87aacde0 (anonymous namespace)::AnalysisConsumer::HandleTranslationUnit(clang::ASTContext&) /builddir/build/BUILD/clang-17.0.6.src/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:612:0 #64 0x0000ffff85f01e58 __gnu_cxx::__normal_iterator>*, std::vector>, std::allocator>>>>::__normal_iterator(std::unique_ptr>* const&) /usr/include/c++/12/bits/stl_iterator.h:1073:9 #65 0x0000ffff85f01e58 std::vector>, std::allocator>>>::begin() /usr/include/c++/12/bits/stl_vector.h:869:16 #66 0x0000ffff85f01e58 void clang::finalize>, std::allocator>>>>(std::vector>, std::allocator>>>&, clang::Sema const&) /builddir/build/BUILD/clang-17.0.6.src/include/clang/Sema/TemplateInstCallback.h:54:3 #67 0x0000ffff85f01e58 clang::ParseAST(clang::Sema&, bool, bool) /builddir/build/BUILD/clang-17.0.6.src/lib/Parse/ParseAST.cpp:183:11 #68 0x0000ffff875c7ff0 clang::FrontendAction::Execute() /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/FrontendAction.cpp:1059:21 #69 0x0000ffff8757fc84 llvm::Error::getPtr() const /usr/include/llvm/Support/Error.h:273:12 #70 0x0000ffff8757fc84 llvm::Error::operator bool() /usr/include/llvm/Support/Error.h:233:22 #71 0x0000ffff8757fc84 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /builddir/build/BUILD/clang-17.0.6.src/lib/Frontend/CompilerInstance.cpp:1053:42 #72 0x0000ffff8772e114 std::__uniq_ptr_impl>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:200:16 #73 0x0000ffff8772e114 std::unique_ptr>::reset(clang::FileSystemStatCache*) /usr/include/c++/12/bits/unique_ptr.h:501:12 #74 0x0000ffff8772e114 clang::FileManager::clearStatCache() /builddir/build/BUILD/clang-17.0.6.src/lib/Basic/FileManager.cpp:69:53 #75 0x0000ffff8772e114 clang::tooling::FrontendActionFactory::runInvocation(std::shared_ptr, clang::FileManager*, std::shared_ptr, clang::DiagnosticConsumer*) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:462:24 #76 0x0000ffff8772c8b8 clang::tooling::ToolInvocation::runInvocation(char const*, clang::driver::Compilation*, std::shared_ptr, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:435:31 #77 0x0000ffff8772d468 clang::tooling::ToolInvocation::run() /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:420:23 #78 0x0000ffff8772d9e8 clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, llvm::IntrusiveRefCntPtr, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:217:24 #79 0x0000ffff8772dd20 clang::tooling::runToolOnCodeWithArgs(std::unique_ptr>, llvm::Twine const&, std::vector, std::allocator>, std::allocator, std::allocator>>> const&, llvm::Twine const&, llvm::Twine const&, std::shared_ptr, std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>> const&) /builddir/build/BUILD/clang-17.0.6.src/lib/Tooling/Tooling.cpp:243:31 #80 0x0000aaaabbf5e198 std::vector, std::allocator>, std::__cxx11::basic_string, std::allocator>>, std::allocator, std::allocator>, std::__cxx11::basic_string, std::allocator>>>>::~vector() /usr/include/c++/12/bits/stl_vector.h:730:15 #81 0x0000aaaabbf5e198 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:138:40 #82 0x0000aaaabbf5e198 runCheckerOnCodeWithArgs /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/CheckerRegistration.h:147:42 #83 0x0000aaaabbf5e198 clang::ento::(anonymous namespace)::SValTest_GetCompoundType_Test::TestBody() (.lto_priv.0) /builddir/build/BUILD/clang-17.0.6.src/unittests/StaticAnalyzer/SValTest.cpp:278:1 #84 0x0000aaaabbf80578 testing::Test::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x110578) #85 0x0000aaaabbf81ae8 testing::TestInfo::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x111ae8) #86 0x0000aaaabbf82208 testing::TestSuite::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x112208) #87 0x0000aaaabbf8d6c8 testing::internal::UnitTestImpl::RunAllTests() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x11d6c8) #88 0x0000aaaabbf8cf88 testing::UnitTest::Run() (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x11cf88) #89 0x0000aaaabbf79ca8 main (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x109ca8) #90 0x0000ffff7eb7098c __libc_start_call_main (/usr/lib64/libc.so.6+0x3098c) #91 0x0000ffff7eb70a60 __libc_start_main@GLIBC_2.17 (/usr/lib64/libc.so.6+0x30a60) #92 0x0000aaaabbecff70 _start (/builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests+0x5ff70) -- exit: -11 -- shard JSON output does not exist: /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/unittests/StaticAnalyzer/./StaticAnalysisTests-Clang-Unit-1821091-8-12.json ******************** Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. ******************** Failed Tests (649): Clang :: Analysis/CFContainers.mm Clang :: Analysis/CFNumber.c Clang :: Analysis/CFRetainRelease_NSAssertionHandler.m Clang :: Analysis/CGColorSpace.c Clang :: Analysis/CheckNSError.m Clang :: Analysis/CheckThatArraySubsciptNodeIsNotCollected.cpp Clang :: Analysis/Checkers/RunLoopAutoreleaseLeakChecker.m Clang :: Analysis/DeallocMissingRelease.m Clang :: Analysis/DeallocUseAfterFreeErrors.m Clang :: Analysis/DeleteWithNonVirtualDtor.cpp Clang :: Analysis/DynamicTypePropagation.m Clang :: Analysis/Issue56873.cpp Clang :: Analysis/Malloc+MismatchedDeallocator+NewDelete.cpp Clang :: Analysis/Malloc+MismatchedDeallocator_intersections.cpp Clang :: Analysis/MemRegion.cpp Clang :: Analysis/MismatchedDeallocator-checker-test.mm Clang :: Analysis/MismatchedDeallocator-path-notes.cpp Clang :: Analysis/MissingDealloc.m Clang :: Analysis/NSContainers.m Clang :: Analysis/NSPanel.m Clang :: Analysis/NSString.m Clang :: Analysis/NSWindow.m Clang :: Analysis/NewDelete+MismatchedDeallocator_intersections.cpp Clang :: Analysis/NewDelete-atomics.cpp Clang :: Analysis/NewDelete-checker-test.cpp Clang :: Analysis/NewDelete-custom.cpp Clang :: Analysis/NewDelete-intersections.mm Clang :: Analysis/NewDelete-path-notes.cpp Clang :: Analysis/NewDelete-sized-deallocation.cpp Clang :: Analysis/NewDelete-variadic.cpp Clang :: Analysis/NewDeleteLeaks-PR18394.cpp Clang :: Analysis/NewDeleteLeaks-PR19102.cpp Clang :: Analysis/NewDeleteLeaks.cpp Clang :: Analysis/NoReturn.m Clang :: Analysis/OSAtomic_mac.cpp Clang :: Analysis/ObjCProperties.m Clang :: Analysis/ObjCRetSigs.m Clang :: Analysis/PR24184.cpp Clang :: Analysis/PR2978.m Clang :: Analysis/PR35418.cpp Clang :: Analysis/PR3991.m Clang :: Analysis/PR46264.cpp Clang :: Analysis/PR47511.cpp Clang :: Analysis/PR49490.cpp Clang :: Analysis/PR49642.c Clang :: Analysis/PR50268.c Clang :: Analysis/PR60412.cpp Clang :: Analysis/SpecialFunctionsCFError.cpp Clang :: Analysis/UserNullabilityAnnotations.m Clang :: Analysis/a_flaky_crash.cpp Clang :: Analysis/additive-folding-range-constraints.c Clang :: Analysis/additive-folding.cpp Clang :: Analysis/additive-op-on-sym-int-expr.c Clang :: Analysis/analysis-after-multiple-dtors.cpp Clang :: Analysis/analyzeOneFunction.m Clang :: Analysis/analyzer-stats.c Clang :: Analysis/array-bound-v2-constraint-check.c Clang :: Analysis/array-init-loop.cpp Clang :: Analysis/array-punned-region.c Clang :: Analysis/array-struct-region.c Clang :: Analysis/array-struct-region.cpp Clang :: Analysis/array-struct.c Clang :: Analysis/assume-controlled-environment.c Clang :: Analysis/atomics.c Clang :: Analysis/autoreleasewritechecker_test.m Clang :: Analysis/base-init.cpp Clang :: Analysis/bitwise-ops-nocrash.c Clang :: Analysis/bitwise-ops.c Clang :: Analysis/block-in-critical-section.cpp Clang :: Analysis/block-in-critical-section.m Clang :: Analysis/blocks-no-inline.c Clang :: Analysis/blocks.m Clang :: Analysis/blocks.mm Clang :: Analysis/bool-assignment.c Clang :: Analysis/bsd-string.c Clang :: Analysis/bstring.c Clang :: Analysis/bstring.cpp Clang :: Analysis/bstring_UninitRead.c Clang :: Analysis/bug_hash_test.cpp Clang :: Analysis/bug_hash_test.m Clang :: Analysis/builtin-functions.cpp Clang :: Analysis/c11lock.c Clang :: Analysis/call-and-message.cpp Clang :: Analysis/call-and-message.m Clang :: Analysis/call-invalidation.cpp Clang :: Analysis/call_once.cpp Clang :: Analysis/cast-to-struct.cpp Clang :: Analysis/cast-value-logic.cpp Clang :: Analysis/cast-value-notes.cpp Clang :: Analysis/cast-value-state-dump.cpp Clang :: Analysis/casts.c Clang :: Analysis/casts.cpp Clang :: Analysis/casts.m Clang :: Analysis/cert/env31-c.c Clang :: Analysis/cert/env34-c-cert-examples.c Clang :: Analysis/cert/env34-c.c Clang :: Analysis/cert/pos34-c-fp-suppression.cpp Clang :: Analysis/cert/pos34-c.cpp Clang :: Analysis/cfref_PR2519.c Clang :: Analysis/cfref_rdar6080742.c Clang :: Analysis/class-object-state-dump.m Clang :: Analysis/comparison-implicit-casts.cpp Clang :: Analysis/complex.c Clang :: Analysis/conditional-operator.cpp Clang :: Analysis/conditional-path-notes.c Clang :: Analysis/const-method-call.cpp Clang :: Analysis/constant-folding-crash.cpp Clang :: Analysis/constant-folding.c Clang :: Analysis/constraint-assignor.c Clang :: Analysis/constraint_manager_conditions.cpp Clang :: Analysis/constraint_manager_negate.c Clang :: Analysis/constraint_manager_negate_difference.c Clang :: Analysis/container-modeling.cpp Clang :: Analysis/conversion-tracking-notes.c Clang :: Analysis/conversion.c Clang :: Analysis/conversion.cpp Clang :: Analysis/copy-elision.cpp Clang :: Analysis/copy-elision.mm Clang :: Analysis/copypaste/asm.cpp Clang :: Analysis/copypaste/attributes.cpp Clang :: Analysis/copypaste/autogenerated_automoc.cpp Clang :: Analysis/copypaste/call.cpp Clang :: Analysis/copypaste/catch.cpp Clang :: Analysis/copypaste/clone-begin-end-different-file.cpp Clang :: Analysis/copypaste/dbus_autogenerated.cpp Clang :: Analysis/copypaste/delete.cpp Clang :: Analysis/copypaste/dependent-exist.cpp Clang :: Analysis/copypaste/expr-types.cpp Clang :: Analysis/copypaste/functions.cpp Clang :: Analysis/copypaste/generic.c Clang :: Analysis/copypaste/labels.cpp Clang :: Analysis/copypaste/lambda.cpp Clang :: Analysis/copypaste/macro-complexity.cpp Clang :: Analysis/copypaste/moc_autogenerated.cpp Clang :: Analysis/copypaste/not-autogenerated.cpp Clang :: Analysis/copypaste/objc-methods.m Clang :: Analysis/copypaste/plist-diagnostics-notes-as-events.cpp Clang :: Analysis/copypaste/plist-diagnostics.cpp Clang :: Analysis/copypaste/sub-sequences.cpp Clang :: Analysis/copypaste/suspicious-clones.cpp Clang :: Analysis/copypaste/text-diagnostics.cpp Clang :: Analysis/copypaste/ui_autogenerated.cpp Clang :: Analysis/coverage.c Clang :: Analysis/cstring-plist.c Clang :: Analysis/cstring-syntax-cxx.cpp Clang :: Analysis/cstring-syntax-weird.c Clang :: Analysis/cstring-syntax-weird2.c Clang :: Analysis/cstring-syntax.c Clang :: Analysis/ctor-array.cpp Clang :: Analysis/ctor-bug-path.cpp Clang :: Analysis/ctor-trivial-copy.cpp Clang :: Analysis/ctor.mm Clang :: Analysis/ctu-implicit.c Clang :: Analysis/ctu-main.c Clang :: Analysis/ctu-main.cpp Clang :: Analysis/ctu-on-demand-parsing.c Clang :: Analysis/ctu-on-demand-parsing.cpp Clang :: Analysis/ctu-onego-indirect.cpp Clang :: Analysis/ctu-onego-small.cpp Clang :: Analysis/ctu-onego-toplevel.cpp Clang :: Analysis/cxx-crashes.cpp Clang :: Analysis/cxx-dynamic-memory-analysis-order.cpp Clang :: Analysis/cxx-for-range.cpp Clang :: Analysis/cxx-inherited-ctor-init-expr.cpp Clang :: Analysis/cxx-inherited-ctor-is-skipped-as-top-level.cpp Clang :: Analysis/cxx-member-initializer-const-field.cpp Clang :: Analysis/cxx-method-names.cpp Clang :: Analysis/cxx-uninitialized-object-inheritance.cpp Clang :: Analysis/cxx-uninitialized-object-no-dereference.cpp Clang :: Analysis/cxx-uninitialized-object-notes-as-warnings.cpp Clang :: Analysis/cxx-uninitialized-object-ptr-ref.cpp Clang :: Analysis/cxx-uninitialized-object-unguarded-access.cpp Clang :: Analysis/cxx-uninitialized-object-unionlike-constructs.cpp Clang :: Analysis/cxx-uninitialized-object.cpp Clang :: Analysis/cxxctr-array-evalcall-analysis-order.cpp Clang :: Analysis/cxxctr-evalcall-analysis-order.cpp Clang :: Analysis/cxxnewexpr-callback.cpp Clang :: Analysis/dead-stores.c Clang :: Analysis/dead-stores.m Clang :: Analysis/debug-container-modeling.cpp Clang :: Analysis/debug-exprinspection-istainted.c Clang :: Analysis/debug-iterator-modeling.cpp Clang :: Analysis/delegates.m Clang :: Analysis/derived-to-base.cpp Clang :: Analysis/diagnostics/deref-track-symbolic-region.c Clang :: Analysis/diagnostics/deref-track-symbolic-region.cpp Clang :: Analysis/diagnostics/dtors.cpp Clang :: Analysis/diagnostics/explicit-suppression.cpp Clang :: Analysis/diagnostics/false-positive-suppression.c Clang :: Analysis/diagnostics/find_last_store.c Clang :: Analysis/diagnostics/implicit-cxx-std-suppression.cpp Clang :: Analysis/diagnostics/initializer.cpp Clang :: Analysis/diagnostics/invalid-srcloc-fix.cpp Clang :: Analysis/diagnostics/macro-null-return-suppression.cpp Clang :: Analysis/diagnostics/macros.cpp Clang :: Analysis/diagnostics/macros.m Clang :: Analysis/diagnostics/no-store-func-path-notes.c Clang :: Analysis/diagnostics/no-store-func-path-notes.cpp Clang :: Analysis/diagnostics/no-store-func-path-notes.m Clang :: Analysis/diagnostics/plist-diagnostics-include-check.cpp Clang :: Analysis/diagnostics/report-issues-within-main-file.cpp Clang :: Analysis/diagnostics/sarif-diagnostics-taint-test.c Clang :: Analysis/diagnostics/sarif-multi-diagnostic-test.c Clang :: Analysis/diagnostics/text-diagnostics.c Clang :: Analysis/diagnostics/track_subexpressions.cpp Clang :: Analysis/diagnostics/undef-value-param.c Clang :: Analysis/diagnostics/undef-value-param.m Clang :: Analysis/dispatch-once.m Clang :: Analysis/div-zero.cpp Clang :: Analysis/division-by-zero-track-zero.c Clang :: Analysis/division-by-zero-track-zero.cpp Clang :: Analysis/division-by-zero.c Clang :: Analysis/double-ranges-bug.c Clang :: Analysis/dtor-array.cpp Clang :: Analysis/dtor-cxx11.cpp Clang :: Analysis/dtor.cpp Clang :: Analysis/dump_egraph.cpp Clang :: Analysis/dynamic-cast.cpp Clang :: Analysis/edges-new.mm Clang :: Analysis/end-function-return-stmt.cpp Clang :: Analysis/engine/replay-without-inlining.c Clang :: Analysis/enum-cast-out-of-range.cpp Clang :: Analysis/enum.cpp Clang :: Analysis/equality_tracking.c Clang :: Analysis/errno-notes.c Clang :: Analysis/errno-options.c Clang :: Analysis/errno-stdlibraryfunctions-notes.c Clang :: Analysis/errno-stdlibraryfunctions.c Clang :: Analysis/errno.c Clang :: Analysis/eval-predefined-exprs.cpp Clang :: Analysis/exceptions.mm Clang :: Analysis/exercise-ps.c Clang :: Analysis/explain-svals.c Clang :: Analysis/explain-svals.cpp Clang :: Analysis/explain-svals.m Clang :: Analysis/exploded-graph-rewriter/dynamic_types.cpp Clang :: Analysis/exploded-graph-rewriter/initializers_under_construction.cpp Clang :: Analysis/exploded-graph-rewriter/objects_under_construction.cpp Clang :: Analysis/exploration_order/noexprcrash.c Clang :: Analysis/exploration_order/prefer_unexplored.cpp Clang :: Analysis/expr-inspection-printState-diseq-info.c Clang :: Analysis/expr-inspection-printState-eq-classes.c Clang :: Analysis/expr-inspection.c Clang :: Analysis/expr-inspection.cpp Clang :: Analysis/fields.c Clang :: Analysis/find-binop-constraints.cpp Clang :: Analysis/flexible-array-member.cpp Clang :: Analysis/flexible-array-members.c Clang :: Analysis/free.c Clang :: Analysis/free.cpp Clang :: Analysis/fuchsia_handle.cpp Clang :: Analysis/fuchsia_lock.c Clang :: Analysis/fuchsia_lock_impl.c Clang :: Analysis/func.c Clang :: Analysis/gcdantipatternchecker_test.m Clang :: Analysis/generics.m Clang :: Analysis/global-region-invalidation-errno.c Clang :: Analysis/global-region-invalidation.c Clang :: Analysis/global_region_invalidation.mm Clang :: Analysis/globals-are-not-always-immutable.c Clang :: Analysis/globals.cpp Clang :: Analysis/gmalloc.c Clang :: Analysis/gtest.cpp Clang :: Analysis/handle_constructors_for_default_arguments.cpp Clang :: Analysis/handle_constructors_with_new_array.cpp Clang :: Analysis/hangs.c Clang :: Analysis/html_diagnostics/control-arrows.cpp Clang :: Analysis/html_diagnostics/relevant_lines/goto.c Clang :: Analysis/html_diagnostics/relevant_lines/macros_same_file.c Clang :: Analysis/html_diagnostics/relevant_lines/multifile.c Clang :: Analysis/html_diagnostics/relevant_lines/multiline_func_def.c Clang :: Analysis/html_diagnostics/relevant_lines/objcmethods.m Clang :: Analysis/html_diagnostics/relevant_lines/simple_conditional.c Clang :: Analysis/html_diagnostics/relevant_lines/switch.c Clang :: Analysis/html_diagnostics/relevant_lines/switch_default.c Clang :: Analysis/html_diagnostics/relevant_lines/synthesized_body.cpp Clang :: Analysis/html_diagnostics/relevant_lines/unused_header.c Clang :: Analysis/identical-expressions.cpp Clang :: Analysis/implicit-ctor-undef-value.cpp Clang :: Analysis/incorrect-checker-names.mm Clang :: Analysis/infeasible-crash.c Clang :: Analysis/infeasible-sink.c Clang :: Analysis/initializer.cpp Clang :: Analysis/inline-not-supported.c Clang :: Analysis/inline-plist.c Clang :: Analysis/inline.cpp Clang :: Analysis/inline3.c Clang :: Analysis/inline4.c Clang :: Analysis/inlining/DynDispatchBifurcate.m Clang :: Analysis/inlining/InlineObjCClassMethod.m Clang :: Analysis/inlining/InlineObjCInstanceMethod.m Clang :: Analysis/inlining/ObjCDynTypePopagation.m Clang :: Analysis/inlining/ObjCImproperDynamictallyDetectableCast.m Clang :: Analysis/inlining/RetainCountExamples.m Clang :: Analysis/inlining/assume-super-init-does-not-return-nil.m Clang :: Analysis/inlining/containers.cpp Clang :: Analysis/inlining/dyn-dispatch-bifurcate.cpp Clang :: Analysis/inlining/false-positive-suppression.c Clang :: Analysis/inlining/false-positive-suppression.cpp Clang :: Analysis/inlining/false-positive-suppression.m Clang :: Analysis/inlining/inline-defensive-checks.c Clang :: Analysis/inlining/inline-defensive-checks.cpp Clang :: Analysis/inlining/inline-defensive-checks.m Clang :: Analysis/inlining/path-notes.c Clang :: Analysis/inlining/path-notes.cpp Clang :: Analysis/inlining/path-notes.m Clang :: Analysis/inlining/placement-new-fp-suppression.cpp Clang :: Analysis/inlining/retain-count-self-init.m Clang :: Analysis/inlining/stl.cpp Clang :: Analysis/inlining/temp-dtors-path-notes.cpp Clang :: Analysis/inlining/test_objc_inlining_option.m Clang :: Analysis/inner-pointer.cpp Clang :: Analysis/invalidated-iterator.cpp Clang :: Analysis/issue-55019.cpp Clang :: Analysis/iterator-modeling.cpp Clang :: Analysis/iterator-range.cpp Clang :: Analysis/ivars.m Clang :: Analysis/keychainAPI-diagnostic-visitor.m Clang :: Analysis/keychainAPI.m Clang :: Analysis/kmalloc-linux.c Clang :: Analysis/lambdas-generalized-capture.cpp Clang :: Analysis/lambdas-modern.cpp Clang :: Analysis/lambdas.cpp Clang :: Analysis/lambdas.mm Clang :: Analysis/left-shift-cxx2a.cpp Clang :: Analysis/lifetime-extended-regions.cpp Clang :: Analysis/lifetime-extension.cpp Clang :: Analysis/lifetime-extension.mm Clang :: Analysis/live-bindings-test.cpp Clang :: Analysis/live-variables.cpp Clang :: Analysis/live-variables.m Clang :: Analysis/llvm-conventions.cpp Clang :: Analysis/localization-aggressive.m Clang :: Analysis/localization.m Clang :: Analysis/logical-ops.c Clang :: Analysis/loop-unrolling.cpp Clang :: Analysis/loop-widening-notes.cpp Clang :: Analysis/loop-widening-preserve-reference-type.cpp Clang :: Analysis/loop-widening.c Clang :: Analysis/loop-widening.cpp Clang :: Analysis/main.c Clang :: Analysis/main.cpp Clang :: Analysis/malloc-annotations.c Clang :: Analysis/malloc-annotations.cpp Clang :: Analysis/malloc-bodyfarms.c Clang :: Analysis/malloc-bodyfarms.cpp Clang :: Analysis/malloc-fnptr-plist.c Clang :: Analysis/malloc-free-after-return.cpp Clang :: Analysis/malloc-interprocedural.c Clang :: Analysis/malloc-overflow2.c Clang :: Analysis/malloc-plist.c Clang :: Analysis/malloc-static-storage.cpp Clang :: Analysis/malloc.c Clang :: Analysis/malloc.cpp Clang :: Analysis/malloc.m Clang :: Analysis/malloc.mm Clang :: Analysis/max-nodes-suppress-on-sink.c Clang :: Analysis/max-nodes-suppress-on-sink.cpp Clang :: Analysis/member-expr.cpp Clang :: Analysis/memory-model.cpp Clang :: Analysis/method-call-intra-p.cpp Clang :: Analysis/method-call-path-notes.cpp Clang :: Analysis/method-call.cpp Clang :: Analysis/mig.mm Clang :: Analysis/misc-ps-64.m Clang :: Analysis/misc-ps-cxx0x.cpp Clang :: Analysis/misc-ps-eager-assume.m Clang :: Analysis/misc-ps-ranges.m Clang :: Analysis/misc-ps-region-store.cpp Clang :: Analysis/misc-ps-region-store.m Clang :: Analysis/misc-ps-region-store.mm Clang :: Analysis/misc-ps.c Clang :: Analysis/misc-ps.m Clang :: Analysis/mismatched-iterator.cpp Clang :: Analysis/missing-bind-temporary.cpp Clang :: Analysis/model-file.cpp Clang :: Analysis/mpichecker.cpp Clang :: Analysis/mpicheckernotes.cpp Clang :: Analysis/mutually_exclusive_null_fp.cpp Clang :: Analysis/new-aligned.cpp Clang :: Analysis/new-ctor-conservative.cpp Clang :: Analysis/new-ctor-inlined.cpp Clang :: Analysis/new-ctor-malloc.cpp Clang :: Analysis/new-ctor-null-throw.cpp Clang :: Analysis/new-ctor-null.cpp Clang :: Analysis/new-ctor-recursive.cpp Clang :: Analysis/new-ctor-symbolic.cpp Clang :: Analysis/new-dynamic-types.cpp Clang :: Analysis/new-with-exceptions.cpp Clang :: Analysis/new.cpp Clang :: Analysis/nil-receiver-undefined-larger-than-voidptr-ret-region.m Clang :: Analysis/nil-receiver-undefined-larger-than-voidptr-ret.m Clang :: Analysis/no-exit-cfg.c Clang :: Analysis/no-outofbounds.c Clang :: Analysis/no-return.c Clang :: Analysis/no-store-suppression.cpp Clang :: Analysis/no-unreachable-dtors.cpp Clang :: Analysis/non-diagnosable-assumptions.c Clang :: Analysis/nonnull-global-constants.mm Clang :: Analysis/nonnull.cpp Clang :: Analysis/nonnull.m Clang :: Analysis/nonnullparamchecker-crash.cpp Clang :: Analysis/novoidtypecrash.c Clang :: Analysis/null-deref-offsets.c Clang :: Analysis/null-deref-path-notes.cpp Clang :: Analysis/null-deref-path-notes.m Clang :: Analysis/null-deref-ps-region.c Clang :: Analysis/null-deref-ps.c Clang :: Analysis/null-deref-static.m Clang :: Analysis/nullability-arc.mm Clang :: Analysis/nullability-no-arc.mm Clang :: Analysis/nullability-notes.m Clang :: Analysis/nullability.mm Clang :: Analysis/nullability_nullonly.mm Clang :: Analysis/nullptr.cpp Clang :: Analysis/objc-arc.m Clang :: Analysis/objc-boxing.m Clang :: Analysis/objc-for.m Clang :: Analysis/objc-indirect-copy-restore.m Clang :: Analysis/objc-live-crash.mm Clang :: Analysis/objc-message.m Clang :: Analysis/objc-radar17039661.m Clang :: Analysis/objc-subscript.m Clang :: Analysis/objc/direct-ivar-assignment-in-annotated-functions.m Clang :: Analysis/objc_invalidation.m Clang :: Analysis/objcpp-uninitialized-object.mm Clang :: Analysis/operator-calls.cpp Clang :: Analysis/osobject-retain-release.cpp Clang :: Analysis/out-of-bounds-new.cpp Clang :: Analysis/out-of-bounds.c Clang :: Analysis/outofbound.c Clang :: Analysis/override-werror.c Clang :: Analysis/path-notes-impl-param.m Clang :: Analysis/placement-new-user-defined.cpp Clang :: Analysis/placement-new.cpp Clang :: Analysis/plist-diagnostics-template-function.cpp Clang :: Analysis/plist-diagnostics-template-record.cpp Clang :: Analysis/plist-html-macros.c Clang :: Analysis/plist-macros-with-expansion.cpp 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/12 Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/1/12 Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/10/12 Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/11/12 Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/2/12 Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/3/12 Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/4/12 Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/5/12 Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/6/12 Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/7/12 Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/8/12 Clang-Unit :: StaticAnalyzer/./StaticAnalysisTests/9/12 Testing Time: 520.89s Skipped : 33 Unsupported : 162 Passed : 35624 Expectedly Failed: 29 Failed : 649 FAILED: CMakeFiles/check-all /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/CMakeFiles/check-all cd /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu && /usr/bin/python3.11 /usr/bin/lit -sv --param USE_Z3_SOLVER=0 /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/include-cleaner/test /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/pseudo/test /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/test/../unittests /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/clangd/test /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/tools/extra/test /builddir/build/BUILD/clang-17.0.6.src/aarch64-OpenCloudOS-linux-gnu/test ninja: build stopped: subcommand failed. + : + RPM_EC=0 ++ jobs -p + exit 0 Processing files: clang-17.0.6-2.ocs23.aarch64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.DwkqEa + umask 022 + cd /builddir/build/BUILD + cd clang-17.0.6.src + LICENSEDIR=/builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/licenses/clang + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/licenses/clang + cp -pr LICENSE.TXT /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/share/licenses/clang + RPM_EC=0 ++ jobs -p + exit 0 warning: Duplicate build-ids /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/bin/clang++ and /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/bin/clang-17 warning: Duplicate build-ids /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/bin/clang++ and /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/bin/clang-cl warning: Duplicate build-ids /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/bin/clang++ and /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/bin/clang-cpp Provides: clang = 17.0.6-2.ocs23 clang(aarch-64) = 17.0.6-2.ocs23 clang(major) = 17 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libLLVM-17.so()(64bit) libLLVM-17.so(LLVM_17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.34)(64bit) libclang-cpp.so.17()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.29)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) rtld(GNU_HASH) Processing files: clang-libs-17.0.6-2.ocs23.aarch64 Provides: clang-libs = 17.0.6-2.ocs23 clang-libs(aarch-64) = 17.0.6-2.ocs23 libclang-cpp.so.17()(64bit) libclang.so.17()(64bit) libclang.so.17(LLVM_13)(64bit) libclang.so.17(LLVM_16)(64bit) libclang.so.17(LLVM_17)(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libLLVM-17.so()(64bit) libLLVM-17.so(LLVM_17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_4.2.0)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.29)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.11)(64bit) libstdc++.so.6(CXXABI_1.3.13)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.14)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.18)(64bit) libstdc++.so.6(GLIBCXX_3.4.19)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.22)(64bit) libstdc++.so.6(GLIBCXX_3.4.29)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) rtld(GNU_HASH) Recommends: compiler-rt = 17.0.6 libomp = 17.0.6 libomp-devel = 17.0.6 Processing files: clang-devel-17.0.6-2.ocs23.aarch64 Provides: clang-devel = 17.0.6-2.ocs23 clang-devel(aarch-64) = 17.0.6-2.ocs23 cmake(Clang) = 17.0.6 cmake(clang) = 17.0.6 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cmake-filesystem(aarch-64) libclang-cpp.so.17()(64bit) libclang.so.17()(64bit) Processing files: clang-resource-filesystem-17.0.6-2.ocs23.aarch64 Provides: clang-resource-filesystem = 17.0.6-2.ocs23 clang-resource-filesystem(aarch-64) = 17.0.6-2.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-2.ocs23.noarch Provides: clang-analyzer = 17.0.6-2.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-2.ocs23.aarch64 warning: absolute symlink: /usr/bin/clang-format-diff -> /usr/share/clang/clang-format-diff.py Provides: clang-tools-extra = 17.0.6-2.ocs23 clang-tools-extra(aarch-64) = 17.0.6-2.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/python3 ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libLLVM-17.so()(64bit) libLLVM-17.so(LLVM_17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libclang-cpp.so.17()(64bit) libclang.so.17()(64bit) libclang.so.17(LLVM_13)(64bit) libclang.so.17(LLVM_16)(64bit) libclang.so.17(LLVM_17)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libm.so.6(GLIBC_2.29)(64bit) libm.so.6(GLIBC_2.38)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.11)(64bit) libstdc++.so.6(CXXABI_1.3.13)(64bit) libstdc++.so.6(CXXABI_1.3.3)(64bit) libstdc++.so.6(CXXABI_1.3.5)(64bit) libstdc++.so.6(CXXABI_1.3.7)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.14)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.18)(64bit) libstdc++.so.6(GLIBCXX_3.4.19)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.22)(64bit) libstdc++.so.6(GLIBCXX_3.4.29)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) libxml2.so.2()(64bit) libxml2.so.2(LIBXML2_2.4.30)(64bit) libxml2.so.2(LIBXML2_2.5.2)(64bit) libxml2.so.2(LIBXML2_2.6.0)(64bit) rtld(GNU_HASH) Processing files: git-clang-format-17.0.6-2.ocs23.aarch64 Provides: git-clang-format = 17.0.6-2.ocs23 git-clang-format(aarch-64) = 17.0.6-2.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-2.ocs23.aarch64 Provides: python-clang = 17.0.6-2.ocs23 python3-clang = 17.0.6-2.ocs23 python3-clang(aarch-64) = 17.0.6-2.ocs23 python3.11-clang = 17.0.6-2.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-2.ocs23 Processing files: clang-debugsource-17.0.6-2.ocs23.aarch64 Provides: clang-debugsource = 17.0.6-2.ocs23 clang-debugsource(aarch-64) = 17.0.6-2.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-2.ocs23.aarch64 warning: Duplicate build-ids /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib/debug/usr/bin/clang++-17.0.6-2.ocs23.aarch64.debug and /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib/debug/usr/bin/clang-17-17.0.6-2.ocs23.aarch64.debug warning: Duplicate build-ids /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib/debug/usr/bin/clang++-17.0.6-2.ocs23.aarch64.debug and /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib/debug/usr/bin/clang-cl-17.0.6-2.ocs23.aarch64.debug warning: Duplicate build-ids /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib/debug/usr/bin/clang++-17.0.6-2.ocs23.aarch64.debug and /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib/debug/usr/bin/clang-cpp-17.0.6-2.ocs23.aarch64.debug Provides: clang-debuginfo = 17.0.6-2.ocs23 clang-debuginfo(aarch-64) = 17.0.6-2.ocs23 debuginfo(build-id) = b480113d0762ea4ef4d9c8c2bd7e42a3f8c38531 debuginfo(build-id) = nilnil Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: clang-debugsource(aarch-64) = 17.0.6-2.ocs23 Processing files: clang-libs-debuginfo-17.0.6-2.ocs23.aarch64 Provides: clang-libs-debuginfo = 17.0.6-2.ocs23 clang-libs-debuginfo(aarch-64) = 17.0.6-2.ocs23 debuginfo(build-id) = 42757cb058347d91b04b28cec2e3ccd4baac526e debuginfo(build-id) = e24cec82b86d43eb5879bd77bbf896b0c281a9de libclang-cpp.so.17-17.0.6-2.ocs23.aarch64.debug()(64bit) libclang.so.17.0.6-17.0.6-2.ocs23.aarch64.debug()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: clang-debugsource(aarch-64) = 17.0.6-2.ocs23 Processing files: clang-tools-extra-debuginfo-17.0.6-2.ocs23.aarch64 Provides: clang-tools-extra-debuginfo = 17.0.6-2.ocs23 clang-tools-extra-debuginfo(aarch-64) = 17.0.6-2.ocs23 debuginfo(build-id) = 02198e5192be9baaf50e6d4f2e4886394e1d0f0d debuginfo(build-id) = 0839d8df74bdb3bf558609f32d854e2932cd6362 debuginfo(build-id) = 154c50d36c06fc61681d86a3c8095d0f4183ccd0 debuginfo(build-id) = 18a39b325c0b40232243db17485f08e82b395f1d debuginfo(build-id) = 1e5003c4f3d0c35b43e7da26a6d96688b9f4d2a0 debuginfo(build-id) = 22e88e22979d99ac37abb3be4ad5540429982ab8 debuginfo(build-id) = 3ca27859c45e6afdadeb5b03dc02fac03fa0e23d debuginfo(build-id) = 3f2bd3370b6e2ce1d7a09c638f4e5561f436ce43 debuginfo(build-id) = 4077e26c331238f422cacd8d6e8780a8d42f7104 debuginfo(build-id) = 4873b9a50a9644f87847b71d0527c3a21d23159c debuginfo(build-id) = 4c3e0c716d9666a36287870d1fce26af5044b52c debuginfo(build-id) = 4ebb779589998c203afb916df545c2311fe512a3 debuginfo(build-id) = 6096b45e9a53c0ed996bc8a0a8873b43fc4bc772 debuginfo(build-id) = 62608efccd61b2535000a929f6442b71860c092c debuginfo(build-id) = 7bb0c6c8657a556acc29b902fcd82bc223e5e49d debuginfo(build-id) = 7ce30464f92fa101f33f6e08282bce88b55313fe debuginfo(build-id) = 89af64f963a03dca3f940d8d598a09af7aeff120 debuginfo(build-id) = 8ca72c6c2fcc1e78170eca799326761ee4afaa19 debuginfo(build-id) = 91d0f5d75e14ac2bbd0d4db7f7c73b4d2de3ec7d debuginfo(build-id) = afb8da811cb82c3b96ec4268f3d00e0f123676f8 debuginfo(build-id) = afbe6b34d6a94df1b0b4875d7da1796d9d4919f2 debuginfo(build-id) = bdd28bb17445154b9c3df585e2c9d46e29e21bb7 debuginfo(build-id) = e2398602a7cb74c96f9780280a16fa4f018998b6 debuginfo(build-id) = e8c25b31f4ca7612d3c8f14279485fe1c6f870d5 debuginfo(build-id) = f0aa6637e0c51fe59fb197f78c6871106cf9dd6d debuginfo(build-id) = f5229e1d186a7c8ea00b67581ce6717f6bf6a851 debuginfo(build-id) = f7f057d094984366f9a6b34e2399a3eea5f2cac9 debuginfo(build-id) = fc6f24a0dd9850e23c7927e700b77a5c98949da4 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: clang-debugsource(aarch-64) = 17.0.6-2.ocs23 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64 Wrote: /builddir/build/RPMS/clang-17.0.6-2.ocs23.aarch64.rpm Wrote: /builddir/build/RPMS/clang-analyzer-17.0.6-2.ocs23.noarch.rpm Wrote: /builddir/build/RPMS/python3-clang-17.0.6-2.ocs23.aarch64.rpm Wrote: /builddir/build/RPMS/git-clang-format-17.0.6-2.ocs23.aarch64.rpm Wrote: /builddir/build/RPMS/clang-resource-filesystem-17.0.6-2.ocs23.aarch64.rpm Wrote: /builddir/build/RPMS/clang-devel-17.0.6-2.ocs23.aarch64.rpm Wrote: /builddir/build/RPMS/clang-debuginfo-17.0.6-2.ocs23.aarch64.rpm Wrote: /builddir/build/RPMS/clang-debugsource-17.0.6-2.ocs23.aarch64.rpm Wrote: /builddir/build/RPMS/clang-tools-extra-17.0.6-2.ocs23.aarch64.rpm Wrote: /builddir/build/RPMS/clang-libs-17.0.6-2.ocs23.aarch64.rpm Wrote: /builddir/build/RPMS/clang-libs-debuginfo-17.0.6-2.ocs23.aarch64.rpm Wrote: /builddir/build/RPMS/clang-tools-extra-debuginfo-17.0.6-2.ocs23.aarch64.rpm RPM build warnings: %patchN is deprecated (6 usages found), use %patch N (or %patch -P N) Duplicate build-ids /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/bin/clang++ and /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/bin/clang-17 Duplicate build-ids /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/bin/clang++ and /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/bin/clang-cl Duplicate build-ids /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/bin/clang++ and /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/bin/clang-cpp absolute symlink: /usr/bin/clang-format-diff -> /usr/share/clang/clang-format-diff.py Duplicate build-ids /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib/debug/usr/bin/clang++-17.0.6-2.ocs23.aarch64.debug and /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib/debug/usr/bin/clang-17-17.0.6-2.ocs23.aarch64.debug Duplicate build-ids /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib/debug/usr/bin/clang++-17.0.6-2.ocs23.aarch64.debug and /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib/debug/usr/bin/clang-cl-17.0.6-2.ocs23.aarch64.debug Duplicate build-ids /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib/debug/usr/bin/clang++-17.0.6-2.ocs23.aarch64.debug and /builddir/build/BUILDROOT/clang-17.0.6-2.ocs23.aarch64/usr/lib/debug/usr/bin/clang-cpp-17.0.6-2.ocs23.aarch64.debug Child return code was: 0